Changes between Version 45 and Version 46 of GENIRacksHome/ExogeniRacks/AcceptanceTestStatus/EG-EXP-6


Ignore:
Timestamp:
09/17/12 11:58:39 (7 years ago)
Author:
lnevers@bbn.com
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GENIRacksHome/ExogeniRacks/AcceptanceTestStatus/EG-EXP-6

    v45 v46  
    754754== 32. Get switch statistics and flowtable entries for slivers from the OpenFlow switch. ==
    755755
     756The head node runs the !FlowVisor for the !OpenFlow switch in the ExoGENI rack. To get access to switch and slice statistics login access to the head node in the ExoGENI rack is required, this is not normally available to experimenters.
     757
     758Determined how many slices were running according to !FlowVisor:
     759{{{
     760[lnevers@bbn-hn ~]$ /opt/flowvisor/bin/fvctl --passwd-file=/opt/flowvisor/etc/flowvisor/fvpasswd listSlices
     761Slice 0: f08d3095-1c80-4d13-bb55-77fe60cc2743
     762Slice 1: 21095873-0df9-4254-ba15-9af4e817d3a2
     763Slice 2: fvadmin
     764Slice 3: 4a1d909c-b0c7-45a7-b100-01e0b1d8bd3a
     765Slice 4: 8aad0aae-ae92-4a3c-bd5e-43f7456f628e
     766Slice 5: 013f6aa7-e600-4be5-9e31-5c0436223dfd
     767Slice 6: e10d67f9-4680-4774-9968-aae42c8fdccb
     768}}}
     769In this example, we will be looking for the !FlowVisor Slice associated with EG-EXP-6-exp3. So we have to show the slice information for each of the above to determine which is one that maps to EG-EXP-6-exp3.
     770{{{
     771[lnevers@bbn-hn ~]$ /opt/flowvisor/bin/fvctl --passwd-file=/opt/flowvisor/etc/flowvisor/fvpasswd getSliceInfo f08d3095-1c80-4d13-bb55-77fe60cc2743
     772Got reply:
     773connection_1=00:01:08:17:f4:b5:2a:00-->/192.1.242.3:47453-->mallorea.gpolab.bbn.com/192.1.249.185:33020
     774contact_email=lnevers@bbn.com
     775controller_hostname=mallorea.gpolab.bbn.com
     776controller_port=33020
     777creator=fvadmin
     778}}}
     779The Experiment EG-EXP-6-exp-3 uses the controller mallorea.gpolab.bbn.com on port 33020 in our OpenFlow RSpec
     780 [http://groups.geni.net/geni/browser/trunk/GENIRacks/ExoGENI/Spiral4/Rspecs/AcceptanceTests/EG-EXP-6/EG-EXP-6-exp3-openflow-exobbn.rspec EG-EXP-6-exp3-openflow-exobbn.rspec] for the ExoGENI FOAM.
     781
     782Now that we have identified the slice, we can get statistics for it:
     783{{{
     784[lnevers@bbn-hn ~]$ /opt/flowvisor/bin/fvctl --passwd-file=/opt/flowvisor/etc/flowvisor/fvpasswd getSliceStats f08d3095-1c80-4d13-bb55-77fe60cc2743
     785Got reply:
     786---Sent---
     787slicer_f08d3095-1c80-4d13-bb55-77fe60cc2743_dpid=00:01:08:17:f4:b5:2a:00 :: ECHO_REPLY=791,FEATURES_REQUEST=10,PACKET_IN=312398,PACKET_OUT=3403704,ECHO_REQUEST=791,FLOW_MOD=4292,ERROR=20,FEATURES_REPLY=10,HELLO=20,SET_CONFIG=10,FLOW_REMOVED=474,VENDOR=10
     788Total :: ECHO_REPLY=791,FEATURES_REQUEST=10,PACKET_IN=312398,PACKET_OUT=3403704,ECHO_REQUEST=791,FLOW_MOD=4292,ERROR=20,FEATURES_REPLY=10,HELLO=20,SET_CONFIG=10,FLOW_REMOVED=474,VENDOR=10
     789---Recv---
     790slicer_f08d3095-1c80-4d13-bb55-77fe60cc2743_dpid=00:01:08:17:f4:b5:2a:00 :: ECHO_REPLY=791,FLOW_MOD=4292,FEATURES_REQUEST=10,HELLO=10,SET_CONFIG=10,PACKET_OUT=3403704,VENDOR=10
     791Total :: ECHO_REPLY=791,FLOW_MOD=4292,FEATURES_REQUEST=10,HELLO=10,SET_CONFIG=10,PACKET_OUT=3403704,VENDOR=10
     792---Drop---
     793classifier-dpid=00:01:08:17:f4:b5:2a:00 :: FLOW_REMOVED=25
     794slicer_f08d3095-1c80-4d13-bb55-77fe60cc2743_dpid=00:01:08:17:f4:b5:2a:00 :: ECHO_REQUEST=2
     795Total :: ECHO_REQUEST=2,FLOW_REMOVED=25
     796}}}
     797
     798Determine the switch specific information, by first listing the devices and then the detailed information about them:
     799{{{
     800[lnevers@bbn-hn ~]$ /opt/flowvisor/bin/fvctl --passwd-file=/opt/flowvisor/etc/flowvisor/fvpasswd listDevices
     801Device 0: 00:01:08:17:f4:b5:2a:00
     802[lnevers@bbn-hn ~]$ /opt/flowvisor/bin/fvctl --passwd-file=/opt/flowvisor/etc/flowvisor/fvpasswd getDeviceInfo 00:01:08:17:f4:b5:2a:00
     803nPorts=51
     804portList=1,5,9,13,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,64
     805dpid=00:01:08:17:f4:b5:2a:00
     806remote=/192.168.103.10:6633-->/192.168.103.4:64431
     807portNames=1(1),5(5),9(9),13(13),17(17),18(18),19(19),20(20),21(21),22(22),23(23),24(24),25(25),26(26),27(27),28(28),29(29),30(30),31(31),32(32),33(33),34(34),35(35),36(36),37(37),38(38),39(39),40(40),41(41),42(42),43(43),44(44),45(45),46(46),47(47),48(48),49(49),50(50),51(51),52(52),53(53),54(54),55(55),56(56),57(57),58(58),59(59),60(60),61(61),62(62),64(64)
     808}}}
     809
     810To show statistics for the one !OpenFlow device in the ExoGENI Rack:
     811{{{
     812[lnevers@bbn-hn ~]$ /opt/flowvisor/bin/fvctl --passwd-file=/opt/flowvisor/etc/flowvisor/fvpasswd getSwitchStats 00:01:08:17:f4:b5:2a:00
     813Got reply:
     814---Sent---
     815classifier-dpid=00:01:08:17:f4:b5:2a:00 :: ECHO_REQUEST=146870,ECHO_REPLY=24472,FLOW_MOD=27784,FEATURES_REQUEST=25,STATS_REQUEST.DESC=11,GET_CONFIG_REQUEST=10,HELLO=1,SET_CONFIG=23,PACKET_OUT=7537686,VENDOR=13
     816Total :: ECHO_REQUEST=146870,ECHO_REPLY=24472,FLOW_MOD=27784,FEATURES_REQUEST=25,STATS_REQUEST.DESC=11,GET_CONFIG_REQUEST=10,HELLO=1,SET_CONFIG=23,PACKET_OUT=7537686,VENDOR=13
     817---Recv---
     818classifier-dpid=00:01:08:17:f4:b5:2a:00 :: ECHO_REQUEST=24472,ECHO_REPLY=146870,STATS_REPLY.DESC=11,ERROR=1709,PACKET_IN=994158,FEATURES_REPLY=25,GET_CONFIG_REPLY=10,HELLO=1,FLOW_REMOVED=23862
     819Total :: ECHO_REQUEST=24472,ECHO_REPLY=146870,STATS_REPLY.DESC=11,ERROR=1709,PACKET_IN=994158,FEATURES_REPLY=25,GET_CONFIG_REPLY=10,HELLO=1,FLOW_REMOVED=23862
     820---Drop---
     821Total ::
     822}}}
     823
     824To show further topology information, used access to the head node to run !FlowVisor for the !OpenFlow switch in the ExoGENI rack. Note that ExoGENI head node access is not normally available to experimenters. These are the FlowSpaces related to the EG-EXP-6-exp3, which uses network address 10.42.11.0:
     825
     826{{{
     827[lnevers@bbn-hn ~]$ /opt/flowvisor/bin/fvctl --passwd-file=/opt/flowvisor/etc/flowvisor/fvpasswd listFlowSpace |egrep 10.42.11.0
     828rule 10: FlowEntry[dpid=[00:01:08:17:f4:b5:2a:00],ruleMatch=[OFMatch[dl_type=0x800,dl_vlan=0x6d6,nw_dst=10.42.11.0/24,nw_src=10.42.11.0/24]],actionsList=[Slice:f08d3095-1c80-4d13-bb55-77fe60cc2743=4],id=[51458425],priority=[100],]
     829rule 11: FlowEntry[dpid=[00:01:08:17:f4:b5:2a:00],ruleMatch=[OFMatch[dl_type=0x806,dl_vlan=0x6d6,nw_dst=10.42.11.0/24,nw_src=10.42.11.0/24]],actionsList=[Slice:f08d3095-1c80-4d13-bb55-77fe60cc2743=4],id=[51458427],priority=[100],]
     830}}}
     831
     832Some addition information about Version and configuration:
     833{{{
     834
     835[lnevers@bbn-hn ~]$ /opt/flowvisor/bin/fvctl --passwd-file=/opt/flowvisor/etc/flowvisor/fvpasswd getConfig 'flowvisor'
     836flowvisor 0 = flowvisor!api_webserver_port::INT : 8080
     837flowvisor 1 = flowvisor!api_jetty_webserver_port::INT : -1
     838flowvisor 2 = flowvisor!log_ident::STR : flowvisor
     839flowvisor 3 = flowvisor!checkpointing::BOOL : true
     840flowvisor 4 = flowvisor!listen_port::INT : 6633
     841flowvisor 5 = flowvisor!track_flows::BOOL : false
     842flowvisor 6 = flowvisor!logging::STR : NOTE
     843flowvisor 7 = flowvisor!stats_desc_hack::BOOL : true
     844flowvisor 8 = flowvisor!run_topology_server::BOOL : true
     845flowvisor 9 = flowvisor!log_facility::STR : LOG_LOCAL7
     846
     847[lnevers@bbn-hn ~]$ /opt/flowvisor/bin/fvctl --passwd-file=/opt/flowvisor/etc/flowvisor/fvpasswd ping hello
     848Got reply:
     849PONG(fvadmin): FV version=flowvisor-0.8.1::hello
     850
     851}}}
     852
    756853== 33. Get layer 2 topology information about slivers in each slice. ==
    757854
     
    767864
    768865
     866
     867
     868
     869
    769870== 34. Install flows that match on layer 2 fields and/or layer 3 fields. ==
    770871