diff options
Diffstat (limited to 'products/sample')
-rw-r--r-- | products/sample/src/main/resources/open-cli-schema/hello-world-snmp.yaml | 29 |
1 files changed, 29 insertions, 0 deletions
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 + + |