network_settings.py: fix documentation

Module documentation is showing an incorrect config example since it's
omitting the network_settings identifier.

Signed-off-by: Alejandro del Castillo <alejandro.delcastillo@ni.com>
This commit is contained in:
Alejandro del Castillo 2016-06-29 23:26:41 +00:00 committed by rallytime
parent 70e1f18b89
commit 2040dbeca5

View file

@ -100,12 +100,13 @@ def beacon(config):
.. code-block:: yaml
beacons:
eth0:
ipaddr:
promiscuity:
onvalue: 1
eth1:
linkmode:
network_settings:
eth0:
ipaddr:
promiscuity:
onvalue: 1
eth1:
linkmode:
The config above will check for value changes on eth0 ipaddr and eth1 linkmode. It will also
emit if the promiscuity value changes to 1.
@ -119,10 +120,11 @@ def beacon(config):
.. code-block:: yaml
beacons:
coalesce: True
eth0:
ipaddr:
promiscuity:
network_settings:
coalesce: True
eth0:
ipaddr:
promiscuity:
'''
ret = []