| 756 | The 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 | |
| 758 | Determined 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 |
| 761 | Slice 0: f08d3095-1c80-4d13-bb55-77fe60cc2743 |
| 762 | Slice 1: 21095873-0df9-4254-ba15-9af4e817d3a2 |
| 763 | Slice 2: fvadmin |
| 764 | Slice 3: 4a1d909c-b0c7-45a7-b100-01e0b1d8bd3a |
| 765 | Slice 4: 8aad0aae-ae92-4a3c-bd5e-43f7456f628e |
| 766 | Slice 5: 013f6aa7-e600-4be5-9e31-5c0436223dfd |
| 767 | Slice 6: e10d67f9-4680-4774-9968-aae42c8fdccb |
| 768 | }}} |
| 769 | In 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 |
| 772 | Got reply: |
| 773 | connection_1=00:01:08:17:f4:b5:2a:00-->/192.1.242.3:47453-->mallorea.gpolab.bbn.com/192.1.249.185:33020 |
| 774 | contact_email=lnevers@bbn.com |
| 775 | controller_hostname=mallorea.gpolab.bbn.com |
| 776 | controller_port=33020 |
| 777 | creator=fvadmin |
| 778 | }}} |
| 779 | The 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 | |
| 782 | Now 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 |
| 785 | Got reply: |
| 786 | ---Sent--- |
| 787 | slicer_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 |
| 788 | Total :: 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--- |
| 790 | slicer_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 |
| 791 | Total :: ECHO_REPLY=791,FLOW_MOD=4292,FEATURES_REQUEST=10,HELLO=10,SET_CONFIG=10,PACKET_OUT=3403704,VENDOR=10 |
| 792 | ---Drop--- |
| 793 | classifier-dpid=00:01:08:17:f4:b5:2a:00 :: FLOW_REMOVED=25 |
| 794 | slicer_f08d3095-1c80-4d13-bb55-77fe60cc2743_dpid=00:01:08:17:f4:b5:2a:00 :: ECHO_REQUEST=2 |
| 795 | Total :: ECHO_REQUEST=2,FLOW_REMOVED=25 |
| 796 | }}} |
| 797 | |
| 798 | Determine 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 |
| 801 | Device 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 |
| 803 | nPorts=51 |
| 804 | portList=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 |
| 805 | dpid=00:01:08:17:f4:b5:2a:00 |
| 806 | remote=/192.168.103.10:6633-->/192.168.103.4:64431 |
| 807 | portNames=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 | |
| 810 | To 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 |
| 813 | Got reply: |
| 814 | ---Sent--- |
| 815 | classifier-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 |
| 816 | Total :: 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--- |
| 818 | classifier-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 |
| 819 | Total :: 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--- |
| 821 | Total :: |
| 822 | }}} |
| 823 | |
| 824 | To 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 |
| 828 | rule 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],] |
| 829 | rule 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 | |
| 832 | Some 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' |
| 836 | flowvisor 0 = flowvisor!api_webserver_port::INT : 8080 |
| 837 | flowvisor 1 = flowvisor!api_jetty_webserver_port::INT : -1 |
| 838 | flowvisor 2 = flowvisor!log_ident::STR : flowvisor |
| 839 | flowvisor 3 = flowvisor!checkpointing::BOOL : true |
| 840 | flowvisor 4 = flowvisor!listen_port::INT : 6633 |
| 841 | flowvisor 5 = flowvisor!track_flows::BOOL : false |
| 842 | flowvisor 6 = flowvisor!logging::STR : NOTE |
| 843 | flowvisor 7 = flowvisor!stats_desc_hack::BOOL : true |
| 844 | flowvisor 8 = flowvisor!run_topology_server::BOOL : true |
| 845 | flowvisor 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 |
| 848 | Got reply: |
| 849 | PONG(fvadmin): FV version=flowvisor-0.8.1::hello |
| 850 | |
| 851 | }}} |
| 852 | |