|
67 | 67 | - Add network options. Currently 'vlan' and 'mtu' are supported. |
68 | 68 | type: dict |
69 | 69 | suboptions: |
| 70 | + isolate: |
| 71 | + description: |
| 72 | + - This option isolates networks by blocking traffic between those |
| 73 | + that have this option enabled. |
| 74 | + type: bool |
| 75 | + required: false |
| 76 | + metric: |
| 77 | + description: |
| 78 | + - Sets the Route Metric for the default route created in every |
| 79 | + container joined to this network. |
| 80 | + Can only be used with the Netavark network backend. |
| 81 | + type: int |
| 82 | + required: false |
| 83 | + mode: |
| 84 | + description: |
| 85 | + - This option sets the specified ip/macvlan mode on the interface. |
| 86 | + type: str |
| 87 | + required: false |
70 | 88 | mtu: |
71 | 89 | description: |
72 | 90 | - MTU size for bridge network interface. |
73 | 91 | type: int |
74 | 92 | required: false |
| 93 | + parent: |
| 94 | + description: |
| 95 | + - The host device which should be used for the macvlan interface. |
| 96 | + Defaults to the default route interface. |
| 97 | + type: str |
| 98 | + required: false |
75 | 99 | vlan: |
76 | 100 | description: |
77 | 101 | - VLAN tag for bridge which enables vlan_filtering. |
@@ -627,8 +651,13 @@ def main(): |
627 | 651 | macvlan=dict(type='str', required=False), |
628 | 652 | opt=dict(type='dict', required=False, |
629 | 653 | options=dict( |
| 654 | + isolate=dict(type='bool', required=False), |
630 | 655 | mtu=dict(type='int', required=False), |
631 | | - vlan=dict(type='int', required=False))), |
| 656 | + metric=dict(type='int', required=False), |
| 657 | + mode=dict(type='str', required=False), |
| 658 | + parent=dict(type='str', required=False), |
| 659 | + vlan=dict(type='int', required=False), |
| 660 | + )), |
632 | 661 | executable=dict(type='str', required=False, default='podman'), |
633 | 662 | debug=dict(type='bool', default=False), |
634 | 663 | recreate=dict(type='bool', default=False), |
|
0 commit comments