New in version 2018.3.0.
shade
see salt.modules.neutronng
for setup instructions
Example States
create security group rule:
neutron_secgroup_rule.present:
- name: security_group1
- project_name: Project1
- protocol: icmp
delete security group:
neutron_secgroup_rule.absent:
- name_or_id: security_group1
create security group with optional params:
neutron_secgroup_rule.present:
- name: security_group1
- description: "Very Secure Security Group"
- project_id: 1dcac318a83b4610b7a7f7ba01465548
Ensure a security group rule does not exist
name or id of the security group rule to delete
uuid of the rule to delete
id of project to delete rule from
Ensure a security group rule exists
remote_ip_prefix=None, remote_group_id=None, direction='ingress', ethertype='IPv4', project_id=None
Name of the security group to associate with this rule
Name of the project associated with the security group
The protocol that is matched by the security group rule. Valid values are None, tcp, udp, and icmp.