Committed by
Gerrit Code Review
Nicira extension for setting nsh header fields is modified to set field
Change-Id: I4c9d39a2e83315324c23954e491b20d43a5c63cc
Showing
1 changed file
with
0 additions
and
24 deletions
... | @@ -136,30 +136,6 @@ public class NiciraExtensionTreatmentInterpreter extends AbstractHandlerBehaviou | ... | @@ -136,30 +136,6 @@ public class NiciraExtensionTreatmentInterpreter extends AbstractHandlerBehaviou |
136 | return factory.actions().niciraResubmitTable((int) resubmitTable.inPort().toLong(), | 136 | return factory.actions().niciraResubmitTable((int) resubmitTable.inPort().toLong(), |
137 | resubmitTable.table()); | 137 | resubmitTable.table()); |
138 | } | 138 | } |
139 | - if (type.equals(ExtensionTreatmentType.ExtensionTreatmentTypes.NICIRA_SET_NSH_SPI.type())) { | ||
140 | - NiciraSetNshSpi niciraNshSpi = (NiciraSetNshSpi) extensionTreatment; | ||
141 | - return factory.actions().niciraSetNsp(niciraNshSpi.nshSpi().servicePathId()); | ||
142 | - } | ||
143 | - if (type.equals(ExtensionTreatmentType.ExtensionTreatmentTypes.NICIRA_SET_NSH_SI.type())) { | ||
144 | - NiciraSetNshSi niciraNshSi = (NiciraSetNshSi) extensionTreatment; | ||
145 | - return factory.actions().niciraSetNsp(niciraNshSi.nshSi().serviceIndex()); | ||
146 | - } | ||
147 | - if (type.equals(ExtensionTreatmentType.ExtensionTreatmentTypes.NICIRA_SET_NSH_CH1.type())) { | ||
148 | - NiciraSetNshContextHeader niciraNshch = (NiciraSetNshContextHeader) extensionTreatment; | ||
149 | - return factory.actions().niciraSetNshc1(niciraNshch.nshCh().nshContextHeader()); | ||
150 | - } | ||
151 | - if (type.equals(ExtensionTreatmentType.ExtensionTreatmentTypes.NICIRA_SET_NSH_CH2.type())) { | ||
152 | - NiciraSetNshContextHeader niciraNshch = (NiciraSetNshContextHeader) extensionTreatment; | ||
153 | - return factory.actions().niciraSetNshc2(niciraNshch.nshCh().nshContextHeader()); | ||
154 | - } | ||
155 | - if (type.equals(ExtensionTreatmentType.ExtensionTreatmentTypes.NICIRA_SET_NSH_CH3.type())) { | ||
156 | - NiciraSetNshContextHeader niciraNshch = (NiciraSetNshContextHeader) extensionTreatment; | ||
157 | - return factory.actions().niciraSetNshc3(niciraNshch.nshCh().nshContextHeader()); | ||
158 | - } | ||
159 | - if (type.equals(ExtensionTreatmentType.ExtensionTreatmentTypes.NICIRA_SET_NSH_CH4.type())) { | ||
160 | - NiciraSetNshContextHeader niciraNshch = (NiciraSetNshContextHeader) extensionTreatment; | ||
161 | - return factory.actions().niciraSetNshc4(niciraNshch.nshCh().nshContextHeader()); | ||
162 | - } | ||
163 | if (type.equals(ExtensionTreatmentType.ExtensionTreatmentTypes.NICIRA_MOV_ARP_SHA_TO_THA.type()) | 139 | if (type.equals(ExtensionTreatmentType.ExtensionTreatmentTypes.NICIRA_MOV_ARP_SHA_TO_THA.type()) |
164 | || type.equals(ExtensionTreatmentType.ExtensionTreatmentTypes.NICIRA_MOV_ARP_SPA_TO_TPA.type()) | 140 | || type.equals(ExtensionTreatmentType.ExtensionTreatmentTypes.NICIRA_MOV_ARP_SPA_TO_TPA.type()) |
165 | || type.equals(ExtensionTreatmentType.ExtensionTreatmentTypes.NICIRA_MOV_ETH_SRC_TO_DST.type()) | 141 | || type.equals(ExtensionTreatmentType.ExtensionTreatmentTypes.NICIRA_MOV_ETH_SRC_TO_DST.type()) | ... | ... |
-
Please register or login to post a comment