Compare commits

...

2 Commits

Author SHA1 Message Date
Mike Hansen
89a78c61be Change VRF id type from number to integer
Signed-off-by: Mike Hansen <mike.hansen@netexperience.com>
2024-02-21 05:28:01 -05:00
Olexandr, Mazur
f5608bd42c Merge pull request #9 from Telecominfraproject/schema_fixes_and_updates
Align dhcp-relay with ols-ucentral-client, STP object typo #7 Fix spelling, make power limit an integer
2024-02-15 12:17:22 +02:00
6 changed files with 30 additions and 30 deletions

View File

@@ -40,7 +40,7 @@ properties:
vrf:
description:
VRF id.
type: number
type: integer
ipv4-unreachable:
description:
Define a list of non-interface specific UNREACHABLE routes.
@@ -58,4 +58,4 @@ properties:
vrf:
description:
VRF id.
type: number
type: integer

View File

@@ -30,7 +30,7 @@ properties:
vrf:
description:
VRF id.
type: number
type: integer
gateway:
description:
This option defines the static IPv4 gateway of the logical interface.
@@ -55,7 +55,7 @@ properties:
vrf:
description:
VRF id.
type: number
type: integer
metric:
description:
Optional metric value (define a NH route's weight / metric).
@@ -77,7 +77,7 @@ properties:
vrf:
description:
VRF id.
type: number
type: integer
multicast:
type: object
properties:

View File

@@ -532,8 +532,8 @@ function instantiateGlobals(location, value, errors) {
}
function parseVrf(location, value, errors) {
if (!(type(value) in [ "int", "double" ]))
push(errors, [ location, "must be of type number" ]);
if (type(value) != "int")
push(errors, [ location, "must be of type integer" ]);
return value;
}
@@ -588,8 +588,8 @@ function instantiateGlobals(location, value, errors) {
}
function parseVrf(location, value, errors) {
if (!(type(value) in [ "int", "double" ]))
push(errors, [ location, "must be of type number" ]);
if (type(value) != "int")
push(errors, [ location, "must be of type integer" ]);
return value;
}
@@ -2549,8 +2549,8 @@ function instantiateInterfaceIpv4(location, value, errors) {
}
function parseVrf(location, value, errors) {
if (!(type(value) in [ "int", "double" ]))
push(errors, [ location, "must be of type number" ]);
if (type(value) != "int")
push(errors, [ location, "must be of type integer" ]);
return value;
}
@@ -2622,8 +2622,8 @@ function instantiateInterfaceIpv4(location, value, errors) {
}
function parseVrf(location, value, errors) {
if (!(type(value) in [ "int", "double" ]))
push(errors, [ location, "must be of type number" ]);
if (type(value) != "int")
push(errors, [ location, "must be of type integer" ]);
return value;
}
@@ -2689,8 +2689,8 @@ function instantiateInterfaceIpv4(location, value, errors) {
}
function parseVrf(location, value, errors) {
if (!(type(value) in [ "int", "double" ]))
push(errors, [ location, "must be of type number" ]);
if (type(value) != "int")
push(errors, [ location, "must be of type integer" ]);
return value;
}

View File

@@ -429,7 +429,7 @@
},
"vrf": {
"description": "VRF id.",
"type": "number"
"type": "integer"
}
}
}
@@ -450,7 +450,7 @@
},
"vrf": {
"description": "VRF id.",
"type": "number"
"type": "integer"
}
}
}
@@ -1340,7 +1340,7 @@
},
"vrf": {
"description": "VRF id.",
"type": "number"
"type": "integer"
}
}
}
@@ -1369,7 +1369,7 @@
},
"vrf": {
"description": "VRF id.",
"type": "number"
"type": "integer"
},
"metric": {
"description": "Optional metric value (define a NH route's weight / metric).",
@@ -1394,7 +1394,7 @@
},
"vrf": {
"description": "VRF id.",
"type": "number"
"type": "integer"
}
}
}

View File

@@ -251,7 +251,7 @@
]
},
"vrf": {
"type": "number"
"type": "integer"
}
}
}
@@ -269,7 +269,7 @@
]
},
"vrf": {
"type": "number"
"type": "integer"
}
}
}
@@ -1094,7 +1094,7 @@
]
},
"vrf": {
"type": "number"
"type": "integer"
}
}
}
@@ -1119,7 +1119,7 @@
]
},
"vrf": {
"type": "number"
"type": "integer"
},
"metric": {
"type": "number"
@@ -1140,7 +1140,7 @@
]
},
"vrf": {
"type": "number"
"type": "integer"
}
}
}

View File

@@ -280,7 +280,7 @@
},
"vrf": {
"description": "VRF id.",
"type": "number"
"type": "integer"
}
}
}
@@ -301,7 +301,7 @@
},
"vrf": {
"description": "VRF id.",
"type": "number"
"type": "integer"
}
}
}
@@ -1248,7 +1248,7 @@
},
"vrf": {
"description": "VRF id.",
"type": "number"
"type": "integer"
}
}
}
@@ -1277,7 +1277,7 @@
},
"vrf": {
"description": "VRF id.",
"type": "number"
"type": "integer"
},
"metric": {
"description": "Optional metric value (define a NH route's weight / metric).",
@@ -1302,7 +1302,7 @@
},
"vrf": {
"description": "VRF id.",
"type": "number"
"type": "integer"
}
}
}