clicon / clixon-controller

Clixon network controller
Apache License 2.0
14 stars 5 forks source link

NACM data read/write PATHS do not work with CLI and mount #67

Open olofhagsand opened 10 months ago

olofhagsand commented 10 months ago

Also, the NACM+PATHS+CLI support is sketchy as well see https://github.com/clicon/clixon/issues/468 The general case, NACM+MOUNT for NETCONF/RESTCONF seems OK (see https://github.com/clicon/clixon-controller/issues/62)

olofhagsand commented 10 months ago

Temporary workaround for set using "load" as follows. Example set command (should but does not work):

# set devices device openconfig1 config interfaces interface x config mtu 1600

Workaround uisng load:

load merge xml
      <config>
         <devices xmlns="http://clicon.org/controller">
           <device>
             <name>openconfig1</name>
             <config>
               <interfaces xmlns="http://openconfig.net/yang/interfaces">
                 <interface>
                   <name>x</name>
                   <config>
                     <mtu>1600</mtu>
                   </config>
                 </interface>
               </interfaces>
             </config>
           </device>
         </devices>
     </config>