-IGNORED_TAGS_FOR_OPERATIONAL_COMPARISON = ['id', 'flow-name', 'barrier', 'cookie_mask', 'installHw', 'flags',
- 'strict', 'byte-count', 'duration', 'packet-count', 'in-port',
- 'vlan-id-present', 'out_group', 'out_port', 'hard-timeout', 'idle-timeout',
- 'flow-statistics', 'cookie', 'clear-actions',
- 'ipv4-source-address-no-mask', 'ipv4-source-arbitrary-bitmask',
- 'ipv4-destination-address-no-mask', 'ipv4-destination-arbitrary-bitmask',
- 'ipv6-source-address-no-mask', 'ipv6-source-arbitrary-bitmask',
- 'ipv6-destination-address-no-mask', 'ipv6-destination-arbitrary-bitmask'] # noqa
-
-IGNORED_PATHS_FOR_OC = [(['flow', 'instructions', 'instruction', 'apply-actions', 'action', 'controller-action'], True), # noqa
- (['flow', 'instructions', 'instruction', 'clear-actions', 'action'], False),
- (['flow', 'instructions', 'instruction', 'apply-actions', 'action', 'push-vlan-action', 'vlan-id'], False), # noqa
- (['flow', 'instructions', 'instruction', 'apply-actions', 'action', 'drop-action'], True),
- (['flow', 'instructions', 'instruction', 'apply-actions', 'action', 'flood-action'], True),
- ]
-
-TAGS_TO_ADD_FOR_OC = [(['flow', 'instructions', 'instruction', 'apply-actions', 'action', 'output-action'], 'max-length', '0'), # noqa
- ]
-
-
-TAGS_TO_MODIFY_FOR_OC = [(['flow', 'match', 'metadata'], 'metadata', 'metadata-mask'),
- (['flow', 'match', 'tunnel'], 'tunnel-id', 'tunnel-mask'),
- ]
+IGNORED_TAGS_FOR_OPERATIONAL_COMPARISON = [
+ "id",
+ "flow-name",
+ "barrier",
+ "cookie_mask",
+ "installHw",
+ "flags",
+ "strict",
+ "byte-count",
+ "duration",
+ "packet-count",
+ "in-port",
+ "vlan-id-present",
+ "out_group",
+ "out_port",
+ "hard-timeout",
+ "idle-timeout",
+ "flow-statistics",
+ "cookie",
+ "clear-actions",
+ "ipv4-source-address-no-mask",
+ "ipv4-source-arbitrary-bitmask",
+ "ipv4-destination-address-no-mask",
+ "ipv4-destination-arbitrary-bitmask",
+ "ipv6-source-address-no-mask",
+ "ipv6-source-arbitrary-bitmask",
+ "ipv6-destination-address-no-mask",
+ "ipv6-destination-arbitrary-bitmask",
+] # noqa
+
+IGNORED_PATHS_FOR_OC = [
+ (
+ [
+ "flow",
+ "instructions",
+ "instruction",
+ "apply-actions",
+ "action",
+ "controller-action",
+ ],
+ True,
+ ), # noqa
+ (["flow", "instructions", "instruction", "clear-actions", "action"], False),
+ (
+ [
+ "flow",
+ "instructions",
+ "instruction",
+ "apply-actions",
+ "action",
+ "push-vlan-action",
+ "vlan-id",
+ ],
+ False,
+ ), # noqa
+ (
+ [
+ "flow",
+ "instructions",
+ "instruction",
+ "apply-actions",
+ "action",
+ "drop-action",
+ ],
+ True,
+ ),
+ (
+ [
+ "flow",
+ "instructions",
+ "instruction",
+ "apply-actions",
+ "action",
+ "flood-action",
+ ],
+ True,
+ ),
+]
+
+TAGS_TO_ADD_FOR_OC = [
+ (
+ [
+ "flow",
+ "instructions",
+ "instruction",
+ "apply-actions",
+ "action",
+ "output-action",
+ ],
+ "max-length",
+ "0",
+ ) # noqa
+]
+
+
+TAGS_TO_MODIFY_FOR_OC = [
+ (["flow", "match", "metadata"], "metadata", "metadata-mask"),
+ (["flow", "match", "tunnel"], "tunnel-id", "tunnel-mask"),
+]