vlvassilev / yuma123

The yuma123 repository
Other
24 stars 26 forks source link

error openconfig-vlan and openconfig-if-ip #122

Closed rgrueebler closed 2 years ago

rgrueebler commented 2 years ago

Hi I use netconfd in a Docker container to load several openconfig modules. That works so far. The problem arises when I try to load the openconfig-vlan.yang together with the openconfig-if-ip.yang module. When I load only one of them, it works.

netconfd {
  module /yang/openconfig-if-ip.yang
  module /yang/openconfig-vlan.yang
}

In the logfile I don't see much:

eval_expr
xpath result for '/oc-if:interfaces/oc-if:interface/oc-if:subinterfaces/oc-if:subinterface/oc-vlan:vlan/oc-vlan:egress-mapping'
  typ: nodeset = 

eval_expr
xpath result for '/oc-if:interfaces/oc-if:interface/oc-if:subinterfaces/oc-if:subinterface/oc-vlan:vlan/oc-vlan:egress-mapping/oc-vlan:config'
  typ: nodeset = 

eval_expr
xpath result for '/oc-if:interfaces/oc-if:interface/oc-eth:ethernet'
  typ: nodeset = 

eval_expr
xpath result for '/oc-if:interfaces/oc-if:interface/oc-eth:ethernet/oc-eth:config'
  typ: nodeset = 

eval_expr
xpath result for '/oc-if:interfaces/oc-if:interface/oc-eth:ethernet/oc-eth:config/oc-lag:aggregate-id'
  typ: nodeset = 

eval_expr
xpath result for '/oc-if:interfaces/oc-if:interface/oc-eth:ethernet/oc-vlan:switched-vlan'
  typ: nodeset = 

eval_expr
xpath result for '/oc-if:interfaces/oc-if:interface/oc-eth:ethernet/oc-vlan:switched-vlan/oc-vlan:config'
  typ: nodeset = 

run_root_check: skip commit test openconfig-vlan:native-vlan
run_root_check: skip commit test openconfig-vlan:access-vlan
run_root_check: skip commit test openconfig-vlan:trunk-vlans
eval_expr
xpath result for '/oc-if:interfaces/oc-if:interface/oc-lag:aggregation'
  typ: nodeset = 

eval_expr
xpath result for '/oc-if:interfaces/oc-if:interface/oc-lag:aggregation/oc-lag:config'
  typ: nodeset = 

eval_expr
xpath result for '/oc-if:interfaces/oc-if:interface/oc-lag:aggregation/oc-vlan:switched-vlan'
  typ: nodeset = 

eval_expr
xpath result for '/oc-if:interfaces/oc-if:interface/oc-lag:aggregation/oc-vlan:switched-vlan/oc-vlan:config'
  typ: nodeset = 

run_root_check: skip commit test openconfig-vlan:native-vlan
run_root_check: skip commit test openconfig-vlan:access-vlan
run_root_check: skip commit test openconfig-vlan:trunk-vlans
eval_expr
xpath result for '/oc-if:interfaces/oc-if:interface/oc-vlan:routed-vlan'
  typ: nodeset = 

eval_expr
xpath result for '/oc-if:interfaces/oc-if:interface/oc-vlan:routed-vlan/oc-vlan:config'
  typ: nodeset = 

agt_val_root_check: end
Clearing current txid for running config
netconfd init OK, ready for sessions

Running netconfd server (2.13-0)

Shutting down the netconfd server

Server Cleanup Starting...

*** log close at 2022-01-28T05:25:42Z ***

Thank you Remo

rgrueebler commented 2 years ago

Hi

I tried the same scenario with two different installation options. I used the yuma123 Debian repository and I also compiled it from source. In both cases I get the same error. The two yang models 'openconfig-vlan.yang' and 'openconfig-if-ip.yang ' work independently but not when they are used together. If you need more information I'd be glad to provide you this.

Best regards Remo