Moving Source from connect point to HostId in MulticastHandling
Change-Id: Ie8f678e150b7ee388680b8d8f27df0bce60ec01f
diff --git a/apps/mcast/web/src/main/resources/definitions/McastHostSourcesAdd.json b/apps/mcast/web/src/main/resources/definitions/McastHostSourcesAdd.json
new file mode 100644
index 0000000..07a51a6
--- /dev/null
+++ b/apps/mcast/web/src/main/resources/definitions/McastHostSourcesAdd.json
@@ -0,0 +1,22 @@
+{
+ "type": "object",
+ "title": "sources",
+ "required": [
+ "sources"
+ ],
+ "properties": {
+ "sources": {
+ "type": "array",
+ "xml": {
+ "name": "sources",
+ "wrapped": true
+ },
+ "items": {
+ "type": "string",
+ "example": "of:0000000000000206/8",
+ "description": "A source connect point for a host in the route"
+ },
+ "description": "Source connect points for a host in the route"
+ }
+ }
+}
\ No newline at end of file
diff --git a/apps/mcast/web/src/main/resources/definitions/McastRoute.json b/apps/mcast/web/src/main/resources/definitions/McastRoute.json
index 006ed70..513997f 100644
--- a/apps/mcast/web/src/main/resources/definitions/McastRoute.json
+++ b/apps/mcast/web/src/main/resources/definitions/McastRoute.json
@@ -28,10 +28,10 @@
},
"items": {
"type": "string",
- "example": "of:0000000000000206/8",
- "description": "A source connect point for the route"
+ "example": "00:CC:00:00:00:02/None",
+ "description": "A host source for the route"
},
- "description": "Source connect points for the route"
+ "description": "Host source for the route"
},
"sinks": {
"type": "array",
diff --git a/apps/mcast/web/src/main/resources/definitions/McastRouteBulk.json b/apps/mcast/web/src/main/resources/definitions/McastRouteBulk.json
index f32cc4f..1f5f741 100644
--- a/apps/mcast/web/src/main/resources/definitions/McastRouteBulk.json
+++ b/apps/mcast/web/src/main/resources/definitions/McastRouteBulk.json
@@ -27,10 +27,10 @@
},
"items": {
"type": "string",
- "example": "of:0000000000000206/8",
- "description": "A source connect point for the route"
+ "example": "00:CC:00:00:00:02/None",
+ "description": "A host source for the route"
},
- "description": "Source connect points for the route"
+ "description": "Host source for the route"
},
"sinks": {
"type": "array",
diff --git a/apps/mcast/web/src/main/resources/definitions/McastSourcesAdd.json b/apps/mcast/web/src/main/resources/definitions/McastSourcesAdd.json
index 72910a9..d45ed19 100644
--- a/apps/mcast/web/src/main/resources/definitions/McastSourcesAdd.json
+++ b/apps/mcast/web/src/main/resources/definitions/McastSourcesAdd.json
@@ -13,10 +13,10 @@
},
"items": {
"type": "string",
- "example": "of:0000000000000206/8",
- "description": "A source connect point for the route"
+ "example": "00:CC:00:00:00:02/None",
+ "description": "A host source for the route"
},
- "description": "Source connect points for the route"
+ "description": "Host source for the route"
}
}
}
\ No newline at end of file