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


Ignore:
Timestamp:
09/12/14 14:53:25 (5 years ago)
Author:
lnevers@bbn.com
Comment:

--

Legend:

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

    v14 v15  
    920920
    921921{{{
    922 LNM:~$ ssh control.instageni.cenic.net
    923 
     922$ ssh control.instageni.cenic.net
     923Welcome to Ubuntu precise (development branch) (GNU/Linux 3.2.0-23-generic x86_64)
     924
     925 * Documentation:  https://help.ubuntu.com/
     926
     927  System information as of Fri Sep 12 18:47:49 UTC 2014
     928
     929  System load:             0.0
     930  Usage of /:              31.6% of 5.85GB
     931  Memory usage:            42%
     932  Swap usage:              1%
     933  Processes:               167
     934  Users logged in:         1
     935  IP address for xenbr0:   204.102.244.3
     936  IP address for xenbr0:1: 172.16.0.1
     937  IP address for xenbr0:2: 10.249.249.253
     938  IP address for xenbr1:   10.1.1.254
     939  IP address for xenbr2:   10.2.1.254
     940  IP address for xenbr3:   10.3.1.254
     941  IP address for tun0:     10.8.0.1
     942
     943  Graph this data and manage this system at https://landscape.canonical.com/
     944New release '14.04.1 LTS' available.
     945Run 'do-release-upgrade' to upgrade to it.
     946
     947
     948The programs included with the Ubuntu system are free software;
     949the exact distribution terms for each program are described in the
     950individual files in /usr/share/doc/*/copyright.
     951
     952Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by
     953applicable law.
     954
     955To run a command as administrator (user "root"), use "sudo <command>".
     956See "man sudo_root" for details.
     957
     958lnevers@control:~$ sudo whoami
     959root
     960lnevers@control:~$ uname -a
     961Linux control.instageni.cenic.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
     962lnevers@control:~$
    924963}}}
    925964
     
    12591298Access the FOAM VM and gather information for version
    12601299{{{
    1261 LNM:~$ ssh lnevers@foam.instageni.cenic.net
    1262 
    1263 sudo foamctl admin:get-version  --passwd-file=/etc/foam.passwd
     1300$ ssh lnevers@foam.instageni.cenic.net
     1301Welcome to Ubuntu 12.04.5 LTS (GNU/Linux 3.2.0-68-generic x86_64)
     1302
     1303 * Documentation:  https://help.ubuntu.com/
     1304New release '14.04.1 LTS' available.
     1305Run 'do-release-upgrade' to upgrade to it.
     1306
     1307
     1308The programs included with the Ubuntu system are free software;
     1309the exact distribution terms for each program are described in the
     1310individual files in /usr/share/doc/*/copyright.
     1311
     1312Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by
     1313applicable law.
     1314
     1315lnevers@foam:~$ sudo foamctl admin:get-version  --passwd-file=/etc/foam.passwd
     1316{
     1317 "version": "0.14.0"
     1318}
     1319lnevers@foam:~$
    12641320
    12651321}}}
    12661322Check FOAM configuration for  site.admin.email, geni.site-tag, email.from settings:
    12671323{{{
    1268 foamctl config:get-value --key="site.admin.email"  --passwd-file=/etc/foam.passwd
    1269 
    1270 foamctl config:get-value --key="geni.site-tag"  --passwd-file=/etc/foam.passwd
    1271 
    1272 foamctl config:get-value --key="email.from"  --passwd-file=/etc/foam.passwd
     1324lnevers@foam:~$ foamctl config:get-value --key="site.admin.email"  --passwd-file=/etc/foam.passwd
     1325{
     1326 "value": null
     1327}
     1328
     1329lnevers@foam:~$ foamctl config:get-value --key="geni.site-tag"  --passwd-file=/etc/foam.passwd
     1330{
     1331 "value": "foam.instageni.cenic.net"
     1332}
     1333
     1334lnevers@foam:~$ foamctl config:get-value --key="email.from"  --passwd-file=/etc/foam.passwd
     1335{
     1336 "value": "wblack@cenic.org"
     1337}
     1338
     1339lnevers@foam:~$
    12731340
    12741341# check if FOAM auto-approve is on. Value 2 = auto-approve is on.
    12751342
    1276 foamctl config:get-value --key="geni.approval.approve-on-creation"  --passwd-file=/etc/foam.passwd
    1277 
     1343lnevers@foam:~$ foamctl config:get-value --key="geni.approval.approve-on-creation"  --passwd-file=/etc/foam.passwd
     1344{
     1345 "value": 2
     1346}
    12781347}}}
    12791348
     
    12811350
    12821351{{{
    1283 foamctl geni:list-slivers --passwd-file=/etc/foam.passwd
    1284 
     1352lnevers@foam:~$ foamctl geni:list-slivers --passwd-file=/etc/foam.passwd
     1353{
     1354 "slivers": [
     1355  {
     1356   "status": "approved",
     1357   "flowvisor_slice": "d72f8f45-0536-4c95-9862-898894681f3c",
     1358   "slice_urn": "urn:publicid:IDN+ch.geni.net:gpoamcanary+slice+sitemon",
     1359   "pend_reason": [],
     1360   "deleted": "False",
     1361   "user": "urn:publicid:IDN+ch.geni.net+user+tupty",
     1362   "creation": "2014-09-08 20:27:13.248282+00:00",
     1363   "enabled": true,
     1364   "uuid": "d72f8f45-0536-4c95-9862-898894681f3c",
     1365   "id": 1,
     1366   "expiration": "2014-12-04 00:00:00+00:00",
     1367   "sliver_urn": "urn:publicid:IDN+ch.geni.net:gpoamcanary+slice+sitemon:d72f8f45-0536-4c95-9862-898894681f3c",
     1368   "ref": null,
     1369   "email": "tupty@bbn.com",
     1370   "desc": "sitemon OpenFlow resources at CENIC InstaGENI."
     1371  },
     1372  {
     1373   "status": "approved",
     1374   "flowvisor_slice": "a9824e23-c2b3-4bb8-846a-91ecfa31de0e",
     1375   "slice_urn": "urn:publicid:IDN+ch.geni.net:ln-test+slice+IG-CT-4",
     1376   "pend_reason": [],
     1377   "deleted": "False",
     1378   "user": "urn:publicid:IDN+ch.geni.net+user+lnevers",
     1379   "creation": "2014-09-11 13:26:07.197255+00:00",
     1380   "enabled": true,
     1381   "uuid": "a9824e23-c2b3-4bb8-846a-91ecfa31de0e",
     1382   "id": 2,
     1383   "expiration": "2014-09-18 13:25:26+00:00",
     1384   "sliver_urn": "urn:publicid:IDN+ch.geni.net:ln-test+slice+IG-CT-4:a9824e23-c2b3-4bb8-846a-91ecfa31de0e",
     1385   "ref": null,
     1386   "email": "lnevers@bbn.com",
     1387   "desc": "New Site Confirmation Test IG-CT-4 "
     1388  }
     1389 ]
     1390}
     1391lnevers@foam:~$
    12851392}}}
    12861393Access the FlowVisor VM and gather version information:
    12871394{{{
    1288 
    1289 ssh lnevers@flowvisor.instageni.cenic.net
     1395$ ssh lnevers@flowvisor.instageni.cenic.net
     1396Welcome to Ubuntu 12.04.5 LTS (GNU/Linux 3.2.0-68-generic x86_64)
     1397
     1398 * Documentation:  https://help.ubuntu.com/
     1399New release '14.04.1 LTS' available.
     1400Run 'do-release-upgrade' to upgrade to it.
     1401
     1402
     1403The programs included with the Ubuntu system are free software;
     1404the exact distribution terms for each program are described in the
     1405individual files in /usr/share/doc/*/copyright.
     1406
     1407Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by
     1408applicable law.
     1409
     1410lnevers@flowvisor:~$ sudo whoami
     1411root
     1412lnevers@flowvisor:~$ uname -a
     1413Linux flowvisor 3.2.0-68-generic #102-Ubuntu SMP Tue Aug 12 22:02:15 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
     1414lnevers@flowvisor:~$
    12901415}}}
    12911416Check the !FlowVisor version, list of devices, get details for a device, list of active slices, and details for one of the slices:
    12921417{{{     
    12931418
    1294 fvctl --passwd-file=/etc/flowvisor.passwd ping hello
     1419lnevers@flowvisor:~$ fvctl --passwd-file=/etc/flowvisor.passwd ping hello
     1420Got reply:
     1421PONG(fvadmin): FV version=flowvisor-0.8.17::hello
     1422
    12951423
    12961424# Devices
    1297 fvctl --passwd-file=/etc/flowvisor.passwd listDevices
    1298 
    1299 fvctl --passwd-file=/etc/flowvisor.passwd getDeviceInfo 06:d6:6c:3b:e5:68:00:00
     1425lnevers@flowvisor:~$ fvctl --passwd-file=/etc/flowvisor.passwd listDevices
     1426Device 0: 06:d6:84:34:97:d4:6c:00
     1427
     1428lnevers@flowvisor:~$ fvctl --passwd-file=/etc/flowvisor.passwd getDeviceInfo 06:d6:84:34:97:d4:6c:00
     1429nPorts=6
     1430portList=1,4,19,65534,13,10
     1431dpid=06:d6:84:34:97:d4:6c:00
     1432remote=/10.3.1.7:6633-->/10.3.1.253:65201
     1433portNames=A1(1),A4(4),A19(19),local(65534),A13(13),A10(10)
    13001434
    13011435#Slices
    1302 fvctl --passwd-file=/etc/flowvisor.passwd listSlices
    1303 
    1304 fvctl --passwd-file=/etc/flowvisor.passwd getSliceInfo 5c956f94-5e05-40b5-948f-34d0149d9182
    1305 
     1436lnevers@flowvisor:~$ fvctl --passwd-file=/etc/flowvisor.passwd listSlices
     1437Slice 0: fvadmin
     1438Slice 1: d72f8f45-0536-4c95-9862-898894681f3c
     1439Slice 2: a9824e23-c2b3-4bb8-846a-91ecfa31de0e
     1440lnevers@flowvisor:~$
     1441
     1442lnevers@flowvisor:~$ fvctl --passwd-file=/etc/flowvisor.passwd getSliceInfo a9824e23-c2b3-4bb8-846a-91ecfa31de0e
     1443Got reply:
     1444drop_policy=exact
     1445connection_1=06:d6:84:34:97:d4:6c:00-->/204.102.244.7:45661-->mallorea.gpolab.bbn.com/192.1.249.185:33020
     1446contact_email=lnevers@bbn.com
     1447controller_hostname=mallorea.gpolab.bbn.com
     1448controller_port=33020
     1449creator=fvadmin
     1450lnevers@flowvisor:~$
    13061451}}}
    13071452
    13081453Check the FlowVisor setting:
    13091454{{{
    1310 fvctl --passwd-file=/etc/flowvisor.passwd dumpConfig /tmp/flowvisor-config
    1311 more /tmp/flowvisor-config
    1312 
     1455lnevers@flowvisor:~$ fvctl --passwd-file=/etc/flowvisor.passwd dumpConfig /tmp/flowvisor-config
     1456lnevers@flowvisor:~$ cat /tmp/flowvisor-config
     1457{
     1458   "flowvisor": [
     1459      {
     1460         "api_webserver_port": 8080,
     1461         "api_jetty_webserver_port": -1,
     1462         "checkpointing": false,
     1463         "listen_port": 6633,
     1464         "track_flows": false,
     1465         "stats_desc_hack": false,
     1466         "run_topology_server": false,
     1467         "logging": "NOTE",
     1468         "log_ident": "flowvisor",
     1469         "log_facility": "LOG_LOCAL7",
     1470         "version": "flowvisor-0.9",
     1471         "host": "localhost",
     1472         "default_flood_perm": "fvadmin",
     1473         "config_name": "default"
     1474      }
     1475   ],
     1476   "Slice": [
     1477      {
     1478         "config_name": "default",
     1479         "flowmap_type": "federated",
     1480         "name": "fvadmin",
     1481         "creator": "fvadmin",
     1482         "passwd_crypt": "027298d54222bd3341c852917c4b93db",
     1483         "passwd_salt": "sillysalt",
     1484         "controller_hostname": "none",
     1485         "controller_port": 0,
     1486         "contact_email": "fvadmin@localhost",
     1487         "drop_policy": "exact",
     1488         "lldp_spam": true
     1489      },
     1490      {
     1491         "config_name": "default",
     1492         "flowmap_type": "federated",
     1493         "name": "d72f8f45-0536-4c95-9862-898894681f3c",
     1494         "creator": "fvadmin",
     1495         "passwd_crypt": "xxx",
     1496         "passwd_salt": "xxx",
     1497         "controller_hostname": "hafmet.gpolab.bbn.com",
     1498         "controller_port": 31750,
     1499         "contact_email": "tupty@bbn.com",
     1500         "drop_policy": "exact",
     1501         "lldp_spam": true
     1502      },
     1503      {
     1504         "config_name": "default",
     1505         "flowmap_type": "federated",
     1506         "name": "a9824e23-c2b3-4bb8-846a-91ecfa31de0e",
     1507         "creator": "fvadmin",
     1508         "passwd_crypt": "xxx",
     1509         "passwd_salt": "xxx",
     1510         "controller_hostname": "mallorea.gpolab.bbn.com",
     1511         "controller_port": 33020,
     1512         "contact_email": "lnevers@bbn.com",
     1513         "drop_policy": "exact",
     1514         "lldp_spam": true
     1515      }
     1516   ],
     1517   "FlowSpaceRule": [
     1518      {
     1519         "dpid": "6d6843497d46c00",
     1520         "priority": 2000,
     1521         "in_port": 0,
     1522         "dl_type": 2048,
     1523         "nw_src": 171048960,
     1524         "nw_dst": 171048960,
     1525         "wildcards": 3412207,
     1526         "slice_action": [
     1527            {
     1528               "d72f8f45-0536-4c95-9862-898894681f3c": 4
     1529            }
     1530         ]
     1531      },
     1532      {
     1533         "dpid": "6d6843497d46c00",
     1534         "priority": 2000,
     1535         "in_port": 0,
     1536         "dl_type": 2054,
     1537         "nw_src": 171048960,
     1538         "nw_dst": 171048960,
     1539         "wildcards": 3412207,
     1540         "slice_action": [
     1541            {
     1542               "d72f8f45-0536-4c95-9862-898894681f3c": 4
     1543            }
     1544         ]
     1545      },
     1546      {
     1547         "dpid": "6d6843497d46c00",
     1548         "priority": 2000,
     1549         "in_port": 0,
     1550         "dl_type": 2048,
     1551         "nw_src": 170527488,
     1552         "nw_dst": 170527488,
     1553         "wildcards": 3279087,
     1554         "slice_action": [
     1555            {
     1556               "a9824e23-c2b3-4bb8-846a-91ecfa31de0e": 4
     1557            }
     1558         ]
     1559      },
     1560      {
     1561         "dpid": "6d6843497d46c00",
     1562         "priority": 2000,
     1563         "in_port": 0,
     1564         "dl_type": 2054,
     1565         "nw_src": 170527488,
     1566         "nw_dst": 170527488,
     1567         "wildcards": 3279087,
     1568         "slice_action": [
     1569            {
     1570               "a9824e23-c2b3-4bb8-846a-91ecfa31de0e": 4
     1571            }
     1572         ]
     1573      }
     1574   ]
     1575}lnevers@flowvisor:~$
    13131576}}}
    13141577----