Create a security profile on the NSX backend.
Parameters: |
|
---|
configuring the NSX security profile.
determine if security group rule sgr1 is a strict subset of sgr2
determines if security group rule sgr1 and sgr2 are identical
Convenience function creates and dumps dictionary to string.
Parameters: | kwargs – the key/value pirs to be dumped into a json string. |
---|---|
Returns: | a json string. |
Summarizes security group rules and remove duplicates. Given a set of arbitrary security group rules, determining the optimum (minimum) rule set is a complex (NP-hard) problem. This method does not attempt to obtain the optimum rules. Instead, it summarizes a set of common rule patterns.