diff options
author | Kalpesh Chaniyara <kalpeshkumar.chaniyara@amdocs.com> | 2017-08-15 23:40:34 +0530 |
---|---|---|
committer | Patrick Brady <pb071s@att.com> | 2017-08-18 10:47:29 -0700 |
commit | 5b7590935559fe9e286a703dc662a60b47b7ed1a (patch) | |
tree | a6047f527074406f30d0ba769a5c53a823e9c987 /appc-sequence-generator/appc-sequence-generator-bundle/src/main/yang | |
parent | a76f088b28738b03d3b3f01c71f11429b135ee2c (diff) |
Initial commit for Sequence Generator
Added sequence generator for start and stop
action with dependency model
Removed java check style from json files
from license maven plugin
JIRA Issues : APPC-33,APPC-106
Issue-Id : APPC-106
Change-Id: I7f12d39b705d77d559790a10b914b8108f5faa5e
Signed-off-by: Kalpesh Chaniyara <kalpeshkumar.chaniyara@amdocs.com>
Diffstat (limited to 'appc-sequence-generator/appc-sequence-generator-bundle/src/main/yang')
-rw-r--r-- | appc-sequence-generator/appc-sequence-generator-bundle/src/main/yang/sequence-generator.yang | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/appc-sequence-generator/appc-sequence-generator-bundle/src/main/yang/sequence-generator.yang b/appc-sequence-generator/appc-sequence-generator-bundle/src/main/yang/sequence-generator.yang new file mode 100644 index 000000000..50c00979b --- /dev/null +++ b/appc-sequence-generator/appc-sequence-generator-bundle/src/main/yang/sequence-generator.yang @@ -0,0 +1,62 @@ +module sequence-generator-impl { + + yang-version 1; + namespace "org:openecomp:appc:sequencegenerator:impl"; + prefix "sequence-generator-impl"; + + import config { prefix config; revision-date 2013-04-05; } + import opendaylight-md-sal-binding { prefix mdsal; revision-date 2013-10-28; } + + description + "This module contains the base YANG definitions for + sequence-generator-impl implementation."; + + revision "2017-07-06" { + description + "Initial revision."; + } + + // This is the definition of the service implementation as a module identity. + identity sequence-generator-impl { + base config:module-type; + + // Specifies the prefix for generated java classes. + config:java-name-prefix SequenceGenerator; + } + + // Augments the 'configuration' choice node under modules/module. + // We consume the two main services, RPCs and DataStore + // Notification service is not used + augment "/config:modules/config:module/config:configuration" { + case sequence-generator-impl { + when "/config:modules/config:module/config:type = 'sequence-generator-impl'"; + + container rpc-registry { + uses config:service-ref { + refine type { + mandatory true; + config:required-identity mdsal:binding-rpc-registry; + } + } + } + + container notification-service { + uses config:service-ref { + refine type { + mandatory true; + config:required-identity mdsal:binding-notification-service; + } + } + } + + container data-broker { + uses config:service-ref { + refine type { + mandatory false; + config:required-identity mdsal:binding-async-data-broker; + } + } + } + } + } +} |