1454 | | foamctl geni:list-slivers --passwd-file=/etc/foam.passwd |
1455 | | |
1456 | | }}} |
1457 | | Access the FlowVisor VM and gather version information: |
1458 | | {{{ |
1459 | | |
1460 | | ssh lnevers@flowvisor.instageni.kentucky.edu |
1461 | | }}} |
1462 | | Check the !FlowVisor version, list of devices, get details for a device, list of active slices, and details for one of the slices: |
1463 | | {{{ |
1464 | | |
1465 | | fvctl --passwd-file=/etc/flowvisor.passwd ping hello |
| 1470 | lnevers@foam:~$ foamctl geni:list-slivers --passwd-file=/etc/foam.passwd |
| 1471 | { |
| 1472 | "slivers": [ |
| 1473 | { |
| 1474 | "status": "Approved", |
| 1475 | "sliver_urn": "urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+tupty1755:1541f9a3-6a97-468e-bfab-0d4c8c4877d1", |
| 1476 | "creation": "2013-02-22 16:07:36.678505+00:00", |
| 1477 | "pend_reason": null, |
| 1478 | "expiration": "2013-04-15 00:00:00+00:00", |
| 1479 | "deleted": "False", |
| 1480 | "user": "urn:publicid:IDN+pgeni.gpolab.bbn.com+user+tupty", |
| 1481 | "slice_urn": "urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+tupty1755", |
| 1482 | "enabled": true, |
| 1483 | "email": "tupty@pgeni.gpolab.bbn.com", |
| 1484 | "flowvisor_slice": "1541f9a3-6a97-468e-bfab-0d4c8c4877d1", |
| 1485 | "desc": "tupty1755 OpenFlow resources at UKY InstaGENI.", |
| 1486 | "ref": null, |
| 1487 | "id": 3, |
| 1488 | "uuid": "1541f9a3-6a97-468e-bfab-0d4c8c4877d1" |
| 1489 | }, |
| 1490 | { |
| 1491 | "status": "Approved", |
| 1492 | "sliver_urn": "urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+tuptymon:ca5b55b8-90f5-4c94-a557-4364626c7b08", |
| 1493 | "creation": "2013-02-22 17:11:26.208503+00:00", |
| 1494 | "pend_reason": null, |
| 1495 | "expiration": "2013-05-30 00:00:00+00:00", |
| 1496 | "deleted": "False", |
| 1497 | "user": "urn:publicid:IDN+pgeni.gpolab.bbn.com+user+tupty", |
| 1498 | "slice_urn": "urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+tuptymon", |
| 1499 | "enabled": true, |
| 1500 | "email": "tupty@pgeni.gpolab.bbn.com", |
| 1501 | "flowvisor_slice": "ca5b55b8-90f5-4c94-a557-4364626c7b08", |
| 1502 | "desc": "tuptymon OpenFlow resources at UKY InstaGENI.", |
| 1503 | "ref": null, |
| 1504 | "id": 4, |
| 1505 | "uuid": "ca5b55b8-90f5-4c94-a557-4364626c7b08" |
| 1506 | }, |
| 1507 | { |
| 1508 | "status": "Approved", |
| 1509 | "sliver_urn": "urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+jbs15:207eb573-34ab-41a0-926e-3c072c5f7450", |
| 1510 | "creation": "2013-02-22 20:20:05.529334+00:00", |
| 1511 | "pend_reason": null, |
| 1512 | "expiration": "2013-06-15 23:00:00+00:00", |
| 1513 | "deleted": "False", |
| 1514 | "user": "urn:publicid:IDN+pgeni.gpolab.bbn.com+user+jbs", |
| 1515 | "slice_urn": "urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+jbs15", |
| 1516 | "enabled": true, |
| 1517 | "email": "jbs@pgeni.gpolab.bbn.com", |
| 1518 | "flowvisor_slice": "207eb573-34ab-41a0-926e-3c072c5f7450", |
| 1519 | "desc": "JBS 15 OpenFlow resources at Kentucky InstaGENI.", |
| 1520 | "ref": null, |
| 1521 | "id": 5, |
| 1522 | "uuid": "207eb573-34ab-41a0-926e-3c072c5f7450" |
| 1523 | }, |
| 1524 | { |
| 1525 | "status": "Approved", |
| 1526 | "sliver_urn": "urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+jbs16:6e6c7524-2651-4001-a445-bb12dbbea884", |
| 1527 | "creation": "2013-02-22 21:08:08.138954+00:00", |
| 1528 | "pend_reason": null, |
| 1529 | "expiration": "2013-06-15 23:00:00+00:00", |
| 1530 | "deleted": "False", |
| 1531 | "user": "urn:publicid:IDN+pgeni.gpolab.bbn.com+user+jbs", |
| 1532 | "slice_urn": "urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+jbs16", |
| 1533 | "enabled": true, |
| 1534 | "email": "jbs@pgeni.gpolab.bbn.com", |
| 1535 | "flowvisor_slice": "6e6c7524-2651-4001-a445-bb12dbbea884", |
| 1536 | "desc": "JBS 16 OpenFlow resources at Kentucky InstaGENI.", |
| 1537 | "ref": null, |
| 1538 | "id": 6, |
| 1539 | "uuid": "6e6c7524-2651-4001-a445-bb12dbbea884" |
| 1540 | }, |
| 1541 | { |
| 1542 | "status": "Approved", |
| 1543 | "sliver_urn": "urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+IG-CT-4:9b21186a-0df7-4198-83af-3e7227cc0bee", |
| 1544 | "creation": "2013-03-08 12:43:18.533288+00:00", |
| 1545 | "pend_reason": null, |
| 1546 | "expiration": "2013-03-12 00:00:00+00:00", |
| 1547 | "deleted": "False", |
| 1548 | "user": "urn:publicid:IDN+pgeni.gpolab.bbn.com+user+lnevers", |
| 1549 | "slice_urn": "urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+IG-CT-4", |
| 1550 | "enabled": true, |
| 1551 | "email": "lnevers@pgeni.gpolab.bbn.com", |
| 1552 | "flowvisor_slice": "9b21186a-0df7-4198-83af-3e7227cc0bee", |
| 1553 | "desc": "New Site Confirmation Test IG-CT-4 ", |
| 1554 | "ref": null, |
| 1555 | "id": 7, |
| 1556 | "uuid": "9b21186a-0df7-4198-83af-3e7227cc0bee" |
| 1557 | } |
| 1558 | ] |
| 1559 | } |
| 1560 | lnevers@foam:~$ |
| 1561 | |
| 1562 | }}} |
| 1563 | Access the FlowVisor VM and check the !FlowVisor version, list of devices, get details for a device, list of active slices, and details for one of the slices: |
| 1564 | {{{ |
| 1565 | |
| 1566 | $ ssh flowvisor.lan.sdn.uky.edu |
| 1567 | |
| 1568 | lnevers@flowvisor:~$ fvctl --passwd-file=/etc/flowvisor.passwd ping hello |
| 1569 | Got reply: |
| 1570 | PONG(fvadmin): FV version=flowvisor-0.8.14::hello |
| 1571 | lnevers@flowvisor:~$ |
1481 | | fvctl --passwd-file=/etc/flowvisor.passwd dumpConfig /tmp/flowvisor-config |
1482 | | more /tmp/flowvisor-config |
1483 | | |
| 1608 | lnevers@flowvisor:~$ fvctl --passwd-file=/etc/flowvisor.passwd dumpConfig /tmp/flowvisor-config |
| 1609 | lnevers@flowvisor:~$ more /tmp/flowvisor-config |
| 1610 | { |
| 1611 | "flowvisor": [ |
| 1612 | { |
| 1613 | "api_webserver_port": 8080, |
| 1614 | "api_jetty_webserver_port": -1, |
| 1615 | "checkpointing": false, |
| 1616 | "listen_port": 6633, |
| 1617 | "track_flows": false, |
| 1618 | "stats_desc_hack": false, |
| 1619 | "run_topology_server": false, |
| 1620 | "logging": "NOTE", |
| 1621 | "log_ident": "flowvisor", |
| 1622 | "log_facility": "LOG_LOCAL7", |
| 1623 | "version": "flowvisor-0.9", |
| 1624 | "host": "localhost", |
| 1625 | "default_flood_perm": "fvadmin", |
| 1626 | "config_name": "default" |
| 1627 | } |
| 1628 | ], |
| 1629 | "Slice": [ |
| 1630 | { |
| 1631 | "config_name": "default", |
| 1632 | "flowmap_type": "federated", |
| 1633 | "name": "fvadmin", |
| 1634 | "creator": "fvadmin", |
| 1635 | "passwd_crypt": "xxx", |
| 1636 | "passwd_salt": "xx", |
| 1637 | "controller_hostname": "none", |
| 1638 | "controller_port": 0, |
| 1639 | "contact_email": "fvadmin@localhost", |
| 1640 | "drop_policy": "exact", |
| 1641 | "lldp_spam": true |
| 1642 | }, |
| 1643 | { |
| 1644 | "config_name": "default", |
| 1645 | "flowmap_type": "federated", |
| 1646 | "name": "1541f9a3-6a97-468e-bfab-0d4c8c4877d1", |
| 1647 | "creator": "fvadmin", |
| 1648 | "passwd_crypt": "xx", |
| 1649 | "passwd_salt": "xx", |
| 1650 | "controller_hostname": "hafmet.gpolab.bbn.com", |
| 1651 | "controller_port": 33012, |
| 1652 | "contact_email": "tupty@pgeni.gpolab.bbn.com", |
| 1653 | "drop_policy": "exact", |
| 1654 | "lldp_spam": true |
| 1655 | }, |
| 1656 | { |
| 1657 | "config_name": "default", |
| 1658 | "flowmap_type": "federated", |
| 1659 | "name": "ca5b55b8-90f5-4c94-a557-4364626c7b08", |
| 1660 | "creator": "fvadmin", |
| 1661 | "passwd_crypt": "xx", |
| 1662 | "passwd_salt": "-xx", |
| 1663 | "controller_hostname": "naxos.gpolab.bbn.com", |
| 1664 | "controller_port": 31750, |
| 1665 | "contact_email": "tupty@pgeni.gpolab.bbn.com", |
| 1666 | "drop_policy": "exact", |
| 1667 | "lldp_spam": true |
| 1668 | }, |
| 1669 | { |
| 1670 | "config_name": "default", |
| 1671 | "flowmap_type": "federated", |
| 1672 | "name": "207eb573-34ab-41a0-926e-3c072c5f7450", |
| 1673 | "creator": "fvadmin", |
| 1674 | "passwd_crypt": "xxxx", |
| 1675 | "passwd_salt": "-xxx", |
| 1676 | "controller_hostname": "naxos.gpolab.bbn.com", |
| 1677 | "controller_port": 33015, |
| 1678 | "contact_email": "jbs@pgeni.gpolab.bbn.com", |
| 1679 | "drop_policy": "exact", |
| 1680 | "lldp_spam": true |
| 1681 | }, |
| 1682 | { |
| 1683 | "config_name": "default", |
| 1684 | "flowmap_type": "federated", |
| 1685 | "name": "6e6c7524-2651-4001-a445-bb12dbbea884", |
| 1686 | "creator": "fvadmin", |
| 1687 | "passwd_crypt": "xxx", |
| 1688 | "passwd_salt": "xxx", |
| 1689 | "controller_hostname": "naxos.gpolab.bbn.com", |
| 1690 | "controller_port": 33016, |
| 1691 | "contact_email": "jbs@pgeni.gpolab.bbn.com", |
| 1692 | "drop_policy": "exact", |
| 1693 | "lldp_spam": true |
| 1694 | }, |
| 1695 | { |
| 1696 | "config_name": "default", |
| 1697 | "flowmap_type": "federated", |
| 1698 | "name": "9b21186a-0df7-4198-83af-3e7227cc0bee", |
| 1699 | "creator": "fvadmin", |
| 1700 | "passwd_crypt": "xx", |
| 1701 | "passwd_salt": "-xx", |
| 1702 | "controller_hostname": "mallorea.gpolab.bbn.com", |
| 1703 | "controller_port": 33020, |
| 1704 | "contact_email": "lnevers@pgeni.gpolab.bbn.com", |
| 1705 | "drop_policy": "exact", |
| 1706 | "lldp_spam": true |
| 1707 | } |
| 1708 | ], |
| 1709 | "FlowSpaceRule": [ |
| 1710 | { |
| 1711 | "dpid": "6d66c3be5686600", |
| 1712 | "priority": 2000, |
| 1713 | "in_port": 0, |
| 1714 | "dl_type": 2048, |
| 1715 | "nw_src": 168900352, |
| 1716 | "nw_dst": 168900352, |
| 1717 | "wildcards": 3279087, |
| 1718 | "slice_action": [ |
| 1719 | { |
| 1720 | "1541f9a3-6a97-468e-bfab-0d4c8c4877d1": 4 |
| 1721 | } |
| 1722 | ] |
| 1723 | }, |
| 1724 | { |
| 1725 | "dpid": "6d66c3be5686600", |
| 1726 | "priority": 2000, |
| 1727 | "in_port": 0, |
| 1728 | "dl_type": 2054, |
| 1729 | "nw_src": 168900352, |
| 1730 | "nw_dst": 168900352, |
| 1731 | "wildcards": 3279087, |
| 1732 | "slice_action": [ |
| 1733 | { |
| 1734 | "1541f9a3-6a97-468e-bfab-0d4c8c4877d1": 4 |
| 1735 | } |
| 1736 | ] |
| 1737 | }, |
| 1738 | { |
| 1739 | "dpid": "6d66c3be5686600", |
| 1740 | "priority": 2000, |
| 1741 | "in_port": 0, |
| 1742 | "dl_type": 2048, |
| 1743 | "nw_src": 171048960, |
| 1744 | "nw_dst": 171048960, |
| 1745 | "wildcards": 3412207, |
| 1746 | "slice_action": [ |
| 1747 | { |
| 1748 | "ca5b55b8-90f5-4c94-a557-4364626c7b08": 4 |
| 1749 | } |
| 1750 | ] |
| 1751 | }, |
| 1752 | { |
| 1753 | "dpid": "6d66c3be5686600", |
| 1754 | "priority": 2000, |
| 1755 | "in_port": 0, |
| 1756 | "dl_type": 2054, |
| 1757 | "nw_src": 171048960, |
| 1758 | "nw_dst": 171048960, |
| 1759 | "wildcards": 3412207, |
| 1760 | "slice_action": [ |
| 1761 | { |
| 1762 | "ca5b55b8-90f5-4c94-a557-4364626c7b08": 4 |
| 1763 | } |
| 1764 | ] |
| 1765 | }, |
| 1766 | { |
| 1767 | "dpid": "6d66c3be5686600", |
| 1768 | "priority": 2000, |
| 1769 | "in_port": 0, |
| 1770 | "dl_type": 2048, |
| 1771 | "nw_src": 170528512, |
| 1772 | "nw_dst": 170528512, |
| 1773 | "wildcards": 3279087, |
| 1774 | "slice_action": [ |
| 1775 | { |
| 1776 | "207eb573-34ab-41a0-926e-3c072c5f7450": 4 |
| 1777 | } |
| 1778 | ] |
| 1779 | }, |
| 1780 | { |
| 1781 | "dpid": "6d66c3be5686600", |
| 1782 | "priority": 2000, |
| 1783 | "in_port": 0, |
| 1784 | "dl_type": 2054, |
| 1785 | "nw_src": 170528512, |
| 1786 | "nw_dst": 170528512, |
| 1787 | "wildcards": 3279087, |
| 1788 | "slice_action": [ |
| 1789 | { |
| 1790 | "207eb573-34ab-41a0-926e-3c072c5f7450": 4 |
| 1791 | } |
| 1792 | ] |
| 1793 | }, |
| 1794 | { |
| 1795 | "dpid": "6d66c3be5686600", |
| 1796 | "priority": 2000, |
| 1797 | "in_port": 0, |
| 1798 | "dl_type": 2048, |
| 1799 | "nw_src": 170528768, |
| 1800 | "nw_dst": 170528768, |
| 1801 | "wildcards": 3279087, |
| 1802 | "slice_action": [ |
| 1803 | { |
| 1804 | "6e6c7524-2651-4001-a445-bb12dbbea884": 4 |
| 1805 | } |
| 1806 | ] |
| 1807 | }, |
| 1808 | { |
| 1809 | "dpid": "6d66c3be5686600", |
| 1810 | "priority": 2000, |
| 1811 | "in_port": 0, |
| 1812 | "dl_type": 2054, |
| 1813 | "nw_src": 170528768, |
| 1814 | "nw_dst": 170528768, |
| 1815 | "wildcards": 3279087, |
| 1816 | "slice_action": [ |
| 1817 | { |
| 1818 | "6e6c7524-2651-4001-a445-bb12dbbea884": 4 |
| 1819 | } |
| 1820 | ] |
| 1821 | }, |
| 1822 | { |
| 1823 | "dpid": "6d66c3be5686600", |
| 1824 | "priority": 2000, |
| 1825 | "in_port": 0, |
| 1826 | "dl_type": 2048, |
| 1827 | "nw_src": 170527488, |
| 1828 | "nw_dst": 170527488, |
| 1829 | "wildcards": 3279087, |
| 1830 | "slice_action": [ |
| 1831 | { |
| 1832 | "9b21186a-0df7-4198-83af-3e7227cc0bee": 4 |
| 1833 | } |
| 1834 | ] |
| 1835 | }, |
| 1836 | { |
| 1837 | "dpid": "6d66c3be5686600", |
| 1838 | "priority": 2000, |
| 1839 | "in_port": 0, |
| 1840 | "dl_type": 2054, |
| 1841 | "nw_src": 170527488, |
| 1842 | "nw_dst": 170527488, |
| 1843 | "wildcards": 3279087, |
| 1844 | "slice_action": [ |
| 1845 | { |
| 1846 | "9b21186a-0df7-4198-83af-3e7227cc0bee": 4 |
| 1847 | } |
| 1848 | ] |
| 1849 | } |
| 1850 | ] |
| 1851 | } |
| 1852 | lnevers@flowvisor:~$ |