Add RFC6241 parser support 48/81148/7
authorRobert Varga <robert.varga@pantheon.tech>
Mon, 25 Mar 2019 17:21:26 +0000 (18:21 +0100)
committerRobert Varga <robert.varga@pantheon.tech>
Mon, 25 Mar 2019 22:38:41 +0000 (23:38 +0100)
commitc878313b4f1c360870b2ac3f5ea6c316cf924517
tree72e733175229dace0da3f150d8e347070e18ce5e
parent5054f913d032f85fa5ac7fca8a40de35f82a4e10
Add RFC6241 parser support

This adds extensions to identify get-config/get filter anyxml
nodes. While we provided an implicit support for the extension,
this adds proper extension capture as well as suppressions so
that the extension is not generated outside of its two allowed
places.

JIRA: YANGTOOLS-831
Change-Id: Ib38c31f1b2dd82793cebe72f0ba8e7300f1b6404
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
19 files changed:
artifacts/pom.xml
features/odl-yangtools-parser-api/pom.xml
features/odl-yangtools-parser/pom.xml
yang/pom.xml
yang/rfc6241-model-api/pom.xml [new file with mode: 0644]
yang/rfc6241-model-api/src/main/java/org/opendaylight/yangtools/rfc6241/model/api/GetFilterElementAttributesEffectiveStatement.java [new file with mode: 0644]
yang/rfc6241-model-api/src/main/java/org/opendaylight/yangtools/rfc6241/model/api/GetFilterElementAttributesSchemaNode.java [new file with mode: 0644]
yang/rfc6241-model-api/src/main/java/org/opendaylight/yangtools/rfc6241/model/api/GetFilterElementAttributesStatement.java [new file with mode: 0644]
yang/rfc6241-model-api/src/main/java/org/opendaylight/yangtools/rfc6241/model/api/NetconfConstants.java [new file with mode: 0644]
yang/rfc6241-model-api/src/main/java/org/opendaylight/yangtools/rfc6241/model/api/NetconfStatements.java [new file with mode: 0644]
yang/rfc6241-model-api/src/main/java/org/opendaylight/yangtools/rfc6241/model/api/package-info.java [new file with mode: 0644]
yang/rfc6241-parser-support/pom.xml [new file with mode: 0644]
yang/rfc6241-parser-support/src/main/java/org/opendaylight/yangtools/rfc6241/parser/GetFilterElementAttributesStatementSupport.java [new file with mode: 0644]
yang/rfc6241-parser-support/src/main/java/org/opendaylight/yangtools/rfc6241/parser/package-info.java [new file with mode: 0644]
yang/rfc6241-parser-support/src/test/java/org/opendaylight/yangtools/rfc6241/parser/NetconfTest.java [new file with mode: 0644]
yang/rfc6241-parser-support/src/test/resources/ietf-inet-types@2013-07-15.yang [new file with mode: 0644]
yang/rfc6241-parser-support/src/test/resources/ietf-netconf@2011-06-01.yang [new file with mode: 0644]
yang/yang-parser-impl/pom.xml
yang/yang-parser-impl/src/main/java/org/opendaylight/yangtools/yang/parser/impl/DefaultReactors.java