"A set of configuration parameters that is applicable to both IPv4 and
IPv6 address family for a VPN instance .";
- leaf route-distinguisher {
+ leaf-list route-distinguisher {
description
"The route-distinguisher command configures a route distinguisher (RD)
for the IPv4 or IPv6 address family of a VPN instance.
description
"The name of the vpn-instance.";
}
+ leaf type {
+ description
+ "The type of the VPN Instance.
+ L3 indicates it is an L3VPN.
+ L2 indicates it is an EVPN";
+
+ type enumeration {
+ enum l3 {
+ value "0";
+ description "L3VPN";
+ }
+ enum l2 {
+ value "1";
+ description "EVPN";
+ }
+ }
+ default "l3";
+ }
+
+ leaf l3vni {
+ type uint32;
+ }
+
leaf description {
description
path "/if:interfaces/if:interface/if:name";
}
}
- leaf vpn-instance-name {
- type string {
- length "1..40";
+ list vpn-instance-names {
+ key "vpn-name";
+ leaf vpn-name {
+ type string {
+ length "1..40";
+ }
+ }
+ leaf associated-subnet-type {
+ type enumeration {
+ enum V4Subnet {
+ value "0";
+ description "V4 Router Internal VPN";
+ }
+ enum V6Subnet {
+ value "1";
+ description "V6 Router Internal VPN";
+ }
+ enum V6InternetVPN {
+ value "2";
+ description "BGPVPN Internet";
+ }
+ enum V4AndV6Subnets {
+ value "3";
+ description "BGPVPN dual stack or V6/V4 Router or undefined";
+ }
+ }
}
}
leaf dpn-id {
leaf scheduled-for-remove {
type boolean;
}
+ leaf router-interface {
+ type boolean;
+ }
}
}