You can change the security policy that is associated with a security group.

About this task

You perform the procedure from a VMware Integrated OpenStack controller.



  1. Log in to the OpenStack Management Server.
  2. Get a list of the currently defined security groups.

    You need the id of a security group to see its configuration.

  3. Get the configuration of a security group.

    Use the id from the previous step.

    neutron-security-group-show <SECURITY_GROUP_ID>

    In the output you see the policy associated with this security group.

  4. 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.