You can change the security policy that is associated with a security group.
Before you begin
About this task
You perform the procedure from a VMware Integrated OpenStack controller.
- Log in to the OpenStack Management Server.
- Get a list of the currently defined security groups.
You need the
idof a security group to see its configuration.
- Get the configuration of a security group.
idfrom the previous step.
In the output you see the
policyassociated with this security group.
- Change the current policy of a security group with another policy.
neutron security-group-update --policy=<NSX_Policy_ID> <SECURITY_GROUP_ID>
You have changed the associated security policy to a given security group.