summaryrefslogtreecommitdiffstats
path: root/products/sample/src/main/resources/open-cli-schema/hello-world-snmp.yaml
blob: 988ca1a8ac8c4e20029cceb154998bfd903e429f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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