[OLS-529] Schema: schema/interface.yml incorrect "dhcp-snooop-port"

schema/interface.yml
Fix:
  dhcp-snooop-port:
    $ref: "https://ucentral.io/schema/v1/interface/dhcp-snoop-port/"

Change to:
  dhcp-snoop-port:
    $ref: "https://ucentral.io/schema/v1/interface/dhcp-snoop-port/"

Signed-off-by: Mike Hansen <mike.hansen@netexperience.com>
This commit is contained in:
Mike Hansen
2024-12-12 14:26:36 -05:00
parent 3faa3421d3
commit b6ac5a6450
5 changed files with 8 additions and 5 deletions

View File

@@ -10,7 +10,10 @@ set -x
./merge-schema.py capabilities capabilities connect.capabilities.yml ucentral.capabilities.pretty.json 0 1
#./generate-reader.uc > schemareader.uc
#./generate-example.uc > input.json
mkdir -p docs
which generate-schema-doc > /dev/null
generate-schema-doc --config expand_buttons=true ucentral.schema.pretty.json docs/ucentral-schema.html
generate-schema-doc --config expand_buttons=true ucentral.state.pretty.json docs/ucentral-state.html
generate-schema-doc --config expand_buttons=true ucentral.capabilities.pretty.json docs/ucentral.capabilities.html
generate-schema-doc --config expand_buttons=true ucentral.lldp-peers.pretty.json docs/ucentral.lldp-peers.html
generate-schema-doc --config expand_buttons=true ucentral.link-state.pretty.json docs/ucentral.link-state.html

View File

@@ -70,7 +70,7 @@ properties:
$ref: "https://ucentral.io/schema/v1/interface/ipv6/"
acl:
$ref: "https://ucentral.io/schema/v1/interface/acl/"
dhcp-snooop-port:
dhcp-snoop-port:
$ref: "https://ucentral.io/schema/v1/interface/dhcp-snoop-port/"
broad-band:
$ref: "https://ucentral.io/schema/v1/interface/broad-band/"

View File

@@ -2775,7 +2775,7 @@
}
}
},
"dhcp-snooop-port": {
"dhcp-snoop-port": {
"description": "Configuration for DHCP Snooping on a port level on a switch",
"type": "object",
"properties": {

View File

@@ -3547,7 +3547,7 @@
"acl": {
"$ref": "#/$defs/interface.acl"
},
"dhcp-snooop-port": {
"dhcp-snoop-port": {
"$ref": "#/$defs/interface.dhcp-snoop-port"
},
"broad-band": {

View File

@@ -4099,7 +4099,7 @@
"acl": {
"$ref": "#/$defs/interface.acl"
},
"dhcp-snooop-port": {
"dhcp-snoop-port": {
"$ref": "#/$defs/interface.dhcp-snoop-port"
},
"broad-band": {