From 99e9c35d5aa5766cea9c3eb08e58cea2dcf6e9a5 Mon Sep 17 00:00:00 2001 From: "shashikanth.vh" Date: Thu, 25 Apr 2019 10:39:21 +0530 Subject: SDWAN port templates SDWAN port templates added based on the IPMode static or dhcp Change-Id: Ib6d9e2dd13d92d49a1323525646c01bf795346c1 Issue-ID: SDNC-653 Signed-off-by: shashikanth.vh Former-commit-id: 6cacb9781777b6f7cd317a60da5556bc4514982d --- .../src/main/json/sdwan-wan-port-dhcp.json | 45 ++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 platform-logic/restapi-templates/src/main/json/sdwan-wan-port-dhcp.json (limited to 'platform-logic/restapi-templates/src/main/json/sdwan-wan-port-dhcp.json') diff --git a/platform-logic/restapi-templates/src/main/json/sdwan-wan-port-dhcp.json b/platform-logic/restapi-templates/src/main/json/sdwan-wan-port-dhcp.json new file mode 100644 index 00000000..58cf7969 --- /dev/null +++ b/platform-logic/restapi-templates/src/main/json/sdwan-wan-port-dhcp.json @@ -0,0 +1,45 @@ +{ + "tnps": [ + { + "name": ${prop.wan.name}, + "siteId": ${prop.wan.siteId}, + "deviceId": ${prop.wan.deviceId}, + "portId": ${prop.wan.devicePortId}, + "inSubInterface": false, + "vlanId": "null", + "ipConnection": { + "ipv4": { + "publicIP": null, + "accessType": "IPoE", + "ipMode": "DHCP", + "customerAddress": "", + "prefixLength": null, + "providerAddress": "", + "peerIp": null, + "userName": null, + "userKey": null + } + }, + "transportNetworkInfo": { + "transportNetworkId": ${prop.wan.transportNetworkId}, + "workMode": "active" + }, + "attributes": { + "inputBandwidth": ${prop.wan.inputBandwidth}, + "outputBandwidth": ${prop.wan.outputBandwidth}, + "mtu": 1500, + "TCPmss": 1200 + }, + "ntp": [ + { + "serverIP": "11.11.11.11", + "authentication": false, + "mode": "MD5", + "authKey": "123456", + "authId": 123 + } + ], + "description": ${prop.wan.description} + } + ] +} -- cgit 1.2.3-korg