Changes between Version 14 and Version 15 of GENIRacksHome/InstageniRacks/ConfirmationTestStatus/Rutgers


Ignore:
Timestamp:
08/13/14 15:50:53 (10 years ago)
Author:
lnevers@bbn.com
Comment:

--

Legend:

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

    v14 v15  
    11981198Access the FOAM VM and gather information for version
    11991199{{{
    1200 LNM:~$ ssh lnevers@foam.rutgers.edu
    1201 
    1202 sudo foamctl admin:get-version  --passwd-file=/etc/foam.passwd
     1200LNM:~$ ssh foam.instageni.rutgers.edu
     1201The authenticity of host 'foam.instageni.rutgers.edu (165.230.161.198)' can't be established.
     1202RSA key fingerprint is 14:39:48:c9:58:54:e7:c6:48:26:92:68:be:68:f3:3a.
     1203Are you sure you want to continue connecting (yes/no)? yes
     1204Warning: Permanently added 'foam.instageni.rutgers.edu,165.230.161.198' (RSA) to the list of known hosts.
     1205Welcome to Ubuntu 12.04.3 LTS (GNU/Linux 3.2.0-55-generic x86_64)
     1206
     1207 * Documentation:  https://help.ubuntu.com/
     1208New release '14.04.1 LTS' available.
     1209Run 'do-release-upgrade' to upgrade to it.
     1210
     1211
     1212The programs included with the Ubuntu system are free software;
     1213the exact distribution terms for each program are described in the
     1214individual files in /usr/share/doc/*/copyright.
     1215
     1216Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by
     1217applicable law.
     1218
     1219lnevers@foam:~$ sudo foamctl admin:get-version  --passwd-file=/etc/foam.passwd
     1220{
     1221 "version": "0.14.0"
     1222}
     1223lnevers@foam:~$
    12031224
    12041225}}}
    12051226Check FOAM configuration for  site.admin.email, geni.site-tag, email.from settings:
    12061227{{{
    1207 foamctl config:get-value --key="site.admin.email"  --passwd-file=/etc/foam.passwd
    1208 
    1209 foamctl config:get-value --key="geni.site-tag"  --passwd-file=/etc/foam.passwd
    1210 
    1211 foamctl config:get-value --key="email.from"  --passwd-file=/etc/foam.passwd
     1228lnevers@foam:~$ foamctl config:get-value --key="site.admin.email"  --passwd-file=/etc/foam.passwd
     1229{
     1230 "value": null
     1231}
     1232lnevers@foam:~$ foamctl config:get-value --key="geni.site-tag"  --passwd-file=/etc/foam.passwd
     1233{
     1234 "value": "foam.instageni.rutgers.edu"
     1235}
     1236lnevers@foam:~$ foamctl config:get-value --key="email.from"  --passwd-file=/etc/foam.passwd
     1237
     1238{
     1239 "value": "seskar@winlab.rutgers.edu"
     1240}
     1241lnevers@foam:~$
    12121242
    12131243# check if FOAM auto-approve is on. Value 2 = auto-approve is on.
    12141244
    1215 foamctl config:get-value --key="geni.approval.approve-on-creation"  --passwd-file=/etc/foam.passwd
     1245lnevers@foam:~$ foamctl config:get-value --key="geni.approval.approve-on-creation"  --passwd-file=/etc/foam.passwd
     1246{
     1247 "value": 2
     1248}
     1249lnevers@foam:~$
    12161250
    12171251}}}
     
    12201254
    12211255{{{
    1222 foamctl geni:list-slivers --passwd-file=/etc/foam.passwd
    1223 
     1256lnevers@foam:~$ foamctl geni:list-slivers --passwd-file=/etc/foam.passwd
     1257{
     1258 "slivers": [
     1259  {
     1260   "status": "approved",
     1261   "flowvisor_slice": "2d57ef4f-ce7a-4a5d-b891-acca525902ee",
     1262   "slice_urn": "urn:publicid:IDN+ch.geni.net:gpoamcanary+slice+sitemon",
     1263   "pend_reason": [],
     1264   "deleted": "False",
     1265   "user": "urn:publicid:IDN+ch.geni.net+user+tupty",
     1266   "creation": "2013-10-25 17:09:09.289973+00:00",
     1267   "enabled": true,
     1268   "uuid": "2d57ef4f-ce7a-4a5d-b891-acca525902ee",
     1269   "id": 4,
     1270   "expiration": "2014-09-02 00:00:00+00:00",
     1271   "sliver_urn": "urn:publicid:IDN+ch.geni.net:gpoamcanary+slice+sitemon:2d57ef4f-ce7a-4a5d-b891-acca525902ee",
     1272   "ref": null,
     1273   "email": "tupty@bbn.com",
     1274   "desc": "sitemon OpenFlow resources at Rutgers InstaGENI."
     1275  },
     1276  {
     1277   "status": "approved",
     1278   "flowvisor_slice": "3e71bc9c-98e5-4b5a-904e-53c844800a87",
     1279   "slice_urn": "urn:publicid:IDN+ch.geni.net:gpo-infra+slice+gpoI15",
     1280   "pend_reason": [],
     1281   "deleted": "False",
     1282   "user": "urn:publicid:IDN+ch.geni.net+user+jbs",
     1283   "creation": "2014-04-23 17:23:06.721776+00:00",
     1284   "enabled": true,
     1285   "uuid": "3e71bc9c-98e5-4b5a-904e-53c844800a87",
     1286   "id": 10,
     1287   "expiration": "2014-10-07 00:00:00+00:00",
     1288   "sliver_urn": "urn:publicid:IDN+ch.geni.net:gpo-infra+slice+gpoI15:3e71bc9c-98e5-4b5a-904e-53c844800a87",
     1289   "ref": null,
     1290   "email": "gpo-ops@geni.net",
     1291   "desc": "gpoI15 Rutgers InstaGENI OpenFlow resources."
     1292  },
     1293  {
     1294   "status": "approved",
     1295   "flowvisor_slice": "bf9c180e-33d5-4c00-991e-f1f65ad885dd",
     1296   "slice_urn": "urn:publicid:IDN+ch.geni.net:gpo-infra+slice+gpoI16",
     1297   "pend_reason": [],
     1298   "deleted": "False",
     1299   "user": "urn:publicid:IDN+ch.geni.net+user+jbs",
     1300   "creation": "2014-04-23 17:23:36.650122+00:00",
     1301   "enabled": true,
     1302   "uuid": "bf9c180e-33d5-4c00-991e-f1f65ad885dd",
     1303   "id": 11,
     1304   "expiration": "2014-10-07 00:00:00+00:00",
     1305   "sliver_urn": "urn:publicid:IDN+ch.geni.net:gpo-infra+slice+gpoI16:bf9c180e-33d5-4c00-991e-f1f65ad885dd",
     1306   "ref": null,
     1307   "email": "gpo-ops@geni.net",
     1308   "desc": "gpoI16 Rutgers InstaGENI OpenFlow resources."
     1309  }
     1310 ]
     1311}
     1312lnevers@foam:~$
    12241313}}}
    12251314Access the FlowVisor VM and gather version information:
    12261315{{{
    12271316
    1228 ssh lnevers@flowvisor.rutgers.edu
     1317LNM:~$ ssh flowvisor.instageni.rutgers.edu
     1318The authenticity of host 'flowvisor.instageni.rutgers.edu (165.230.161.199)' can't be established.
     1319RSA key fingerprint is 86:d6:68:40:f8:32:4a:a6:76:4a:23:46:0c:3b:20:09.
     1320Are you sure you want to continue connecting (yes/no)? yes
     1321Warning: Permanently added 'flowvisor.instageni.rutgers.edu,165.230.161.199' (RSA) to the list of known hosts.
     1322Welcome to Ubuntu 12.04.3 LTS (GNU/Linux 3.2.0-55-generic x86_64)
     1323
     1324 * Documentation:  https://help.ubuntu.com/
     1325New release '14.04.1 LTS' available.
     1326Run 'do-release-upgrade' to upgrade to it.
     1327
     1328
     1329The programs included with the Ubuntu system are free software;
     1330the exact distribution terms for each program are described in the
     1331individual files in /usr/share/doc/*/copyright.
     1332
     1333Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by
     1334applicable law.
     1335
     1336lnevers@flowvisor:~$ sudo whoami
     1337root
     1338lnevers@flowvisor:~$ uname -a
     1339Linux flowvisor 3.2.0-55-generic #85-Ubuntu SMP Wed Oct 2 12:29:27 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
     1340lnevers@flowvisor:~$
    12291341}}}
    12301342Check the !FlowVisor version, list of devices, get details for a device, list of active slices, and details for one of the slices:
    12311343{{{     
    12321344
    1233 fvctl --passwd-file=/etc/flowvisor.passwd ping hello
     1345lnevers@flowvisor:~$ fvctl --passwd-file=/etc/flowvisor.passwd ping hello
     1346Got reply:
     1347PONG(fvadmin): FV version=flowvisor-0.8.17::hello
     1348lnevers@flowvisor:~$
     1349
    12341350
    12351351# Devices
    1236 fvctl --passwd-file=/etc/flowvisor.passwd listDevices
    1237 
    1238 fvctl --passwd-file=/etc/flowvisor.passwd getDeviceInfo 06:d6:6c:3b:e5:68:00:00
     1352lnevers@flowvisor:~$ fvctl --passwd-file=/etc/flowvisor.passwd ping hello
     1353Got reply:
     1354PONG(fvadmin): FV version=flowvisor-0.8.17::hello
     1355lnevers@flowvisor:~$ fvctl --passwd-file=/etc/flowvisor.passwd listDevices
     1356Device 0: 06:d9:84:34:97:d5:62:00
     1357lnevers@flowvisor:~$ fvctl --passwd-file=/etc/flowvisor.passwd getDeviceInfo 06:d9:84:34:97:d5:62:00
     1358nPorts=4
     1359portList=4,7,19,65534
     1360dpid=06:d9:84:34:97:d5:62:00
     1361remote=/10.3.1.7:6633-->/10.3.1.253:58946
     1362portNames=A4(4),A7(7),A19(19),local(65534)
     1363lnevers@flowvisor:~$
    12391364
    12401365#Slices
    1241 fvctl --passwd-file=/etc/flowvisor.passwd listSlices
    1242 
    1243 fvctl --passwd-file=/etc/flowvisor.passwd getSliceInfo 5c956f94-5e05-40b5-948f-34d0149d9182
    1244 
     1366lnevers@flowvisor:~$ fvctl --passwd-file=/etc/flowvisor.passwd listSlices
     1367Slice 0: fvadmin
     1368Slice 1: 2d57ef4f-ce7a-4a5d-b891-acca525902ee
     1369Slice 2: 3e71bc9c-98e5-4b5a-904e-53c844800a87
     1370Slice 3: bf9c180e-33d5-4c00-991e-f1f65ad885dd
     1371lnevers@flowvisor:~$ fvctl --passwd-file=/etc/flowvisor.passwd getSliceInfo bf9c180e-33d5-4c00-991e-f1f65ad885dd
     1372Got reply:
     1373drop_policy=exact
     1374connection_1=06:d9:84:34:97:d5:62:00-->/165.230.161.199:40424-->naxos.gpolab.bbn.com/192.1.249.133:13716
     1375contact_email=gpo-ops@geni.net
     1376controller_hostname=naxos.gpolab.bbn.com
     1377controller_port=13716
     1378creator=fvadmin
     1379lnevers@flowvisor:~$
    12451380}}}
    12461381
    12471382Check the FlowVisor setting:
    12481383{{{
    1249 fvctl --passwd-file=/etc/flowvisor.passwd dumpConfig /tmp/flowvisor-config
    1250 more /tmp/flowvisor-config
     1384lnevers@flowvisor:~$ fvctl --passwd-file=/etc/flowvisor.passwd dumpConfig /tmp/flowvisor-config
     1385lnevers@flowvisor:~$ more /tmp/flowvisor-config
     1386{
     1387   "flowvisor": [
     1388      {
     1389         "api_webserver_port": 8080,
     1390         "api_jetty_webserver_port": -1,
     1391         "checkpointing": false,
     1392         "listen_port": 6633,
     1393         "track_flows": false,
     1394         "stats_desc_hack": false,
     1395         "run_topology_server": false,
     1396         "logging": "NOTE",
     1397         "log_ident": "flowvisor",
     1398         "log_facility": "LOG_LOCAL7",
     1399         "version": "flowvisor-0.9",
     1400         "host": "localhost",
     1401         "default_flood_perm": "fvadmin",
     1402         "config_name": "default"
     1403      }
     1404   ],
     1405   "Slice": [
     1406      {
     1407         "config_name": "default",
     1408         "flowmap_type": "federated",
     1409         "name": "fvadmin",
     1410         "creator": "fvadmin",
     1411         "passwd_crypt": "xxx",
     1412         "passwd_salt": "xxx",
     1413         "controller_hostname": "none",
     1414         "controller_port": 0,
     1415         "contact_email": "fvadmin@localhost",
     1416         "drop_policy": "exact",
     1417         "lldp_spam": true
     1418      },
     1419      {
     1420         "config_name": "default",
     1421         "flowmap_type": "federated",
     1422         "name": "2d57ef4f-ce7a-4a5d-b891-acca525902ee",
     1423         "creator": "fvadmin",
     1424         "passwd_crypt": "xxx",
     1425         "passwd_salt": "xxx",
     1426         "controller_hostname": "hafmet.gpolab.bbn.com",
     1427         "controller_port": 31750,
     1428         "contact_email": "tupty@bbn.com",
     1429         "drop_policy": "exact",
     1430         "lldp_spam": true
     1431      },
     1432      {
     1433         "config_name": "default",
     1434         "flowmap_type": "federated",
     1435         "name": "3e71bc9c-98e5-4b5a-904e-53c844800a87",
     1436         "creator": "fvadmin",
     1437         "passwd_crypt": "xxx",
     1438         "passwd_salt": "xxx",
     1439         "controller_hostname": "naxos.gpolab.bbn.com",
     1440         "controller_port": 13715,
     1441         "contact_email": "gpo-ops@geni.net",
     1442         "drop_policy": "exact",
     1443         "lldp_spam": true
     1444      },
     1445      {
     1446         "config_name": "default",
     1447         "flowmap_type": "federated",
     1448         "name": "bf9c180e-33d5-4c00-991e-f1f65ad885dd",
     1449         "creator": "fvadmin",
     1450         "passwd_crypt": "xxx",
     1451         "passwd_salt": "xxx",
     1452         "controller_hostname": "naxos.gpolab.bbn.com",
     1453         "controller_port": 13716,
     1454         "contact_email": "gpo-ops@geni.net",
     1455         "drop_policy": "exact",
     1456         "lldp_spam": true
     1457      }
     1458   ],
     1459   "FlowSpaceRule": [
     1460      {
     1461         "dpid": "6d9843497d56200",
     1462         "priority": 2000,
     1463         "in_port": 0,
     1464         "dl_type": 2048,
     1465         "nw_src": 171048960,
     1466         "nw_dst": 171048960,
     1467         "wildcards": 3412207,
     1468         "slice_action": [
     1469            {
     1470               "2d57ef4f-ce7a-4a5d-b891-acca525902ee": 4
     1471            }
     1472         ]
     1473      },
     1474      {
     1475         "dpid": "6d9843497d56200",
     1476         "priority": 2000,
     1477         "in_port": 0,
     1478         "dl_type": 2054,
     1479         "nw_src": 171048960,
     1480         "nw_dst": 171048960,
     1481         "wildcards": 3412207,
     1482         "slice_action": [
     1483            {
     1484               "2d57ef4f-ce7a-4a5d-b891-acca525902ee": 4
     1485            }
     1486         ]
     1487      },
     1488      {
     1489         "dpid": "6d9843497d56200",
     1490         "priority": 2000,
     1491         "in_port": 0,
     1492         "dl_type": 2048,
     1493         "nw_src": 176754432,
     1494         "nw_dst": 176754432,
     1495         "wildcards": 3279087,
     1496         "slice_action": [
     1497            {
     1498               "3e71bc9c-98e5-4b5a-904e-53c844800a87": 4
     1499            }
     1500         ]
     1501      },
     1502      {
     1503         "dpid": "6d9843497d56200",
     1504         "priority": 2000,
     1505         "in_port": 0,
     1506         "dl_type": 2054,
     1507         "nw_src": 176754432,
     1508         "nw_dst": 176754432,
     1509         "wildcards": 3279087,
     1510         "slice_action": [
     1511            {
     1512               "3e71bc9c-98e5-4b5a-904e-53c844800a87": 4
     1513            }
     1514         ]
     1515      },
     1516      {
     1517         "dpid": "6d9843497d56200",
     1518         "priority": 2000,
     1519         "in_port": 0,
     1520         "dl_type": 2048,
     1521         "nw_src": 176754688,
     1522         "nw_dst": 176754688,
     1523         "wildcards": 3279087,
     1524         "slice_action": [
     1525            {
     1526               "bf9c180e-33d5-4c00-991e-f1f65ad885dd": 4
     1527            }
     1528         ]
     1529      },
     1530      {
     1531         "dpid": "6d9843497d56200",
     1532         "priority": 2000,
     1533         "in_port": 0,
     1534         "dl_type": 2054,
     1535         "nw_src": 176754688,
     1536         "nw_dst": 176754688,
     1537         "wildcards": 3279087,
     1538         "slice_action": [
     1539            {
     1540               "bf9c180e-33d5-4c00-991e-f1f65ad885dd": 4
     1541            }
     1542         ]
     1543      }
     1544   ]
     1545}
     1546lnevers@flowvisor:~$
    12511547
    12521548}}}