Skip to content

Commit fde791f

Browse files
committed
feat(vrouter): SNMP configuration vyos/vyatta
1 parent 5dede3b commit fde791f

File tree

1 file changed

+40
-4
lines changed

1 file changed

+40
-4
lines changed

docs/apps.md

Lines changed: 40 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ spec:
3939
metadata:
4040
ipsec:
4141
- local: 10.0.10.2
42-
remote 10.0.40.2
42+
remote: 10.0.40.2
4343
peer: rtr2
4444
tunnels:
4545
- local: 192.168.10.0/24
@@ -83,9 +83,25 @@ spec:
8383
dnsServers:
8484
- 192.168.0.254
8585
staticAssignments:
86-
00:00:00:00:00:BB: 192.168.0.50
86+
"00:00:00:00:00:BB": 192.168.0.50
8787
dns:
88-
1.2.3.4: foo.com
88+
"1.2.3.4": foo.com
89+
snmp:
90+
listenAddress: 10.0.0.254
91+
system_name: edge-router-01
92+
location: "Lab A, Rack 2, U 24"
93+
contact: "[email protected]"
94+
communities:
95+
- name: readonly-community
96+
authorization: ro
97+
trap_targets:
98+
- 10.0.50.5
99+
- name: readwrite-community
100+
authorization: rw
101+
clients:
102+
- 10.0.1.11
103+
trap_targets:
104+
- 10.0.50.5
89105
snat:
90106
- interface: eth0
91107
srcAddr: 192.168.0.0/24
@@ -197,6 +213,26 @@ spec:
197213

198214
* `dns`: if present, map of IP-to-domain DNS entries to create on the router.
199215

216+
* `snmp`: if present, SNMP is configured on the router.
217+
218+
* `listenAddress`: IP address on a local interface to bind SNMP to. Defaults to listening on all interfaces.
219+
220+
* `systemName`: a string describing the system.
221+
222+
* `location`: a string for the system's physical location.
223+
224+
* `contact`: a string for the system's contact information.
225+
226+
* `communities`: a list of SNMP communities to configure.
227+
228+
* `name`: the community string/name. This is required.
229+
230+
* `authorization`: the authorization level for the community. Can be `ro` (read-only) or `rw` (read-write). Defaults to `ro` if not specified.
231+
232+
* `clients`: a list of client IP addresses that are allowed to use this community.
233+
234+
* `trapTargets`: a list of IP addresses to send SNMP traps to.
235+
200236
* `emulators`: if present, a list of network emulator traffic policies to apply
201237
to one or more interfaces on egress. For each emulator in the list, only the
202238
`name` key is required, though the traffic policy will not get applied if
@@ -233,7 +269,7 @@ spec:
233269
rules are actually applied to packets "egressing out of" interface `eth0`.
234270

235271
!!! note
236-
Currently, the `ipsec`, `emulators`, and `snat`/`dnat` metadata sections only
272+
Currently, the `ipsec`, `emulators`, `snmp`, and `snat`/`dnat` metadata sections only
237273
apply to Vyatta/VyOS routers.
238274

239275
!!! note

0 commit comments

Comments
 (0)