mirror of
https://github.com/Telecominfraproject/ols-ucentral-schema.git
synced 2025-10-29 17:22:23 +00:00
Merge pull request #46 from Telecominfraproject/ols-821-mclag-schema-correction
ols-821-mclag-schema-correcttion-draft Changes
This commit is contained in:
@@ -439,20 +439,28 @@ 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: array
|
||||||
|
items:
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
group-id:
|
group-id:
|
||||||
@@ -467,8 +475,8 @@ properties:
|
|||||||
type: string
|
type: string
|
||||||
description: Interface names that are part of the MC-LAG group.
|
description: Interface names that are part of the MC-LAG group.
|
||||||
examples:
|
examples:
|
||||||
- eth0
|
- Ethernet0
|
||||||
- eth1
|
- Ethernet1
|
||||||
lacp-config:
|
lacp-config:
|
||||||
description: LACP configuration settings for the MC-LAG group.
|
description: LACP configuration settings for the MC-LAG group.
|
||||||
type: object
|
type: object
|
||||||
|
|||||||
@@ -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,7 +1315,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"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": "array",
|
||||||
|
"items": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
"group-id": {
|
"group-id": {
|
||||||
@@ -1323,8 +1333,8 @@
|
|||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "Interface names that are part of the MC-LAG group.",
|
"description": "Interface names that are part of the MC-LAG group.",
|
||||||
"examples": [
|
"examples": [
|
||||||
"eth0",
|
"Ethernet0",
|
||||||
"eth1"
|
"Ethernet1"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -1358,6 +1368,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"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.",
|
||||||
|
|||||||
@@ -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,6 +1497,8 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"mclag-group": {
|
"mclag-group": {
|
||||||
|
"type": "array",
|
||||||
|
"items": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
"group-id": {
|
"group-id": {
|
||||||
@@ -1502,8 +1511,8 @@
|
|||||||
"items": {
|
"items": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"examples": [
|
"examples": [
|
||||||
"eth0",
|
"Ethernet0",
|
||||||
"eth1"
|
"Ethernet1"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -1533,6 +1542,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"system-priority": {
|
"system-priority": {
|
||||||
"type": "integer",
|
"type": "integer",
|
||||||
|
|||||||
@@ -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,7 +1773,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"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": "array",
|
||||||
|
"items": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
"group-id": {
|
"group-id": {
|
||||||
@@ -1781,8 +1791,8 @@
|
|||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "Interface names that are part of the MC-LAG group.",
|
"description": "Interface names that are part of the MC-LAG group.",
|
||||||
"examples": [
|
"examples": [
|
||||||
"eth0",
|
"Ethernet0",
|
||||||
"eth1"
|
"Ethernet1"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -1816,6 +1826,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"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.",
|
||||||
|
|||||||
Reference in New Issue
Block a user