Skip to content
Snippets Groups Projects
user avatar
hwchiu authored
1. Modify the wm/core/switch/${id}/flow/json's return format, it use a
array to shows the flow entries, e.g. I think this format is more convenience for restapi caller.

"flows": [
        {
            "byte_count": "2498",
            "cookie": "0",
            "duration_sec": "4",
            "flags": "0",
            "hard_timeout_sec": "0",
            "idle_timeout_sec": "0",
            "instructions": {
                "apply_actions": {
                    "output": "-3"
                }
            },
            "match": {},
            "packet_count": "33",
            "priority": "32768",
            "table_id": "0",
            "version": "OF_13"
        },
        {
            "byte_count": "0",
            "cookie": "9007199254740992",
            "duration_sec": "2",
            "flags": "0",
            "hard_timeout_sec": "0",
            "idle_timeout_sec": "5",
            "instructions": {
                "apply_actions": {
                    "output": "1"
                }
            },
            "match": {
                "dl_dst": "e6:85:22:16:59:87",
                "dl_src": "b2:ac:81:4a:92:57",
                "dl_type": "2054",
                "ingress_port": "2"
            },
            "packet_count": "0",
            "priority": "0",
            "table_id": "0",
            "version": "OF_13"
        },
2. Adding the new coloum write_actions and replace the original action field to apply_actions.
3. Since the OF1.1+ use the OXM format to present the match filed, we don't need to use the wildcard to check what kind of the fild be used in the flow, we can directly use the query result. If we want to make it compatible with OF1.0, we need to use the version field to check in the javascript and modify the way how we get the match rules.
4. It has only been test with the default forwarding module and the flow entries looks right. It need to be tested with other match rule and actions.
5. replace the tab with 4-spaces
5fad7e12
History

Floodlight is the leading open source SDN controller. It is supported by a community of developers including a number of engineers from Big Switch Networks (http://www.bigswitch.com/).

OpenFlow is a open standard managed by Open Networking Foundation. It specifies a protocol through switch a remote controller can modify the behavior of networking devices through a well-defined “forwarding instruction set”. Floodlight is designed to work with the growing number of switches, routers, virtual witches, and access points that support the OpenFlow standard.

Feature Highlights:

  • Offers a module loading system that make it simple to extend and enhance.
  • Easy to set up with minimal dependencies
  • Supports a broad range of virtual- and physical- OpenFlow switches
  • Can handle mixed OpenFlow and non-OpenFlow networks – it can manage multiple “islands” of OpenFlow hardware switches
  • Designed to be high-performance – is the core of a commercial product from Big Switch Networks.
  • Support for OpenStack Quantum cloud orchestration platform}

To download a pre-built VM appliance, access documentation, and sign up for the mailing list, go to:

http://www.projectfloodlight.org/floodlight