| 1286 | Sent request for administrative account to site contact from the [http://groups.geni.net/geni/wiki/GeniAggregate/PrincetonInstaGENI Princeton InstaGENI] aggregate page. Followed instructions at [https://users.emulab.net/trac/protogeni/wiki/RackAdminAccounts Admin Accounts on InstaGeni Racks] page for account request. A local admin account was create and joined the ''emulab-ops'' group at https://www.cs.princeton.edu/joinproject.php3?target_pid=emulab-ops. Once the administrative account was created and membership to emulab-ops was approved, proceeded to execute administrative tests. |
| 1287 | |
| 1288 | {{{ |
| 1289 | LNM:~$ ssh control.instageni.cs.princeton.edu |
| 1290 | Welcome to Ubuntu precise (development branch) (GNU/Linux 3.2.0-23-generic x86_64) |
| 1291 | |
| 1292 | * Documentation: https://help.ubuntu.com/ |
| 1293 | |
| 1294 | System information as of Tue May 28 12:37:31 EDT 2013 |
| 1295 | |
| 1296 | System load: 0.0 Users logged in: 1 |
| 1297 | Usage of /: 31.1% of 5.85GB IP address for xenbr0: 128.112.170.2 |
| 1298 | Memory usage: 40% IP address for xenbr1: 10.1.1.254 |
| 1299 | Swap usage: 1% IP address for xenbr2: 10.2.1.254 |
| 1300 | Processes: 144 IP address for xenbr3: 10.3.1.254 |
| 1301 | |
| 1302 | Graph this data and manage this system at https://landscape.canonical.com/ |
| 1303 | Last login: Tue May 28 11:21:30 2013 from dhcp89-073-116.bbn.com |
| 1304 | To run a command as administrator (user "root"), use "sudo <command>". |
| 1305 | See "man sudo_root" for details. |
| 1306 | |
| 1307 | lnevers@princeton:~$ sudo whoami |
| 1308 | root |
| 1309 | }}} |
| 1310 | |
| 1311 | Also access the boss node: |
| 1312 | {{{ |
| 1313 | LNM:~$ ssh boss.instageni.cs.princeton.edu |
| 1314 | Last login: Tue May 28 12:05:07 2013 from dhcp89-073-116.bbn.com |
| 1315 | FreeBSD 9.0-STABLE (XEN) #4: Mon Nov 26 10:02:53 MST 2012 |
| 1316 | |
| 1317 | Welcome to FreeBSD! |
| 1318 | |
| 1319 | You can make a log of your terminal session with script(1). |
| 1320 | [lnevers@boss ~]$ sudo whoami |
| 1321 | root |
| 1322 | }}} |
| 1323 | |
| 1324 | From boss node accessed each of the experiment nodes that support VMs: |
| 1325 | {{{ |
| 1326 | [lnevers@boss ~]$ for i in pc1 pc2; do ssh $i "echo -n '===> Host: ';hostname;sudo whoami;uname -a;echo"; done===> Host: vhost1.shared-nodes.emulab-ops.instageni.cs.princeton.edu |
| 1327 | root |
| 1328 | Linux vhost1.shared-nodes.emulab-ops.instageni.cs.princeton.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 |
| 1329 | |
| 1330 | ===> Host: vhost2.shared-nodes.emulab-ops.instageni.cs.princeton.edu |
| 1331 | root |
| 1332 | Linux vhost2.shared-nodes.emulab-ops.instageni.cs.princeton.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 |
| 1333 | |
| 1334 | [lnevers@boss ~]$ |
| 1335 | |
| 1336 | }}} |
| 1337 | |
| 1338 | In order to access dedicated Nodes some experiment must be running on the raw-pc device. At the time of this capture no raw-pc nodes were in use, so created a sliver with 3 raw-pcs to get access from the boss to the raw-pcs: |
| 1339 | {{{ |
| 1340 | [lnevers@boss ~]$ sudo ssh pc3 |
| 1341 | [root@pc2 ~]# sudo whoami |
| 1342 | root |
| 1343 | [root@pc2 ~]# uname -a |
| 1344 | Linux pc2.ln3pcs.pgeni-gpolab-bbn-com.instageni.cs.princeton.edu 2.6.40-4.emulab2.fc15.i686.PAE #1 SMP Tue Feb 26 13:35:12 MST 2013 i686 i686 i386 GNU/Linux |
| 1345 | [root@pc2 ~]# exit |
| 1346 | logout |
| 1347 | Connection to pc3.instageni.cs.princeton.edu closed. |
| 1348 | [lnevers@boss ~]$ sudo ssh pc4 |
| 1349 | [root@pc1 ~]# sudo whoami |
| 1350 | root |
| 1351 | [root@pc1 ~]# uname -a |
| 1352 | Linux pc1.ln3pcs.pgeni-gpolab-bbn-com.instageni.cs.princeton.edu 2.6.40-4.emulab2.fc15.i686.PAE #1 SMP Tue Feb 26 13:35:12 MST 2013 i686 i686 i386 GNU/Linux |
| 1353 | [root@pc1 ~]# exit |
| 1354 | logout |
| 1355 | Connection to pc4.instageni.cs.princeton.edu closed. |
| 1356 | [lnevers@boss ~]$ sudo ssh pc5 |
| 1357 | [root@pc ~]# sudo whoami |
| 1358 | root |
| 1359 | [root@pc ~]# uname -a |
| 1360 | Linux pc.ln3pcs.pgeni-gpolab-bbn-com.instageni.cs.princeton.edu 2.6.40-4.emulab2.fc15.i686.PAE #1 SMP Tue Feb 26 13:35:12 MST 2013 i686 i686 i386 GNU/Linux |
| 1361 | [root@pc ~]# exit |
| 1362 | logout |
| 1363 | Connection to pc5.instageni.cs.princeton.edu closed. |
| 1364 | [lnevers@boss ~]$ |
| 1365 | }}} |
| 1366 | |
| 1367 | 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: |
| 1368 | {{{ |
| 1369 | LNM:~$ ssh ops.instageni.cs.princeton.edu |
| 1370 | Last login: Tue May 28 12:04:49 2013 from dhcp89-073-116.bbn.com |
| 1371 | FreeBSD 9.0-STABLE (XEN) #4: Mon Nov 26 10:02:53 MST 2012 |
| 1372 | |
| 1373 | Welcome to FreeBSD! |
| 1374 | |
| 1375 | You can press up-arrow or down-arrow to walk through a list of |
| 1376 | previous commands in tcsh. |
| 1377 | |
| 1378 | [lnevers@ops ~]$ ssh boss |
| 1379 | The authenticity of host 'boss.instageni.cs.princeton.edu (128.112.170.4)' can't be established. |
| 1380 | ECDSA key fingerprint is bd:05:23:a7:5b:cc:78:c8:8c:a8:d3:e9:f7:27:53:cb. |
| 1381 | Are you sure you want to continue connecting (yes/no)? yes |
| 1382 | Warning: Permanently added 'boss.instageni.cs.princeton.edu' (ECDSA) to the list of known hosts. |
| 1383 | Last login: Tue May 28 12:37:54 2013 from dhcp89-073-116.bbn.com |
| 1384 | FreeBSD 9.0-STABLE (XEN) #4: Mon Nov 26 10:02:53 MST 2012 |
| 1385 | |
| 1386 | Welcome to FreeBSD! |
| 1387 | |
| 1388 | In order to support national characters for European languages in tools like |
| 1389 | less without creating other nationalisation aspects, set the environment |
| 1390 | variable LC_ALL to 'en_US.ISO8859-1'. |
| 1391 | |
| 1392 | [lnevers@boss ~]$ |
| 1393 | |
| 1394 | }}} |
| 1395 | Access infrastructure switches using documented password. First connect to the switch named procurve1 the control network switch: |
| 1396 | {{{ |
| 1397 | [lnevers@boss ~]$ sudo more /usr/testbed/etc/switch.pswd |
| 1398 | XXXXXXXXX |
| 1399 | [lnevers@boss ~]$ telnet procurve1 |
| 1400 | |
| 1401 | HP J9623A E2620-24 Switch |
| 1402 | Software revision RA.15.05.0006 |
| 1403 | |
| 1404 | Copyright (C) 1991-2011 Hewlett-Packard Development Company, L.P. |
| 1405 | |
| 1406 | RESTRICTED RIGHTS LEGEND |
| 1407 | Confidential computer software. Valid license from HP required for possession, |
| 1408 | use or copying. Consistent with FAR 12.211 and 12.212, Commercial Computer |
| 1409 | Software, Computer Software Documentation, and Technical Data for Commercial |
| 1410 | Items are licensed to the U.S. Government under vendor's standard commercial |
| 1411 | license. |
| 1412 | HEWLETT-PACKARD DEVELOPMENT COMPANY, L.P. |
| 1413 | 20555 State Highway 249, Houston, TX 77070 |
| 1414 | |
| 1415 | We'd like to keep you up to date about: |
| 1416 | * Software feature updates |
| 1417 | * New product announcements |
| 1418 | * Special events |
| 1419 | Please register your products now at: www.hp.com/networking/register |
| 1420 | |
| 1421 | Password: |
| 1422 | |
| 1423 | HP-E2620-24# |
| 1424 | HP-E2620-24# show version |
| 1425 | Image stamp: /sw/code/build/xform(RA_15_05) |
| 1426 | Aug 9 2011 09:08:18 |
| 1427 | RA.15.05.0006 |
| 1428 | 44 |
| 1429 | Boot Image: Primary |
| 1430 | HP-E2620-24# show running-config |
| 1431 | |
| 1432 | Running configuration: |
| 1433 | |
| 1434 | ; J9623A Configuration Editor; Created on release #RA.15.05.0006 |
| 1435 | ; Ver #01:01:00 |
| 1436 | |
| 1437 | hostname "HP-E2620-24" |
| 1438 | ip default-gateway 10.1.1.254 |
| 1439 | vlan 1 |
| 1440 | name "DEFAULT_VLAN" |
| 1441 | untagged 1-22,25-28 |
| 1442 | ip address 10.254.254.253 255.255.255.0 |
| 1443 | no untagged 23-24 |
| 1444 | ip igmp |
| 1445 | exit |
| 1446 | vlan 11 |
| 1447 | name "control-alternate" |
| 1448 | untagged 24 |
| 1449 | ip address 10.2.1.253 255.255.255.0 |
| 1450 | exit |
| 1451 | vlan 10 |
| 1452 | name "control-hardware" |
| 1453 | untagged 23 |
| 1454 | ip address 10.1.1.253 255.255.255.0 |
| 1455 | exit |
| 1456 | no web-management |
| 1457 | snmp-server community "xxx" unrestricted |
| 1458 | management-vlan 10 |
| 1459 | no dhcp config-file-update |
| 1460 | password xxx |
| 1461 | password xxx |
| 1462 | |
| 1463 | HP-E2620-24# show vlans |
| 1464 | |
| 1465 | Status and Counters - VLAN Information |
| 1466 | |
| 1467 | Maximum VLANs to support : 256 |
| 1468 | Primary VLAN : DEFAULT_VLAN |
| 1469 | Management VLAN : control-hardware |
| 1470 | |
| 1471 | VLAN ID Name | Status Voice Jumbo |
| 1472 | ------- -------------------------------- + ---------- ----- ----- |
| 1473 | 1 DEFAULT_VLAN | Port-based No No |
| 1474 | 10 control-hardware | Port-based No No |
| 1475 | 11 control-alternate | Port-based No No |
| 1476 | |
| 1477 | |
| 1478 | HP-E2620-24# exit |
| 1479 | HP-E2620-24> exit |
| 1480 | Do you want to log out [y/n]? y |
| 1481 | Connection closed by foreign host. |
| 1482 | [lnevers@boss ~]$ |
| 1483 | |
| 1484 | }}} |
| 1485 | |
| 1486 | Connect to the switch named procurve2 the dataplane network switch via ssh using the documented password: |
| 1487 | {{{ |
| 1488 | [lnevers@boss ~]$ sudo more /usr/testbed/etc/switch.pswd |
| 1489 | xxxxxxx |
| 1490 | [lnevers@boss ~]$ ssh manager@procurve2 |
| 1491 | Warning: Permanently added 'procurve2' (RSA) to the list of known hosts. |
| 1492 | We'd like to keep you up to date about: |
| 1493 | * Software feature updates |
| 1494 | * New product announcements |
| 1495 | * Special events |
| 1496 | Please register your products now at: www.hp.com/networking/register |
| 1497 | |
| 1498 | |
| 1499 | manager@procurve2's password: |
| 1500 | HP J8697A Switch E5406zl |
| 1501 | Software revision K.15.06.5008 |
| 1502 | |
| 1503 | Copyright (C) 1991-2012 Hewlett-Packard Development Company, L.P. |
| 1504 | |
| 1505 | RESTRICTED RIGHTS LEGEND |
| 1506 | Confidential computer software. Valid license from HP required for possession, |
| 1507 | use or copying. Consistent with FAR 12.211 and 12.212, Commercial Computer |
| 1508 | Software, Computer Software Documentation, and Technical Data for Commercial |
| 1509 | Items are licensed to the U.S. Government under vendor's standard commercial |
| 1510 | license. |
| 1511 | HEWLETT-PACKARD DEVELOPMENT COMPANY, L.P. |
| 1512 | 20555 State Highway 249, Houston, TX 77070 |
| 1513 | |
| 1514 | Press any key to continue |
| 1515 | |
| 1516 | HP-E5406zl# show version |
| 1517 | Image stamp: /ws/swbuildm/of_bridge_qaoff/code/build/btm(of_bridge_qaoff) |
| 1518 | Feb 18 2012 11:26:28 |
| 1519 | K.15.06.5008 |
| 1520 | 79 |
| 1521 | Boot Image: Primary |
| 1522 | HP-E5406zl# show running-config |
| 1523 | |
| 1524 | Running configuration: |
| 1525 | |
| 1526 | ; J8697A Configuration Editor; Created on release #K.15.06.5008 |
| 1527 | ; Ver #02:10.0d:1f |
| 1528 | |
| 1529 | hostname "HP-E5406zl" |
| 1530 | module 1 type J9550A |
| 1531 | interface A1 |
| 1532 | speed-duplex auto-1000 |
| 1533 | exit |
| 1534 | interface A2 |
| 1535 | speed-duplex auto-1000 |
| 1536 | exit |
| 1537 | interface A3 |
| 1538 | speed-duplex auto-1000 |
| 1539 | exit |
| 1540 | interface A4 |
| 1541 | speed-duplex auto-1000 |
| 1542 | exit |
| 1543 | interface A5 |
| 1544 | speed-duplex auto-1000 |
| 1545 | exit |
| 1546 | interface A6 |
| 1547 | speed-duplex auto-1000 |
| 1548 | exit |
| 1549 | interface A7 |
| 1550 | speed-duplex auto-1000 |
| 1551 | exit |
| 1552 | interface A10 |
| 1553 | speed-duplex auto-1000 |
| 1554 | exit |
| 1555 | interface A13 |
| 1556 | speed-duplex auto-1000 |
| 1557 | exit |
| 1558 | ip default-gateway 10.3.1.254 |
| 1559 | vlan 1 |
| 1560 | name "DEFAULT_VLAN" |
| 1561 | forbid A1-A6 |
| 1562 | untagged A8-A9,A11-A12,A14-A19,A21-A23 |
| 1563 | no untagged A1-A7,A10,A13,A20,A24 |
| 1564 | no ip address |
| 1565 | exit |
| 1566 | vlan 10 |
| 1567 | name "control-hardware" |
| 1568 | untagged A20 |
| 1569 | ip address 10.3.1.253 255.255.255.0 |
| 1570 | exit |
| 1571 | vlan 1750 |
| 1572 | name "_1" |
| 1573 | tagged A1,A4,A24 |
| 1574 | no ip address |
| 1575 | exit |
| 1576 | vlan 257 |
| 1577 | name "_6" |
| 1578 | untagged A1-A6 |
| 1579 | no ip address |
| 1580 | exit |
| 1581 | vlan 258 |
| 1582 | name "_25" |
| 1583 | untagged A7,A10,A13 |
| 1584 | no ip address |
| 1585 | exit |
| 1586 | no web-management |
| 1587 | openflow |
| 1588 | vlan 1750 |
| 1589 | enable |
| 1590 | controller "tcp:10.3.1.7:6633" fail-secure on |
| 1591 | exit |
| 1592 | exit |
| 1593 | snmp-server community "xxx" unrestricted |
| 1594 | management-vlan 10 |
| 1595 | no autorun |
| 1596 | no dhcp config-file-update |
| 1597 | no dhcp image-file-update |
| 1598 | password xx |
| 1599 | password xx |
| 1600 | HP-E5406zl# show vlans |
| 1601 | |
| 1602 | Status and Counters - VLAN Information |
| 1603 | |
| 1604 | Maximum VLANs to support : 256 |
| 1605 | Primary VLAN : DEFAULT_VLAN |
| 1606 | Management VLAN : control-hardware |
| 1607 | |
| 1608 | VLAN ID Name | Status Voice Jumbo |
| 1609 | ------- -------------------------------- + ---------- ----- ----- |
| 1610 | 1 DEFAULT_VLAN | Port-based No No |
| 1611 | 10 control-hardware | Port-based No No |
| 1612 | 257 _6 | Port-based No No |
| 1613 | 258 _25 | Port-based No No |
| 1614 | 1750 _1 | Port-based No No |
| 1615 | HP-E5406zl# show vlans 1750 |
| 1616 | |
| 1617 | Status and Counters - VLAN Information - VLAN 1750 |
| 1618 | |
| 1619 | VLAN ID : 1750 |
| 1620 | Name : _1 |
| 1621 | Status : Port-based |
| 1622 | Voice : No |
| 1623 | Jumbo : No |
| 1624 | |
| 1625 | Port Information Mode Unknown VLAN Status |
| 1626 | ---------------- -------- ------------ ---------- |
| 1627 | A1 Tagged Learn Up |
| 1628 | A4 Tagged Learn Up |
| 1629 | A24 Tagged Learn Up |
| 1630 | |
| 1631 | HP-E5406zl# exit |
| 1632 | HP-E5406zl> exit |
| 1633 | Do you want to log out [y/n]? y |
| 1634 | Connection to procurve2 closed by remote host. |
| 1635 | Connection to procurve2 closed. |
| 1636 | [lnevers@boss ~]$ |
| 1637 | }}} |
| 1638 | |
| 1639 | Access the FOAM VM and gather information for version |
| 1640 | {{{ |
| 1641 | LNM:~$ ssh foam.instageni.cs.princeton.edu |
| 1642 | Welcome to Ubuntu 12.04.2 LTS (GNU/Linux 3.2.0-43-generic x86_64) |
| 1643 | |
| 1644 | * Documentation: https://help.ubuntu.com/ |
| 1645 | Last login: Tue May 28 12:05:30 2013 from dhcp89-073-116.bbn.com |
| 1646 | lnevers@foam:~$ sudo whoami |
| 1647 | root |
| 1648 | |
| 1649 | lnevers@foam:~$ sudo foamctl admin:get-version --passwd-file=/etc/foam.passwd |
| 1650 | { |
| 1651 | "version": "0.8.2" |
| 1652 | } |
| 1653 | |
| 1654 | |
| 1655 | }}} |
| 1656 | Check FOAM configuration for site.admin.email, geni.site-tag, email.from settings: |
| 1657 | {{{ |
| 1658 | lnevers@foam:~$ foamctl config:get-value --key="site.admin.email" --passwd-file=/etc/foam.passwd |
| 1659 | { |
| 1660 | "value": "acb@cs.princeton.edu" |
| 1661 | } |
| 1662 | lnevers@foam:~$ foamctl config:get-value --key="geni.site-tag" --passwd-file=/etc/foam.passwd |
| 1663 | { |
| 1664 | "value": "foam.instageni.cs.princeton.edu" |
| 1665 | } |
| 1666 | lnevers@foam:~$ foamctl config:get-value --key="email.from" --passwd-file=/etc/foam.passwd |
| 1667 | { |
| 1668 | "value": "acb@cs.princeton.edu" |
| 1669 | } |
| 1670 | lnevers@foam:~$ foamctl config:get-value --key="geni.approval.approve-on-creation" --passwd-file=/etc/foam.passwd |
| 1671 | { |
| 1672 | "value": 2 |
| 1673 | } |
| 1674 | }}} |
| 1675 | |
| 1676 | Show FOAM slivers and details for one sliver: |
| 1677 | |
| 1678 | {{{ |
| 1679 | lnevers@foam:~$ foamctl geni:list-slivers --passwd-file=/etc/foam.passwd |
| 1680 | { |
| 1681 | "slivers": [ |
| 1682 | { |
| 1683 | "status": "Approved", |
| 1684 | "sliver_urn": "urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+tupty1755:40f34bde-8c9f-4c21-8f01-a0d12bce18ae", |
| 1685 | "creation": "2013-05-22 19:07:25.495426+00:00", |
| 1686 | "pend_reason": null, |
| 1687 | "expiration": "2013-07-15 00:00:00+00:00", |
| 1688 | "deleted": "False", |
| 1689 | "user": "urn:publicid:IDN+pgeni.gpolab.bbn.com+user+tupty", |
| 1690 | "slice_urn": "urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+tupty1755", |
| 1691 | "enabled": true, |
| 1692 | "email": "tupty@pgeni.gpolab.bbn.com", |
| 1693 | "flowvisor_slice": "40f34bde-8c9f-4c21-8f01-a0d12bce18ae", |
| 1694 | "desc": "tupty1755 OpenFlow resources at Princeton InstaGENI.", |
| 1695 | "ref": null, |
| 1696 | "id": 2, |
| 1697 | "uuid": "40f34bde-8c9f-4c21-8f01-a0d12bce18ae" |
| 1698 | }, |
| 1699 | { |
| 1700 | "status": "Approved", |
| 1701 | "sliver_urn": "urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+tuptymon:ac15f426-c695-4713-8ee9-9e0c9aec8148", |
| 1702 | "creation": "2013-05-24 13:31:39.117582+00:00", |
| 1703 | "pend_reason": null, |
| 1704 | "expiration": "2013-07-15 00:00:00+00:00", |
| 1705 | "deleted": "False", |
| 1706 | "user": "urn:publicid:IDN+pgeni.gpolab.bbn.com+user+tupty", |
| 1707 | "slice_urn": "urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+tuptymon", |
| 1708 | "enabled": true, |
| 1709 | "email": "tupty@pgeni.gpolab.bbn.com", |
| 1710 | "flowvisor_slice": "ac15f426-c695-4713-8ee9-9e0c9aec8148", |
| 1711 | "desc": "tuptymon OpenFlow resources at Princeton InstaGENI.", |
| 1712 | "ref": null, |
| 1713 | "id": 5, |
| 1714 | "uuid": "ac15f426-c695-4713-8ee9-9e0c9aec8148" |
| 1715 | }, |
| 1716 | { |
| 1717 | "status": "Approved", |
| 1718 | "sliver_urn": "urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+IG-CT-4:61a56358-1fad-4adf-be36-5071a330eaf3", |
| 1719 | "creation": "2013-05-24 15:49:54.089422+00:00", |
| 1720 | "pend_reason": null, |
| 1721 | "expiration": "2013-05-31 00:00:00+00:00", |
| 1722 | "deleted": "False", |
| 1723 | "user": "urn:publicid:IDN+pgeni.gpolab.bbn.com+user+lnevers", |
| 1724 | "slice_urn": "urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+IG-CT-4", |
| 1725 | "enabled": true, |
| 1726 | "email": "lnevers@pgeni.gpolab.bbn.com", |
| 1727 | "flowvisor_slice": "61a56358-1fad-4adf-be36-5071a330eaf3", |
| 1728 | "desc": "New Site Confirmation Test IG-CT-4 ", |
| 1729 | "ref": null, |
| 1730 | "id": 6, |
| 1731 | "uuid": "61a56358-1fad-4adf-be36-5071a330eaf3" |
| 1732 | } |
| 1733 | ] |
| 1734 | } |
| 1735 | lnevers@foam:~$ |
| 1736 | |
| 1737 | }}} |
| 1738 | Access the FlowVisor VM and gather version information: |
| 1739 | {{{ |
| 1740 | |
| 1741 | LNM:~$ ssh flowvisor.instageni.cs.princeton.edu |
| 1742 | Welcome to Ubuntu 12.04.2 LTS (GNU/Linux 3.2.0-43-generic x86_64) |
| 1743 | |
| 1744 | * Documentation: https://help.ubuntu.com/ |
| 1745 | Last login: Tue May 28 12:05:39 2013 from dhcp89-073-116.bbn.com |
| 1746 | lnevers@flowvisor:~$ sudo whoami |
| 1747 | root |
| 1748 | |
| 1749 | }}} |
| 1750 | Check the !FlowVisor version, list of devices, get details for a device, list of active slices, and details for one of the slices: |
| 1751 | {{{ |
| 1752 | |
| 1753 | lnevers@flowvisor:~$ fvctl --passwd-file=/etc/flowvisor.passwd ping hello |
| 1754 | Got reply: |
| 1755 | PONG(fvadmin): FV version=flowvisor-0.8.14::hello |
| 1756 | |
| 1757 | |
| 1758 | # Devices |
| 1759 | lnevers@flowvisor:~$ fvctl --passwd-file=/etc/flowvisor.passwd listDevices |
| 1760 | Device 0: 06:d6:84:34:97:cc:8e:00 |
| 1761 | lnevers@flowvisor:~$ fvctl --passwd-file=/etc/flowvisor.passwd getDeviceInfo 06:d6:84:34:97:cc:8e:00 |
| 1762 | nPorts=4 |
| 1763 | portList=24,65534,1,4 |
| 1764 | dpid=06:d6:84:34:97:cc:8e:00 |
| 1765 | remote=/10.3.1.7:6633-->/10.3.1.253:64923 |
| 1766 | portNames=A24(24),local(65534),A1(1),A4(4) |
| 1767 | |
| 1768 | |
| 1769 | #Slices |
| 1770 | lnevers@flowvisor:~$ fvctl --passwd-file=/etc/flowvisor.passwd listSlices |
| 1771 | Slice 0: fvadmin |
| 1772 | Slice 1: alice |
| 1773 | Slice 2: bob |
| 1774 | Slice 3: 40f34bde-8c9f-4c21-8f01-a0d12bce18ae |
| 1775 | Slice 4: ac15f426-c695-4713-8ee9-9e0c9aec8148 |
| 1776 | Slice 5: 61a56358-1fad-4adf-be36-5071a330eaf3 |
| 1777 | |
| 1778 | |
| 1779 | lnevers@flowvisor:~$ fvctl --passwd-file=/etc/flowvisor.passwd getSliceInfo 61a56358-1fad-4adf-be36-5071a330eaf3 |
| 1780 | Got reply: |
| 1781 | drop_policy=exact |
| 1782 | connection_1=06:d6:84:34:97:cc:8e:00-->/128.112.170.7:36110-->mallorea.gpolab.bbn.com/192.1.249.185:33020 |
| 1783 | contact_email=lnevers@pgeni.gpolab.bbn.com |
| 1784 | controller_hostname=mallorea.gpolab.bbn.com |
| 1785 | controller_port=33020 |
| 1786 | creator=fvadmin |
| 1787 | |
| 1788 | }}} |
| 1789 | |
| 1790 | Check the FlowVisor setting: |
| 1791 | {{{ |
| 1792 | lnevers@flowvisor:~$ fvctl --passwd-file=/etc/flowvisor.passwd dumpConfig /tmp/flowvisor-config |
| 1793 | lnevers@flowvisor:~$ more /tmp/flowvisor-config |
| 1794 | { |
| 1795 | "flowvisor": [ |
| 1796 | { |
| 1797 | "api_webserver_port": 8080, |
| 1798 | "api_jetty_webserver_port": -1, |
| 1799 | "checkpointing": false, |
| 1800 | "listen_port": 6633, |
| 1801 | "track_flows": false, |
| 1802 | "stats_desc_hack": false, |
| 1803 | "run_topology_server": false, |
| 1804 | "logging": "NOTE", |
| 1805 | "log_ident": "flowvisor", |
| 1806 | "log_facility": "LOG_LOCAL7", |
| 1807 | "version": "flowvisor-0.9", |
| 1808 | "host": "localhost", |
| 1809 | "default_flood_perm": "fvadmin", |
| 1810 | "config_name": "default" |
| 1811 | } |
| 1812 | ], |
| 1813 | "Slice": [ |
| 1814 | { |
| 1815 | "config_name": "default", |
| 1816 | "flowmap_type": "federated", |
| 1817 | "name": "fvadmin", |
| 1818 | "creator": "fvadmin", |
| 1819 | "passwd_crypt": "xx", |
| 1820 | "passwd_salt": "xx", |
| 1821 | "controller_hostname": "none", |
| 1822 | "controller_port": 0, |
| 1823 | "contact_email": "fvadmin@localhost", |
| 1824 | "drop_policy": "exact", |
| 1825 | "lldp_spam": true |
| 1826 | }, |
| 1827 | { |
| 1828 | "config_name": "default", |
| 1829 | "flowmap_type": "federated", |
| 1830 | "name": "alice", |
| 1831 | "creator": "fvadmin", |
| 1832 | "passwd_crypt": "xx", |
| 1833 | "passwd_salt": "xx", |
| 1834 | "controller_hostname": "localhost", |
| 1835 | "controller_port": 54321, |
| 1836 | "contact_email": "alice@foo.com", |
| 1837 | "drop_policy": "exact", |
| 1838 | "lldp_spam": true |
| 1839 | }, |
| 1840 | { |
| 1841 | "config_name": "default", |
| 1842 | "flowmap_type": "federated", |
| 1843 | "name": "bob", |
| 1844 | "creator": "fvadmin", |
| 1845 | "passwd_crypt": "xx", |
| 1846 | "passwd_salt": "xx", |
| 1847 | "controller_hostname": "localhost", |
| 1848 | "controller_port": 54322, |
| 1849 | "contact_email": "bob@foo.com", |
| 1850 | "drop_policy": "exact", |
| 1851 | "lldp_spam": true |
| 1852 | }, |
| 1853 | { |
| 1854 | "config_name": "default", |
| 1855 | "flowmap_type": "federated", |
| 1856 | "name": "40f34bde-8c9f-4c21-8f01-a0d12bce18ae", |
| 1857 | "creator": "fvadmin", |
| 1858 | "passwd_crypt": "xx", |
| 1859 | "passwd_salt": "xx", |
| 1860 | "controller_hostname": "hafmet.gpolab.bbn.com", |
| 1861 | "controller_port": 33012, |
| 1862 | "contact_email": "tupty@pgeni.gpolab.bbn.com", |
| 1863 | "drop_policy": "exact", |
| 1864 | "lldp_spam": true |
| 1865 | }, |
| 1866 | { |
| 1867 | "config_name": "default", |
| 1868 | "flowmap_type": "federated", |
| 1869 | "name": "ac15f426-c695-4713-8ee9-9e0c9aec8148", |
| 1870 | "creator": "fvadmin", |
| 1871 | "passwd_crypt": "xx", |
| 1872 | "passwd_salt": "-xx", |
| 1873 | "controller_hostname": "naxos.gpolab.bbn.com", |
| 1874 | "controller_port": 31750, |
| 1875 | "contact_email": "tupty@pgeni.gpolab.bbn.com", |
| 1876 | "drop_policy": "exact", |
| 1877 | "lldp_spam": true |
| 1878 | }, |
| 1879 | { |
| 1880 | "config_name": "default", |
| 1881 | "flowmap_type": "federated", |
| 1882 | "name": "61a56358-1fad-4adf-be36-5071a330eaf3", |
| 1883 | "creator": "fvadmin", |
| 1884 | "passwd_crypt": "xx", |
| 1885 | "passwd_salt": "-xx", |
| 1886 | "controller_hostname": "mallorea.gpolab.bbn.com", |
| 1887 | "controller_port": 33020, |
| 1888 | "contact_email": "lnevers@pgeni.gpolab.bbn.com", |
| 1889 | "drop_policy": "exact", |
| 1890 | "lldp_spam": true |
| 1891 | } |
| 1892 | ], |
| 1893 | "FlowSpaceRule": [ |
| 1894 | { |
| 1895 | "dpid": "-8000000000000000", |
| 1896 | "priority": 32000, |
| 1897 | "in_port": 0, |
| 1898 | "dl_src": "00:00:00:00:00:02", |
| 1899 | "wildcards": 4194298, |
| 1900 | "slice_action": [ |
| 1901 | { |
| 1902 | "alice": 4 |
| 1903 | } |
| 1904 | ] |
| 1905 | }, |
| 1906 | { |
| 1907 | "dpid": "-8000000000000000", |
| 1908 | "priority": 32000, |
| 1909 | "in_port": 2, |
| 1910 | "dl_src": "00:00:00:00:00:02", |
| 1911 | "wildcards": 4194298, |
| 1912 | "slice_action": [ |
| 1913 | { |
| 1914 | "alice": 4 |
| 1915 | } |
| 1916 | ] |
| 1917 | }, |
| 1918 | { |
| 1919 | "dpid": "-8000000000000000", |
| 1920 | "priority": 32000, |
| 1921 | "in_port": 3, |
| 1922 | "dl_src": "00:00:00:00:00:02", |
| 1923 | "wildcards": 4194298, |
| 1924 | "slice_action": [ |
| 1925 | { |
| 1926 | "alice": 4 |
| 1927 | } |
| 1928 | ] |
| 1929 | }, |
| 1930 | { |
| 1931 | "dpid": "-8000000000000000", |
| 1932 | "priority": 32000, |
| 1933 | "in_port": 0, |
| 1934 | "dl_src": "00:01:00:00:00:02", |
| 1935 | "wildcards": 4194298, |
| 1936 | "slice_action": [ |
| 1937 | { |
| 1938 | "alice": 4 |
| 1939 | } |
| 1940 | ] |
| 1941 | }, |
| 1942 | { |
| 1943 | "dpid": "-8000000000000000", |
| 1944 | "priority": 32000, |
| 1945 | "in_port": 2, |
| 1946 | "dl_src": "00:01:00:00:00:02", |
| 1947 | "wildcards": 4194298, |
| 1948 | "slice_action": [ |
| 1949 | { |
| 1950 | "alice": 4 |
| 1951 | } |
| 1952 | ] |
| 1953 | }, |
| 1954 | { |
| 1955 | "dpid": "-8000000000000000", |
| 1956 | "priority": 32000, |
| 1957 | "in_port": 3, |
| 1958 | "dl_src": "00:01:00:00:00:02", |
| 1959 | "wildcards": 4194298, |
| 1960 | "slice_action": [ |
| 1961 | { |
| 1962 | "alice": 4 |
| 1963 | } |
| 1964 | ] |
| 1965 | }, |
| 1966 | { |
| 1967 | "dpid": "-8000000000000000", |
| 1968 | "priority": 32000, |
| 1969 | "in_port": 1, |
| 1970 | "dl_src": "00:00:00:00:00:01", |
| 1971 | "wildcards": 4194298, |
| 1972 | "slice_action": [ |
| 1973 | { |
| 1974 | "bob": 4 |
| 1975 | } |
| 1976 | ] |
| 1977 | }, |
| 1978 | { |
| 1979 | "dpid": "-8000000000000000", |
| 1980 | "priority": 32000, |
| 1981 | "in_port": 3, |
| 1982 | "dl_src": "00:00:00:00:00:01", |
| 1983 | "wildcards": 4194298, |
| 1984 | "slice_action": [ |
| 1985 | { |
| 1986 | "bob": 4 |
| 1987 | } |
| 1988 | ] |
| 1989 | }, |
| 1990 | { |
| 1991 | "dpid": "-8000000000000000", |
| 1992 | "priority": 32000, |
| 1993 | "in_port": 1, |
| 1994 | "dl_src": "00:01:00:00:00:01", |
| 1995 | "wildcards": 4194298, |
| 1996 | "slice_action": [ |
| 1997 | { |
| 1998 | "bob": 4 |
| 1999 | } |
| 2000 | ] |
| 2001 | }, |
| 2002 | { |
| 2003 | "dpid": "-8000000000000000", |
| 2004 | "priority": 32000, |
| 2005 | "in_port": 3, |
| 2006 | "dl_src": "00:01:00:00:00:01", |
| 2007 | "wildcards": 4194298, |
| 2008 | "slice_action": [ |
| 2009 | { |
| 2010 | "bob": 4 |
| 2011 | } |
| 2012 | ] |
| 2013 | }, |
| 2014 | { |
| 2015 | "dpid": "6d6843497cc8e00", |
| 2016 | "priority": 2000, |
| 2017 | "in_port": 0, |
| 2018 | "dl_type": 2048, |
| 2019 | "nw_src": 168900352, |
| 2020 | "nw_dst": 168900352, |
| 2021 | "wildcards": 3279087, |
| 2022 | "slice_action": [ |
| 2023 | { |
| 2024 | "40f34bde-8c9f-4c21-8f01-a0d12bce18ae": 4 |
| 2025 | } |
| 2026 | ] |
| 2027 | }, |
| 2028 | { |
| 2029 | "dpid": "6d6843497cc8e00", |
| 2030 | "priority": 2000, |
| 2031 | "in_port": 0, |
| 2032 | "dl_type": 2054, |
| 2033 | "nw_src": 168900352, |
| 2034 | "nw_dst": 168900352, |
| 2035 | "wildcards": 3279087, |
| 2036 | "slice_action": [ |
| 2037 | { |
| 2038 | "40f34bde-8c9f-4c21-8f01-a0d12bce18ae": 4 |
| 2039 | } |
| 2040 | ] |
| 2041 | }, |
| 2042 | { |
| 2043 | "dpid": "6d6843497cc8e00", |
| 2044 | "priority": 2000, |
| 2045 | "in_port": 0, |
| 2046 | "dl_type": 2048, |
| 2047 | "nw_src": 171048960, |
| 2048 | "nw_dst": 171048960, |
| 2049 | "wildcards": 3412207, |
| 2050 | "slice_action": [ |
| 2051 | { |
| 2052 | "ac15f426-c695-4713-8ee9-9e0c9aec8148": 4 |
| 2053 | } |
| 2054 | ] |
| 2055 | }, |
| 2056 | { |
| 2057 | "dpid": "6d6843497cc8e00", |
| 2058 | "priority": 2000, |
| 2059 | "in_port": 0, |
| 2060 | "dl_type": 2054, |
| 2061 | "nw_src": 171048960, |
| 2062 | "nw_dst": 171048960, |
| 2063 | "wildcards": 3412207, |
| 2064 | "slice_action": [ |
| 2065 | { |
| 2066 | "ac15f426-c695-4713-8ee9-9e0c9aec8148": 4 |
| 2067 | } |
| 2068 | ] |
| 2069 | }, |
| 2070 | { |
| 2071 | "dpid": "6d6843497cc8e00", |
| 2072 | "priority": 2000, |
| 2073 | "in_port": 0, |
| 2074 | "dl_type": 2048, |
| 2075 | "nw_src": 170527488, |
| 2076 | "nw_dst": 170527488, |
| 2077 | "wildcards": 3279087, |
| 2078 | "slice_action": [ |
| 2079 | { |
| 2080 | "61a56358-1fad-4adf-be36-5071a330eaf3": 4 |
| 2081 | } |
| 2082 | ] |
| 2083 | }, |
| 2084 | { |
| 2085 | "dpid": "6d6843497cc8e00", |
| 2086 | "priority": 2000, |
| 2087 | "in_port": 0, |
| 2088 | "dl_type": 2054, |
| 2089 | "nw_src": 170527488, |
| 2090 | "nw_dst": 170527488, |
| 2091 | "wildcards": 3279087, |
| 2092 | "slice_action": [ |
| 2093 | { |
| 2094 | "61a56358-1fad-4adf-be36-5071a330eaf3": 4 |
| 2095 | } |
| 2096 | ] |
| 2097 | } |
| 2098 | ] |
| 2099 | } |
| 2100 | lnevers@flowvisor:~$ |
| 2101 | |
| 2102 | }}} |
| 2103 | |