Subject: [netmod] Questions about yang models

From: Voica Maria Gavrilut <[email-masked]>
Date: Thu, 24 Jan 2019 10:30:23 +0000

Hello, 

I work now to output some configuration parameters in TSN-specific formats. I was able to obtain IEEE 802.1Qcw compliant formats, but I cannot export the topology or the routing in a similar manner. Could you help me please with some information?

1. To describe the global topology. I found the network-topology.yang model, but when I use the pyang tool to convert the yang model to python code I get the following warnings and error:
"
network-topology.yang:288: warning: XPath for "boolean(../underlay-topology[*]/node[./supporting-nodes/node-ref])" does not exist
network-topology.yang:320: warning: XPath for "boolean(../underlay-topology/link[./supporting-link])" does not exist
network-topology.yang:322: warning: XPath for "boolean(../node[./source/source-node])" does not exist
network-topology.yang:324: warning: XPath for "boolean(../node[./destination/dest-node])" does not exist
network-topology.yang:326: warning: XPath for "boolean(../node/termination-point[./source/source-tp])" does not exist
network-topology.yang:328: warning: XPath for "boolean(../node/termination-point[./destination/dest-tp])" does not exist
FATAL: pyangbind cannot build module that pyang has found errors with.

"
There is other updated and functional version of network-topology model? I was using both versions, from 2013-07-12 and 2013-07-15. 

2. To describe static determined routes. For routing I could not find any model for static routing, could someone help me please with a yang model that could be used for such type of routing? 

All best
Voica