Ask is moving to Stack Overflow and Serverfault.com! Please use the "opendaylight" tag on either of these sites. This site is now in Read-Only mode

Revision history [back]

Action string for the forwaring to all ports

I am using ADSAL rest api to install the flow, I want to install the flow to forward the packet to all the ports except the ingress port, but I am not able to create the flow.

Following is the rest header and body for the call:

URL    
http://192.168.2.111:8080/controller/nb/v2/flowprogrammer/default/node/OF/00:00:00:00:00:00:00:01/staticFlow/s1flow

BODY:
    {"node": 
        {"type": "OF", 
         "id": "00:00:00:00:00:00:00:01"
         }, 
    "name": "s1flow", 
    "etherType": "0x0800", 
    "nwDst": "11.0.56.3/24", 
    "intalledInHw": "false", 
    "actions": ["OUTPUT=ALL"], 
    "priority": "503"
    }

Response: ERROR code 400
Invalid Configuration (Output port ALL is not valid for this switch)

please let me know, If I am missing in this rest call to create a flood flow.

Action string for the forwaring to all ports

I am using ADSAL rest api to install the flow, I want to install the flow to forward the packet to all the ports except the ingress port, but I am not able to create the flow.

Following is the rest header and body for the call:

URL    
http://192.168.2.111:8080/controller/nb/v2/flowprogrammer/default/node/OF/00:00:00:00:00:00:00:01/staticFlow/s1flow

BODY:
    {"node": 
        {"type": "OF", 
         "id": "00:00:00:00:00:00:00:01"
         }, 
    "name": "s1flow", 
    "etherType": "0x0800", 
    "nwDst": "11.0.56.3/24", 
    "intalledInHw": "false", 
    "actions": ["OUTPUT=ALL"],    I tried with value = all, flood, Flood
    "priority": "503"
    }

Response: ERROR code 400
Invalid Configuration (Output port ALL is not valid for this switch)

please let me know, If I am missing in this rest call to create a flood flow.