summaryrefslogtreecommitdiffstats
path: root/platform-logic/restapi-templates/src/main/json/sdwan-tenant-zte-add.json
diff options
context:
space:
mode:
authorDan Timoney <dtimoney@att.com>2019-04-10 18:26:22 +0000
committerGerrit Code Review <gerrit@onap.org>2019-04-10 18:26:22 +0000
commit4ae2e625c652dfeefd271f8579fcf65e12e783e5 (patch)
treead3ac713d732765a4acaf12d5a04214958376282 /platform-logic/restapi-templates/src/main/json/sdwan-tenant-zte-add.json
parenta33c6ad87b758ad4d4700b4b394b3c756db58966 (diff)
parent7e01da537f44b15b2ae39ed5d9a71d467ec097db (diff)
Merge "zte 3rd party controller for sdwan"
Former-commit-id: eb0fe6f9efb11193847d5847ed8fca0c4ad9a0f8
Diffstat (limited to 'platform-logic/restapi-templates/src/main/json/sdwan-tenant-zte-add.json')
-rw-r--r--platform-logic/restapi-templates/src/main/json/sdwan-tenant-zte-add.json17
1 files changed, 17 insertions, 0 deletions
diff --git a/platform-logic/restapi-templates/src/main/json/sdwan-tenant-zte-add.json b/platform-logic/restapi-templates/src/main/json/sdwan-tenant-zte-add.json
new file mode 100644
index 00000000..ed6161b8
--- /dev/null
+++ b/platform-logic/restapi-templates/src/main/json/sdwan-tenant-zte-add.json
@@ -0,0 +1,17 @@
+{
+ "routes": [
+ {
+ "id": ${prop.route.id},
+ "vpnId": ${prop.vpnId},
+ "siteId": ${prop.route.siteId},
+ "deviceId": ${prop.route.deviceId},
+ "destinationAddressMask": ${prop.route.providerIpAddress},
+ "priority": 60,
+ "nextHopType": "ip-address",
+ "ipAddress": ${prop.route.ipAddress},
+ "track": false,
+ "target": null
+ }
+ ]
+}
+