Skip to content

draft-core-yang-library: Unconstrained YANG Library reference - #175

Open
vvilimek wants to merge 1 commit into
core-wg:patch-1from
vvilimek:library-unconstrained-ref
Open

draft-core-yang-library: Unconstrained YANG Library reference#175
vvilimek wants to merge 1 commit into
core-wg:patch-1from
vvilimek:library-unconstrained-ref

Conversation

@vvilimek

@vvilimek vvilimek commented May 7, 2026

Copy link
Copy Markdown
Collaborator

Add one new leaf referencing RFC8525 YANG Library resource.

If the constrained node does not implement any 'location' list for each one module (as recommended by the text), we want to allow the node to have one string referencing the 'unconstrained' YANG Library. This way, human discovery of supported nodes improve greatly for little to no penalty.

Add one new leaf referencing RFC8525 YANG Library resource.
@vvilimek

vvilimek commented May 7, 2026

Copy link
Copy Markdown
Collaborator Author

We might even create an augmentation of the ietf-yang-library/yang-library, something like:

module draft-yang-library {
  yang-version 1.1;
  namespace "http://example.com/ietf/core/yanglib";
  prefix cyl;

  import ietf-yang-library {
    prefix yanglib;
    revision 2019-01-04;
    reference "RFC8525: YANG Library";
  }

  import ietf-inet-types {
    prefix inet;
    reference "RFC9911";
  }

  augment "/yanglib:ietf-yang-library/yanglib:yang-library" {
    leaf constrained-yang-library {
      type inet:uri;
      description "Link to constrained YANG Library resource.";
    }
  }
}

@vvilimek vvilimek changed the title Unconstrained YANG Library reference draft-core-yang-library: Unconstrained YANG Library reference Jul 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant