aboutsummaryrefslogtreecommitdiffstats
path: root/platform-logic/restapi-templates/src/main/json/l3smvrftemplate.json
diff options
context:
space:
mode:
authorramu.n <ramu.n@huawei.com>2017-11-10 12:20:23 +0530
committerramu.n <ramu.n@huawei.com>2017-11-10 12:20:23 +0530
commit035160e7de4e63112e6f8978bc6b81f22445ffa9 (patch)
treed0c4d76b8d2b059ce024c64fb3c12bc9e89f7680 /platform-logic/restapi-templates/src/main/json/l3smvrftemplate.json
parent598c74334c8403f14bbe2a25c18e3a286dbd9e35 (diff)
Update underlay DG for integration issues
*Fix typo mistakes in underlay network-input-parameter names *Fix rest api parameters for IP-WAN & SPTN controller *Update underlay JSON template for IP-WAN controller Change-Id: I6308b7123561c032093dbff65b770389f92ca4fc Issue-Id: SDNC-188 Signed-off-by: Ramu N <ramu.n@huawei.com> Former-commit-id: 17cfd6d0d69e6da78d55cb76ed0446fca170eead
Diffstat (limited to 'platform-logic/restapi-templates/src/main/json/l3smvrftemplate.json')
-rw-r--r--platform-logic/restapi-templates/src/main/json/l3smvrftemplate.json84
1 files changed, 82 insertions, 2 deletions
diff --git a/platform-logic/restapi-templates/src/main/json/l3smvrftemplate.json b/platform-logic/restapi-templates/src/main/json/l3smvrftemplate.json
index 732af278..1957135f 100644
--- a/platform-logic/restapi-templates/src/main/json/l3smvrftemplate.json
+++ b/platform-logic/restapi-templates/src/main/json/l3smvrftemplate.json
@@ -20,16 +20,96 @@
*/
{
+ "huawei-ac-net-l3vpn-svc-vfi:vrf-attributes": {
"vrf-attribute": [
{
"vrf-attribute-id": ${prop.l3vpn.vrf1-id},
"ne-id": ${prop.l3vpn.pe1_id},
- "vpn-policy-id": ${prop.l3vpn.vpn-policy1-id}
+ "vpn-policy-id": ${prop.l3vpn.vpn-policy1-id},
+ "site-id": ${prop.l3vpn.site1_name},
+ "address-families": {
+ "address-family": [
+ {
+ "af-type": "ipv4",
+ "tunnel-service": {
+ "type": "huawei-ac-net-l3vpn-svc-vfi:auto-select",
+ "auto-select": {
+ "select-tunnels": {
+ "select-tunnel": {
+ "type": "ldp",
+ "priority": 3
+ }
+ }
+ }
+ },
+ "access-protocols": {
+ "protocol": {
+ "type": "huawei-ac-net-l3vpn-svc:bgp",
+ "bgp": {
+ "import-routes": {
+ "import-route": [{
+ "type": "huawei-ac-net-l3vpn-svc:static",
+ "policy-type": "none"
+ },
+ {
+ "type": "huawei-ac-net-l3vpn-svc:direct",
+ "policy-type": "none"
+ }
+ ]
+ }
+ }
+ }
+ },
+ "popgo": true
+ }
+ ]
+ }
},
{
"vrf-attribute-id": ${prop.l3vpn.vrf2-id},
"ne-id": ${prop.l3vpn.pe2_id},
- "vpn-policy-id": ${prop.l3vpn.vpn-policy2-id}
+ "vpn-policy-id": ${prop.l3vpn.vpn-policy1-id},
+ "site-id": ${prop.l3vpn.site1_name},
+ "address-families": {
+ "address-family": [
+ {
+ "af-type": "ipv4",
+ "tunnel-service": {
+ "type": "huawei-ac-net-l3vpn-svc-vfi:auto-select",
+ "auto-select": {
+ "select-tunnels": {
+ "select-tunnel": [
+ {
+ "type": "ldp",
+ "priority": 3
+ }
+ ]
+ }
+ }
+ },
+ "access-protocols": {
+ "protocol": {
+ "type": "huawei-ac-net-l3vpn-svc:bgp",
+ "bgp": {
+ "import-routes": {
+ "import-route": [{
+ "type": "huawei-ac-net-l3vpn-svc:static",
+ "policy-type": "none"
+ },
+ {
+ "type": "huawei-ac-net-l3vpn-svc:direct",
+ "policy-type": "none"
+ }
+ ]
+ }
+ }
+ }
+ },
+ "popgo": true
+ }
+ ]
+ }
}
]
+ }
}