"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.
type enumeration {
enum l3 {
value "0";
- description “L3VPN";
+ description "L3VPN";
}
enum l2 {
value "1";
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 is-router-interface {
+ leaf router-interface {
type boolean;
}
}