Changes between Version 18 and Version 19 of GENIRacksHome/InstageniRacks/ConfirmationTestStatus/NPS


Ignore:
Timestamp:
06/13/14 15:54:13 (5 years ago)
Author:
lnevers@bbn.com
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GENIRacksHome/InstageniRacks/ConfirmationTestStatus/NPS

    v18 v19  
    10851085== IG-CT-6 - Administrative Tests ==
    10861086
     1087Sent request for administrative account to site contact from the [http://groups.geni.net/geni/wiki/GeniAggregate/NPSInstaGENI NPS 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.instageni.nps.edu/joinproject.php3.   Once the administrative account was approved and the membership to emulab-ops was granted, proceeded to execute administrative tests. 
     1088
     1089{{{
     1090$ ssh control.instageni.nps.edu
     1091The authenticity of host 'control.instageni.nps.edu (204.102.228.131)' can't be established.
     1092DSA key fingerprint is 46:e2:d5:87:22:13:56:8f:10:f2:29:e3:ac:b7:e3:51.
     1093Are you sure you want to continue connecting (yes/no)? yes
     1094Warning: Permanently added 'control.instageni.nps.edu,204.102.228.131' (DSA) to the list of known hosts.
     1095Welcome to Ubuntu precise (development branch) (GNU/Linux 3.2.0-23-generic x86_64)
     1096
     1097 * Documentation:  https://help.ubuntu.com/
     1098
     1099  System information as of Fri Jun 13 19:26:05 UTC 2014
     1100
     1101  System load:             0.0
     1102  Usage of /:              34.8% of 5.85GB
     1103  Memory usage:            35%
     1104  Swap usage:              0%
     1105  Processes:               164
     1106  Users logged in:         0
     1107  IP address for xenbr0:   204.102.228.131
     1108  IP address for xenbr0:1: 172.16.0.1
     1109  IP address for xenbr0:2: 10.249.249.253
     1110  IP address for xenbr1:   10.1.1.254
     1111  IP address for xenbr2:   10.2.1.254
     1112  IP address for xenbr3:   10.3.1.254
     1113  IP address for tun0:     10.8.0.1
     1114
     1115  Graph this data and manage this system at https://landscape.canonical.com/
     1116
     1117The programs included with the Ubuntu system are free software;
     1118the exact distribution terms for each program are described in the
     1119individual files in /usr/share/doc/*/copyright.
     1120
     1121Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by
     1122applicable law.
     1123
     1124To run a command as administrator (user "root"), use "sudo <command>".
     1125See "man sudo_root" for details.
     1126
     1127lnevers@nps:~$ sudo whoami
     1128root
     1129lnevers@nps:~$ uname -a
     1130Linux nps.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
     1131lnevers@nps:~$
     1132}}}
     1133
     1134Also access the boss node:
     1135{{{
     1136LNM:~$  ssh boss.instageni.nps.edu
     1137The authenticity of host 'boss.instageni.nps.edu (204.102.228.132)' can't be established.
     1138RSA key fingerprint is 46:63:92:67:c8:75:20:4e:52:9f:2d:f6:cb:58:16:77.
     1139Are you sure you want to continue connecting (yes/no)? yes
     1140Warning: Permanently added 'boss.instageni.nps.edu,204.102.228.132' (RSA) to the list of known hosts.
     1141FreeBSD 9.0-STABLE (TESTBED-XEN) #0: Tue Apr 30 14:24:36 MDT 2013
     1142
     1143Welcome to FreeBSD!
     1144
     1145Time to change your password? Type "passwd" and follow the prompts.
     1146                -- Dru <genesis@istar.ca>
     1147> bash
     1148[lnevers@boss ~]$ sudo whoami
     1149root
     1150[lnevers@boss ~]$ uname -a
     1151FreeBSD boss.instageni.nps.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
     1152[lnevers@boss ~]$
     1153}}}
     1154
     1155From boss node accessed each of the experiment nodes that support VMs:
     1156{{{
     1157[lnevers@boss ~]$  for i in pc1 pc2 pc3; do ssh $i "echo -n '===> Host: ';hostname;sudo whoami;uname -a;echo"; done
     1158Warning: Permanently added 'pc1.instageni.nps.edu' (RSA) to the list of known hosts.
     1159===> Host: vhost1.shared-nodes.emulab-ops.instageni.nps.edu
     1160root
     1161Linux vhost1.shared-nodes.emulab-ops.instageni.nps.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
     1162
     1163Warning: Permanently added 'pc2.instageni.nps.edu' (RSA) to the list of known hosts.
     1164===> Host: vhost2.shared-nodes.emulab-ops.instageni.nps.edu
     1165root
     1166Linux vhost2.shared-nodes.emulab-ops.instageni.nps.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
     1167
     1168Warning: Permanently added 'pc3.instageni.nps.edu' (RSA) to the list of known hosts.
     1169===> Host: vhost3.shared-nodes.emulab-ops.instageni.nps.edu
     1170root
     1171Linux vhost3.shared-nodes.emulab-ops.instageni.nps.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
     1172}}}
     1173
     1174In 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):
     1175[lnevers@boss ~]$ sudo ssh pc4
     1176[root@nps-ig2 ~]# sudo whoami;uname -a
     1177root
     1178Linux nps-ig2.ig-ct-4.ch-geni-net.instageni.nps.edu 2.6.40-4.emulab2.fc15.i686.PAE #1 SMP Tue Feb 26 13:35:12 MST 2013 i
     1179[root@nps-ig2 ~]# exit
     1180logout
     1181Connection to pc4.instageni.nps.edu closed.
     1182[lnevers@boss ~]$ sudo ssh pc5
     1183[root@nps-ig ~]# sudo whoami;uname -a
     1184root
     1185Linux nps-ig.ig-ct-4.ch-geni-net.instageni.nps.edu 2.6.40-4.emulab2.fc15.i686.PAE #1 SMP Tue Feb 26 13:35:12 MST 2013 i6
     1186[root@nps-ig ~]# exit
     1187logout
     1188Connection to pc5.instageni.nps.edu closed.
     1189[lnevers@boss ~]$
     1190
     1191}}}
     1192
     1193Further verified access by ssh from ops.instageni.nps.edu to boss.instageni.nps.edu, which is usually restricted for non-admin users:
     1194{{{
     1195LNM:~$ ssh ops.instageni.nps.edu
     1196The authenticity of host 'ops.instageni.nps.edu (204.102.228.133)' can't be established.
     1197RSA key fingerprint is 46:63:92:67:c8:75:20:4e:52:9f:2d:f6:cb:58:16:77.
     1198Are you sure you want to continue connecting (yes/no)? yes
     1199Warning: Permanently added 'ops.instageni.nps.edu,204.102.228.133' (RSA) to the list of known hosts.
     1200FreeBSD 9.0-STABLE (TESTBED-XEN) #0: Tue Apr 30 14:24:36 MDT 2013
     1201
     1202Welcome to FreeBSD!
     1203
     1204Any user that is a member of the wheel group can use "su -" to simulate
     1205a root login. You can add a user to the wheel group by editing /etc/group.
     1206                -- Konstantinos Konstantinidis <kkonstan@duth.gr>
     1207> bash
     1208[lnevers@ops ~]$ ssh boss
     1209The authenticity of host 'boss.instageni.nps.edu (204.102.228.132)' can't be established.
     1210ECDSA key fingerprint is bd:05:23:a7:5b:cc:78:c8:8c:a8:d3:e9:f7:27:53:cb.
     1211Are you sure you want to continue connecting (yes/no)? yes
     1212Warning: Permanently added 'boss.instageni.nps.edu' (ECDSA) to the list of known hosts.
     1213Last login: Fri Jun 13 12:26:46 2014 from 128.89.73.116
     1214FreeBSD 9.0-STABLE (TESTBED-XEN) #0: Tue Apr 30 14:24:36 MDT 2013
     1215
     1216Welcome to FreeBSD!
     1217
     1218To repeat the last command in the C shell, type "!!".
     1219                -- Dru <genesis@istar.ca>
     1220> bash
     1221[lnevers@boss ~]$
     1222}}}
     1223Access infrastructure switches using documented password. First connect to the switch named procurve1 the control network switch:
     1224{{{
     1225[lnevers@boss ~]$ sudo more /usr/testbed/etc/switch.pswd
     1226XXXXXXXXX
     1227[lnevers@boss ~]$ telnet procurve1
     1228Trying 10.1.1.253...
     1229Connected to procurve1.
     1230Escape character is '^]'.
     1231
     1232HP J9623A E2620-24 Switch
     1233Software revision RA.15.08.0009
     1234
     1235Copyright (C) 1991-2012 Hewlett-Packard Development Company, L.P.
     1236
     1237                   RESTRICTED RIGHTS LEGEND
     1238 Confidential computer software.  Valid license from HP required for possession,
     1239 use or copying. Consistent with FAR 12.211 and 12.212, Commercial Computer
     1240 Software, Computer Software Documentation, and Technical Data for Commercial
     1241 Items are licensed to the U.S. Government under vendor's standard commercial
     1242 license.
     1243                   HEWLETT-PACKARD DEVELOPMENT COMPANY, L.P.
     1244                   20555 State Highway 249, Houston, TX 77070
     1245
     1246We'd like to keep you up to date about:
     1247  * Software feature updates
     1248  * New product announcements
     1249  * Special events
     1250Please register your products now at:  www.hp.com/networking/register
     1251
     1252Username: manager
     1253Password:
     1254
     1255HP-E2620-24# show version
     1256Image stamp:    /ws/swbuildm/rel_galt_qaoff/code/build/xform(rel_galt_qaoff)
     1257                May  9 2012 15:28:43
     1258                RA.15.08.0009
     1259                474
     1260Boot Image:     Primary
     1261HP-E2620-24# show vlan
     1262
     1263 Status and Counters - VLAN Information
     1264
     1265  Maximum VLANs to support : 50                   
     1266  Primary VLAN : DEFAULT_VLAN     
     1267  Management VLAN : control-hardware
     1268
     1269  VLAN ID Name                             | Status     Voice Jumbo
     1270  ------- -------------------------------- + ---------- ----- -----
     1271  1       DEFAULT_VLAN                     | Port-based No    No   
     1272  10      control-hardware                 | Port-based No    No   
     1273  11      control-alternate                | Port-based No    No   
     1274 
     1275
     1276HP-E2620-24# show vlan 10
     1277
     1278 Status and Counters - VLAN Information - VLAN 10
     1279
     1280  VLAN ID : 10     
     1281  Name : control-hardware               
     1282  Status : Port-based
     1283  Voice : No
     1284  Jumbo : No
     1285
     1286  Port Information Mode     Unknown VLAN Status   
     1287  ---------------- -------- ------------ ----------
     1288  23               Untagged Learn        Up       
     1289 
     1290
     1291HP-E2620-24# show running-config
     1292
     1293Running configuration:
     1294
     1295; J9623A Configuration Editor; Created on release #RA.15.08.0009
     1296; Ver #02:13.2d:3c
     1297hostname "HP-E2620-24"
     1298max-vlans 50
     1299no stack
     1300no web-management
     1301ip default-gateway 10.1.1.254
     1302snmp-server community "xxx" unrestricted
     1303aaa authentication ssh login public-key
     1304aaa authentication ssh enable public-key
     1305vlan 1
     1306   name "DEFAULT_VLAN"
     1307   no untagged 23-24
     1308   untagged 1-22,25-28
     1309   ip address 10.254.254.253 255.255.255.0
     1310   ip igmp
     1311   exit
     1312vlan 10
     1313   name "control-hardware"
     1314   untagged 23
     1315   ip address 10.1.1.253 255.255.255.0
     1316   exit
     1317vlan 11
     1318   name "control-alternate"
     1319   untagged 24
     1320   ip address 10.2.1.253 255.255.255.0
     1321   exit
     1322management-vlan 10
     1323no dhcp config-file-update
     1324password xxx
     1325password xx
     1326
     1327HP-E2620-24#
     1328}}}
     1329
     1330Connect to the switch named procurve2 the dataplane network switch via ssh using the documented password:
     1331{{{
     1332[lnevers@boss ~]$ sudo cat /usr/testbed/etc/switch.pswd
     1333xxxxxxx
     1334[lnevers@boss ~]$ telnet procurve2
     1335Trying 10.3.1.253...
     1336Connected to procurve2.
     1337Escape character is '^]'.
     1338
     1339HP J8697A Switch E5406zl
     1340Software revision K.15.06.5008
     1341
     1342Copyright (C) 1991-2012 Hewlett-Packard Development Company, L.P.
     1343
     1344                   RESTRICTED RIGHTS LEGEND
     1345 Confidential computer software.  Valid license from HP required for possession,
     1346 use or copying. Consistent with FAR 12.211 and 12.212, Commercial Computer
     1347 Software, Computer Software Documentation, and Technical Data for Commercial
     1348 Items are licensed to the U.S. Government under vendor's standard commercial
     1349 license.
     1350                   HEWLETT-PACKARD DEVELOPMENT COMPANY, L.P.
     1351                   20555 State Highway 249, Houston, TX 77070
     1352
     1353We'd like to keep you up to date about:
     1354  * Software feature updates
     1355  * New product announcements
     1356  * Special events
     1357Please register your products now at:  www.hp.com/networking/register
     1358
     1359Username: manager
     1360Password:
     1361
     1362HP-E5406zl# show version
     1363Image stamp:    /ws/swbuildm/of_bridge_qaoff/code/build/btm(of_bridge_qaoff)
     1364                Feb 18 2012 11:26:28
     1365                K.15.06.5008
     1366                79
     1367Boot Image:     Primary
     1368HP-E5406zl# show vlan
     1369
     1370 Status and Counters - VLAN Information
     1371
     1372  Maximum VLANs to support : 256                 
     1373  Primary VLAN : DEFAULT_VLAN   
     1374  Management VLAN : control-hardware
     1375
     1376  VLAN ID Name                             | Status     Voice Jumbo
     1377  ------- -------------------------------- + ---------- ----- -----
     1378  1       DEFAULT_VLAN                     | Port-based No    No   
     1379  10      control-hardware                 | Port-based No    No   
     1380  257     5000                             | Port-based No    No   
     1381  1854    5007                             | Port-based No    No   
     1382 
     1383
     1384HP-E5406zl# show vlan 1854
     1385
     1386 Status and Counters - VLAN Information - VLAN 1854
     1387
     1388  VLAN ID : 1854   
     1389  Name : 5007                           
     1390  Status : Port-based
     1391  Voice : No
     1392  Jumbo : No
     1393
     1394  Port Information Mode     Unknown VLAN Status   
     1395  ---------------- -------- ------------ ----------
     1396  A1               Tagged   Learn        Up       
     1397  A10              Tagged   Learn        Up       
     1398  A13              Tagged   Learn        Up       
     1399  A17              Tagged   Learn        Down     
     1400  A19              Tagged   Learn        Up       
     1401 
     1402
     1403HP-E5406zl# show running-config
     1404
     1405Running configuration:
     1406
     1407; J8697A Configuration Editor; Created on release #K.15.06.5008
     1408; Ver #02:10.0d:1f
     1409
     1410hostname "HP-E5406zl"
     1411module 1 type J9549A
     1412interface A1
     1413   speed-duplex auto-1000
     1414exit
     1415interface A2
     1416   speed-duplex auto-1000
     1417exit
     1418interface A3
     1419   speed-duplex auto-1000
     1420exit
     1421interface A4
     1422   speed-duplex auto-1000
     1423exit
     1424interface A5
     1425   speed-duplex auto-1000
     1426exit
     1427interface A6
     1428   speed-duplex auto-1000
     1429exit
     1430interface A7
     1431   speed-duplex auto-1000
     1432exit
     1433interface A8
     1434   speed-duplex auto-1000
     1435exit
     1436interface A9
     1437   speed-duplex auto-1000
     1438exit
     1439interface A10
     1440   speed-duplex auto-1000
     1441exit
     1442interface A13
     1443   speed-duplex auto-1000
     1444exit
     1445ip default-gateway 10.3.1.254
     1446vlan 1
     1447   name "DEFAULT_VLAN"
     1448   forbid A1-A9
     1449   untagged A11-A12,A14-A16,A18,A21-A24
     1450   no untagged A1-A10,A13,A17,A19-A20
     1451   no ip address
     1452   exit
     1453vlan 10
     1454   name "control-hardware"
     1455   untagged A20
     1456   ip address 10.3.1.253 255.255.255.0
     1457   exit
     1458vlan 257
     1459   name "5000"
     1460   untagged A1-A9
     1461   no ip address
     1462   exit
     1463vlan 1854
     1464   name "5007"
     1465   tagged A1,A10,A13,A17,A19
     1466   no ip address
     1467   exit
     1468no web-management
     1469openflow
     1470   vlan 1854
     1471      enable
     1472      controller "tcp:10.3.1.7:6633" fail-secure on
     1473      exit
     1474   exit
     1475snmp-server community "xxx" unrestricted
     1476aaa authentication ssh login public-key
     1477aaa authentication ssh enable public-key
     1478management-vlan 10
     1479no autorun
     1480no dhcp config-file-update
     1481no dhcp image-file-update
     1482password xxx
     1483password xxx
     1484
     1485HP-E5406zl# 
     1486}}}
     1487
     1488Access the FOAM VM and gather information for version
     1489{{{
     1490LNM:~$ ssh lnevers@foam.nps.edu
     1491ssh: Could not resolve hostname foam.nps.edu: nodename nor servname provided, or
     1492LNM:~$ ssh foam.instageni.nps.edu
     1493The authenticity of host 'foam.instageni.nps.edu (204.102.228.134)' can't be est
     1494RSA key fingerprint is 9e:c0:7e:81:06:9d:9b:7e:00:eb:c9:42:63:6b:62:a2.
     1495Are you sure you want to continue connecting (yes/no)? yes
     1496Warning: Permanently added 'foam.instageni.nps.edu,204.102.228.134' (RSA) to the
     1497Welcome to Ubuntu 12.04.4 LTS (GNU/Linux 3.2.0-58-generic x86_64)
     1498
     1499 * Documentation:  https://help.ubuntu.com/
     1500
     1501The programs included with the Ubuntu system are free software;
     1502the exact distribution terms for each program are described in the
     1503individual files in /usr/share/doc/*/copyright.
     1504
     1505Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by
     1506applicable law.
     1507
     1508lnevers@foam:~$ sudo whoami; uname -a
     1509root
     1510Linux foam 3.2.0-58-generic #88-Ubuntu SMP Tue Dec 3 17:37:58 UTC 2013 x86_64 x8
     1511lnevers@foam:~$
     1512
     1513lnevers@foam:~$ sudo foamctl admin:get-version  --passwd-file=/etc/foam.passwd
     1514{
     1515 "version": "0.14.0"
     1516}
     1517lnevers@foam:~$
     1518
     1519}}}
     1520Check FOAM configuration for  site.admin.email, geni.site-tag, email.from settings:
     1521{{{
     1522lnevers@foam:~$ foamctl config:get-value --key="site.admin.email"  --passwd-file=/etc/foam.passwd
     1523{
     1524 "value": null
     1525}
     1526lnevers@foam:~$ foamctl config:get-value --key="geni.site-tag"  --passwd-file=/etc/foam.passwd
     1527{
     1528 "value": "foam.instageni.nps.edu"
     1529}
     1530lnevers@foam:~$ foamctl config:get-value --key="email.from"  --passwd-file=/etc/foam.passwd
     1531{
     1532 "value": "mkmonaha@nps.edu"
     1533}
     1534lnevers@foam:~$
     1535
     1536# check if FOAM auto-approve is on. Value 2 = auto-approve is on.
     1537
     1538lnevers@foam:~$ foamctl config:get-value --key="geni.approval.approve-on-creation"  --passwd-file=/etc/foam.passwd
     1539{
     1540 "value": 2
     1541}
     1542lnevers@foam:~$
     1543}}}
     1544
     1545Show FOAM slivers details:
     1546
     1547{{{
     1548lnevers@foam:~$ foamctl geni:list-slivers --passwd-file=/etc/foam.passwd
     1549{
     1550 "slivers": [
     1551  {
     1552   "status": "approved",
     1553   "flowvisor_slice": "05411ee0-3182-49fc-89d6-b3fdef7fffe0",
     1554   "slice_urn": "urn:publicid:IDN+ch.geni.net:SydTest+slice+ofCoreMonitor-syd",
     1555   "pend_reason": [],
     1556   "deleted": "False",
     1557   "user": "urn:publicid:IDN+ch.geni.net+user+asydne01",
     1558   "creation": "2014-05-20 17:11:18.528332+00:00",
     1559   "enabled": true,
     1560   "uuid": "05411ee0-3182-49fc-89d6-b3fdef7fffe0",
     1561   "id": 3,
     1562   "expiration": "2014-09-03 15:59:50+00:00",
     1563   "sliver_urn": "urn:publicid:IDN+ch.geni.net:SydTest+slice+ofCoreMonitor-syd:05411ee0-3182-49fc-89d6-b3fdef7fffe0",
     1564   "ref": null,
     1565   "email": "asydney@bbn.com",
     1566   "desc": "sydmon OpenFlow resources at BBN InstaGENI."
     1567  },
     1568  {
     1569   "status": "approved",
     1570   "flowvisor_slice": "374886bd-9c3e-4b95-8bd6-80abb4ab892d",
     1571   "slice_urn": "urn:publicid:IDN+ch.geni.net:gpo-infra+slice+tupty3715",
     1572   "pend_reason": [],
     1573   "deleted": "False",
     1574   "user": "urn:publicid:IDN+ch.geni.net+user+tupty",
     1575   "creation": "2014-05-22 18:43:35.340471+00:00",
     1576   "enabled": true,
     1577   "uuid": "374886bd-9c3e-4b95-8bd6-80abb4ab892d",
     1578   "id": 4,
     1579   "expiration": "2014-08-27 00:00:00+00:00",
     1580   "sliver_urn": "urn:publicid:IDN+ch.geni.net:gpo-infra+slice+tupty3715:374886bd-9c3e-4b95-8bd6-80abb4ab892d",
     1581   "ref": null,
     1582   "email": "tupty@bbn.com",
     1583   "desc": "tupty3715 OpenFlow resources at NPS InstaGENI."
     1584  },
     1585  {
     1586   "status": "approved",
     1587   "flowvisor_slice": "79a72c9f-c122-4dab-b3bb-b64c98924ec2",
     1588   "slice_urn": "urn:publicid:IDN+ch.geni.net:gpoamcanary+slice+sitemon",
     1589   "pend_reason": [],
     1590   "deleted": "False",
     1591   "user": "urn:publicid:IDN+ch.geni.net+user+asydne01",
     1592   "creation": "2014-06-04 15:04:34.238478+00:00",
     1593   "enabled": true,
     1594   "uuid": "79a72c9f-c122-4dab-b3bb-b64c98924ec2",
     1595   "id": 7,
     1596   "expiration": "2014-12-03 00:00:00+00:00",
     1597   "sliver_urn": "urn:publicid:IDN+ch.geni.net:gpoamcanary+slice+sitemon:79a72c9f-c122-4dab-b3bb-b64c98924ec2",
     1598   "ref": null,
     1599   "email": "asydney@bbn.com",
     1600   "desc": "sitemon OpenFlow resources at NPS InstaGENI."
     1601  }
     1602 ]
     1603}
     1604lnevers@foam:~$
     1605}}}
     1606Access the FlowVisor VM and gather version information:
     1607{{{
     1608LNM:~$ ssh flowvisor.instageni.nps.edu
     1609The authenticity of host 'flowvisor.instageni.nps.edu (204.102.228.135)' can't be established.
     1610RSA key fingerprint is 28:a9:ed:7a:9f:c3:c5:7e:17:f3:df:d4:5a:bf:77:1a.
     1611Are you sure you want to continue connecting (yes/no)? yes
     1612Warning: Permanently added 'flowvisor.instageni.nps.edu,204.102.228.135' (RSA) to the list of known hosts.
     1613Welcome to Ubuntu 12.04.4 LTS (GNU/Linux 3.2.0-58-generic x86_64)
     1614
     1615 * Documentation:  https://help.ubuntu.com/
     1616
     1617The programs included with the Ubuntu system are free software;
     1618the exact distribution terms for each program are described in the
     1619individual files in /usr/share/doc/*/copyright.
     1620
     1621Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by
     1622applicable law.
     1623
     1624lnevers@flowvisor:~$ sudo whoami; uname -a
     1625root
     1626Linux flowvisor 3.2.0-58-generic #88-Ubuntu SMP Tue Dec 3 17:37:58 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
     1627lnevers@flowvisor:~$
     1628}}}
     1629Check the !FlowVisor version, list of devices, get details for a device, list of active slices, and details for one of the slices:
     1630{{{     
     1631
     1632lnevers@flowvisor:~$ fvctl --passwd-file=/etc/flowvisor.passwd ping hello
     1633Got reply:
     1634PONG(fvadmin): FV version=flowvisor-0.8.17::hello
     1635lnevers@flowvisor:~$
     1636
     1637# Devices
     1638lnevers@flowvisor:~$ fvctl --passwd-file=/etc/flowvisor.passwd listDevices
     1639Device 0: 07:3e:2c:59:e5:5f:80:00
     1640lnevers@flowvisor:~$
     1641
     1642lnevers@flowvisor:~$ fvctl --passwd-file=/etc/flowvisor.passwd getDeviceInfo 07:3e:2c:59:e5:5f:80:00
     1643nPorts=5
     1644portList=19,65534,1,10,13
     1645dpid=07:3e:2c:59:e5:5f:80:00
     1646remote=/10.3.1.7:6633-->/10.3.1.253:49539
     1647portNames=A19(19),local(65534),A1(1),A10(10),A13(13)
     1648lnevers@flowvisor:~$
     1649
     1650#Slices
     1651lnevers@flowvisor:~$ fvctl --passwd-file=/etc/flowvisor.passwd listSlices
     1652Slice 0: fvadmin
     1653Slice 1: 05411ee0-3182-49fc-89d6-b3fdef7fffe0
     1654Slice 2: 374886bd-9c3e-4b95-8bd6-80abb4ab892d
     1655Slice 3: 79a72c9f-c122-4dab-b3bb-b64c98924ec2
     1656
     1657
     1658lnevers@flowvisor:~$ fvctl --passwd-file=/etc/flowvisor.passwd getSliceInfo 79a72c9f-c122-4dab-b3bb-b64c98924ec2
     1659Got reply:
     1660drop_policy=exact
     1661connection_1=07:3e:2c:59:e5:5f:80:00-->/204.102.228.135:51393-->hafmet.gpolab.bbn.com/192.1.249.178:31750
     1662contact_email=asydney@bbn.com
     1663controller_hostname=hafmet.gpolab.bbn.com
     1664controller_port=31750
     1665creator=fvadmin
     1666lnevers@flowvisor:~$
     1667
     1668}}}
     1669
     1670Check the FlowVisor setting:
     1671{{{
     1672lnevers@flowvisor:~$ fvctl --passwd-file=/etc/flowvisor.passwd dumpConfig /tmp/flowvisor-config
     1673
     1674lnevers@flowvisor:~$ cat /tmp/flowvisor-config
     1675{
     1676   "flowvisor": [
     1677      {
     1678         "api_webserver_port": 8080,
     1679         "api_jetty_webserver_port": -1,
     1680         "checkpointing": false,
     1681         "listen_port": 6633,
     1682         "track_flows": false,
     1683         "stats_desc_hack": false,
     1684         "run_topology_server": false,
     1685         "logging": "NOTE",
     1686         "log_ident": "flowvisor",
     1687         "log_facility": "LOG_LOCAL7",
     1688         "version": "flowvisor-0.9",
     1689         "host": "localhost",
     1690         "default_flood_perm": "fvadmin",
     1691         "config_name": "default"
     1692      }
     1693   ],
     1694   "Slice": [
     1695      {
     1696         "config_name": "default",
     1697         "flowmap_type": "federated",
     1698         "name": "fvadmin",
     1699         "creator": "fvadmin",
     1700         "passwd_crypt": "xxx",
     1701         "passwd_salt": "xxx",
     1702         "controller_hostname": "none",
     1703         "controller_port": 0,
     1704         "contact_email": "fvadmin@localhost",
     1705         "drop_policy": "exact",
     1706         "lldp_spam": true
     1707      },
     1708      {
     1709         "config_name": "default",
     1710         "flowmap_type": "federated",
     1711         "name": "05411ee0-3182-49fc-89d6-b3fdef7fffe0",
     1712         "creator": "fvadmin",
     1713         "passwd_crypt": "xxx",
     1714         "passwd_salt": "xxx",
     1715         "controller_hostname": "caprica.gpolab.bbn.com",
     1716         "controller_port": 33011,
     1717         "contact_email": "asydney@bbn.com",
     1718         "drop_policy": "exact",
     1719         "lldp_spam": true
     1720      },
     1721      {
     1722         "config_name": "default",
     1723         "flowmap_type": "federated",
     1724         "name": "374886bd-9c3e-4b95-8bd6-80abb4ab892d",
     1725         "creator": "fvadmin",
     1726         "passwd_crypt": "xxx",
     1727         "passwd_salt": "xxx",
     1728         "controller_hostname": "hafmet.gpolab.bbn.com",
     1729         "controller_port": 33012,
     1730         "contact_email": "tupty@bbn.com",
     1731         "drop_policy": "exact",
     1732         "lldp_spam": true
     1733      },
     1734      {
     1735         "config_name": "default",
     1736         "flowmap_type": "federated",
     1737         "name": "79a72c9f-c122-4dab-b3bb-b64c98924ec2",
     1738         "creator": "fvadmin",
     1739         "passwd_crypt": "xxx",
     1740         "passwd_salt": "xxx",
     1741         "controller_hostname": "hafmet.gpolab.bbn.com",
     1742         "controller_port": 31750,
     1743         "contact_email": "asydney@bbn.com",
     1744         "drop_policy": "exact",
     1745         "lldp_spam": true
     1746      }
     1747   ],
     1748   "FlowSpaceRule": [
     1749      {
     1750         "dpid": "73e2c59e55f8000",
     1751         "priority": 2000,
     1752         "in_port": 0,
     1753         "dl_type": 2048,
     1754         "nw_src": 170576640,
     1755         "nw_dst": 170576640,
     1756         "wildcards": 3279087,
     1757         "slice_action": [
     1758            {
     1759               "05411ee0-3182-49fc-89d6-b3fdef7fffe0": 4
     1760            }
     1761         ]
     1762      },
     1763      {
     1764         "dpid": "73e2c59e55f8000",
     1765         "priority": 2000,
     1766         "in_port": 0,
     1767         "dl_type": 2054,
     1768         "nw_src": 170576640,
     1769         "nw_dst": 170576640,
     1770         "wildcards": 3279087,
     1771         "slice_action": [
     1772            {
     1773               "05411ee0-3182-49fc-89d6-b3fdef7fffe0": 4
     1774            }
     1775         ]
     1776      },
     1777      {
     1778         "dpid": "73e2c59e55f8000",
     1779         "priority": 2000,
     1780         "in_port": 0,
     1781         "dl_type": 2048,
     1782         "nw_src": 168900352,
     1783         "nw_dst": 168900352,
     1784         "wildcards": 3279087,
     1785         "slice_action": [
     1786            {
     1787               "374886bd-9c3e-4b95-8bd6-80abb4ab892d": 4
     1788            }
     1789         ]
     1790      },
     1791      {
     1792         "dpid": "73e2c59e55f8000",
     1793         "priority": 2000,
     1794         "in_port": 0,
     1795         "dl_type": 2054,
     1796         "nw_src": 168900352,
     1797         "nw_dst": 168900352,
     1798         "wildcards": 3279087,
     1799         "slice_action": [
     1800            {
     1801               "374886bd-9c3e-4b95-8bd6-80abb4ab892d": 4
     1802            }
     1803         ]
     1804      },
     1805      {
     1806         "dpid": "73e2c59e55f8000",
     1807         "priority": 2000,
     1808         "in_port": 0,
     1809         "dl_type": 2048,
     1810         "nw_src": 171048960,
     1811         "nw_dst": 171048960,
     1812         "wildcards": 3412207,
     1813         "slice_action": [
     1814            {
     1815               "79a72c9f-c122-4dab-b3bb-b64c98924ec2": 4
     1816            }
     1817         ]
     1818      },
     1819      {
     1820         "dpid": "73e2c59e55f8000",
     1821         "priority": 2000,
     1822         "in_port": 0,
     1823         "dl_type": 2054,
     1824         "nw_src": 171048960,
     1825         "nw_dst": 171048960,
     1826         "wildcards": 3412207,
     1827         "slice_action": [
     1828            {
     1829               "79a72c9f-c122-4dab-b3bb-b64c98924ec2": 4
     1830            }
     1831         ]
     1832      }
     1833   ]
     1834}lnevers@flowvisor:~$
     1835
     1836}}}
     1837
    10871838
    10881839----