Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
vnf-onboarding
OSM Packages
Commits
4e9e0ccf
Commit
4e9e0ccf
authored
Aug 11, 2020
by
lavado
Browse files
Merge branch 'snmp_setcomm_change' into 'master'
updates to snmp setcomm package See merge request
!80
parents
7345dd6f
fffc456f
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
19 additions
and
27 deletions
+19
-27
snmp_setcomm_ee_vnf/cloud_init/vyos-userdata
snmp_setcomm_ee_vnf/cloud_init/vyos-userdata
+1
-2
snmp_setcomm_ee_vnf/helm-charts/eechart/snmp/generator.yml
snmp_setcomm_ee_vnf/helm-charts/eechart/snmp/generator.yml
+1
-1
snmp_setcomm_ee_vnf/helm-charts/eechart/source/community.yaml
..._setcomm_ee_vnf/helm-charts/eechart/source/community.yaml
+8
-0
snmp_setcomm_ee_vnf/helm-charts/eechart/source/touch.yaml
snmp_setcomm_ee_vnf/helm-charts/eechart/source/touch.yaml
+0
-10
snmp_setcomm_ee_vnf/helm-charts/eechart/source/vnf_ee.py
snmp_setcomm_ee_vnf/helm-charts/eechart/source/vnf_ee.py
+1
-1
snmp_setcomm_ee_vnf/snmp_setcomm_ee_vnfd.yaml
snmp_setcomm_ee_vnf/snmp_setcomm_ee_vnfd.yaml
+8
-13
No files found.
snmp_setcomm_ee_vnf/cloud_init/vyos-userdata
View file @
4e9e0ccf
...
...
@@ -15,8 +15,7 @@ set service ssh listen-address 0.0.0.0
set service ssh port 22
set system login user osm authentication plaintext-password osm2020
# SNMP
set service snmp community public authorization ro
set service snmp location "OSM Labs"
# Save
commit
save
\ No newline at end of file
save
snmp_setcomm_ee_vnf/helm-charts/eechart/snmp/generator.yml
View file @
4e9e0ccf
...
...
@@ -11,4 +11,4 @@ modules:
lookup
:
1.3.6.1.2.1.31.1.1.1.1
# ifName
auth
:
# Community string is used with SNMP v1 and v2. Defaults to "public".
community
:
public
community
:
secret
snmp_setcomm_ee_vnf/helm-charts/eechart/source/community.yaml
0 → 100644
View file @
4e9e0ccf
---
-
hosts
:
all
connection
:
local
tasks
:
-
name
:
change SNMP community
vyos_config
:
lines
:
-
set service snmp community "{{ snmp_community }}" authorization ro
snmp_setcomm_ee_vnf/helm-charts/eechart/source/touch.yaml
deleted
100644 → 0
View file @
7345dd6f
---
-
name
:
This is a hello-world example
hosts
:
all
tasks
:
-
name
:
Create a file called '/tmp/testfile.txt' with the content 'hello world'.
copy
:
content
:
hello worldn
dest
:
"
{{
file_path
}}"
snmp_setcomm_ee_vnf/helm-charts/eechart/source/vnf_ee.py
View file @
4e9e0ccf
...
...
@@ -72,7 +72,7 @@ class VnfEE:
self
.
_check_required_params
(
params
,
[
"playbook-name"
])
params
[
"ansible_user"
]
=
self
.
config_params
[
"ssh-username"
]
#
params["ansible_password"] = self.config_params["ssh-password"]
params
[
"ansible_password"
]
=
self
.
config_params
[
"ssh-password"
]
inventory
=
self
.
config_params
[
"ssh-hostname"
]
+
","
...
...
snmp_setcomm_ee_vnf/snmp_setcomm_ee_vnfd.yaml
View file @
4e9e0ccf
...
...
@@ -48,10 +48,6 @@ vnfd-catalog:
mgmt-interface
:
cp
:
vnf-mgmt
vnf-configuration
:
config-access
:
ssh-access
:
default-user
:
ubuntu
required
:
true
execution-environment-list
:
-
id
:
monitor
helm-chart
:
eechart
...
...
@@ -65,7 +61,9 @@ vnfd-catalog:
-
name
:
ssh-hostname
value
:
<rw_mgmt_ip>
-
name
:
ssh-username
value
:
ubuntu
value
:
osm
-
name
:
ssh-password
value
:
osm2020
-
seq
:
2
name
:
generate_snmp
execution-environment-ref
:
monitor
...
...
@@ -74,19 +72,16 @@ vnfd-catalog:
execution-environment-ref
:
monitor
parameter
:
-
name
:
playbook-name
value
:
touch
.yaml
-
name
:
file_path
value
:
/var/tmp/test-touch.tx
t
value
:
community
.yaml
-
name
:
snmp_community
value
:
secre
t
config-primitive
:
-
name
:
generate_snmp
execution-environment-ref
:
monitor
-
name
:
touch
-
name
:
ansible_playbook
execution-environment-ref
:
monitor
execution-environment-primitive
:
ansible_playbook
parameter
:
-
name
:
playbook-name
default-value
:
touch
data-type
:
STRING
-
name
:
file-path
default-value
:
/var/tmp/test-touch2.txt
default-value
:
playbook.yaml
data-type
:
STRING
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment