Compare commits

...

5 Commits

Author SHA1 Message Date
Binny
02f749cc11 Merge pull request #46 from Telecominfraproject/ols-821-mclag-schema-correction
ols-821-mclag-schema-correcttion-draft Changes
2025-10-07 12:06:22 +05:30
Mike Hansen
5b00327adc Merge pull request #50 from Telecominfraproject/correct-storm-control-indentation
Fix indentation for storm-control configuration.
2025-09-24 12:29:33 -04:00
Binny
c3073a9a45 ols-821-mclag-schema-final-draft 2025-09-16 06:10:50 +00:00
Binny
05849922ed ols-821-mclag-corrections-rev2 2025-08-22 15:19:46 +00:00
Binny
598af29d51 ols-821-mclag-schema-correcttion-draft 2025-08-18 13:38:01 +00:00
4 changed files with 219 additions and 179 deletions

View File

@@ -439,58 +439,66 @@ properties:
description: Configures the peer-link, which could be a physical port or a trunk group that connects the two MC-LAG peer switches. description: Configures the peer-link, which could be a physical port or a trunk group that connects the two MC-LAG peer switches.
type: object type: object
properties: properties:
type: link-type:
description: Defines the type of peer-link, either 'port' or 'trunk-group' description: Defines the type of peer-link, either 'port' or 'trunk-group'
type: string type: string
enum: enum:
- port - port
- trunk-group - trunk-group
default: trunk-group default: trunk-group
value: port-id:
description: Specifies the port or trunk-group ID for the peer-link. description: Specifies the physical port name used as peer-link (only valid if type = port).
type: string
examples:
- "Ethernet1"
- "Ethernet2"
trunk-id:
description: Specifies the trunk group ID used as peer-link (only valid if type = trunk-group).
type: integer type: integer
minimum: 1 minimum: 1
maximum: 64 maximum: 64
mclag-group: mclag-group:
description: Configures the MC-LAG group, which binds the interfaces into a multi-chassis LAG. description: Configures the MC-LAG group(s), which binds the interfaces into a multi-chassis LAG.
type: object type: array
properties: items:
group-id: type: object
description: Defines the unique MC-LAG group identifier. properties:
type: integer group-id:
minimum: 1 description: Defines the unique MC-LAG group identifier.
maximum: 128 type: integer
members: minimum: 1
description: List of interfaces that participate in the MC-LAG group. maximum: 128
type: array members:
items: description: List of interfaces that participate in the MC-LAG group.
type: string type: array
description: Interface names that are part of the MC-LAG group. items:
examples:
- eth0
- eth1
lacp-config:
description: LACP configuration settings for the MC-LAG group.
type: object
properties:
lacp-enable:
description: Enables or disables LACP for the MC-LAG group.
type: boolean
default: true
lacp-role:
description: Configures the LACP role as 'actor' or 'partner'
type: string type: string
enum: description: Interface names that are part of the MC-LAG group.
- actor examples:
- partner - Ethernet0
default: actor - Ethernet1
lacp-timeout: lacp-config:
description: Sets the LACP timeout as either 'short' or 'long'. description: LACP configuration settings for the MC-LAG group.
type: string type: object
enum: properties:
- short lacp-enable:
- long description: Enables or disables LACP for the MC-LAG group.
default: long type: boolean
default: true
lacp-role:
description: Configures the LACP role as 'actor' or 'partner'
type: string
enum:
- actor
- partner
default: actor
lacp-timeout:
description: Sets the LACP timeout as either 'short' or 'long'.
type: string
enum:
- short
- long
default: long
system-priority: system-priority:
description: Specifies the system priority used by the switch for LACP negotiations. description: Specifies the system priority used by the switch for LACP negotiations.
type: integer type: integer

View File

@@ -1289,7 +1289,7 @@
"description": "Configures the peer-link, which could be a physical port or a trunk group that connects the two MC-LAG peer switches.", "description": "Configures the peer-link, which could be a physical port or a trunk group that connects the two MC-LAG peer switches.",
"type": "object", "type": "object",
"properties": { "properties": {
"type": { "link-type": {
"description": "Defines the type of peer-link, either 'port' or 'trunk-group'", "description": "Defines the type of peer-link, either 'port' or 'trunk-group'",
"type": "string", "type": "string",
"enum": [ "enum": [
@@ -1298,8 +1298,16 @@
], ],
"default": "trunk-group" "default": "trunk-group"
}, },
"value": { "port-id": {
"description": "Specifies the port or trunk-group ID for the peer-link.", "description": "Specifies the physical port name used as peer-link (only valid if type = port).",
"type": "string",
"examples": [
"Ethernet1",
"Ethernet2"
]
},
"trunk-id": {
"description": "Specifies the trunk group ID used as peer-link (only valid if type = trunk-group).",
"type": "integer", "type": "integer",
"minimum": 1, "minimum": 1,
"maximum": 64 "maximum": 64
@@ -1307,53 +1315,56 @@
} }
}, },
"mclag-group": { "mclag-group": {
"description": "Configures the MC-LAG group, which binds the interfaces into a multi-chassis LAG.", "description": "Configures the MC-LAG group(s), which binds the interfaces into a multi-chassis LAG.",
"type": "object", "type": "array",
"properties": { "items": {
"group-id": { "type": "object",
"description": "Defines the unique MC-LAG group identifier.", "properties": {
"type": "integer", "group-id": {
"minimum": 1, "description": "Defines the unique MC-LAG group identifier.",
"maximum": 128 "type": "integer",
}, "minimum": 1,
"members": { "maximum": 128
"description": "List of interfaces that participate in the MC-LAG group.", },
"type": "array", "members": {
"items": { "description": "List of interfaces that participate in the MC-LAG group.",
"type": "string", "type": "array",
"description": "Interface names that are part of the MC-LAG group.", "items": {
"examples": [
"eth0",
"eth1"
]
}
},
"lacp-config": {
"description": "LACP configuration settings for the MC-LAG group.",
"type": "object",
"properties": {
"lacp-enable": {
"description": "Enables or disables LACP for the MC-LAG group.",
"type": "boolean",
"default": true
},
"lacp-role": {
"description": "Configures the LACP role as 'actor' or 'partner'",
"type": "string", "type": "string",
"enum": [ "description": "Interface names that are part of the MC-LAG group.",
"actor", "examples": [
"partner" "Ethernet0",
], "Ethernet1"
"default": "actor" ]
}, }
"lacp-timeout": { },
"description": "Sets the LACP timeout as either 'short' or 'long'.", "lacp-config": {
"type": "string", "description": "LACP configuration settings for the MC-LAG group.",
"enum": [ "type": "object",
"short", "properties": {
"long" "lacp-enable": {
], "description": "Enables or disables LACP for the MC-LAG group.",
"default": "long" "type": "boolean",
"default": true
},
"lacp-role": {
"description": "Configures the LACP role as 'actor' or 'partner'",
"type": "string",
"enum": [
"actor",
"partner"
],
"default": "actor"
},
"lacp-timeout": {
"description": "Sets the LACP timeout as either 'short' or 'long'.",
"type": "string",
"enum": [
"short",
"long"
],
"default": "long"
}
} }
} }
} }

View File

@@ -1474,7 +1474,7 @@
"peer-link": { "peer-link": {
"type": "object", "type": "object",
"properties": { "properties": {
"type": { "link-type": {
"type": "string", "type": "string",
"enum": [ "enum": [
"port", "port",
@@ -1482,7 +1482,14 @@
], ],
"default": "trunk-group" "default": "trunk-group"
}, },
"value": { "port-id": {
"type": "string",
"examples": [
"Ethernet1",
"Ethernet2"
]
},
"trunk-id": {
"type": "integer", "type": "integer",
"minimum": 1, "minimum": 1,
"maximum": 64 "maximum": 64
@@ -1490,45 +1497,48 @@
} }
}, },
"mclag-group": { "mclag-group": {
"type": "object", "type": "array",
"properties": { "items": {
"group-id": { "type": "object",
"type": "integer", "properties": {
"minimum": 1, "group-id": {
"maximum": 128 "type": "integer",
}, "minimum": 1,
"members": { "maximum": 128
"type": "array", },
"items": { "members": {
"type": "string", "type": "array",
"examples": [ "items": {
"eth0",
"eth1"
]
}
},
"lacp-config": {
"type": "object",
"properties": {
"lacp-enable": {
"type": "boolean",
"default": true
},
"lacp-role": {
"type": "string", "type": "string",
"enum": [ "examples": [
"actor", "Ethernet0",
"partner" "Ethernet1"
], ]
"default": "actor" }
}, },
"lacp-timeout": { "lacp-config": {
"type": "string", "type": "object",
"enum": [ "properties": {
"short", "lacp-enable": {
"long" "type": "boolean",
], "default": true
"default": "long" },
"lacp-role": {
"type": "string",
"enum": [
"actor",
"partner"
],
"default": "actor"
},
"lacp-timeout": {
"type": "string",
"enum": [
"short",
"long"
],
"default": "long"
}
} }
} }
} }

View File

@@ -1747,7 +1747,7 @@
"description": "Configures the peer-link, which could be a physical port or a trunk group that connects the two MC-LAG peer switches.", "description": "Configures the peer-link, which could be a physical port or a trunk group that connects the two MC-LAG peer switches.",
"type": "object", "type": "object",
"properties": { "properties": {
"type": { "link-type": {
"description": "Defines the type of peer-link, either 'port' or 'trunk-group'", "description": "Defines the type of peer-link, either 'port' or 'trunk-group'",
"type": "string", "type": "string",
"enum": [ "enum": [
@@ -1756,8 +1756,16 @@
], ],
"default": "trunk-group" "default": "trunk-group"
}, },
"value": { "port-id": {
"description": "Specifies the port or trunk-group ID for the peer-link.", "description": "Specifies the physical port name used as peer-link (only valid if type = port).",
"type": "string",
"examples": [
"Ethernet1",
"Ethernet2"
]
},
"trunk-id": {
"description": "Specifies the trunk group ID used as peer-link (only valid if type = trunk-group).",
"type": "integer", "type": "integer",
"minimum": 1, "minimum": 1,
"maximum": 64 "maximum": 64
@@ -1765,53 +1773,56 @@
} }
}, },
"mclag-group": { "mclag-group": {
"description": "Configures the MC-LAG group, which binds the interfaces into a multi-chassis LAG.", "description": "Configures the MC-LAG group(s), which binds the interfaces into a multi-chassis LAG.",
"type": "object", "type": "array",
"properties": { "items": {
"group-id": { "type": "object",
"description": "Defines the unique MC-LAG group identifier.", "properties": {
"type": "integer", "group-id": {
"minimum": 1, "description": "Defines the unique MC-LAG group identifier.",
"maximum": 128 "type": "integer",
}, "minimum": 1,
"members": { "maximum": 128
"description": "List of interfaces that participate in the MC-LAG group.", },
"type": "array", "members": {
"items": { "description": "List of interfaces that participate in the MC-LAG group.",
"type": "string", "type": "array",
"description": "Interface names that are part of the MC-LAG group.", "items": {
"examples": [
"eth0",
"eth1"
]
}
},
"lacp-config": {
"description": "LACP configuration settings for the MC-LAG group.",
"type": "object",
"properties": {
"lacp-enable": {
"description": "Enables or disables LACP for the MC-LAG group.",
"type": "boolean",
"default": true
},
"lacp-role": {
"description": "Configures the LACP role as 'actor' or 'partner'",
"type": "string", "type": "string",
"enum": [ "description": "Interface names that are part of the MC-LAG group.",
"actor", "examples": [
"partner" "Ethernet0",
], "Ethernet1"
"default": "actor" ]
}, }
"lacp-timeout": { },
"description": "Sets the LACP timeout as either 'short' or 'long'.", "lacp-config": {
"type": "string", "description": "LACP configuration settings for the MC-LAG group.",
"enum": [ "type": "object",
"short", "properties": {
"long" "lacp-enable": {
], "description": "Enables or disables LACP for the MC-LAG group.",
"default": "long" "type": "boolean",
"default": true
},
"lacp-role": {
"description": "Configures the LACP role as 'actor' or 'partner'",
"type": "string",
"enum": [
"actor",
"partner"
],
"default": "actor"
},
"lacp-timeout": {
"description": "Sets the LACP timeout as either 'short' or 'long'.",
"type": "string",
"enum": [
"short",
"long"
],
"default": "long"
}
} }
} }
} }