openstack.network.v2.sfc_flow_classifier

The SfcFlowClassifier Class

The SfcFlowClassifier class inherits from Resource.

class openstack.network.v2.sfc_flow_classifier.SfcFlowClassifier(_synchronized=False, connection=None, **attrs)

The base resource

Parameters:
  • _synchronized (bool) – This is not intended to be used directly. See new() and existing().

  • connection (openstack.connection.Connection) – Reference to the Connection being used. Defaults to None to allow Resource objects to be used without an active Connection, such as in unit tests. Use of self._connection in Resource code should protect itself with a check for None.

resource_key = 'flow_classifier'

Singular form of key for resource.

resources_key = 'flow_classifiers'

Plural form of key for resource.

base_path = '/sfc/flow_classifiers'

The base part of the URI for this resource.

allow_create = True

Allow create operation for this resource.

allow_fetch = True

Allow get operation for this resource.

allow_commit = True

Allow update operation for this resource.

allow_delete = True

Allow delete operation for this resource.

allow_list = True

Allow list operation for this resource.

description

Human-readable description for the resource.

name

Human-readable name of the resource. Default is an empty string.

protocol

The IP protocol can be represented by a string, an integer, or null. Valid values: any (0), ah (51), dccp (33), egp (8), esp (50), gre (47), icmp (1), icmpv6 (58), igmp (2), ipip (4), ipv6-encap (41), ipv6-frag (44), ipv6-icmp (58), ipv6-nonxt (59), ipv6-opts (60), ipv6-route (43), ospf (89), pgm (113), rsvp (46), sctp (132), tcp (6), udp (17), udplite (136), vrrp (112).

source_port_range_min

Minimum source protocol port.

source_port_range_max

Maximum source protocol port.

destination_port_range_min

Minimum destination protocol port.

destination_port_range_max

Maximum destination protocol port.

source_ip_prefix

The source IP prefix.

destination_ip_prefix

The destination IP prefix.

logical_source_port

The UUID of the source logical port.

logical_destination_port

The UUID of the destination logical port.

l7_parameters

A dictionary of L7 parameters, in the form of logical_source_network: uuid, logical_destination_network: uuid.

summary

Summary field of a Flow Classifier, composed of the protocol, source protcol port, destination ptocolo port, logical_source_port, logical_destination_port and l7_parameters

tenant_id

Tenant_id (deprecated attribute).