Committed by
Ray Milkey
Additional configuration parameters in onos-app-fwd
Additional configuration parameters that can be configured in the configuration file (org.onosproject.fwd.ReactiveForwarding.cfg), that determine application behavior: - packetOutOfppTable - application will use OFPP_TABLE port in PacketOut message, sending packet back to the OpenFlow pipeline, instead of using switch port - flowTimeout - configuring reactively installed flow timeout - flowPriority - configuring reactively installed flow priority - matchDstMacOnly - reactively installed flows will match only destination MAC address - behavior as legacy L2 switches. This options overrides all other options below. - matchVlanId - reactively installed flows will match default condition with additionally with VLAN ID field - matchIpv4Address - reactively installed flows will match default conditions, plus IPv4 address and Protocol field - matchIpv4Dscp - reactively installed flows will match default condition, IPv4 + with IPv4 DSCP and ECN fields (need matchIPv4Address enabled) - matchIpv6Address - reactively installed flows will match default condition with IPv6 address and NextHeader field - matchIpv6FlowLabel - reactively installed flows will match default condition with IPv6 address and IPv6 Flow Label (need matchIPv6Address enabled) - matchTcpUdpPorts - reactively installed flows will match default condition with IPv4 or IPv6 address and TCP/UDP ports (need matchIPv4Address or matchIPv6Address enabled) - matchIcmpFields - reactively installed flows will match default condition with IPv4 or IPv6 address and ICMP type and code fields (need matchIPv4Address or matchIPv6Address enabled) Change-Id: Ieef67a1a12f6341d4de3b07e1226affec66d361a
Showing
2 changed files
with
64 additions
and
0 deletions
This diff is collapsed. Click to expand it.
1 | # | 1 | # |
2 | # Sample configuration for onos-app-fwd. | 2 | # Sample configuration for onos-app-fwd. |
3 | # This configuration file would be placed at: $(KARAF_ROOT)/etc. | 3 | # This configuration file would be placed at: $(KARAF_ROOT)/etc. |
4 | + | ||
5 | +# | ||
6 | +# Reactive flows default matching is InPort, Src MAC, Dst MAC and EtherType fields | ||
4 | # | 7 | # |
5 | 8 | ||
6 | # | 9 | # |
... | @@ -10,6 +13,67 @@ | ... | @@ -10,6 +13,67 @@ |
10 | # packetOutOnly = true | 13 | # packetOutOnly = true |
11 | 14 | ||
12 | # | 15 | # |
16 | +# Enable forwarding of the first packet by using OFPP_TABLE port in the | ||
17 | +# PacketOut message instead of sending it directly to the switch port | ||
18 | +# | ||
19 | +# packetOutOfppTable = true | ||
20 | + | ||
21 | +# | ||
22 | +# Timeout of reactively installed flows (in seconds). | ||
23 | +# Default is 10 sec | ||
24 | +# | ||
25 | +# flowTimeout = 10 | ||
26 | + | ||
27 | +# | ||
28 | +# Priority of reactively installed flows | ||
29 | +# | ||
30 | +# flowPriority = 10 | ||
31 | + | ||
32 | +# | ||
13 | # Enable IPv6 forwarding. | 33 | # Enable IPv6 forwarding. |
14 | # | 34 | # |
15 | # ipv6Forwarding = true | 35 | # ipv6Forwarding = true |
36 | + | ||
37 | +# | ||
38 | +# Flows matching destination MAC only - as legacy L2 switches | ||
39 | +# - This option overrides all other options below | ||
40 | +# | ||
41 | +# matchDstMacOnly = true | ||
42 | + | ||
43 | +# | ||
44 | +# Matching of VLAN ID in Ethernet header | ||
45 | +# | ||
46 | +# matchVlanId = true | ||
47 | + | ||
48 | +# | ||
49 | +# Matching of IPv4 addresses and Protocol field | ||
50 | +# - must be enabled to match IPv4 DSCP, TCP/UDP ports and ICMP type/code | ||
51 | +# | ||
52 | +# matchIpv4Address = true | ||
53 | + | ||
54 | +# | ||
55 | +# Matching of IPv4 DSCP and ECN fields | ||
56 | +# | ||
57 | +# matchIpv4Dscp = true | ||
58 | + | ||
59 | +# | ||
60 | +# Matching of IPv6 addresses and Next-Header field | ||
61 | +# - must be enabled to match IPv6 Flow Label, TCP/UDP ports and ICMP type/code | ||
62 | +# | ||
63 | +# matchIpv6Address = true | ||
64 | + | ||
65 | +# | ||
66 | +# Matching of IPv6 Flow Label | ||
67 | +# | ||
68 | +# matchIpv6FlowLabel = true | ||
69 | + | ||
70 | +# | ||
71 | +# Matching of TCP/UDP ports for IPv4 and IPv6 | ||
72 | +# | ||
73 | +# matchTcpUdpPorts = true | ||
74 | + | ||
75 | +# | ||
76 | +# Matching of ICMP Type and Code fields for IPv4 and IPv6 | ||
77 | +# | ||
78 | +# matchIcmpFields = true | ||
79 | + | ... | ... |
-
Please register or login to post a comment