2 * ============LICENSE_START=======================================================
4 * ================================================================================
5 * Copyright (C) 2017 AT&T Intellectual Property. All rights
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
12 * http://www.apache.org/licenses/LICENSE-2.0
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=========================================================
24 "-xmlns": "urn:chinamobile:l3vpn",
25 "operate-status": "operate-up",
26 "traffic-class": "BE",
31 "ne-id": ${prop.l3vpn.pe1_id},
32 "ltp-id": ${prop.l3vpn.ac1_id},
33 "ip-addr": ${prop.l3vpn.ac1_ip.value},
34 "ip-mask": ${prop.l3vpn.ac1_ip.mask},
35 "access-type": "Sub-interface",
36 "vlan": ${prop.l3vpn.ac1_svlan},
38 "belonged-id": ${prop.l3vpn.ac1_id},
39 "tunnel-mode": "pipeline",
42 "traffic-adj-mode": "0",
53 "a2z-color-mode": "0",
54 "z2a-color-mode": "0",
55 "traffic-class": "CS7"
59 "protocol-type": "static",
60 "static-route-list": {
64 "dest-ip": ${prop.l3vpn.ac1_peer_ip.value},
65 "dest-mask": ${prop.l3vpn.ac1_peer_ip.mask},
66 "route-type": "direct-route",
67 "out-inf": ${prop.l3vpn.ac1_id},
78 "ne-id": ${prop.l3vpn.pe2_id},
79 "ltp-id": ${prop.l3vpn.ac2_id},
80 "ip-addr": ${prop.l3vpn.ac2_ip.value},
81 "ip-mask": ${prop.l3vpn.ac2_ip.mask},
82 "access-type": "Sub-interface",
83 "vlan": ${prop.l3vpn.ac1_svlan},
85 "belonged-id": ${prop.l3vpn.ac2_id},
86 "tunnel-mode": "pipeline",
89 "traffic-adj-mode": "0",
100 "a2z-color-mode": "0",
101 "z2a-color-mode": "0",
102 "traffic-class": "CS7"
106 "protocol-type": "static",
107 "static-route-list": {
111 "dest-ip": ${prop.l3vpn.ac2_peer_ip.value},
112 "dest-mask": ${prop.l3vpn.ac2_peer_ip.mask},
113 "route-type": "direct-route",
114 "out-inf": ${prop.l3vpn.ac2_id},
125 "user-label": ${prop.l3vpn.name},
126 "topo-mode": "any-to-any",
127 "admin-status": "admin-up",
128 "tunnel-create-policy": {
129 "user-label": "tunnel",
130 "tenant-id": "tunnel",
131 "direction": "bidirection",
133 "admin-status": "admin-up",
135 "tunnel-mode": "pipeline",
138 "traffic-adj-mode": "0",
141 "a2z-pir": "1000000",
144 "a2z-color-mode": "0",
147 "z2a-pir": "1000000",
150 "z2a-color-mode": "0",
151 "traffic-class": "CS7"
155 "linear-protection-type": "path-protection-1-to-1",
156 "linear-protection-protocol": "APS",
157 "switch-mode": "double-end-switch",
158 "revertive-mode": "revertive",
160 "hold-off-time": "0",
161 "reroute-revertive-mode": "revertive",
167 "cc-interval": "3.3",
168 "lm-mode": "preactive",
169 "dm-mode": "preactive",