Fix CollisionDomain chaining 09/96109/1
authorRobert Varga <robert.varga@pantheon.tech>
Mon, 10 May 2021 19:21:37 +0000 (21:21 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Mon, 10 May 2021 19:22:10 +0000 (21:22 +0200)
commitc351d993f547ed163799706f084071c5533caf89
tree55f39aa2fea98432b56e1c6016f3544190925ed7
parent642ac27a6c2a1aabb64c441325e673aa0686ba99
Fix CollisionDomain chaining

A simple augmentation of RPC input fails becase we end up having a
secondary (augment) being attached to another secondary (input), which
triggers a verify error.

Generalize the concept of having secondaries, so that we can have a
secondary -> secondary transition.

Change-Id: I2c1ca5b5473d3db56516385f4957ff11dcf512a0
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
binding/mdsal-binding-generator-impl/src/main/java/org/opendaylight/mdsal/binding/generator/impl/reactor/CollisionDomain.java
binding/mdsal-binding-generator-impl/src/test/java/org/opendaylight/mdsal/binding/generator/impl/GeneratedTypesTest.java
binding/mdsal-binding-generator-impl/src/test/resources/augment-rpc-input.yang [new file with mode: 0644]