leaf mac_address {type string;} /* optional */
leaf subnet_id {type yang:uuid;} /* optional */
leaf vrf-id { type string; config "false"; }
+ leaf phys-network-func {
+ type boolean;
+ default false;
+ description "Value of True indicates this is an adjacency of a device in a provider network";
+ }
}
}
}
}
+ container evpn-rd-to-networks {
+ config false;
+ description "Holds the networks to which given evpn is attached";
+ list evpn-rd-to-network {
+ key vrf-id;
+ leaf vrf-id {
+ type string;
+ }
+ leaf network-id {
+ type string;
+ }
+ }
+ }
+
container vpn-instance-op-data {
config false;
list vpn-instance-op-data-entry {
list ip-addresses {
key ip-address;
leaf ip-address { type string; }
+ leaf ip-address-source {
+ description
+ "This field indicates whether the IP address here is an External-Fixed-Ip(Owned by Router).
+ or Floating-Ip(Used by Ports).";
+ type enumeration {
+ enum "ExternalFixedIP";
+ enum "FloatingIP";
+ }
+ }
}
leaf dpn-state {
description
leaf port-fixedip { type string; }
leaf port-name { type string; }
leaf mac-address { type string; }
+ leaf creation-time { type string; }
}
}
default "symmetric";
}
}
+
+ container l3vpn-lb-nexthops {
+ config false;
+ list nexthops {
+ key "nexthop-key";
+ leaf nexthop-key { type string; }
+ leaf group-id { type string; }
+ leaf-list target-device-id { type string; } //dpId or ip-address
+ }
+ }
+
+ container dpid-l3vpn-lb-nexthops {
+ config false;
+ list dpn-lb-nexthops {
+ key "src-dp-id dst-device-id";
+ leaf src-dp-id { type uint64; }
+ leaf dst-device-id { type string; } //dpId or ip-address
+ leaf-list nexthop-key { type string; }
+ }
+ }
}