X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=platform-logic%2Frestapi-templates%2Fsrc%2Fmain%2Fjson%2Fl3smvrftemplate.json;h=1957135f92227b620946f21d81a806e2f681eb05;hb=035160e7de4e63112e6f8978bc6b81f22445ffa9;hp=732af278cf8775d86c6651cdcee28d9c63155f89;hpb=598c74334c8403f14bbe2a25c18e3a286dbd9e35;p=sdnc%2Foam.git 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 + } + ] + } } ] + } }