Files
vmware-nsx/vmware_nsx/db
Adit Sarfaty 9d0e903139 [Admin-util] NSX|V admin util to use a policy in a security group
New admin utility that can be used when the user changes the configuration to use
policies in security groups (use_nsx_policies=True)
This utility deletes the current rules and section of the security group,
and adds it to the policy.

usage:
nsxadmin -r security-groups -o migrate-to-policy --property policy-id=<> --property
         security-group-id=<>

Output example:
==== [MIGRATE] Sg To Policy ====
Successfully established new session; session ID is 28c3f.
Deleting the rules of security group: 415ff93e-cbd4-4f49-a06d-44885eba7c88
Deleting the section of security group: 415ff93e-cbd4-4f49-a06d-44885eba7c88
Binding the NSX security group securitygroup-143 to policy policy-9
Done.

Change-Id: I7041c33b86a0ebc965e2cfcfe1c9ac9261a0318a
2016-11-14 16:39:15 +02:00
..
2016-09-29 15:59:13 +03:00
2016-01-25 15:53:42 -08:00
2016-11-03 05:56:36 +00:00
2016-11-01 02:30:33 -07:00
2016-09-24 20:36:17 +00:00