openstack.network.v2.sfc_flow_classifier¶
SfcFlowClassifier 类¶
SfcFlowClassifier 类继承自 Resource。
- class openstack.network.v2.sfc_flow_classifier.SfcFlowClassifier(_synchronized=False, connection=None, **attrs)¶
基础资源
- 参数:
_synchronized (bool) – 这不打算直接使用。请参阅
new()和existing()。connection (openstack.connection.Connection) – 对正在使用的 Connection 的引用。默认为 None,允许在单元测试中等情况下使用不带活动 Connection 的 Resource 对象。Resource 代码中对
self._connection的使用应使用 None 检查进行保护。
- resource_key = 'flow_classifier'¶
资源的单数形式的键。
- resources_key = 'flow_classifiers'¶
资源的复数形式的键。
- base_path = '/sfc/flow_classifiers'¶
此资源的 URI 的基本部分。
- allow_create = True¶
允许对此资源进行创建操作。
- allow_fetch = True¶
允许对此资源进行获取操作。
- allow_commit = True¶
允许对此资源进行更新操作。
- allow_delete = True¶
允许对此资源进行删除操作。
- allow_list = True¶
允许对此资源进行列表操作。
- description¶
资源的易于理解的描述。
- name¶
资源的易读名称。默认情况下为空字符串。
- protocol¶
IP 协议可以用字符串、整数或 null 表示。有效值: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¶
最小源协议端口。
- source_port_range_max¶
最大源协议端口。
- destination_port_range_min¶
最小目标协议端口。
- destination_port_range_max¶
最大目标协议端口。
- source_ip_prefix¶
源 IP 前缀。
- destination_ip_prefix¶
目标 IP 前缀。
- logical_source_port¶
源逻辑端口的 UUID。
- logical_destination_port¶
目标逻辑端口的 UUID。
- l7_parameters¶
L7 参数的字典,格式为 logical_source_network: uuid, logical_destination_network: uuid。
- summary¶
流分类器的摘要字段,由协议、源协议端口、目标协议端口、logical_source_port、logical_destination_port 和 l7_parameters 组成
- tenant_id¶
租户 ID(已弃用的属性)。