Supported recently introduced fields in HostsWebResource
Change-Id: I3bc3fd272008388326041540c10e8a103b01c02c
diff --git a/web/api/src/main/resources/definitions/Hosts.json b/web/api/src/main/resources/definitions/Hosts.json
index 3615ba4..3a293fa 100644
--- a/web/api/src/main/resources/definitions/Hosts.json
+++ b/web/api/src/main/resources/definitions/Hosts.json
@@ -65,6 +65,36 @@
}
}
}
+ },
+ "auxLocations": {
+ "required": false,
+ "type": "array",
+ "items": {
+ "type": "object",
+ "title": "location",
+ "required": [
+ "elementId",
+ "port"
+ ],
+ "properties": {
+ "elementId": {
+ "type": "string",
+ "example": "of:0000000000000003"
+ },
+ "port": {
+ "type": "string",
+ "example": "4"
+ }
+ }
+ }
+ },
+ "innerVlan": {
+ "type": "string",
+ "example": "-1"
+ },
+ "outerTpid": {
+ "type": "string",
+ "example": "unknown"
}
}
}