Change-Id: Iecfd0744120819896891b2e22dc808a802163583
Signed-off-by: Robert Varga <rovarga@cisco.com>
case linkstate-routes {
container linkstate-routes {
leaf distinguisher {
case linkstate-routes {
container linkstate-routes {
leaf distinguisher {
- type bgp-ls:route-distinguisher;
+ type route-distinguisher;
- type bgp-ls:protocol-id;
- type bgp-ls:identifier;
}
choice object-type {
case node {
container node-descriptors {
}
choice object-type {
case node {
container node-descriptors {
- uses bgp-ls:node-identifier;
}
}
case link {
container local-node-descriptors {
}
}
case link {
container local-node-descriptors {
- uses bgp-ls:node-identifier;
}
container remote-node-descriptors {
}
container remote-node-descriptors {
- uses bgp-ls:node-identifier;
}
container link-descriptors {
}
container link-descriptors {
- uses bgp-ls:link-identifiers;
leaf ipv4-interface-address {
leaf ipv4-interface-address {
- type bgp-ls:ipv4-interface-identifier;
+ type ipv4-interface-identifier;
}
leaf ipv6-interface-address {
}
leaf ipv6-interface-address {
- type bgp-ls:ipv6-interface-identifier;
+ type ipv6-interface-identifier;
}
leaf ipv4-neighbor-address {
}
leaf ipv4-neighbor-address {
- type bgp-ls:ipv4-interface-identifier;
+ type ipv4-interface-identifier;
}
leaf ipv6-neighbor-address {
}
leaf ipv6-neighbor-address {
- type bgp-ls:ipv6-interface-identifier;
+ type ipv6-interface-identifier;
}
leaf multi-topology-id {
}
leaf multi-topology-id {
- type bgp-ls:topology-identifier;
+ type topology-identifier;
}
}
}
case prefix {
leaf multi-topology-id {
}
}
}
case prefix {
leaf multi-topology-id {
- type bgp-ls:topology-identifier;
+ type topology-identifier;
}
leaf ospf-route-type {
when "../../protocol-id = 'ospf'";
}
leaf ospf-route-type {
when "../../protocol-id = 'ospf'";
- type bgp-ls:ospf-route-type;
}
leaf ip-reachability-information {
type inet:ip-prefix;
}
leaf ip-reachability-information {
type inet:ip-prefix;