Changes between Version 55 and Version 56 of GENIRacksHome/InstageniRacks/AcceptanceTestStatus/IG-EXP-5


Ignore:
Timestamp:
01/17/13 14:50:18 (10 years ago)
Author:
lnevers@bbn.com
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GENIRacksHome/InstageniRacks/AcceptanceTestStatus/IG-EXP-5

    v55 v56  
    14621462}}}
    14631463
    1464 Inserted a flow modification, which was rejected traffic to the WAPG node pg51 (10.41.11.151).
    1465 {{{
    1466 $ curl -d '{"switch": "06:d6:00:24:a8:5d:0b:00","name":"flow-mod-1", "cookie":"0", "match":{"dataLayerDestination":"02:e9:c1:7d:03:c7","dataLayerSource":"02:43:26:66:f8:20","dataLayerType":"0x0800", "inputPort":7,"networkDestination":"10.42.11.37","networkDestinationMaskLen":32,"networkSource":"10.42.11.38","networkSourceMaskLen":32,"action":[{"port":7,"type":"OUTPUT"}]  }' http://localhost:9090/wm/staticflowentrypusher/json
    1467 {"success":false,"informational":false,"reasonPhrase":"Not Found","uri":"http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.5","serverError":false,"connectorError":false,"clientError":true,"globalError":false,"redirection":false,"recoverableError":false,"name":"Not Found","error":true,"throwable":null,"description":"The server has not found anything matching the request URI","code":404}
    1468 $
    1469  
    1470 $ curl -X DELETE -d '{"switch": "06:d6:00:24:a8:5d:0b:00","name":"flow-mod-1", "cookie":"0", "match":{"dataLayerDestination":"02:e9:c1:7d:03:c7","dataLayerSource":"02:43:26:66:f8:20","dataLayerType":"0x0800", "inputPort":7,"networkDestination":"10.42.11.37","networkDestinationMaskLen":32,"networkSource":"10.42.11.38","networkSourceMaskLen":32,"action":[{"port":7,"type":"OUTPUT"}]  }' http://localhost:9090/wm/staticflowentrypusher/json
    1471 {"success":false,"informational":false,"reasonPhrase":"Not Found","uri":"http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.5","serverError":false,"connectorError":false,"clientError":true,"globalError":false,"redirection":false,"recoverableError":false,"name":"Not Found","error":true,"throwable":null,"description":"The server has not found anything matching the request URI","code":404}
    1472 $
    1473 }}}
    1474 
     1464First checked that there are no existing static flows:
     1465{{{
     1466$ curl http://localhost:9090/wm/staticflowentrypusher/list/all/json
     1467{}
     1468}}}
     1469
     1470Set a static flow named "flow-mod-1" and checked that it was applied:
     1471
     1472{{{
     1473$ curl -d '{"switch": "06:d6:00:24:a8:5d:0b:00", "name":"flow-mod-1", "priority":"32768", "networkSource":"10.42.13.43","active":"true", "actions":"output=2"}' http://localhost:9090/wm/staticflowentrypusher/json
     1474{"status" : "Entry pushed"}
     1475}}}
     1476
     1477Verify that the flow modification is applied:
     1478{{{
     1479$ curl http://localhost:9090/wm/staticflowentrypusher/list/all/json
     1480{"06:d6:00:24:a8:5d:0b:00":{"flow-mod-1":{"bufferId":-1,"cookie":45035997351236006,"idleTimeout":0,"hardTimeout":0,"match":{"dataLayerDestination":"00:00:00:00:00:00","dataLayerSource":"00:00:00:00:00:00","dataLayerType":"0x0000","dataLayerVirtualLan":-1,"dataLayerVirtualLanPriorityCodePoint":0,"inputPort":0,"networkDestination":"0.0.0.0","networkDestinationMaskLen":0,"networkProtocol":0,"networkSource":"0.0.0.0","networkSourceMaskLen":0,"networkTypeOfService":0,"transportDestination":0,"transportSource":0,"wildcards":4194303},"command":0,"outPort":-1,"actions":[{"maxLength":32767,"port":2,"lengthU":8,"length":8,"type":"OUTPUT"}],"priority":-32768,"flags":0,"lengthU":80,"xid":0,"length":80,"type":"FLOW_MOD","version":1}
     1481}}}
    14751482
    14761483== 27. Verify that traffic is delivered to target according to the flowmods settings ==
    14771484
    1478 Unable to determine how to define a valid flow-mods??? Step incomplete!!!!!
    1479 
     1485Traffic continued to flow as expected, deleted the static flow entry "flow-mod-1" and checked that it was removed:
     1486{{{
     1487$ curl -X DELETE -d '{"switch": "06:d6:00:24:a8:5d:0b:00", "name":"flow-mod-1", "priority":"32768", "networkSource":"10.42.13.43","active":"true", "actions":"output=2"}' http://localhost:9090/wm/staticflowentrypusher/json
     1488{"status" : "Entry flow-mod-1 deleted"}
     1489$ curl http://localhost:9090/wm/staticflowentrypusher/list/all/json
     1490{"06:d6:00:24:a8:5d:0b:00":{}}
     1491}}}
    14801492
    14811493== 28. Review baseline, GMOC, and monitoring statistics ==