File tree 1 file changed +2
-17
lines changed
1 file changed +2
-17
lines changed Original file line number Diff line number Diff line change 13
13
# AGENT BEHAVIOUR
14
14
#
15
15
16
- {% if MGMT_INTERFACE %}
17
- # Listen for connections on localhost, loopback ip and mgmt (eth0) ip
18
- agentAddress udp:127.0.0.1:161
19
- {% for (name , prefix ) in MGMT_INTERFACE %}
20
- {% if prefix | ipv 4 %}
21
- agentAddress udp:{{ prefix | ip }}:161
22
- {% endif %}
23
- {% endfor %}
24
- # TODO: only support ipv4 lo addresses, add ipv6 support later
25
- {% for (name , prefix ) in LOOPBACK_INTERFACE %}
26
- {% if prefix | ipv 4 %}
27
- agentAddress udp:{{ prefix | ip }}:161
28
- {% endif %}
29
- {% endfor %}
30
- {% else %}
31
- # Listen on all addresses as mgmt ip not specified
16
+ # Listen for connections on all ip addresses, including eth0, ipv4 lo
32
17
agentAddress udp:161
33
- {% endif %}
18
+ # TODO: only support ipv4 lo addresses, add ipv6 support later
34
19
35
20
###############################################################################
36
21
#
You can’t perform that action at this time.
0 commit comments