Software Defined Networking
1748168 Members
4180 Online
108758 Solutions
New Discussion

Rest API for setField action is not available

 
Kosaka1
Occasional Visitor

Rest API for setField action is not available

Hi all

 

Has anyone else tried to use REST API on RSdoc and operated the openflow protocol of "setField" action ?

We have just tested HP VAN Controller ver 2.5 and HP5900, we purchased.

 

Following URL, It found that "setField" action can modify only few fields for example dscp, vlan tag id... 

http://h30499.www3.hp.com/t5/SDN-Development/How-to-use-quot-set-field-quot/td-p/6285679

 

We want to modify "destination IP address" by using RSdoc.

 

Best Regard,

 

 

2 REPLIES 2
Joetel
Frequent Advisor

Re: Rest API for setField action is not available

Hi Kosaka,

 

The 5900 switch can match the ipv4_dst field but not set it. If your JSON is syntactically correct you still should get an 201 when you do a POST of it in RSDOC, but the switch should reject the flow. Let me know if this of help to you.

 

Best regards,

 

Wouter

HP SDN CoE Team

Kosaka1
Occasional Visitor

Re: Rest API for setField action is not available

Hi Wouter,

 

I tried to check and I would like to show you some screenshots.

 

As you said, jsonFlow including " ipv4_dst" was not applied HP5900.

Next, I tried to apply jsonFlow excluding "ipv4_dst" for confirmation and I could find that it was applied HP5900 correctly.

 

If possible, could you tell me the formal specification of "setFiled Action" for HP5900 ?

 

Best regards,

Kosaka