[CORD-1983] Implement addSource for Multicast REST API
Change-Id: I0cd976e76012eeb4c8ef643cd2f652e3e4e82c83
diff --git a/web/api/src/main/resources/definitions/McastRoutePost.json b/web/api/src/main/resources/definitions/McastRoutePost.json
index 3a73adb..911de19 100644
--- a/web/api/src/main/resources/definitions/McastRoutePost.json
+++ b/web/api/src/main/resources/definitions/McastRoutePost.json
@@ -5,6 +5,9 @@
"source",
"group"
],
+ "optional": [
+ "ingress"
+ ],
"properties": {
"source": {
"type": "string",
@@ -15,6 +18,11 @@
"type": "string",
"example": "10.1.1.0",
"description": "Multicast group IP address"
+ },
+ "ingress": {
+ "type": "string",
+ "example": "of:0000000000000001/1",
+ "description": "Multicast ingress Connection Point device and port"
}
}
}