Update underlay DG for integration issues
[sdnc/oam.git] / platform-logic / restapi-templates / src / main / json / l3smvrftemplate.json
1 /*-
2  * ============LICENSE_START=======================================================
3  * ONAP : SDN-C
4  * ================================================================================
5  * Copyright (C) 2017 AT&T Intellectual Property. All rights
6  *                                              reserved.
7  * ================================================================================
8  * Licensed under the Apache License, Version 2.0 (the "License");
9  * you may not use this file except in compliance with the License.
10  * You may obtain a copy of the License at
11  *
12  *      http://www.apache.org/licenses/LICENSE-2.0
13  *
14  * Unless required by applicable law or agreed to in writing, software
15  * distributed under the License is distributed on an "AS IS" BASIS,
16  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17  * See the License for the specific language governing permissions and
18  * limitations under the License.
19  * ============LICENSE_END=========================================================
20  */
21
22 {
23   "huawei-ac-net-l3vpn-svc-vfi:vrf-attributes": {
24     "vrf-attribute": [
25         {
26             "vrf-attribute-id": ${prop.l3vpn.vrf1-id},
27             "ne-id": ${prop.l3vpn.pe1_id},
28             "vpn-policy-id": ${prop.l3vpn.vpn-policy1-id},
29             "site-id": ${prop.l3vpn.site1_name},
30           "address-families": {
31     "address-family": [
32       {
33         "af-type": "ipv4",
34         "tunnel-service": {
35           "type": "huawei-ac-net-l3vpn-svc-vfi:auto-select",
36           "auto-select": {
37             "select-tunnels": {
38               "select-tunnel": {
39                 "type": "ldp",
40                 "priority": 3
41               }
42             }
43           }
44         },
45         "access-protocols": {
46           "protocol": {
47             "type": "huawei-ac-net-l3vpn-svc:bgp",
48             "bgp": {
49               "import-routes": {
50                 "import-route": [{
51                   "type": "huawei-ac-net-l3vpn-svc:static",
52                   "policy-type": "none"
53                 },
54                 {
55                   "type": "huawei-ac-net-l3vpn-svc:direct",
56                   "policy-type": "none"
57                 }
58                 ]
59               }
60             }
61           }
62         },
63         "popgo": true
64       }
65     ]
66   }
67         },
68         {
69             "vrf-attribute-id": ${prop.l3vpn.vrf2-id},
70             "ne-id": ${prop.l3vpn.pe2_id},
71             "vpn-policy-id": ${prop.l3vpn.vpn-policy1-id},
72             "site-id": ${prop.l3vpn.site1_name},
73               "address-families": {
74     "address-family": [
75       {
76         "af-type": "ipv4",
77         "tunnel-service": {
78           "type": "huawei-ac-net-l3vpn-svc-vfi:auto-select",
79           "auto-select": {
80             "select-tunnels": {
81               "select-tunnel": [
82                 {
83                   "type": "ldp",
84                   "priority": 3
85                 }
86               ]
87             }
88           }
89         },
90         "access-protocols": {
91           "protocol": {
92             "type": "huawei-ac-net-l3vpn-svc:bgp",
93             "bgp": {
94               "import-routes": {
95                 "import-route": [{
96                   "type": "huawei-ac-net-l3vpn-svc:static",
97                   "policy-type": "none"
98                 },
99                 {
100                   "type": "huawei-ac-net-l3vpn-svc:direct",
101                   "policy-type": "none"
102                 }
103                 ]
104               }
105             }
106           }
107         },
108         "popgo": true
109       }
110     ]
111   }
112         }
113     ]
114   }
115 }