NSX-T Data Center REST API
NetworkPolicyImportRequest (schema)
List of K8s Network Policies to be imported
This contains a list of K8s Network Policy IDs to be imported as
DFW SecurityPolicy.
Name | Description | Type | Notes |
---|---|---|---|
network_policy_ids | Set of K8s Network policy identifiers A set of network policy UUIDs that has to be imported to NSX SecurityPolicy |
array of string | Required Maximum items: 5000 |
sequence_number_lower | The sequence number at which the drop policy is placed This is an optional field. If specified, the "drop" action policy will be placed at this position. If unspecified, the drop policy will be created after its corresponding allow policy. The default-drop policies' sequence_number = last existing policy sequence_number + 2. If you specify the sequence numbers explicitly, you must specify both sequence_number_upper and sequence_number_lower at the same time. The sequence_number_lower must be greater than sequence_number_upper. |
int | |
sequence_number_upper | The sequence number at which the allow policy is placed This is an optional field. If specified, the "allow" action policy will be placed at this position. If unspecified, the import API should find the lowest existing copy-span security policy applied to the original container cluster, and put the imported policies behind it. The allow policies' sequence_number=last existing copy-span policy sequence_number + 1 |
int |