| 599 | |
| 600 | Sent request for administrative account to site contact from the [http://groups.geni.net/geni/wiki/GeniAggregate/CaseWesternReserveInstaGENI CWRU InstaGENI] aggregate page. Followed instructions at the [http://groups.geni.net/geni/wiki/GENIRacksAdministration/InstaGENIAdministration InstaGENI Administration] page for account request. A local administrator account was requested by joining the ''emulab-ops'' group at https://www.geni.case.edu/joinproject.php3. Once the administrative account was approved and the membership to emulab-ops was granted, proceeded to execute administrative tests. |
| 601 | |
| 602 | {{{ |
| 603 | LNM:~$ ssh control.geni.case.edu |
| 604 | The authenticity of host 'control.geni.case.edu (192.171.20.67)' can't be established. |
| 605 | DSA key fingerprint is 15:20:ff:65:fb:33:80:c8:e9:59:b7:11:72:4b:af:64. |
| 606 | Are you sure you want to continue connecting (yes/no)? yes |
| 607 | Warning: Permanently added 'control.geni.case.edu,192.171.20.67' (DSA) to the list of known hosts. |
| 608 | Welcome to Ubuntu precise (development branch) (GNU/Linux 3.2.0-23-generic x86_64) |
| 609 | |
| 610 | * Documentation: https://help.ubuntu.com/ |
| 611 | |
| 612 | System information as of Mon Jan 5 16:11:12 UTC 2015 |
| 613 | |
| 614 | System load: 0.16 IP address for xenbr0: 192.171.20.67 |
| 615 | Usage of /: 35.1% of 5.85GB IP address for xenbr0:1: 172.16.0.1 |
| 616 | Memory usage: 10% IP address for xenbr1: 10.1.1.254 |
| 617 | Swap usage: 0% IP address for tun0: 10.8.0.1 |
| 618 | Processes: 163 IP address for xenbr2: 10.2.1.254 |
| 619 | Users logged in: 0 IP address for xenbr3: 10.3.1.254 |
| 620 | |
| 621 | Graph this data and manage this system at https://landscape.canonical.com/ |
| 622 | New release '14.04.1 LTS' available. |
| 623 | Run 'do-release-upgrade' to upgrade to it. |
| 624 | |
| 625 | |
| 626 | The programs included with the Ubuntu system are free software; |
| 627 | the exact distribution terms for each program are described in the |
| 628 | individual files in /usr/share/doc/*/copyright. |
| 629 | |
| 630 | Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by |
| 631 | applicable law. |
| 632 | |
| 633 | To run a command as administrator (user "root"), use "sudo <command>". |
| 634 | See "man sudo_root" for details. |
| 635 | |
| 636 | lnevers@casewestern:~$ sudo whoami |
| 637 | root |
| 638 | lnevers@casewestern:~$ uname -a |
| 639 | Linux casewestern.control-nodes.geniracks.net 3.2.0-23-generic #36-Ubuntu SMP Tue Apr 10 20:39:51 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux |
| 640 | lnevers@casewestern:~$ |
| 641 | }}} |
| 642 | |
| 643 | Also access the boss node: |
| 644 | {{{ |
| 645 | LNM:~$ ssh boss.geni.case.edu |
| 646 | FreeBSD 9.0-STABLE (TESTBED-XEN) #0: Tue Apr 30 14:24:36 MDT 2013 |
| 647 | |
| 648 | Welcome to FreeBSD! |
| 649 | |
| 650 | To change an environment variable in /bin/sh use: |
| 651 | |
| 652 | $ VARIABLE="value" |
| 653 | $ export VARIABLE |
| 654 | > bash |
| 655 | [lnevers@boss ~]$ sudo whoami |
| 656 | root |
| 657 | [lnevers@boss ~]$ uname -a |
| 658 | FreeBSD boss.geni.case.edu 9.0-STABLE FreeBSD 9.0-STABLE #0: Tue Apr 30 14:24:36 MDT 2013 root@n1.one-freebsd.testbed.emulab.net:/usr/obj/mnt/src/sys/TESTBED-XEN i386 |
| 659 | [lnevers@boss ~]$ |
| 660 | }}} |
| 661 | |
| 662 | From boss node accessed each of the experiment nodes that support VMs: |
| 663 | {{{ |
| 664 | [lnevers@boss ~]$ for i in pc1 pc2 pc3; do ssh $i "echo -n '===> Host: ';hostname;sudo whoami;uname -a;echo"; done |
| 665 | Warning: Permanently added 'pc1.geni.case.edu' (RSA) to the list of known hosts. |
| 666 | ===> Host: vhost1.shared-nodes.emulab-ops.geni.case.edu |
| 667 | root |
| 668 | Linux vhost1.shared-nodes.emulab-ops.geni.case.edu 2.6.32-042stab049.6.emulab.1 #1 SMP Mon May 21 14:36:04 MDT 2012 x86_64 x86_64 x86_64 GNU/Linux |
| 669 | |
| 670 | Warning: Permanently added 'pc2.geni.case.edu' (RSA) to the list of known hosts. |
| 671 | ===> Host: vhost2.shared-nodes.emulab-ops.geni.case.edu |
| 672 | root |
| 673 | Linux vhost2.shared-nodes.emulab-ops.geni.case.edu 3.2.0-56-generic #86-Ubuntu SMP Wed Oct 23 09:20:45 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux |
| 674 | |
| 675 | Warning: Permanently added 'pc3.geni.case.edu' (RSA) to the list of known hosts. |
| 676 | ===> Host: vhost3.shared-nodes.emulab-ops.geni.case.edu |
| 677 | root |
| 678 | Linux vhost3.shared-nodes.emulab-ops.geni.case.edu 3.2.0-56-generic #86-Ubuntu SMP Wed Oct 23 09:20:45 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux |
| 679 | |
| 680 | [lnevers@boss ~]$ |
| 681 | }}} |
| 682 | |
| 683 | In order to access Dedicated Nodes some experiment must be running on the raw-pc device. At the time of this capture two raw-pc nodes were in use (pc4 and pc5): |
| 684 | {{{ |
| 685 | [lnevers@boss ~]$ for i in pc4 pc5 ; do sudo ssh $i "echo -n '===> Host: ';hostname;whoami;uname -a;echo"; done |
| 686 | ===> Host: cwru-ig.ig-ct-4.ch-geni-net.geni.case.edu |
| 687 | root |
| 688 | Linux cwru-ig.ig-ct-4.ch-geni-net.geni.case.edu 2.6.40-4.emulab2.fc15.i686.PAE #1 SMP Tue Feb 26 13:35:12 MST 2013 i686 i686 i386 GNU/Linux |
| 689 | |
| 690 | ===> Host: cwru-ig2.ig-ct-4.ch-geni-net.geni.case.edu |
| 691 | root |
| 692 | Linux cwru-ig2.ig-ct-4.ch-geni-net.geni.case.edu 2.6.40-4.emulab2.fc15.i686.PAE #1 SMP Tue Feb 26 13:35:12 MST 2013 i686 i686 i386 GNU/Linux |
| 693 | |
| 694 | [lnevers@boss ~]$ |
| 695 | }}} |
| 696 | |
| 697 | Further verified access by ssh from ops.instageni.gpolab.bbn.com to boss.instageni.gpolab.bbn.com, which is usually restricted for non-admin users: |
| 698 | {{{ |
| 699 | LNM:~$ ssh ops.geni.case.edu |
| 700 | The authenticity of host 'ops.geni.case.edu (192.171.20.69)' can't be established. |
| 701 | RSA key fingerprint is 46:63:92:67:c8:75:20:4e:52:9f:2d:f6:cb:58:16:77. |
| 702 | Are you sure you want to continue connecting (yes/no)? yes |
| 703 | Warning: Permanently added 'ops.geni.case.edu,192.171.20.69' (RSA) to the list of known hosts. |
| 704 | FreeBSD 9.0-STABLE (TESTBED-XEN) #0: Tue Apr 30 14:24:36 MDT 2013 |
| 705 | |
| 706 | Welcome to FreeBSD! |
| 707 | |
| 708 | To see how long it takes a command to run, type the word "time" before the |
| 709 | command name. |
| 710 | -- Dru <genesis@istar.ca> |
| 711 | > bash |
| 712 | [lnevers@ops ~]$ ssh boss |
| 713 | The authenticity of host 'boss.geni.case.edu (192.171.20.68)' can't be established. |
| 714 | ECDSA key fingerprint is bd:05:23:a7:5b:cc:78:c8:8c:a8:d3:e9:f7:27:53:cb. |
| 715 | Are you sure you want to continue connecting (yes/no)? yes |
| 716 | Warning: Permanently added 'boss.geni.case.edu' (ECDSA) to the list of known hosts. |
| 717 | Last login: Mon Jan 5 10:13:02 2015 from 128.89.255.115 |
| 718 | FreeBSD 9.0-STABLE (TESTBED-XEN) #0: Tue Apr 30 14:24:36 MDT 2013 |
| 719 | |
| 720 | Welcome to FreeBSD! |
| 721 | |
| 722 | Time to change your password? Type "passwd" and follow the prompts. |
| 723 | -- Dru <genesis@istar.ca> |
| 724 | > bash |
| 725 | [lnevers@boss ~]$ |
| 726 | }}} |
| 727 | Access infrastructure switches using documented password. First connect to the switch named procurve1 the control network switch: |
| 728 | {{{ |
| 729 | [lnevers@boss ~]$ sudo more /usr/testbed/etc/switch.pswd |
| 730 | XXXXXXXXX |
| 731 | [lnevers@boss ~]$ sudo ssh procurve1 |
| 732 | We'd like to keep you up to date about: |
| 733 | * Software feature updates |
| 734 | * New product announcements |
| 735 | * Special events |
| 736 | Please register your products now at: www.hp.com/networking/register |
| 737 | |
| 738 | HP J9623A E2620-24 Switch |
| 739 | Software revision RA.15.05.0006 |
| 740 | |
| 741 | Copyright (C) 1991-2011 Hewlett-Packard Development Company, L.P. |
| 742 | |
| 743 | RESTRICTED RIGHTS LEGEND |
| 744 | Confidential computer software. Valid license from HP required for possession, |
| 745 | use or copying. Consistent with FAR 12.211 and 12.212, Commercial Computer |
| 746 | Software, Computer Software Documentation, and Technical Data for Commercial |
| 747 | Items are licensed to the U.S. Government under vendor's standard commercial |
| 748 | license. |
| 749 | HEWLETT-PACKARD DEVELOPMENT COMPANY, L.P. |
| 750 | 20555 State Highway 249, Houston, TX 77070 |
| 751 | |
| 752 | We'd like to keep you up to date about: |
| 753 | * Software feature updates |
| 754 | * New product announcements |
| 755 | * Special events |
| 756 | Please register your products now at: www.hp.com/networking/register |
| 757 | Password: |
| 758 | |
| 759 | HP-E2620-24# show version |
| 760 | Image stamp: /sw/code/build/xform(RA_15_05) |
| 761 | Aug 9 2011 09:08:18 |
| 762 | RA.15.05.0006 |
| 763 | 44 |
| 764 | Boot Image: Primary |
| 765 | HP-E2620-24# show vlan |
| 766 | |
| 767 | Status and Counters - VLAN Information |
| 768 | |
| 769 | Maximum VLANs to support : 256 |
| 770 | Primary VLAN : DEFAULT_VLAN |
| 771 | Management VLAN : control-hardware |
| 772 | |
| 773 | VLAN ID Name | Status Voice Jumbo |
| 774 | ------- -------------------------------- + ---------- ----- ----- |
| 775 | 1 DEFAULT_VLAN | Port-based No No |
| 776 | 10 control-hardware | Port-based No No |
| 777 | 11 control-alternate | Port-based No No |
| 778 | |
| 779 | |
| 780 | HP-E2620-24# show running-config |
| 781 | |
| 782 | Running configuration: |
| 783 | |
| 784 | ; J9623A Configuration Editor; Created on release #RA.15.05.0006 |
| 785 | ; Ver #01:01:00 |
| 786 | |
| 787 | hostname "HP-E2620-24" |
| 788 | ip default-gateway 10.1.1.254 |
| 789 | vlan 1 |
| 790 | name "DEFAULT_VLAN" |
| 791 | untagged 1-22,25-28 |
| 792 | ip address 10.254.254.253 255.255.255.0 |
| 793 | no untagged 23-24 |
| 794 | ip igmp |
| 795 | exit |
| 796 | vlan 11 |
| 797 | name "control-alternate" |
| 798 | untagged 24 |
| 799 | ip address 10.2.1.253 255.255.255.0 |
| 800 | exit |
| 801 | vlan 10 |
| 802 | name "control-hardware" |
| 803 | untagged 23 |
| 804 | ip address 10.1.1.253 255.255.255.0 |
| 805 | exit |
| 806 | no web-management |
| 807 | snmp-server community "xxx" unrestricted |
| 808 | aaa authentication ssh login public-key |
| 809 | aaa authentication ssh enable public-key |
| 810 | management-vlan 10 |
| 811 | no dhcp config-file-update |
| 812 | password xx |
| 813 | password xx |
| 814 | |
| 815 | HP-E2620-24# |
| 816 | |
| 817 | }}} |
| 818 | |
| 819 | Connect to the switch named procurve2 the dataplane network switch via ssh using the documented password: |
| 820 | {{{ |
| 821 | [lnevers@boss ~]$ sudo ssh manager@procurve2 |
| 822 | We'd like to keep you up to date about: |
| 823 | * Software feature updates |
| 824 | * New product announcements |
| 825 | * Special events |
| 826 | Please register your products now at: www.hp.com/networking/register |
| 827 | |
| 828 | HP J8697A Switch E5406zl |
| 829 | Software revision K.15.06.5008 |
| 830 | |
| 831 | Copyright (C) 1991-2012 Hewlett-Packard Development Company, L.P. |
| 832 | |
| 833 | RESTRICTED RIGHTS LEGEND |
| 834 | Confidential computer software. Valid license from HP required for possession, |
| 835 | use or copying. Consistent with FAR 12.211 and 12.212, Commercial Computer |
| 836 | Software, Computer Software Documentation, and Technical Data for Commercial |
| 837 | Items are licensed to the U.S. Government under vendor's standard commercial |
| 838 | license. |
| 839 | HEWLETT-PACKARD DEVELOPMENT COMPANY, L.P. |
| 840 | 20555 State Highway 249, Houston, TX 77070 |
| 841 | |
| 842 | We'd like to keep you up to date about: |
| 843 | * Software feature updates |
| 844 | * New product announcements |
| 845 | * Special events |
| 846 | Please register your products now at: www.hp.com/networking/register |
| 847 | |
| 848 | |
| 849 | |
| 850 | |
| 851 | Username: manager |
| 852 | Password: |
| 853 | |
| 854 | HP-E5406zl# show version |
| 855 | Image stamp: /ws/swbuildm/of_bridge_qaoff/code/build/btm(of_bridge_qaoff) |
| 856 | Feb 18 2012 11:26:28 |
| 857 | K.15.06.5008 |
| 858 | 79 |
| 859 | Boot Image: Primary |
| 860 | HP-E5406zl# show vlan |
| 861 | |
| 862 | Status and Counters - VLAN Information |
| 863 | |
| 864 | Maximum VLANs to support : 256 |
| 865 | Primary VLAN : DEFAULT_VLAN |
| 866 | Management VLAN : control-hardware |
| 867 | |
| 868 | VLAN ID Name | Status Voice Jumbo |
| 869 | ------- -------------------------------- + ---------- ----- ----- |
| 870 | 1 DEFAULT_VLAN | Port-based No No |
| 871 | 10 control-hardware | Port-based No No |
| 872 | 257 5000 | Port-based No No |
| 873 | 1752 5007 | Port-based No No |
| 874 | |
| 875 | |
| 876 | HP-E5406zl# show running-config |
| 877 | |
| 878 | Running configuration: |
| 879 | |
| 880 | ; J8697A Configuration Editor; Created on release #K.15.06.5008 |
| 881 | ; Ver #02:10.0d:1f |
| 882 | |
| 883 | hostname "HP-E5406zl" |
| 884 | module 1 type J9549A |
| 885 | module 2 type J9536A |
| 886 | interface A1 |
| 887 | speed-duplex auto-1000 |
| 888 | exit |
| 889 | interface A2 |
| 890 | speed-duplex auto-1000 |
| 891 | exit |
| 892 | interface A3 |
| 893 | speed-duplex auto-1000 |
| 894 | exit |
| 895 | interface A4 |
| 896 | speed-duplex auto-1000 |
| 897 | exit |
| 898 | interface A5 |
| 899 | speed-duplex auto-1000 |
| 900 | exit |
| 901 | interface A6 |
| 902 | speed-duplex auto-1000 |
| 903 | exit |
| 904 | interface A7 |
| 905 | speed-duplex auto-1000 |
| 906 | exit |
| 907 | interface A8 |
| 908 | speed-duplex auto-1000 |
| 909 | exit |
| 910 | interface A9 |
| 911 | speed-duplex auto-1000 |
| 912 | exit |
| 913 | interface A10 |
| 914 | speed-duplex auto-1000 |
| 915 | exit |
| 916 | interface A13 |
| 917 | speed-duplex auto-1000 |
| 918 | exit |
| 919 | ip default-gateway 10.3.1.7 |
| 920 | vlan 1 |
| 921 | name "DEFAULT_VLAN" |
| 922 | forbid A1-A9 |
| 923 | untagged A11-A12,A14-A18,A21-A24,B1-B20,B22 |
| 924 | tagged B21 |
| 925 | no untagged A1-A10,A13,A19-A20 |
| 926 | no ip address |
| 927 | exit |
| 928 | vlan 10 |
| 929 | name "control-hardware" |
| 930 | untagged A20 |
| 931 | ip address 10.3.1.253 255.255.255.0 |
| 932 | exit |
| 933 | vlan 257 |
| 934 | name "5000" |
| 935 | untagged A1-A9 |
| 936 | no ip address |
| 937 | exit |
| 938 | vlan 1752 |
| 939 | name "5007" |
| 940 | tagged A10,A13,A19 |
| 941 | no ip address |
| 942 | exit |
| 943 | no web-management |
| 944 | openflow |
| 945 | vlan 1752 |
| 946 | enable |
| 947 | controller "tcp:10.3.1.7:6633" fail-secure on |
| 948 | exit |
| 949 | exit |
| 950 | snmp-server community "xxx |
| 951 | |
| 952 | q" unrestricted |
| 953 | aaa authentication ssh login public-key |
| 954 | aaa authentication ssh enable public-key |
| 955 | management-vlan 10 |
| 956 | no autorun |
| 957 | no dhcp config-file-update |
| 958 | no dhcp image-file-update |
| 959 | password xxx |
| 960 | password xxx |
| 961 | |
| 962 | HP-E5406zl# |
| 963 | }}} |
| 964 | |
| 965 | Access the FOAM VM and gather information for version |
| 966 | {{{ |
| 967 | LNM:~$ ssh foam.geni.case.edu |
| 968 | The authenticity of host 'foam.geni.case.edu (192.171.20.70)' can't be establish |
| 969 | RSA key fingerprint is db:20:16:f8:8e:82:ce:20:a0:c6:25:27:73:10:8e:a5. |
| 970 | Are you sure you want to continue connecting (yes/no)? yes |
| 971 | Warning: Permanently added 'foam.geni.case.edu,192.171.20.70' (RSA) to the list |
| 972 | Welcome to Ubuntu 12.04.4 LTS (GNU/Linux 3.2.0-60-generic x86_64) |
| 973 | |
| 974 | * Documentation: https://help.ubuntu.com/ |
| 975 | New release '14.04.1 LTS' available. |
| 976 | Run 'do-release-upgrade' to upgrade to it. |
| 977 | |
| 978 | |
| 979 | The programs included with the Ubuntu system are free software; |
| 980 | the exact distribution terms for each program are described in the |
| 981 | individual files in /usr/share/doc/*/copyright. |
| 982 | |
| 983 | Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by |
| 984 | applicable law. |
| 985 | |
| 986 | lnevers@foam:~$ uname -a |
| 987 | Linux foam 3.2.0-60-generic #91-Ubuntu SMP Wed Feb 19 03:54:44 UTC 2014 x86_64 x |
| 988 | lnevers@foam:~$ sudo foamctl admin:get-version --passwd-file=/etc/foam.passwd |
| 989 | { |
| 990 | "version": "0.14.0" |
| 991 | } |
| 992 | lnevers@foam:~$ |
| 993 | }}} |
| 994 | Check FOAM configuration for site.admin.email, geni.site-tag, email.from settings: |
| 995 | {{{ |
| 996 | lnevers@foam:~$ foamctl config:get-value --key="site.admin.email" --passwd-file=/etc/foam.passwd |
| 997 | { |
| 998 | "value": null |
| 999 | } |
| 1000 | lnevers@foam:~$ foamctl config:get-value --key="geni.site-tag" --passwd-file=/etc/foam.passwd |
| 1001 | { |
| 1002 | "value": "foam.geni.case.edu" |
| 1003 | } |
| 1004 | lnevers@foam:~$ foamctl config:get-value --key="email.from" --passwd-file=/etc/foam.passwd |
| 1005 | { |
| 1006 | "value": "dcm81@case.edu" |
| 1007 | } |
| 1008 | |
| 1009 | # check if FOAM auto-approve is on. Value 2 = auto-approve is on. |
| 1010 | lnevers@foam:~$ foamctl config:get-value --key="geni.approval.approve-on-creation" --passwd-file=/etc/foam.passwd |
| 1011 | { |
| 1012 | "value": 2 |
| 1013 | } |
| 1014 | lnevers@foam:~$ |
| 1015 | }}} |
| 1016 | |
| 1017 | Show FOAM slivers details: |
| 1018 | |
| 1019 | {{{ |
| 1020 | lnevers@foam:~$ foamctl geni:list-slivers --passwd-file=/etc/foam.passwd |
| 1021 | { |
| 1022 | "slivers": [ |
| 1023 | { |
| 1024 | "status": "approved", |
| 1025 | "flowvisor_slice": "bb89e7eb-20ca-406c-8124-24e8d2531b79", |
| 1026 | "slice_urn": "urn:publicid:IDN+ch.geni.net:ln-test+slice+IG-CT-4", |
| 1027 | "pend_reason": [], |
| 1028 | "deleted": "False", |
| 1029 | "user": "urn:publicid:IDN+ch.geni.net+user+lnevers", |
| 1030 | "creation": "2015-01-05 15:18:27.747904+00:00", |
| 1031 | "enabled": true, |
| 1032 | "uuid": "bb89e7eb-20ca-406c-8124-24e8d2531b79", |
| 1033 | "id": 5, |
| 1034 | "expiration": "2015-01-12 15:17:49+00:00", |
| 1035 | "sliver_urn": "urn:publicid:IDN+ch.geni.net:ln-test+slice+IG-CT-4:bb89e7eb-20ca-406c-8124-24e8d2531b79", |
| 1036 | "ref": null, |
| 1037 | "email": "lnevers@bbn.com", |
| 1038 | "desc": "New Site Confirmation Test IG-CT-4 " |
| 1039 | } |
| 1040 | ] |
| 1041 | } |
| 1042 | |
| 1043 | |
| 1044 | }}} |
| 1045 | Access the FlowVisor VM and gather version information: |
| 1046 | {{{ |
| 1047 | |
| 1048 | LNM:~$ ssh flowvisor.geni.case.edu |
| 1049 | The authenticity of host 'flowvisor.geni.case.edu (192.171.20.71)' can't be established. |
| 1050 | RSA key fingerprint is fc:41:db:15:bf:bc:a3:ae:49:12:e6:63:dc:42:72:a1. |
| 1051 | Are you sure you want to continue connecting (yes/no)? yes |
| 1052 | Warning: Permanently added 'flowvisor.geni.case.edu,192.171.20.71' (RSA) to the list of known hosts. |
| 1053 | Welcome to Ubuntu 12.04.4 LTS (GNU/Linux 3.2.0-60-generic x86_64) |
| 1054 | |
| 1055 | * Documentation: https://help.ubuntu.com/ |
| 1056 | New release '14.04.1 LTS' available. |
| 1057 | Run 'do-release-upgrade' to upgrade to it. |
| 1058 | |
| 1059 | |
| 1060 | The programs included with the Ubuntu system are free software; |
| 1061 | the exact distribution terms for each program are described in the |
| 1062 | individual files in /usr/share/doc/*/copyright. |
| 1063 | |
| 1064 | Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by |
| 1065 | applicable law. |
| 1066 | |
| 1067 | lnevers@flowvisor:~$ sudo whoami |
| 1068 | root |
| 1069 | lnevers@flowvisor:~$ uname -a |
| 1070 | Linux flowvisor 3.2.0-60-generic #91-Ubuntu SMP Wed Feb 19 03:54:44 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux |
| 1071 | lnevers@flowvisor:~$ |
| 1072 | }}} |
| 1073 | Check the !FlowVisor version, list of devices, get details for a device, list of active slices, and details for one of the slices: |
| 1074 | {{{ |
| 1075 | |
| 1076 | lnevers@flowvisor:~$ fvctl --passwd-file=/etc/flowvisor.passwd ping hello |
| 1077 | Got reply: |
| 1078 | PONG(fvadmin): FV version=flowvisor-0.8.17::hello |
| 1079 | lnevers@flowvisor:~$ |
| 1080 | |
| 1081 | # Devices |
| 1082 | lnevers@flowvisor:~$ fvctl --passwd-file=/etc/flowvisor.passwd listDevices |
| 1083 | Device 0: 06:d8:84:34:97:d6:0d:00 |
| 1084 | lnevers@flowvisor:~$ |
| 1085 | |
| 1086 | lnevers@flowvisor:~$ fvctl --passwd-file=/etc/flowvisor.passwd getDeviceInfo 06:d8:84:34:97:d6:0d:00 |
| 1087 | nPorts=3 |
| 1088 | portList=65534,10,13 |
| 1089 | dpid=06:d8:84:34:97:d6:0d:00 |
| 1090 | remote=/10.3.1.7:6633-->/10.3.1.253:51822 |
| 1091 | portNames=local(65534),A10(10),A13(13) |
| 1092 | |
| 1093 | #Slices |
| 1094 | lnevers@flowvisor:~$ fvctl --passwd-file=/etc/flowvisor.passwd listSlices |
| 1095 | Slice 0: fvadmin |
| 1096 | Slice 1: bb89e7eb-20ca-406c-8124-24e8d2531b79 |
| 1097 | |
| 1098 | lnevers@flowvisor:~$ fvctl --passwd-file=/etc/flowvisor.passwd getSliceInfo bb89e7eb-20ca-406c-8124-24e8d2531b79 |
| 1099 | Got reply: |
| 1100 | drop_policy=exact |
| 1101 | connection_1=06:d8:84:34:97:d6:0d:00-->/192.171.20.71:37997-->mallorea.gpolab.bbn.com/192.1.249.185:33020 |
| 1102 | contact_email=lnevers@bbn.com |
| 1103 | controller_hostname=mallorea.gpolab.bbn.com |
| 1104 | controller_port=33020 |
| 1105 | creator=fvadmin |
| 1106 | lnevers@flowvisor:~$ |
| 1107 | }}} |
| 1108 | |
| 1109 | Check the FlowVisor setting: |
| 1110 | {{{ |
| 1111 | lnevers@flowvisor:~$ fvctl --passwd-file=/etc/flowvisor.passwd dumpConfig /tmp/flowvisor-config |
| 1112 | lnevers@flowvisor:~$ cat /tmp/flowvisor-config |
| 1113 | { |
| 1114 | "flowvisor": [ |
| 1115 | { |
| 1116 | "api_webserver_port": 8080, |
| 1117 | "api_jetty_webserver_port": -1, |
| 1118 | "checkpointing": false, |
| 1119 | "listen_port": 6633, |
| 1120 | "track_flows": false, |
| 1121 | "stats_desc_hack": false, |
| 1122 | "run_topology_server": false, |
| 1123 | "logging": "NOTE", |
| 1124 | "log_ident": "flowvisor", |
| 1125 | "log_facility": "LOG_LOCAL7", |
| 1126 | "version": "flowvisor-0.9", |
| 1127 | "host": "localhost", |
| 1128 | "default_flood_perm": "fvadmin", |
| 1129 | "config_name": "default" |
| 1130 | } |
| 1131 | ], |
| 1132 | "Slice": [ |
| 1133 | { |
| 1134 | "config_name": "default", |
| 1135 | "flowmap_type": "federated", |
| 1136 | "name": "fvadmin", |
| 1137 | "creator": "fvadmin", |
| 1138 | "passwd_crypt": "xxx", |
| 1139 | "passwd_salt": "xxx", |
| 1140 | "controller_hostname": "none", |
| 1141 | "controller_port": 0, |
| 1142 | "contact_email": "fvadmin@localhost", |
| 1143 | "drop_policy": "exact", |
| 1144 | "lldp_spam": true |
| 1145 | }, |
| 1146 | { |
| 1147 | "config_name": "default", |
| 1148 | "flowmap_type": "federated", |
| 1149 | "name": "bb89e7eb-20ca-406c-8124-24e8d2531b79", |
| 1150 | "creator": "fvadmin", |
| 1151 | "passwd_crypt": "xxx", |
| 1152 | "passwd_salt": "-xxx", |
| 1153 | "controller_hostname": "mallorea.gpolab.bbn.com", |
| 1154 | "controller_port": 33020, |
| 1155 | "contact_email": "lnevers@bbn.com", |
| 1156 | "drop_policy": "exact", |
| 1157 | "lldp_spam": true |
| 1158 | } |
| 1159 | ], |
| 1160 | "FlowSpaceRule": [ |
| 1161 | { |
| 1162 | "dpid": "6d8843497d60d00", |
| 1163 | "priority": 2000, |
| 1164 | "in_port": 0, |
| 1165 | "dl_type": 2048, |
| 1166 | "nw_src": 170527488, |
| 1167 | "nw_dst": 170527488, |
| 1168 | "wildcards": 3279087, |
| 1169 | "slice_action": [ |
| 1170 | { |
| 1171 | "bb89e7eb-20ca-406c-8124-24e8d2531b79": 4 |
| 1172 | } |
| 1173 | ] |
| 1174 | }, |
| 1175 | { |
| 1176 | "dpid": "6d8843497d60d00", |
| 1177 | "priority": 2000, |
| 1178 | "in_port": 0, |
| 1179 | "dl_type": 2054, |
| 1180 | "nw_src": 170527488, |
| 1181 | "nw_dst": 170527488, |
| 1182 | "wildcards": 3279087, |
| 1183 | "slice_action": [ |
| 1184 | { |
| 1185 | "bb89e7eb-20ca-406c-8124-24e8d2531b79": 4 |
| 1186 | } |
| 1187 | ] |
| 1188 | } |
| 1189 | ] |
| 1190 | }lnevers@flowvisor:~$ |
| 1191 | }}} |
| 1192 | |