clicon / clixon-controller

Clixon network controller
Apache License 2.0
13 stars 4 forks source link

Openconfig configuration on Juniper MX does not work #20

Closed krihal closed 8 months ago

krihal commented 11 months ago

When connection to Juniper MX:

khn@zoomie> show devices
Name                    State      Time                   Logmsg
=======================================================================================
orval                   CLOSED     2023-08-10T08:32:58    YANG binding failed at mountp
khn@zoomie>
olofhagsand commented 11 months ago

The error seems to be an openconfig network-instances configuration on the top-level of the MX. The openconfig yang is not announced by the MX and is also a separate(second) top-level root of the configuration. This means that the opeconfig needs to be loaded and mounted separately, in some other mechanism than the regular.

pheller commented 11 months ago

This might be a reason to consider https://github.com/clicon/clixon-controller/issues/21

olofhagsand commented 11 months ago

Note the "fixed ref" ^ is a mistake, should be #19

olofhagsand commented 8 months ago

This should now be possible to do using device profiles and adding local module-sets for openconfig