aboutsummaryrefslogtreecommitdiffstats
path: root/platform-logic/restapi-templates
diff options
context:
space:
mode:
Diffstat (limited to 'platform-logic/restapi-templates')
-rw-r--r--platform-logic/restapi-templates/src/main/json/sdlan-ip-subnets.json2
-rw-r--r--platform-logic/restapi-templates/src/main/json/sdwan-network-orchestration.json4
-rw-r--r--platform-logic/restapi-templates/src/main/json/sdwan-tenant.json4
-rw-r--r--platform-logic/restapi-templates/src/main/json/sdwan-vpn.json4
-rw-r--r--platform-logic/restapi-templates/src/main/json/sdwan-wan-port-dhcp.json2
-rw-r--r--platform-logic/restapi-templates/src/main/json/sdwan-wan-port-static.json2
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},