Skip to content

Commit

Permalink
don't deprecate
Browse files Browse the repository at this point in the history
  • Loading branch information
dplore committed Jul 15, 2023
2 parents 4e5e12a + 37557d2 commit b187aa1
Show file tree
Hide file tree
Showing 2 changed files with 287 additions and 41 deletions.
39 changes: 35 additions & 4 deletions release/models/interfaces/openconfig-if-ip.yang
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,10 @@ module openconfig-if-ip {

oc-ext:openconfig-version "3.4.0";

revision "2023-07-14" {
revision "2023-06-30" {
description
"Move counters which apply to both interfaces and subinterfaces to
a new openconfig-if-common module ";
"Deprecate IPv6 router advertisment config suppress leaf and add config
mode leaf.";
reference "3.4.0";
}

Expand All @@ -61,7 +61,7 @@ module openconfig-if-ip {

revision "2023-02-06" {
description
"Add ipv6 link-local configuration.";
"Add IPv6 link-local configuration.";
reference "3.2.0";
}

Expand Down Expand Up @@ -844,6 +844,15 @@ module openconfig-if-ip {
description
"Configuration parameters for IPv6 router advertisements.";

leaf enable {
type boolean;
default true;
description
"If set to false, all IPv6 router advertisement functions are
disabled. The local system will not transmit router advertisement
messages and will not respond to router solicitation messages.";
}

leaf interval {
type uint32;
units seconds;
Expand All @@ -862,13 +871,35 @@ module openconfig-if-ip {
}

leaf suppress {
status deprecated;
type boolean;
default false;
description
"When set to true, router advertisement neighbor discovery
messages are not transmitted on this interface.";
}

leaf mode {
type enumeration {
enum ALL {
description
"The system will transmit unsolicited router advertisement
messages and respond to router solicitation requests.";
}
enum DISABLE_UNSOLICITED_RA {
description
"Unsolicted router advertisement messages are not transmitted on
this interface. Responses to router solicitation messages will
be transmitted.";
}
}
default "ALL";
description
"Mode controls which set of behaviors the local system should perform
to support IPv6 router advertisements.";
reference "RFC4861: Neighbor Discovery for IP version 6 (IPv6)";
}

leaf managed {
type boolean;
default false;
Expand Down
Loading

0 comments on commit b187aa1

Please sign in to comment.