From 7d98f6d59a08b7c9be97f6aee15db36af7efa4d3 Mon Sep 17 00:00:00 2001 From: "prakash.e" Date: Fri, 29 Mar 2019 11:11:47 +0530 Subject: CCVPN extension lan-port templates lan-port - device-port, bridge-domain and ip-subnets templates Change-Id: I94797ee8f58c8817d578a263a631ca0ac485dd26 Issue-ID: SDNC-659 Signed-off-by: Prakash.E Former-commit-id: 30a75914225f313fac7a40b6bc2a2d0d782fc112 --- .../src/main/json/sdlan-ip-subnets.json | 37 ++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 platform-logic/restapi-templates/src/main/json/sdlan-ip-subnets.json (limited to 'platform-logic/restapi-templates/src/main/json/sdlan-ip-subnets.json') diff --git a/platform-logic/restapi-templates/src/main/json/sdlan-ip-subnets.json b/platform-logic/restapi-templates/src/main/json/sdlan-ip-subnets.json new file mode 100644 index 00000000..85ccf15a --- /dev/null +++ b/platform-logic/restapi-templates/src/main/json/sdlan-ip-subnets.json @@ -0,0 +1,37 @@ +{ + "IPSubnets":[ + { + "vpnId": ${prop.vpnId}, + "siteId": ${prop.lan.siteId}, + "deviceId": ${prop.lan.deviceId}, + "id": "", + "interfaceType": "interface", + "interfaceName": "interface", + "portId": ${prop.lan.devicePortId}, + "vlanId": null, + "ipAddress": ${prop.lan.ip-address}, + "prefixLength": ${prop.lan.prefixLength}, + "vrrp": { + "enable": false, + "vrrpId": null, + "virtualIpAddress": null, + "defaultRole": null, + "preemptDelay": null + }, + "dhcp": { + "enable": false, + "dhcpServiceType": null, + "dhcpServer": null, + "dhcpRelay": null + }, + "securityZone": "trust", + "proxyArp": "false", + "attributes": { + "mtu": null, + "TCPmss": null + }, + "description": "hub1 L3 test" + } +] +} + -- cgit 1.2.3-korg