:(evpn-routes-case)
+--ro evpn-routes
- +--ro evpn-route* [route-key]
+ +--ro evpn-route* [route-key path-id]
+--ro route-key string
+ +--ro path-id path-id
+--ro (evpn-choice)
| +--:(ethernet-a-d-route-case)
| | +--ro ethernet-a-d-route
<evpn-routes xmlns="urn:opendaylight:params:xml:ns:yang:bgp-evpn">
<evpn-route>
<route-key>AxEAAcCoZAED6AAAAQAgwKhkAQ==</route-key>
+ <path-id>0</path-id>
<route-distinguisher>192.168.100.1:1000</route-distinguisher>
<inc-multi-ethernet-tag-res>
<ethernet-tag-id>
.. code-block:: xml
:linenos:
- :emphasize-lines: 3,4,14
+ :emphasize-lines: 4,5,15
<evpn-route xmlns="urn:opendaylight:params:xml:ns:yang:bgp-evpn">
<route-key>evpn</route-key>
+ <path-id>0</path-id>
<route-distinguisher>172.12.123.3:200</route-distinguisher>
....
<attributes>
</attributes>
</evpn-route>
-@line 3: Route Distinguisher (RD) - set to RD of the MAC-VRF advertising the NLRI, recommended format *<IP>:<VLAN_ID>*
+@line 4: Route Distinguisher (RD) - set to RD of the MAC-VRF advertising the NLRI, recommended format *<IP>:<VLAN_ID>*
-@line 4: One of the EVPN route must be set here.
+@line 5: One of the EVPN route must be set here.
-@line 14: In some cases, specific extended community presence is required. The route may carry one or more Route Target attributes.
+@line 15: In some cases, specific extended community presence is required. The route may carry one or more Route Target attributes.
-----
-**EVPN Routes:**
+EVPN Routes
+^^^^^^^^^^^
* **Ethernet AD per ESI**
.. code-block:: xml
<local-discriminator>2000</local-discriminator>
</as-generated>
+**Attributes:**
+
+.. include:: bgp-user-guide-pmsi-attribute.rst
+
**Extended Communities:**
* **ESI Label Extended Community**
<esi-label-extended-community>
<single-active-mode>false</single-active-mode>
<esi-label>24001</esi-label>
- </esi-label-extended-community >
+ </esi-label-extended-community>
</extended-communities>
* **ES-Import Route Target**
@line 4: `full list of tunnel types <http://www.iana.org/assignments/bgp-parameters/bgp-parameters.xhtml#tunnel-types>`_
-* **P-Multicast Service Interface Tunnel (PMSI) attribute**
- .. code-block:: xml
-
- <pmsi-tunnel>
- <leaf-information-required>true</leaf-information-required>
- <mpls-label>20024</mpls-label>
- <ingress-replication>
- <receiving-endpoint-address>172.12.123.3</receiving-endpoint-address>
- </ingress-replication>
- </pmsi-tunnel>
-
-----
To remove the route added above, following request can be used:
-**URL:** ``/restconf/config/bgp-rib:application-rib/10.25.1.9/tables/bgp-types:ipv4-address-family/odl-bgp-evpn:l2vpn-address-family/odl-bgp-evpn:evpn-subsequent-address-family/odl-bgp-evpn:evpn-routes/evpn-route/evpn``
+**URL:** ``/restconf/config/bgp-rib:application-rib/10.25.1.9/tables/bgp-types:ipv4-address-family/odl-bgp-evpn:l2vpn-address-family/odl-bgp-evpn:evpn-subsequent-address-family/odl-bgp-evpn:evpn-routes/evpn-route/evpn/0``
**Method:** ``DELETE``