[MDSAL-243] ietf-network-topology.yang isn't being built Created: 11/Apr/17  Updated: 09/Mar/18  Resolved: 12/Apr/17

Status: Resolved
Project: mdsal
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug
Reporter: Giles Heron Assignee: Unassigned
Resolution: Cannot Reproduce Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


External issue ID: 8210

 Description   

ODL master has a directory ietf-network under "mdsal/model/ietf". The POM there is building ietf-network.yang but isn't building ietf-network-topology.yang (which is also in the src/main/yang subdirectory).

is it possible to change the POM to build them both, or to split ietf-network-topology off into a separate directory (in which case it'll need a dependency on ietf-network of course).

we need this for TransportPCE

thanks!



 Comments   
Comment by Martin Ciglan [ 12/Apr/17 ]

Hi

what you mean by 'not building' ?

ietf-network binding generated code sits in

target/generated-sources/mdsal-binding/org/opendaylight/yang/gen/v1/urn/ietf/params/xml/ns/yang/ietf/network folder

and ietf-network-topology code sits in

target/generated-sources/mdsal-binding/org/opendaylight/yang/gen/v1/urn/ietf/params/xml/ns/yang/ietf/network/topology folder

by design of yang-maven-plugin and binding generator, yangs are picked up from /src/main/yang folder, so both of them in this case

Comment by Giles Heron [ 12/Apr/17 ]

ah ok. So the artifact ietf-network-2015-06-08 includes the ietf-network-topology augments? Cool. I was having issues with the transport PCE builds before - but seems to be working now. Thanks.

Generated at Wed Feb 07 20:09:12 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.