New in version 2018.3.0.
| depends: | shade |
|---|---|
| configuration: | see salt.modules.neutronng for setup instructions |
Example States
create security group;
neutron_secgroup.present:
- name: security_group1
- description: "Very Secure Security Group"
delete security group:
neutron_secgroup.absent:
- name_or_id: security_group1
- project_name: Project1
create security group with optional params:
neutron_secgroup.present:
- name: security_group1
- description: "Very Secure Security Group"
- project_id: 1dcac318a83b4610b7a7f7ba01465548
create security group with optional params:
neutron_secgroup.present:
- name: security_group1
- description: "Very Secure Security Group"
- project_name: Project1 Ensure a security group does not exist
Ensure a security group exists.
You can supply either project_name or project_id.
Creating a default security group will not show up as a change; it gets created through the lookup process.
© 2019 SaltStack.
Licensed under the Apache License, Version 2.0.
https://docs.saltstack.com/en/latest/ref/states/all/salt.states.neutron_secgroup.html