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

Jovatn/ospf deviations #627

Merged
merged 2 commits into from
Sep 13, 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
2 changes: 2 additions & 0 deletions doc/ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ All notable changes to the project are documented in this file.
### Changes

### Fixes
- Updated `infix-routing.yang` to declare deviations for non-supported
OSPF RPCs and Notifications in `ietf-ospf.yang`.
- Fix #601: CLI regression in 'show ospf' family of commands causing
authorized users, like `admin`, to not being able to query status
of OSPF or BFD. Workaround by using the UNIX shell `sudo vtysh`.
Expand Down
2 changes: 1 addition & 1 deletion src/confd/yang/confd.inc
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ MODULES=(
"[email protected]"
"[email protected]"
"[email protected]"
"infix-routing@2024-03-06.yang"
"infix-routing@2024-09-13.yang"
"[email protected]"
"[email protected]"
"[email protected]"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ module infix-routing {
import ietf-routing-types {
prefix rt-types;
}
revision 2024-09-13 {
description "Declare deviations for non-supported OSPF RPCs and Notifications";
reference "internal";
}
revision 2024-03-06 {
description "Obsolete leaf enable in favor for enabled in default-route-advertise";
reference "internal";
Expand Down Expand Up @@ -424,4 +428,51 @@ module infix-routing {
deviation "/ietf-r:routing/ietf-r:control-plane-protocols/ietf-r:control-plane-protocol/ospf:ospf/ospf:database/ospf:as-scope-lsa-type/ospf:as-scope-lsas/ospf:as-scope-lsa/ospf:version/ospf:ospfv2/ospf:ospfv2/ospf:header" {
deviate not-supported;
}

/* OSPF RPCs */
deviation "/ospf:clear-neighbor" {
deviate not-supported;
}

deviation "/ospf:clear-database" {
deviate not-supported;
}

/* OSPF Notifications */
deviation "/ospf:if-state-change" {
deviate not-supported;
}

deviation "/ospf:if-config-error" {
deviate not-supported;
}

deviation "/ospf:nbr-state-change" {
deviate not-supported;
}

deviation "/ospf:nbr-restart-helper-status-change" {
deviate not-supported;
}

deviation "/ospf:if-rx-bad-packet" {
deviate not-supported;
}

deviation "/ospf:lsdb-approaching-overflow" {
deviate not-supported;
}

deviation "/ospf:lsdb-overflow" {
deviate not-supported;
}

deviation "/ospf:nssa-translator-status-change" {
deviate not-supported;
}

deviation "/ospf:restart-status-change" {
deviate not-supported;
}

}