The vmware_nsx.services.flowclassifier.nsx_v.driver Module

class vmware_nsx.services.flowclassifier.nsx_v.driver.NsxvFlowClassifierDriver

Bases: networking_sfc.services.flowclassifier.drivers.base.FlowClassifierDriverBase

FlowClassifier Driver For NSX-V.

add_any_any_redirect_rule()

Add an any->any flow classifier entry

Add 1 flow classifier entry that will redirect all the traffic to the security partner The user will be able to delete/change it later

create_flow_classifier(*args, **kwargs)

Create a redirect rule at the backend

create_flow_classifier_precommit(*args, **kwargs)

Validate the flow classifier data before committing the transaction

The NSX-v redirect rules does not support: - logical ports - l7 parameters - source ports range / destination port range with more than 15 ports

delete_flow_classifier(*args, **kwargs)

Delete the backend redirect rule

get_redirect_fw_section_from_backend()
get_redirect_fw_section_id()
get_redirect_fw_section_uri()
init_complete(resource, event, trigger, payload=None)
init_profile_id()

Init the service insertion profile ID

Initialize the profile id that should be assigned to the redirect rules from the nsx configuration and verify that it exists on backend.

init_redirect_fw_rule(redirect_rule, flow_classifier)
init_security_group()

Init the service insertion security group

Look for the service insertion security group in the backend. If it was not found - create it This security group will contain all the VMs vnics that should be inspected by the redirect rules

init_security_group_in_profile()

Attach the security group to the service profile

initialize()
update_flow_classifier(*args, **kwargs)

Update the backend redirect rule

update_redirect_section_in_backed(section)

This Page