diff options
author | vmuthukrishnan@aarnanetworks.com <vmuthukrishnan@aarnanetworks.com> | 2020-09-08 17:06:57 +0000 |
---|---|---|
committer | vmuthukrishnan@aarnanetworks.com <vmuthukrishnan@aarnanetworks.com> | 2020-09-08 17:07:19 +0000 |
commit | 4557a0e400de554ef3474bcd5d7c36a85b5be937 (patch) | |
tree | 882ced41c5b1fab1350a0274afd93f19a93c752f /components/model-catalog/blueprint-model/service-blueprint/PNF_DEMO/Environments | |
parent | b708ee62df489337479bd00a4f0cd5b502d2f9c9 (diff) |
PNF demo blueprint
Change-Id: I830174d054fdd11fe8ebfbdeafe4abeb5b223dac
Issue-ID: CCSDK-2624
Signed-off-by: vmuthukrishnan@aarnanetworks.com <vmuthukrishnan@aarnanetworks.com>
Diffstat (limited to 'components/model-catalog/blueprint-model/service-blueprint/PNF_DEMO/Environments')
-rw-r--r-- | components/model-catalog/blueprint-model/service-blueprint/PNF_DEMO/Environments/yang-models/pg.yang | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/components/model-catalog/blueprint-model/service-blueprint/PNF_DEMO/Environments/yang-models/pg.yang b/components/model-catalog/blueprint-model/service-blueprint/PNF_DEMO/Environments/yang-models/pg.yang new file mode 100644 index 000000000..dfa8fc28d --- /dev/null +++ b/components/model-catalog/blueprint-model/service-blueprint/PNF_DEMO/Environments/yang-models/pg.yang @@ -0,0 +1,42 @@ +module sample-plugin { + + yang-version 1; + namespace "urn:opendaylight:params:xml:ns:yang:sample-plugin"; + prefix "sample-plugin"; + + description + "This YANG module defines the generic configuration and + operational data for sample-plugin in VPP"; + + revision "2016-09-18" { + description "Initial revision of sample-plugin model"; + } + + container sample-plugin { + uses sample-plugin-params; + description "Configuration data of sample-plugin in Honeycomb"; + + // READ + // curl -u admin:admin http://localhost:8181/restconf/config/sample-plugin:sample-plugin + + // WRITE + // curl http://localhost:8181/restconf/operational/sample-plugin:sample-plugin + + } + + grouping sample-plugin-params { + container pg-streams { + list pg-stream { + + key id; + leaf id { + type string; + } + + leaf is-enabled { + type boolean; + } + } + } + } +} |