New in version 2018.3.0.
shade
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
salt.states.neutron_secgroup.
absent
(name, auth=None, **kwargs)¶Ensure a security group does not exist
Name of the security group
salt.states.neutron_secgroup.
present
(name, auth=None, **kwargs)¶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.
Name of the security group
Description of the security group
Name of Project
ID of Project