Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add DEFAULT_INSTANCE under connection-points endpoints #1017

Merged
merged 3 commits into from
Feb 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,13 @@ submodule openconfig-network-instance-l2 {
Layer 2 network instance configuration and operational state
parameters.";

oc-ext:openconfig-version "4.2.2";
oc-ext:openconfig-version "4.3.0";

revision "2023-12-13" {
description
"Expand when statement for connection-points endpoints";
reference "4.3.0";
}

revision "2023-11-03" {
description
Expand Down
24 changes: 13 additions & 11 deletions release/models/network-instance/openconfig-network-instance.yang
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,13 @@ module openconfig-network-instance {
virtual switch instance (VSI). Mixed Layer 2 and Layer 3
instances are also supported.";

oc-ext:openconfig-version "4.2.2";
oc-ext:openconfig-version "4.3.0";

revision "2023-12-13" {
description
"Expand when statement for connection-points endpoints";
reference "4.3.0";
}

revision "2023-11-03" {
description
Expand Down Expand Up @@ -699,7 +705,8 @@ module openconfig-network-instance {

container endpoints {
when "../../../config/type = 'oc-ni-types:L2P2P' " +
"or ../../../config/type = 'oc-ni-types:L2VSI'" {
"or ../../../config/type = 'oc-ni-types:L2VSI'" +
"or ../../../config/type = 'oc-ni-types:DEFAULT_INSTANCE'" {
description
"Configuration parameters to associate interfaces
into a common group for use in Layer 2 network
Expand Down Expand Up @@ -801,15 +808,10 @@ module openconfig-network-instance {
}
}
container vxlan {
when "../config/type = 'oc-ni-types:VXLAN'" {
description
"Only include the vxlan configuration when
the endpoint is specified to be vxlan";
}
description
"Configuration and operational state parameters
relating to a VXLAN tunnel end-point interface";
uses oc-evpn:evpn-overlays-grp-top;
description
"Configuration and operational state parameters
relating to a VXLAN tunnel end-point interface";
uses oc-evpn:evpn-overlays-grp-top;
}
}
}
Expand Down
Loading