CESNET / netopeer2

NETCONF toolset
BSD 3-Clause "New" or "Revised" License
290 stars 186 forks source link

ietf-netconf-monitoring:netconf-state does not return required sub modules #1511

Closed mattiaswal closed 7 months ago

mattiaswal commented 7 months ago

I try to download all needed yang models automatically, but i cant list the sub modules since they are missing in ietf-netconf-monitoring:netconf-state/schemas. According to the RFC they should also be there.

sysrepo say:

{
            "name": "ietf-ipv6-unicast-routing",
            "revision": "2018-03-13",
            "namespace": "urn:ietf:params:xml:ns:yang:ietf-ipv6-unicast-routing",
            "location": [
              "file:///etc/sysrepo/yang/ietf-ipv6-unicast-routing@2018-03-13.yang"
            ],
            "submodule": [
              {
                "name": "ietf-ipv6-router-advertisements",
                "revision": "2018-03-13",
                "location": [
                  "file:///etc/sysrepo/yang/ietf-ipv6-router-advertisements@2018-03-13.yang"
                ]
              }
            ]
          },

but when listing modules from netopeer2 i only get ietf-ipv6-unicast-routing

michalvasko commented 7 months ago

Okay, should be fixed.

mattiaswal commented 7 months ago

Thanks, it works now!

troglobit commented 7 months ago

Amazing response time on this one, wow! :exploding_head::tada: