Guest

Preview Tool

Cisco Bug: CSCup98286 - ODL:Flow request containing an invalid action should be rejected

Last Modified

Sep 14, 2019

Products (1)

  • Cisco Extensible Network Controller (XNC)

Known Affected Releases

1.0(0)

Description (partial)

Symptom:
Using the FlowProgrammerNorthbound REST API if a flow is specified with an invalid OpenFlow action the Controller does not reject the request, nor does it show an error message. Instead a flow entry is installed in the OpenFlow switch with a deny action. 

Below is an example of REST API request containing an invalid OpenFlow action. The action "SET_NE" specified in the <action> tag is not a valid OpenFlow action, but it is not rejected by XNC Controller

URL: http://171.71.9.109:8080/controller/nb/v2/flowprogrammer/default/node/OF/00:00:16:4e:d0:8f:c1:4b/staticFlow/F1

XML Request Body:

<flowConfig>
   <installInHw>true</installInHw>
   <name>F1</name>
   <node>
      <id>00:00:16:4e:d0:8f:c1:4b</id>
      <type>OF</type>
   </node>
   <ingressPort>1</ingressPort>
   <priority>500</priority>
   <etherType>0x800</etherType>
   <nwSxyz>9.9.5.5</nwSxyz>
   <actions>SET_NE=2.2.2.2</actions>
</flowConfig>

Conditions:
Using the REST API if a flow is specified with an invalid OpenFlow action the Controller does not reject the request, nor does it show an error message. Instead a flow entry is installed in the OpenFlow switch with a deny action.

This issue is not seen when using the GUI
Bug details contain sensitive information and therefore require a Cisco.com account to be viewed.

Bug Details Include

  • Full Description (including symptoms, conditions and workarounds)
  • Status
  • Severity
  • Known Fixed Releases
  • Related Community Discussions
  • Number of Related Support Cases
Bug information is viewable for customers and partners who have a service contract. Registered users can view up to 200 bugs per month without a service contract.