Skip to content

Commit

Permalink
fix when statements
Browse files Browse the repository at this point in the history
  • Loading branch information
dplore committed Sep 7, 2024
1 parent cdeb6a9 commit 2597179
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions release/models/aft/openconfig-aft-common.yang
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ submodule openconfig-aft-common {
}

container gre {
when "../type = 'oc-aftt:GRE'";
when "../state/type = 'oc-aftt:GRE'";
description
"Container of nodes for GRE encapsulation.";
container state {
Expand All @@ -305,7 +305,7 @@ submodule openconfig-aft-common {
}

container ipv4 {
when "../type = 'oc-aftt:IPV4'";
when "../state/type = 'oc-aftt:IPV4'";
description
"Container of nodes for IPv4 encapsulation.";
container state {
Expand All @@ -316,7 +316,7 @@ submodule openconfig-aft-common {
}

container ipv6 {
when "../type = 'oc-aftt:IPV6'";
when "../state/type = 'oc-aftt:IPV6'";
description
"Container of nodes for IPv6 encapsulation.";
container state {
Expand All @@ -327,7 +327,7 @@ submodule openconfig-aft-common {
}

container mpls {
when "../type = 'oc-aftt:MPLS'";
when "../state/type = 'oc-aftt:MPLS'";
description
"Container of nodes for MPLS encapsulation.";
container state {
Expand All @@ -338,8 +338,8 @@ submodule openconfig-aft-common {
}

container udp {
when "../type = 'oc-aftt:UDPV4' or " +
"../type = 'oc-aftt:UDPV6'";
when "../state/type = 'oc-aftt:UDPV4' or " +
"../state/type = 'oc-aftt:UDPV6'";
description
"Container of nodes for UDP encapsulation.";
container state {
Expand Down

0 comments on commit 2597179

Please sign in to comment.