aboutsummaryrefslogtreecommitdiffstats
path: root/profiles/snmp/src/main/resources
diff options
context:
space:
mode:
Diffstat (limited to 'profiles/snmp/src/main/resources')
-rw-r--r--profiles/snmp/src/main/resources/META-INF/services/org.onap.cli.fw.cmd.OnapCommand1
-rw-r--r--profiles/snmp/src/main/resources/open-cli-schema/snmp/default_input_parameters_snmp.yaml10
-rw-r--r--profiles/snmp/src/main/resources/open-cli-snmp.properties9
3 files changed, 20 insertions, 0 deletions
diff --git a/profiles/snmp/src/main/resources/META-INF/services/org.onap.cli.fw.cmd.OnapCommand b/profiles/snmp/src/main/resources/META-INF/services/org.onap.cli.fw.cmd.OnapCommand
new file mode 100644
index 00000000..59d23e1a
--- /dev/null
+++ b/profiles/snmp/src/main/resources/META-INF/services/org.onap.cli.fw.cmd.OnapCommand
@@ -0,0 +1 @@
+org.onap.cli.fw.snmp.cmd.OnapSnmpCommand \ No newline at end of file
diff --git a/profiles/snmp/src/main/resources/open-cli-schema/snmp/default_input_parameters_snmp.yaml b/profiles/snmp/src/main/resources/open-cli-schema/snmp/default_input_parameters_snmp.yaml
new file mode 100644
index 00000000..ecce7130
--- /dev/null
+++ b/profiles/snmp/src/main/resources/open-cli-schema/snmp/default_input_parameters_snmp.yaml
@@ -0,0 +1,10 @@
+open_cli_schema_version: 1.0
+
+parameters:
+ - name: agent
+ description: agent address (eg. "udp:127.0.0.1/161")
+ type: string
+ short_option: x
+ long_option: agent
+ is_optional: false
+ is_default_param: true \ No newline at end of file
diff --git a/profiles/snmp/src/main/resources/open-cli-snmp.properties b/profiles/snmp/src/main/resources/open-cli-snmp.properties
new file mode 100644
index 00000000..e8ee5af5
--- /dev/null
+++ b/profiles/snmp/src/main/resources/open-cli-snmp.properties
@@ -0,0 +1,9 @@
+cli.ignore_auth=false
+
+#schema validation
+#snmp
+
+cli.schema.snmp_request_params=command,version,result_map
+cli.schema.snmp_request_mandatory_params=command,version
+
+cli.schema.snmp_methods=get \ No newline at end of file