Skip to content

Commit

Permalink
Merge pull request #397 from Telecominfraproject/OLS-433-fix-switch-s…
Browse files Browse the repository at this point in the history
…chema-sync

OLS-433: fix: updated internal switch schema
  • Loading branch information
i-chvets authored Dec 10, 2024
2 parents 5ce8dae + 26b9a96 commit 1708280
Showing 1 changed file with 13 additions and 10 deletions.
23 changes: 13 additions & 10 deletions src/framework/ConfigurationValidator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -376,18 +376,21 @@ static std::string DefaultAPSchema = R"foo(
"properties": {
"port-mirror": {
"description": "Enable mirror of traffic from multiple minotor ports to a single analysis port.",
"type": "object",
"properties": {
"monitor-ports": {
"description": "The list of ports that we want to mirror.",
"type": "array",
"items": {
"type": "array",
"items": {
"type": "object",
"properties": {
"monitor-ports": {
"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"
}
},
"analysis-port": {
"description": "The port that mirror'ed packets should be sent to.",
"type": "string"
}
}
},
Expand Down

0 comments on commit 1708280

Please sign in to comment.