From d701b812258d0e84a5d5cce0296b004e364a1a3b Mon Sep 17 00:00:00 2001 From: subhash kumar singh Date: Thu, 21 Dec 2017 14:06:08 +0000 Subject: Add snmp profile for cli Add snmp profile for cli to support snmp get operation. Issue-ID: CLI-85 Change-Id: I7bebd38f2b3089df80c71a5581b23c5408c6d3ab Signed-off-by: subhash kumar singh --- .../open-cli-schema/hello-world-snmp.yaml | 29 ++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 products/sample/src/main/resources/open-cli-schema/hello-world-snmp.yaml (limited to 'products/sample') diff --git a/products/sample/src/main/resources/open-cli-schema/hello-world-snmp.yaml b/products/sample/src/main/resources/open-cli-schema/hello-world-snmp.yaml new file mode 100644 index 00000000..988ca1a8 --- /dev/null +++ b/products/sample/src/main/resources/open-cli-schema/hello-world-snmp.yaml @@ -0,0 +1,29 @@ +open_cli_schema_version: 1.0 +name: hello-world-snmp +description: Sample yaml usin snmp profile + +info: + product: sample-helloworld + service: hello-world + author: ONAP CLI Team onap-discuss@lists.onap.org + +results: + direction: portrait + attributes: + - name: hostname + description: hostname of agent + scope: short + type: string + - name: location + description: hostname of agent + scope: short + type: string + +snmp: + result_map: + - hostname: 1.3.6.1.2.1.1.5.0 + - location: 1.3.6.1.2.1.1.6.0 + command: get + version: v1 + + -- cgit 1.2.3-korg