diff options
author | prakash.e <prakash.e@huawei.com> | 2019-05-13 18:35:06 +0530 |
---|---|---|
committer | prakash.e <prakash.e@huawei.com> | 2019-05-13 18:35:12 +0530 |
commit | bd8befcd781b1c26f2f5c63e4f0c950dad9c3931 (patch) | |
tree | 574663e5382d85058e1bbcdc8430b39073c3ab80 /platform-logic | |
parent | 517372036e87a9e15b9efa5f536236e1e6945d32 (diff) |
Fix SDWAN restapi templates
SDWAN controller requests is updated with
correct parameters and values
Change-Id: I36f3309b93a9255a5d94ac060c50f8c3256b1f37
Issue-ID: SDNC-659
Signed-off-by: Prakash.E <prakash.e@huawei.com>
Former-commit-id: 986ea914320fe9bd52cefcb6fc9307e1f302af37
Diffstat (limited to 'platform-logic')
6 files changed, 9 insertions, 9 deletions
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 index 85ccf15a..504be835 100644 --- a/platform-logic/restapi-templates/src/main/json/sdlan-ip-subnets.json +++ b/platform-logic/restapi-templates/src/main/json/sdlan-ip-subnets.json @@ -2,7 +2,7 @@ "IPSubnets":[ { "vpnId": ${prop.vpnId}, - "siteId": ${prop.lan.siteId}, + "siteId": ${prop.siteId}, "deviceId": ${prop.lan.deviceId}, "id": "", "interfaceType": "interface", diff --git a/platform-logic/restapi-templates/src/main/json/sdwan-network-orchestration.json b/platform-logic/restapi-templates/src/main/json/sdwan-network-orchestration.json index a871f114..e2b99032 100644 --- a/platform-logic/restapi-templates/src/main/json/sdwan-network-orchestration.json +++ b/platform-logic/restapi-templates/src/main/json/sdwan-network-orchestration.json @@ -1,5 +1,5 @@ { - "bpgAsNum": 65101, + "bgpAsNum": 65101, "vpnType": "dsvpn", "siteScale":"30", "dsvpnIPpool": ["100.1.0.0/16"], @@ -22,4 +22,4 @@ "encrptionAlgorithm":"AES128", "preSharedKey": "Admin@12134==========================================" } -}
\ No newline at end of file +} diff --git a/platform-logic/restapi-templates/src/main/json/sdwan-tenant.json b/platform-logic/restapi-templates/src/main/json/sdwan-tenant.json index 6161b1bd..5f85aa22 100644 --- a/platform-logic/restapi-templates/src/main/json/sdwan-tenant.json +++ b/platform-logic/restapi-templates/src/main/json/sdwan-tenant.json @@ -7,7 +7,7 @@ "limitAccountNum": 1000, "userAccount": ${prop.userAccount}, "userEmail": ${prop.userEmail}, - "sendInitEmailEnable": "true", + "sendInitEmailEnable": "false", "countryCode": "CN", "userPassword": "Test@12345" -}
\ No newline at end of file +} diff --git a/platform-logic/restapi-templates/src/main/json/sdwan-vpn.json b/platform-logic/restapi-templates/src/main/json/sdwan-vpn.json index 11412b41..f1192a22 100644 --- a/platform-logic/restapi-templates/src/main/json/sdwan-vpn.json +++ b/platform-logic/restapi-templates/src/main/json/sdwan-vpn.json @@ -2,7 +2,7 @@ "vpns": [ { "name": ${prop.name}, - "id": ${prop.vpn1Id}, + "id": ${prop.vpnId}, "siteIds": [ ${repeat:prop.siteIds_length: ${prop.siteIds[${1}]}, @@ -10,4 +10,4 @@ ] } ] -}
\ No newline at end of file +} 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 index 58cf7969..3f07b600 100644 --- 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 @@ -9,7 +9,7 @@ "vlanId": "null", "ipConnection": { "ipv4": { - "publicIP": null, + "publicIP": ${prop.wan.ipAddress}, "accessType": "IPoE", "ipMode": "DHCP", "customerAddress": "", diff --git a/platform-logic/restapi-templates/src/main/json/sdwan-wan-port-static.json b/platform-logic/restapi-templates/src/main/json/sdwan-wan-port-static.json index 9825b6e6..ce9d4f2b 100644 --- a/platform-logic/restapi-templates/src/main/json/sdwan-wan-port-static.json +++ b/platform-logic/restapi-templates/src/main/json/sdwan-wan-port-static.json @@ -9,7 +9,7 @@ "vlanId": "null", "ipConnection": { "ipv4": { - "publicIP": null, + "publicIP": ${prop.wan.ip-address}, "accessType": "IPoE", "ipMode": "Static", "customerAddress": ${prop.wan.ip-address}, |