key "ip_address";
leaf-list next-hop-ip-list { type string; }
leaf ip_address {type string;}
- leaf primary-adjacency {
- type boolean;
- default false;
- description "Value of True indicates this is a primary adjacency";
+ leaf adjacency_type {
+ description "The type of adjacency";
+ type enumeration {
+ enum "primary-adjacency" {
+ value 1;
+ description
+ "Primary adjacency type.";
+ }
+ enum "learnt-ip" {
+ value 2;
+ description
+ "Learnt ip adjacency type.";
+ }
+ enum "extra-route" {
+ value 3;
+ description
+ "Extra route adjacency type.";
+ }
+ }
+ default "extra-route";
}
leaf label { type uint32; config "false"; } /* optional */
leaf mac_address {type string;} /* optional */
leaf subnet-id {
type yang:uuid;
}
- leaf nat-prefix {
- type boolean;
- default false;
+ leaf prefix-cue {
+ type enumeration {
+ enum none {
+ value "0";
+ description "Nothing special";
+ }
+ enum nat {
+ value "1";
+ description "NAT prefix";
+ }
+ enum phys-net-func {
+ value "2";
+ description "Physical Network Function(PNF) prefix";
+ }
+ enum subnet-route {
+ value "3";
+ description "Subnet Route prefix";
+ }
+ }
+ default "none";
}
}
}
default "active";
}
}
+ leaf ipv4-configured {
+ type boolean;
+ description
+ "This VPN Instance handles IPv4 traffic";
+ default false;
+ }
+ leaf ipv6-configured {
+ type boolean;
+ description
+ "This VPN Instance handles IPv6 traffic";
+ default false;
+ }
leaf type {
description
"The type of the VPN Instance.
}
}
}
+ leaf vpn-state {
+ description
+ "Represents a stage in this VpnInstance's lifecycle.";
+ type enumeration {
+ enum created {
+ value "0";
+ description
+ "VPNInstance is successfully created";
+ }
+ enum pending_delete {
+ value "3";
+ description
+ "VpnInstance marked for deletion.";
+ }
+ }
+ default "created";
+ }
+ leaf-list rd {
+ type string;
+ }
}
}
type task-state;
description "The status of the subnet route advertisement/withdrawal";
}
+ leaf last-adv-state {
+ type task-state;
+ description "The previous status of the subnet route advertisement/withdrawal.";
+ }
leaf elan-tag {
type uint32;
}