mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-10-10 18:34:03 -07:00
Native YAML - Network (#3587)
* Fix citrix native yaml * Fix snmp native yaml and connectio * Fix more native syntax * More native syntax * Fix openvswitch native syntax * More YAML code ! * More fixes * Improve nmcli
This commit is contained in:
parent
d092d53198
commit
cb1b8edfa9
15 changed files with 424 additions and 136 deletions
|
@ -92,13 +92,27 @@ options:
|
|||
|
||||
EXAMPLES = '''
|
||||
# Limit SSH traffic to 100M via vnic0 interface
|
||||
flowadm: link=vnic0 flow=ssh_out transport=tcp local_port=22 maxbw=100M state=present
|
||||
- flowadm:
|
||||
link: vnic0
|
||||
flow: ssh_out
|
||||
transport: tcp
|
||||
local_port: 22
|
||||
maxbw: 100M
|
||||
state: present
|
||||
|
||||
# Reset flow properties
|
||||
flowadm: name=dns state=resetted
|
||||
- flowadm:
|
||||
name: dns
|
||||
state: resetted
|
||||
|
||||
# Configure policy for EF PHB (DSCP value of 101110 from RFC 2598) with a bandwidth of 500 Mbps and a high priority.
|
||||
flowadm: link=bge0 dsfield=0x2e:0xfc maxbw=500M priority=high flow=efphb-flow state=present
|
||||
- flowadm:
|
||||
link: bge0
|
||||
dsfield: '0x2e:0xfc'
|
||||
maxbw: 500M
|
||||
priority: high
|
||||
flow: efphb-flow
|
||||
state: present
|
||||
'''
|
||||
|
||||
RETURN = '''
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue