mirror of
https://github.com/Telecominfraproject/ols-ucentral-schema.git
synced 2025-11-01 18:47:51 +00:00
change port mirror type to array
-- rebased and merge changes from https://github.com/Telecominfraproject/ols-ucentral-schema/pull/23 into main Signed-off-by: Mike Hansen <mike.hansen@netexperience.com>
This commit is contained in:
@@ -5,18 +5,20 @@ properties:
|
|||||||
port-mirror:
|
port-mirror:
|
||||||
description:
|
description:
|
||||||
Enable mirror of traffic from multiple minotor ports to a single analysis port.
|
Enable mirror of traffic from multiple minotor ports to a single analysis port.
|
||||||
type: object
|
type: array
|
||||||
properties:
|
items:
|
||||||
monitor-ports:
|
type: object
|
||||||
description:
|
properties:
|
||||||
The list of ports that we want to mirror.
|
monitor-ports:
|
||||||
type: array
|
description:
|
||||||
items:
|
The list of ports that we want to mirror.
|
||||||
|
type: array
|
||||||
|
items:
|
||||||
|
type: string
|
||||||
|
analysis-port:
|
||||||
|
description:
|
||||||
|
The port that mirror'ed packets should be sent to.
|
||||||
type: string
|
type: string
|
||||||
analysis-port:
|
|
||||||
description:
|
|
||||||
The port that mirror'ed packets should be sent to.
|
|
||||||
type: string
|
|
||||||
loop-detection:
|
loop-detection:
|
||||||
description:
|
description:
|
||||||
Enable loop detection on the L2 switches/bridge.
|
Enable loop detection on the L2 switches/bridge.
|
||||||
|
|||||||
@@ -766,18 +766,21 @@
|
|||||||
"properties": {
|
"properties": {
|
||||||
"port-mirror": {
|
"port-mirror": {
|
||||||
"description": "Enable mirror of traffic from multiple minotor ports to a single analysis port.",
|
"description": "Enable mirror of traffic from multiple minotor ports to a single analysis port.",
|
||||||
"type": "object",
|
"type": "array",
|
||||||
"properties": {
|
"items": {
|
||||||
"monitor-ports": {
|
"type": "object",
|
||||||
"description": "The list of ports that we want to mirror.",
|
"properties": {
|
||||||
"type": "array",
|
"monitor-ports": {
|
||||||
"items": {
|
"description": "The list of ports that we want to mirror.",
|
||||||
|
"type": "array",
|
||||||
|
"items": {
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"analysis-port": {
|
||||||
|
"description": "The port that mirror'ed packets should be sent to.",
|
||||||
"type": "string"
|
"type": "string"
|
||||||
}
|
}
|
||||||
},
|
|
||||||
"analysis-port": {
|
|
||||||
"description": "The port that mirror'ed packets should be sent to.",
|
|
||||||
"type": "string"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -545,16 +545,19 @@
|
|||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
"port-mirror": {
|
"port-mirror": {
|
||||||
"type": "object",
|
"type": "array",
|
||||||
"properties": {
|
"items": {
|
||||||
"monitor-ports": {
|
"type": "object",
|
||||||
"type": "array",
|
"properties": {
|
||||||
"items": {
|
"monitor-ports": {
|
||||||
|
"type": "array",
|
||||||
|
"items": {
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"analysis-port": {
|
||||||
"type": "string"
|
"type": "string"
|
||||||
}
|
}
|
||||||
},
|
|
||||||
"analysis-port": {
|
|
||||||
"type": "string"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -617,18 +617,21 @@
|
|||||||
"properties": {
|
"properties": {
|
||||||
"port-mirror": {
|
"port-mirror": {
|
||||||
"description": "Enable mirror of traffic from multiple minotor ports to a single analysis port.",
|
"description": "Enable mirror of traffic from multiple minotor ports to a single analysis port.",
|
||||||
"type": "object",
|
"type": "array",
|
||||||
"properties": {
|
"items": {
|
||||||
"monitor-ports": {
|
"type": "object",
|
||||||
"description": "The list of ports that we want to mirror.",
|
"properties": {
|
||||||
"type": "array",
|
"monitor-ports": {
|
||||||
"items": {
|
"description": "The list of ports that we want to mirror.",
|
||||||
|
"type": "array",
|
||||||
|
"items": {
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"analysis-port": {
|
||||||
|
"description": "The port that mirror'ed packets should be sent to.",
|
||||||
"type": "string"
|
"type": "string"
|
||||||
}
|
}
|
||||||
},
|
|
||||||
"analysis-port": {
|
|
||||||
"description": "The port that mirror'ed packets should be sent to.",
|
|
||||||
"type": "string"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user