summaryrefslogtreecommitdiffstats
path: root/platform-logic/restapi-templates/src/main/json/l3smvrftemplate.json
diff options
context:
space:
mode:
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
+ }
+ ]
+ }
}
]
+ }
}