Skip to content
This repository has been archived by the owner on Oct 30, 2018. It is now read-only.

Commit

Permalink
Merge pull request #1467 from emonty/feature/os_network
Browse files Browse the repository at this point in the history
Add missing state parameter
  • Loading branch information
emonty committed Jun 4, 2015
2 parents 5983373 + 1b5b1cb commit 1621424
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions cloud/openstack/os_network.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ def main():
name=dict(required=True),
shared=dict(default=False, type='bool'),
admin_state_up=dict(default=True, type='bool'),
state=dict(default='present', choices=['absent', 'present']),
)

module_kwargs = openstack_module_kwargs()
Expand Down
1 change: 1 addition & 0 deletions cloud/openstack/os_subnet.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,7 @@ def main():
allocation_pool_start=dict(default=None),
allocation_pool_end=dict(default=None),
host_routes=dict(default=None, type='list'),
state=dict(default='present', choices=['absent', 'present']),
)

module_kwargs = openstack_module_kwargs()
Expand Down

0 comments on commit 1621424

Please sign in to comment.