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:
Mike Hansen
2024-09-09 10:07:57 -04:00
parent 5291c3da99
commit 7c62326155
4 changed files with 50 additions and 39 deletions

View File

@@ -5,6 +5,8 @@ properties:
port-mirror:
description:
Enable mirror of traffic from multiple minotor ports to a single analysis port.
type: array
items:
type: object
properties:
monitor-ports:

View File

@@ -766,6 +766,8 @@
"properties": {
"port-mirror": {
"description": "Enable mirror of traffic from multiple minotor ports to a single analysis port.",
"type": "array",
"items": {
"type": "object",
"properties": {
"monitor-ports": {
@@ -780,6 +782,7 @@
"type": "string"
}
}
}
},
"loop-detection": {
"description": "Enable loop detection on the L2 switches/bridge.",

View File

@@ -545,6 +545,8 @@
"type": "object",
"properties": {
"port-mirror": {
"type": "array",
"items": {
"type": "object",
"properties": {
"monitor-ports": {
@@ -557,6 +559,7 @@
"type": "string"
}
}
}
},
"loop-detection": {
"type": "object",

View File

@@ -617,6 +617,8 @@
"properties": {
"port-mirror": {
"description": "Enable mirror of traffic from multiple minotor ports to a single analysis port.",
"type": "array",
"items": {
"type": "object",
"properties": {
"monitor-ports": {
@@ -631,6 +633,7 @@
"type": "string"
}
}
}
},
"loop-detection": {
"description": "Enable loop detection on the L2 switches/bridge.",