From 4557a0e400de554ef3474bcd5d7c36a85b5be937 Mon Sep 17 00:00:00 2001 From: "vmuthukrishnan@aarnanetworks.com" Date: Tue, 8 Sep 2020 17:06:57 +0000 Subject: PNF demo blueprint Change-Id: I830174d054fdd11fe8ebfbdeafe4abeb5b223dac Issue-ID: CCSDK-2624 Signed-off-by: vmuthukrishnan@aarnanetworks.com --- .../PNF_DEMO/Environments/yang-models/pg.yang | 42 ++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 components/model-catalog/blueprint-model/service-blueprint/PNF_DEMO/Environments/yang-models/pg.yang (limited to 'components/model-catalog/blueprint-model/service-blueprint/PNF_DEMO/Environments') 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; + } + } + } + } +} -- cgit 1.2.3-korg