Add NETCONF/RFC7952 compatibility 48/80648/5
authorRobert Varga <robert.varga@pantheon.tech>
Thu, 28 Feb 2019 15:52:40 +0000 (16:52 +0100)
committerRobert Varga <robert.varga@pantheon.tech>
Fri, 1 Mar 2019 08:48:47 +0000 (09:48 +0100)
commit0b86189513b25601ba12a4a38230017315914344
treeae30dc71fcce1ba252447d953858b744d957cd1e
parent59456063a76d83560d3d0a4dbe071b90ac6ca507
Add NETCONF/RFC7952 compatibility

RFC6241 pre-dates RFC7952 and defines an attribute which should
be modeled as a metadata annotation.

For legacy reasons, we are carrying support for this attribute
in yang-data-api, which does not quite fit the semantic model
and requires special-casing.

Since ietf-netconf.yang does not define the metadata annotation,
which would make RFC7952 work seamlessly, we need to hack this
around a bit and make the correspoding schema definition available.

JIRA: YANGTOOLS-961
Change-Id: Ib6c98e9bb8a7c9ae8351b61522c3fbfdd943393c
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
artifacts/pom.xml
docs/pom.xml
features/odl-yangtools-parser/pom.xml
yang/pom.xml
yang/rfc7952-model-netconf/pom.xml [new file with mode: 0644]
yang/rfc7952-model-netconf/src/main/java/org/opendaylight/yangtools/rfc7952/model/netconf/Operation.java [new file with mode: 0644]
yang/rfc7952-model-netconf/src/main/resources/ietf-netconf.yang [new file with mode: 0644]
yang/rfc7952-model-netconf/src/test/java/org/opendaylight/yangtools/rfc7952/model/netconf/OperationTest.java [new file with mode: 0644]
yang/rfc7952-parser-support/src/main/resources/ietf-yang-metadata@2016-08-05.yang [moved from yang/rfc7952-parser-support/src/test/resources/ietf-yang-metadata@2016-08-05.yang with 100% similarity]