Merge pull request #18293 from y-bharath14/srib-yang-v4

yang: Imported modules are not in use
This commit is contained in:
Christian Hopps 2025-03-05 00:58:44 -05:00 committed by GitHub
commit e47a0557e5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -3,18 +3,6 @@ module frr-affinity-map {
namespace "http://frrouting.org/yang/affinity-map"; namespace "http://frrouting.org/yang/affinity-map";
prefix frr-affinity-map; prefix frr-affinity-map;
import ietf-inet-types {
prefix inet;
}
import frr-filter {
prefix filter;
}
import frr-interface {
prefix frr-interface;
}
organization organization
"FRRouting"; "FRRouting";
contact contact
@ -51,6 +39,7 @@ module frr-affinity-map {
revision 2022-11-03 { revision 2022-11-03 {
description description
"Initial revision"; "Initial revision";
reference "FRRouting";
} }
typedef affinity-map-ref { typedef affinity-map-ref {
@ -63,6 +52,7 @@ module frr-affinity-map {
} }
container lib { container lib {
description "Affinity map library";
container affinity-maps { container affinity-maps {
description description
"Affinity Mapping Table"; "Affinity Mapping Table";
@ -79,10 +69,10 @@ module frr-affinity-map {
"Affinity Name"; "Affinity Name";
} }
leaf value { leaf value {
mandatory true;
type uint16 { type uint16 {
range "0..1023"; range "0..1023";
} }
mandatory true;
description description
"Bit position"; "Bit position";
} }