Software Defined Networking
1835243 Members
2850 Online
110078 Solutions
New Discussion

Re: About getting response from RSDoc on flow addition

 
chaitrashree
Occasional Contributor

About getting response from RSDoc on flow addition

Hi all,

I have installed HP SDN controller of version 2.4.5 and i created mininet with openflow 1.0.

I tried to add a flow with icmp and udp protocols.

1. If i try to ping between the src and dest hosts it s pinging fine but the

byte and packet count is nt being  updated.i have attached to the snapshots for reference.

2. Is there any difference between the 1.0 and 1.3 response for Rest apis.

3. how to modify a particular field in the existing flow.

4. what is the json string to be given to delete a particular flow.

 

thank you

 

3 REPLIES 3
piricchio72
Valued Contributor

Re: About getting response from RSDoc on flow addition

Hello,

 

1) can you please add more details concerning the topology created and which clients are pinging each other?

2) no, there is no difference

 

for questions 3 and 4 please check the Rest API guide:

 

http://h20564.www2.hp.com/hpsc/doc/public/display?docId=c04383855

 

3) check section 4.2.10.3

4) check section 4.2.10.4

 

Regards,

 

Antonio

SDN Team

 

 

chaitrashree
Occasional Contributor

Re: About getting response from RSDoc on flow addition

{"flow": {
    "table_id": "0",
    "priority": 11111,
    "idle_timeout": 0,
     "hard_timeout": 0,
     "match": [
        {
          "eth_type": "ipv4"
        },
        {
          "ip_proto": "icmp"
        },
        {
          "ipv4_src": "10.0.0.1"
        },
        {
          "ipv4_dst": "10.0.0.3"
        }
      ],
    "actions": [
        {
          "output": "CONTROLLER"
        }
      ]
}}

 

 

same thing happening with tcp and udp .But the byte and packet and packet count is updating in both RSdoc and HP controller UI.

 

And to delete api in RSDOC to delete flow is not active .Cant we do the flow deletion using the RSdoc?

 

 

thank you

piricchio72
Valued Contributor

Re: About getting response from RSDoc on flow addition

Hello,

 

Output provided seems to show that the flow you added works correctly and each packet matching the configured match conditions is sent to the controller.

Packets shown in the OpenFlow monitor page seems also to match (roughly) the number of ICMP packets lost between the 2 hosts.

again, am I missing something?

 

We cannot delete flows using RSDocs, we should use a different tool such as cURL.

 

Finally, I see you installed a GUI on the controller server and you are also running mininet on the same device.

Support suggestion is not to install a GUI on the server where the controller will run and also to run mininet on a separate device (controller=remote,ip=x.x.x.x)

 

Regards,

 

Antonio

SDN Team