Fix to work on Aruba

This commit is contained in:
Eishun Kondoh 2017-12-01 11:33:53 +09:00
parent 5602922b25
commit 49d40bf2c0
2 changed files with 16 additions and 15 deletions

View file

@ -8,22 +8,23 @@ defmodule Heckle.PipelineProfiles do
name: "classifier",
max_entries: 10,
config: [:table_miss_mask], # deprecated mask.
match: [:in_port, :masked_eth_src],
wildcards: [:in_port, :masked_eth_src],
instructions: [GotoTable],
write_actions: [Output],
match: [:in_port, :vlan_vid, :eth_src],
wildcards: [:in_port, :vlan_vid, :eth_src],
instructions: [GotoTable, ApplyActions],
apply_actions: [Output, PushVlan, SetField, PopVlan],
apply_setfield: [:eth_dst, :vlan_vid],
next_tables: [1],
),
TableFeatures.Body.new(
table_id: 1,
name: "NAT",
name: "process",
max_entries: 10,
config: [:table_miss_mask],
match: [:eth_dst, :eth_src, :eth_type, :ipv4_src, :ipv4_dst],
wildcards: [:eth_dst, :eth_src, :eth_type, :ipv4_src, :ipv4_dst],
match: [:eth_src, :masked_eth_dst, :vlan_vid, :eth_type, :ipv4_src, :ipv4_dst],
wildcards: [:eth_src, :masked_eth_dst, :vlan_vid, :eth_type, :ipv4_src, :ipv4_dst],
instructions: [ApplyActions],
write_actions: [SetField, PopVlan, PushVlan, Output],
apply_setfield: [:eth_dst, :vlan_vid, :ipv4_src, :ipv4_dst],
apply_actions: [SetField, PopVlan, PushVlan, Output],
apply_setfield: [:eth_src, :eth_dst, :vlan_vid, :ipv4_src, :ipv4_dst],
next_tables: [],
)
]