Skip to content

RFC9595: More exotic identifiers format #177

Description

@vvilimek

For given module:

module example {
  yang-version 1.1;
  prefix e;
  namespace "http://example.com";

  import ietf-restconf {
    prefix rc;
  }

  rc:yang-data ydata {
    container msg {
      leaf proto-version { type uint16; }
      leaf payload-len { type uint32; }
    }
  }
}

Should the item identifier look like:

{
  "ietf-sid-file:sid-file": {
    "name": "example"
    "item": [
      {
        "namespace": "data",
        "identifier": "/example:ydata/msg",
        "sid": "60000",
      }
    ]
  }
}

or like this:

{
  "ietf-sid-file:sid-file": {
    "name": "example"
    "item": [
      {
        "namespace": "data",
        "identifier": "/example:msg",
        "sid": "60000",
      }
    ]
  }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions