Permalink
Switch branches/tags
Nothing to show
Commits on Sep 28, 2010
  1. Start adding high-level code to manage the openflow connection. Curre…

    David Scott committed Sep 28, 2010
    …ntly this only exchanges HELLO messages and checks versions but this could be extended to (eg) keep track of transaction IDs.
    
    Signed-off-by: David Scott <dave.scott@eu.citrix.com>
Commits on Sep 27, 2010
  1. Extract out some definitions which should be useful in future.

    David Scott committed Sep 27, 2010
    Signed-off-by: David Scott <dave.scott@eu.citrix.com>
Commits on Sep 25, 2010
  1. Sending a STATS_REQUEST with type FLOW now seems to work i.e. the out…

    David Scott committed Sep 25, 2010
    …put looks
    
    similar to that of "ovs-ofctl dump-flows <switch>" except I may have misdefined
    the action.
    
    Signed-off-by: David Scott <dave.scott@eu.citrix.com>
  2. Fix test program after STATS_{REQUEST,REPLY} refactoring

    David Scott committed Sep 25, 2010
    Signed-off-by: David Scott <dave.scott@eu.citrix.com>
Commits on Sep 24, 2010
  1. Flesh out the STATS_{REQUEST,REPLY} a bit more -- all types now prese…

    David Scott committed Sep 24, 2010
    …nt but untested.
    
    Signed-off-by: David Scott <dave.scott@eu.citrix.com>
  2. Use the openflow_match nested packet explicitly

    David Scott committed Sep 24, 2010
    Signed-off-by: David Scott <dave.scott@eu.citrix.com>
  3. Improve the openflow_match (ofp_match) by creating openflow_flow_wild…

    David Scott committed Sep 24, 2010
    …cards
    
    Signed-off-by: David Scott <dave.scott@eu.citrix.com>
  4. Tidy up the FLOW_MOD message a little. Still need to hook in the open…

    David Scott committed Sep 24, 2010
    …flow_action
    
    Signed-off-by: David Scott <dave.scott@eu.citrix.com>
  5. Added openflow_action.mpl to represent ofp_action*

    David Scott committed Sep 24, 2010
    This is used (for example) in FLOW_MOD messages.
    
    Signed-off-by: David Scott <dave.scott@eu.citrix.com>
Commits on Sep 23, 2010
  1. SET_CONFIG doesn't generate a response so send a follow-up message which

    David Scott committed Sep 23, 2010
    does generate a response to test whether the packet stream is still in-sync.
    
    Signed-off-by: David Scott <dave.scott@eu.citrix.com>
  2. REASM and DROP should be bits in a bitmap, not distinct values in a v…

    David Scott committed Sep 23, 2010
    …ariant.
    
    Signed-off-by: David Scott <dave.scott@eu.citrix.com>
  3. Print "OK" on success and "ERROR" on failure

    David Scott committed Sep 23, 2010
    Signed-off-by: David Scott <dave.scott@eu.citrix.com>
Commits on Sep 22, 2010
  1. Send a real IEEE OUI in the VENDOR message (it still doesn't work tho…

    David Scott committed Sep 22, 2010
    …ugh)
    
    Signed-off-by: David Scott <dave.scott@eu.citrix.com>
  2. Add some status output to the test program for ease of debugging

    David Scott committed Sep 22, 2010
    Signed-off-by: David Scott <dave.scott@eu.citrix.com>
  3. Completely remove cpp macros

    David Scott committed Sep 22, 2010
    Signed-off-by: David Scott <dave.scott@eu.citrix.com>
  4. Switch to a nested packet for openflow_port_config (rather than OFP_P…

    David Scott committed Sep 22, 2010
    …ORT_CONFIG)
    
    Signed-off-by: David Scott <dave.scott@eu.citrix.com>
  5. Switch to using a nested packet for openflow_phy_port_feature.

    David Scott committed Sep 22, 2010
    Signed-off-by: David Scott <dave.scott@eu.citrix.com>
  6. Switch over to a nested packet (openflow_port) rather than the OFP_PO…

    David Scott committed Sep 22, 2010
    …RT macro
    
    Signed-off-by: David Scott <dave.scott@eu.citrix.com>
  7. Switch over to using a nested 'packet' for one instance of openflow_p…

    David Scott committed Sep 22, 2010
    …hy_port as a test. (Thanks to Anil for pointing out this should be possible)
    
    Note this requires an updated mplc.
    
    Signed-off-by: David Scott <dave.scott@eu.citrix.com>
Commits on Sep 21, 2010
  1. Minor tweak

    David Scott committed Sep 21, 2010
    Signed-off-by: David Scott <dave.scott@eu.citrix.com>
  2. Switch to using M.fold_env in another place.

    David Scott committed Sep 21, 2010
    Signed-off-by: David Scott <dave.scott@eu.citrix.com>
  3. Add the remaining openflow message types. Note some structures are st…

    David Scott committed Sep 21, 2010
    …ill missing, typically where a message has a data payload consisting of contiguous structures.
    
    Signed-off-by: David Scott <dave.scott@eu.citrix.com>
  4. Update another instance of a bitmap which can use a #define

    David Scott committed Sep 21, 2010
    Signed-off-by: David Scott <dave.scott@eu.citrix.com>
  5. Switch to using #define's for handling repeated bitmaps. Ideally we'd…

    David Scott committed Sep 21, 2010
    … be able to nest packets instead.
    
    Signed-off-by: David Scott <dave.scott@eu.citrix.com>
  6. Add trailing data portion to PACKET_OUT message

    David Scott committed Sep 21, 2010
    Signed-off-by: David Scott <dave.scott@eu.citrix.com>
Commits on Sep 17, 2010
  1. Process all .mpl files through cpp

    David Scott committed Sep 17, 2010
    Signed-off-by: David Scott <dave.scott@eu.citrix.com>
  2. Use a CPP #define to represent the ofp_port uint16.

    David Scott committed Sep 17, 2010
    Signed-off-by: David Scott <dave.scott@eu.citrix.com>
  3. Merge error_type and error_code since the spec defines the pair (erro…

    David Scott committed Sep 17, 2010
    …r_type, error_code) to have specific meanings.
    
    Signed-off-by: David Scott <dave.scott@eu.citrix.com>
  4. Use the new Mpl_stdlib.fold_env function

    David Scott committed Sep 17, 2010
    Signed-off-by: David Scott <dave.scott@eu.citrix.com>
Commits on Sep 6, 2010
  1. Fix a bunch of typos to make it all compile again.

    David Scott committed Sep 6, 2010
    Signed-off-by: David Scott <dave.scott@eu.citrix.com>
  2. Add LGPL + linking exception LICENSE file (copied from xen-api.hg)

    David Scott committed Sep 6, 2010
    Signed-off-by: David Scott <dave.scott@eu.citrix.com>
  3. Initial import of MPL definitions and simple test program.

    David Scott committed Sep 6, 2010
    Signed-off-by: David Scott <dave.scott@eu.citrix.com>
  4. Add README

    David Scott committed Sep 6, 2010