Fix invalid augmentations 42/85242/1
authorRobert Varga <robert.varga@pantheon.tech>
Sat, 19 Oct 2019 12:43:00 +0000 (14:43 +0200)
committerRobert Varga <nite@hq.sk>
Sat, 19 Oct 2019 12:58:01 +0000 (12:58 +0000)
commit4e4bb47c41728c15220203602068a5754efbd62f
tree8ae6f013496e6375833b1043b1f193d920b17e97
parent33f2f4e04d4fea22af99ba850b6f8f17bedaaffc
Fix invalid augmentations

choice/case structures are collapsed to their parent data tree
node, hence it is invalid to define (in same namespace) the equivalent
of:

container {
  leaf foo { type string; }
  choice some {
    case foo {
      leaf foo { type string; }
    }
  }
}

Fix up the testing model.

Change-Id: I1e3ef8f9b38016e0290221f22b8233fba176bc0e
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
binding/mdsal-binding-test-model/src/main/yang/opendaylight-mdsal-augment-test.yang