billwuqin / network-incident

A YANG Data Model for Network Incident Management
Other
0 stars 1 forks source link

Broken ref #10

Open boucadair opened 2 months ago

boucadair commented 2 months ago

https://github.com/billwuqin/network-incident/blob/3098dce8018b7817b90ce591e134525d11e11fa7/yang/ietf-incident-types.yang#L150

This reference is broken as there are many networks indexed by an id.

billwuqin commented 2 months ago

okay, the simply way to address this is to change type into string, alternatively we can introduce another leaf network-ref to specify the network, another option is to augment from node defined ietf-network with specific leaf.

billwuqin commented 2 months ago

Fixed in https://github.com/billwuqin/network-incident/blob/main/yang/ietf-incident.yang