The switch test tool is now enabled to install and use group entries as follows:

        "prerequisite":[
            {
                "OFPGroupMod":{
                    "group_id":0,
                    "type":1,
                    "buckets":[
                        {
                            "OFPBucket":{
                                "weight":1,
                                "actions":[
                                    {
                                        "OFPActionOutput":{
                                            "port":2
                                        }
                                    }
                                ]
                            }
                        },
                        {
                            "OFPBucket":{
                                "weight":1,
                                "actions":[
                                    {
                                        "OFPActionOutput":{
                                            "port":3
                                        }
                                    }
                                ]
                            }
                        }
                    ]
                }
            },
            {
                "OFPFlowMod":{
                    "match":{
                        "OFPMatch":{
                            "oxm_fields":[
                                {
                                    "OXMTlv":{
                                        "field":"in_port",
                                        "value":1
                                    }
                                }
                            ]
                        }
                    },
                    "instructions":[
                        {
                            "OFPInstructionActions":{
                                "actions":[
                                    {
                                        "OFPActionGroup":{
                                            "group_id":0
                                        }
                                    }
                                ],
                                "type":4
                            }
                        }
                    ]
                }
            }
        ]


Yuichi Ito (7):
  sw test tool: Add a link between switches
  sw test tool: Add support for initialization of group tables
  sw test tool: Add support for installation of group tables
  sw test tool: Add support for confirmation of installed group entries
  sw test tool: Enable parsing OFPGroupMod messages in 'prerequisite'
  sw test tool: Enable sending packets using random values
  sw test tool: Add default test files (group:all/select)

 ryu/tests/switch/of13/group/00_ALL.json            |  332 +++++++++++++++++++
 ryu/tests/switch/of13/group/01_SELECT_Ether.json   |  341 ++++++++++++++++++++
 ryu/tests/switch/of13/group/01_SELECT_IP.json      |  341 ++++++++++++++++++++
 .../switch/of13/group/01_SELECT_Weight_Ether.json  |  341 ++++++++++++++++++++
 .../switch/of13/group/01_SELECT_Weight_IP.json     |  341 ++++++++++++++++++++
 ryu/tests/switch/run_mininet.py                    |    1 +
 ryu/tests/switch/tester.py                         |  113 +++++--
 7 files changed, 1790 insertions(+), 20 deletions(-)
 create mode 100644 ryu/tests/switch/of13/group/00_ALL.json
 create mode 100644 ryu/tests/switch/of13/group/01_SELECT_Ether.json
 create mode 100644 ryu/tests/switch/of13/group/01_SELECT_IP.json
 create mode 100644 ryu/tests/switch/of13/group/01_SELECT_Weight_Ether.json
 create mode 100644 ryu/tests/switch/of13/group/01_SELECT_Weight_IP.json

--
1.7.10.4


------------------------------------------------------------------------------
The best possible search technologies are now affordable for all companies.
Download your FREE open source Enterprise Search Engine today!
Our experts will assist you in its installation for $59/mo, no commitment.
Test it for FREE on our Cloud platform anytime!
http://pubads.g.doubleclick.net/gampad/clk?id=145328191&iu=/4140/ostg.clktrk
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to