Add support for RFC8639 extensions 48/97348/5
authorRobert Varga <robert.varga@pantheon.tech>
Fri, 27 Aug 2021 12:18:29 +0000 (14:18 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Fri, 27 Aug 2021 14:29:14 +0000 (16:29 +0200)
commitf027d529f0c34835ed7f6b34c652a9a905e6a524
treeefbd0257f827c2c53bffea8e80066ac2d0a7e30b
parente604d07318bd315360c44af83fbb1398f09b99ea
Add support for RFC8639 extensions

We have an internal YANG extension defined in rfc8639. Teach the parser
to correctly recognize it.

JIRA: YANGTOOLS-1314
Change-Id: I96c30c9728e61cadbc550b0b96d925719593c0d6
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
29 files changed:
artifacts/pom.xml
docs/pom.xml
features/odl-yangtools-parser-api/pom.xml
features/odl-yangtools-parser/pom.xml
model/pom.xml
model/rfc8639-model-api/pom.xml [new file with mode: 0644]
model/rfc8639-model-api/src/main/java/module-info.java [new file with mode: 0644]
model/rfc8639-model-api/src/main/java/org/opendaylight/yangtools/rfc8639/model/api/SubscribedNotificationsConstants.java [new file with mode: 0644]
model/rfc8639-model-api/src/main/java/org/opendaylight/yangtools/rfc8639/model/api/SubscribedNotificationsStatements.java [new file with mode: 0644]
model/rfc8639-model-api/src/main/java/org/opendaylight/yangtools/rfc8639/model/api/SubscriptionStateNotificationEffectiveStatement.java [new file with mode: 0644]
model/rfc8639-model-api/src/main/java/org/opendaylight/yangtools/rfc8639/model/api/SubscriptionStateNotificationStatement.java [new file with mode: 0644]
parser/pom.xml
parser/rfc8639-parser-support/pom.xml [new file with mode: 0644]
parser/rfc8639-parser-support/src/main/java/org/opendaylight/yangtools/rfc8639/parser/RefSubscriptionStateNotificationStatement.java [new file with mode: 0644]
parser/rfc8639-parser-support/src/main/java/org/opendaylight/yangtools/rfc8639/parser/SubscriptionStateNotificationEffectiveStatementImpl.java [new file with mode: 0644]
parser/rfc8639-parser-support/src/main/java/org/opendaylight/yangtools/rfc8639/parser/SubscriptionStateNotificationStatementImpl.java [new file with mode: 0644]
parser/rfc8639-parser-support/src/main/java/org/opendaylight/yangtools/rfc8639/parser/SubscriptionStateNotificationStatementSupport.java [new file with mode: 0644]
parser/rfc8639-parser-support/src/test/java/org/opendaylight/yangtools/rfc8639/parser/SubscribedNotificationsTest.java [new file with mode: 0644]
parser/rfc8639-parser-support/src/test/resources/ietf-inet-types@2013-07-15.yang [new file with mode: 0644]
parser/rfc8639-parser-support/src/test/resources/ietf-interfaces@2018-02-20.yang [new file with mode: 0644]
parser/rfc8639-parser-support/src/test/resources/ietf-ip@2018-02-22.yang [new file with mode: 0644]
parser/rfc8639-parser-support/src/test/resources/ietf-netconf-acm@2018-02-14.yang [new file with mode: 0644]
parser/rfc8639-parser-support/src/test/resources/ietf-network-instance@2019-01-21.yang [new file with mode: 0644]
parser/rfc8639-parser-support/src/test/resources/ietf-restconf@2017-01-26.yang [new file with mode: 0644]
parser/rfc8639-parser-support/src/test/resources/ietf-subscribed-notifications@2019-09-09.yang [new file with mode: 0644]
parser/rfc8639-parser-support/src/test/resources/ietf-yang-schema-mount@2019-01-14.yang [new file with mode: 0644]
parser/rfc8639-parser-support/src/test/resources/ietf-yang-types@2013-07-15.yang [new file with mode: 0644]
parser/yang-parser-impl/pom.xml
parser/yang-parser-impl/src/main/java/org/opendaylight/yangtools/yang/parser/impl/DefaultReactors.java