Skip to content

Commit

Permalink
Allow specifying a template when creating a network (#105)
Browse files Browse the repository at this point in the history
Fixes: #61
  • Loading branch information
badnetmask authored Jan 28, 2022
1 parent 4212a41 commit 52f70d4
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions plugins/modules/nios_network.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,11 @@
- The name of the space this DHCP option is associated to
type: str
default: DHCP
template:
description:
- If set on creation, the network is created according to the values
specified in the selected template.
type: str
extattrs:
description:
- Allows for the configuration of Extensible Attributes on the
Expand Down Expand Up @@ -279,6 +284,7 @@ def main():

options=dict(type='list', elements='dict', options=option_spec, transform=options),

template=dict(type='str'),
extattrs=dict(type='dict'),
comment=dict(),
container=dict(type='bool', ib_req=True)
Expand Down

0 comments on commit 52f70d4

Please sign in to comment.