1674 | | foamctl geni:list-slivers --passwd-file=/etc/foam.passwd |
1675 | | |
1676 | | }}} |
1677 | | Access the FlowVisor VM and gather version information: |
1678 | | {{{ |
1679 | | |
1680 | | ssh lnevers@flowvisor.instageni.rnoc.gatech.edu |
| 1688 | lnevers@foam:~$ foamctl geni:list-slivers --passwd-file=/etc/foam.passwd |
| 1689 | { |
| 1690 | "slivers": [ |
| 1691 | { |
| 1692 | "status": "Approved", |
| 1693 | "sliver_urn": "urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+tupty1755:8e7c1cf3-3574-44a2-9e04-f55c46df4406", |
| 1694 | "creation": "2013-04-26 16:06:34.959001+00:00", |
| 1695 | "pend_reason": null, |
| 1696 | "expiration": "2013-07-15 00:00:00+00:00", |
| 1697 | "deleted": "False", |
| 1698 | "user": "urn:publicid:IDN+pgeni.gpolab.bbn.com+user+tupty", |
| 1699 | "slice_urn": "urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+tupty1755", |
| 1700 | "enabled": true, |
| 1701 | "email": "tupty@pgeni.gpolab.bbn.com", |
| 1702 | "flowvisor_slice": "8e7c1cf3-3574-44a2-9e04-f55c46df4406", |
| 1703 | "desc": "tupty1755 OpenFlow resources at Gatech InstaGENI.", |
| 1704 | "ref": null, |
| 1705 | "id": 2, |
| 1706 | "uuid": "8e7c1cf3-3574-44a2-9e04-f55c46df4406" |
| 1707 | }, |
| 1708 | { |
| 1709 | "status": "Approved", |
| 1710 | "sliver_urn": "urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+jbs16:43cde773-284c-4134-92da-b2e0f152a1d5", |
| 1711 | "creation": "2013-04-29 16:14:27.305547+00:00", |
| 1712 | "pend_reason": null, |
| 1713 | "expiration": "2013-06-15 23:00:00+00:00", |
| 1714 | "deleted": "False", |
| 1715 | "user": "urn:publicid:IDN+pgeni.gpolab.bbn.com+user+jbs", |
| 1716 | "slice_urn": "urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+jbs16", |
| 1717 | "enabled": true, |
| 1718 | "email": "jbs@pgeni.gpolab.bbn.com", |
| 1719 | "flowvisor_slice": "43cde773-284c-4134-92da-b2e0f152a1d5", |
| 1720 | "desc": "JBS 16 OpenFlow resources at Georgia Tech InstaGENI.", |
| 1721 | "ref": null, |
| 1722 | "id": 3, |
| 1723 | "uuid": "43cde773-284c-4134-92da-b2e0f152a1d5" |
| 1724 | }, |
| 1725 | { |
| 1726 | "status": "Approved", |
| 1727 | "sliver_urn": "urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+tuptymon:5813a277-23c5-4c30-b787-de2f3aa9da90", |
| 1728 | "creation": "2013-05-03 18:07:18.950904+00:00", |
| 1729 | "pend_reason": null, |
| 1730 | "expiration": "2013-07-15 00:00:00+00:00", |
| 1731 | "deleted": "False", |
| 1732 | "user": "urn:publicid:IDN+pgeni.gpolab.bbn.com+user+tupty", |
| 1733 | "slice_urn": "urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+tuptymon", |
| 1734 | "enabled": true, |
| 1735 | "email": "tupty@pgeni.gpolab.bbn.com", |
| 1736 | "flowvisor_slice": "5813a277-23c5-4c30-b787-de2f3aa9da90", |
| 1737 | "desc": "tuptymon OpenFlow resources at Gatech InstaGENI.", |
| 1738 | "ref": null, |
| 1739 | "id": 4, |
| 1740 | "uuid": "5813a277-23c5-4c30-b787-de2f3aa9da90" |
| 1741 | }, |
| 1742 | { |
| 1743 | "status": "Approved", |
| 1744 | "sliver_urn": "urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+jbs15:b95e2a89-eaba-44eb-ab72-07bb8e6e78d0", |
| 1745 | "creation": "2013-05-03 21:21:00.846404+00:00", |
| 1746 | "pend_reason": null, |
| 1747 | "expiration": "2013-06-15 23:00:00+00:00", |
| 1748 | "deleted": "False", |
| 1749 | "user": "urn:publicid:IDN+pgeni.gpolab.bbn.com+user+jbs", |
| 1750 | "slice_urn": "urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+jbs15", |
| 1751 | "enabled": true, |
| 1752 | "email": "jbs@pgeni.gpolab.bbn.com", |
| 1753 | "flowvisor_slice": "b95e2a89-eaba-44eb-ab72-07bb8e6e78d0", |
| 1754 | "desc": "JBS 15 OpenFlow resources at Georgia Tech InstaGENI.", |
| 1755 | "ref": null, |
| 1756 | "id": 6, |
| 1757 | "uuid": "b95e2a89-eaba-44eb-ab72-07bb8e6e78d0" |
| 1758 | } |
| 1759 | ] |
| 1760 | } |
| 1761 | |
| 1762 | |
| 1763 | }}} |
| 1764 | Access the FlowVisor VM, verify root access: |
| 1765 | {{{ |
| 1766 | |
| 1767 | lnevers@flowvisor:~$ sudo whoami |
| 1768 | root |
| 1769 | |
1685 | | fvctl --passwd-file=/etc/flowvisor.passwd ping hello |
1686 | | |
1687 | | # Devices |
1688 | | fvctl --passwd-file=/etc/flowvisor.passwd listDevices |
1689 | | |
1690 | | fvctl --passwd-file=/etc/flowvisor.passwd getDeviceInfo 06:d6:6c:3b:e5:68:00:00 |
1691 | | |
1692 | | #Slices |
1693 | | fvctl --passwd-file=/etc/flowvisor.passwd listSlices |
1694 | | |
1695 | | fvctl --passwd-file=/etc/flowvisor.passwd getSliceInfo 5c956f94-5e05-40b5-948f-34d0149d9182 |
| 1774 | lnevers@flowvisor:~$ fvctl --passwd-file=/etc/flowvisor.passwd ping hello |
| 1775 | Got reply: |
| 1776 | PONG(fvadmin): FV version=flowvisor-0.8.14::hello |
| 1777 | lnevers@flowvisor:~$ fvctl --passwd-file=/etc/flowvisor.passwd listDevices |
| 1778 | Device 0: 06:d6:6c:3b:e5:66:6b:00 |
| 1779 | lnevers@flowvisor:~$ fvctl --passwd-file=/etc/flowvisor.passwd getDeviceInfo 06:d6:6c:3b:e5:66:6b:00 |
| 1780 | nPorts=4 |
| 1781 | portList=1,24,65534,4 |
| 1782 | dpid=06:d6:6c:3b:e5:66:6b:00 |
| 1783 | remote=/10.3.1.7:6633-->/10.3.1.253:53231 |
| 1784 | portNames=A1(1),A24(24),local(65534),A4(4) |
| 1785 | lnevers@flowvisor:~$ fvctl --passwd-file=/etc/flowvisor.passwd listSlices |
| 1786 | Slice 0: fvadmin |
| 1787 | Slice 1: 8e7c1cf3-3574-44a2-9e04-f55c46df4406 |
| 1788 | Slice 2: 43cde773-284c-4134-92da-b2e0f152a1d5 |
| 1789 | Slice 3: 5813a277-23c5-4c30-b787-de2f3aa9da90 |
| 1790 | Slice 4: b95e2a89-eaba-44eb-ab72-07bb8e6e78d0 |
| 1791 | lnevers@flowvisor:~$ fvctl --passwd-file=/etc/flowvisor.passwd getSliceInfo 8e7c1cf3-3574-44a2-9e04-f55c46df4406 |
| 1792 | Got reply: |
| 1793 | drop_policy=exact |
| 1794 | connection_1=06:d6:6c:3b:e5:66:6b:00-->/143.215.216.135:40313-->hafmet.gpolab.bbn.com/192.1.249.178:33012 |
| 1795 | contact_email=tupty@pgeni.gpolab.bbn.com |
| 1796 | controller_hostname=hafmet.gpolab.bbn.com |
| 1797 | controller_port=33012 |
| 1798 | creator=fvadmin |
| 1799 | lnevers@flowvisor:~$ |
1701 | | fvctl --passwd-file=/etc/flowvisor.passwd dumpConfig /tmp/flowvisor-config |
1702 | | more /tmp/flowvisor-config |
| 1805 | lnevers@flowvisor:~$ fvctl --passwd-file=/etc/flowvisor.passwd dumpConfig /tmp/flowvisor-config |
| 1806 | lnevers@flowvisor:~$ more /tmp/flowvisor-config |
| 1807 | { |
| 1808 | "flowvisor": [ |
| 1809 | { |
| 1810 | "api_webserver_port": 8080, |
| 1811 | "api_jetty_webserver_port": -1, |
| 1812 | "checkpointing": false, |
| 1813 | "listen_port": 6633, |
| 1814 | "track_flows": false, |
| 1815 | "stats_desc_hack": false, |
| 1816 | "run_topology_server": false, |
| 1817 | "logging": "NOTE", |
| 1818 | "log_ident": "flowvisor", |
| 1819 | "log_facility": "LOG_LOCAL7", |
| 1820 | "version": "flowvisor-0.9", |
| 1821 | "host": "localhost", |
| 1822 | "default_flood_perm": "fvadmin", |
| 1823 | "config_name": "default" |
| 1824 | } |
| 1825 | ], |
| 1826 | "Slice": [ |
| 1827 | { |
| 1828 | "config_name": "default", |
| 1829 | "flowmap_type": "federated", |
| 1830 | "name": "fvadmin", |
| 1831 | "creator": "fvadmin", |
| 1832 | "passwd_crypt": "xxx", |
| 1833 | "passwd_salt": "xxx", |
| 1834 | "controller_hostname": "none", |
| 1835 | "controller_port": 0, |
| 1836 | "contact_email": "fvadmin@localhost", |
| 1837 | "drop_policy": "exact", |
| 1838 | "lldp_spam": true |
| 1839 | }, |
| 1840 | { |
| 1841 | "config_name": "default", |
| 1842 | "flowmap_type": "federated", |
| 1843 | "name": "8e7c1cf3-3574-44a2-9e04-f55c46df4406", |
| 1844 | "creator": "fvadmin", |
| 1845 | "passwd_crypt": "52276201633222ec1a772b16f6af7be1", |
| 1846 | "passwd_salt": "123792573", |
| 1847 | "controller_hostname": "hafmet.gpolab.bbn.com", |
| 1848 | "controller_port": 33012, |
| 1849 | "contact_email": "tupty@pgeni.gpolab.bbn.com", |
| 1850 | "drop_policy": "exact", |
| 1851 | "lldp_spam": true |
| 1852 | }, |
| 1853 | { |
| 1854 | "config_name": "default", |
| 1855 | "flowmap_type": "federated", |
| 1856 | "name": "43cde773-284c-4134-92da-b2e0f152a1d5", |
| 1857 | "creator": "fvadmin", |
| 1858 | "passwd_crypt": "2f16357fc31367fe483397cc152b1e98", |
| 1859 | "passwd_salt": "-484951507", |
| 1860 | "controller_hostname": "naxos.gpolab.bbn.com", |
| 1861 | "controller_port": 33016, |
| 1862 | "contact_email": "jbs@pgeni.gpolab.bbn.com", |
| 1863 | "drop_policy": "exact", |
| 1864 | "lldp_spam": true |
| 1865 | }, |
| 1866 | { |
| 1867 | "config_name": "default", |
| 1868 | "flowmap_type": "federated", |
| 1869 | "name": "5813a277-23c5-4c30-b787-de2f3aa9da90", |
| 1870 | "creator": "fvadmin", |
| 1871 | "passwd_crypt": "de43db2c4f990c125aa00d21a0d0c198", |
| 1872 | "passwd_salt": "1685096835", |
| 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": "b95e2a89-eaba-44eb-ab72-07bb8e6e78d0", |
| 1883 | "creator": "fvadmin", |
| 1884 | "passwd_crypt": "e36800dce5439cb6d3764f4eb77da91f", |
| 1885 | "passwd_salt": "-1032351621", |
| 1886 | "controller_hostname": "naxos.gpolab.bbn.com", |
| 1887 | "controller_port": 33015, |
| 1888 | "contact_email": "jbs@pgeni.gpolab.bbn.com", |
| 1889 | "drop_policy": "exact", |
| 1890 | "lldp_spam": true |
| 1891 | } |
| 1892 | ], |
| 1893 | "FlowSpaceRule": [ |
| 1894 | { |
| 1895 | "dpid": "6d66c3be5666b00", |
| 1896 | "priority": 2000, |
| 1897 | "in_port": 0, |
| 1898 | "dl_type": 2048, |
| 1899 | "nw_src": 168900352, |
| 1900 | "nw_dst": 168900352, |
| 1901 | "wildcards": 3279087, |
| 1902 | "slice_action": [ |
| 1903 | { |
| 1904 | "8e7c1cf3-3574-44a2-9e04-f55c46df4406": 4 |
| 1905 | } |
| 1906 | ] |
| 1907 | }, |
| 1908 | { |
| 1909 | "dpid": "6d66c3be5666b00", |
| 1910 | "priority": 2000, |
| 1911 | "in_port": 0, |
| 1912 | "dl_type": 2054, |
| 1913 | "nw_src": 168900352, |
| 1914 | "nw_dst": 168900352, |
| 1915 | "wildcards": 3279087, |
| 1916 | "slice_action": [ |
| 1917 | { |
| 1918 | "8e7c1cf3-3574-44a2-9e04-f55c46df4406": 4 |
| 1919 | } |
| 1920 | ] |
| 1921 | }, |
| 1922 | { |
| 1923 | "dpid": "6d66c3be5666b00", |
| 1924 | "priority": 2000, |
| 1925 | "in_port": 0, |
| 1926 | "dl_type": 2048, |
| 1927 | "nw_src": 170528768, |
| 1928 | "nw_dst": 170528768, |
| 1929 | "wildcards": 3279087, |
| 1930 | "slice_action": [ |
| 1931 | { |
| 1932 | "43cde773-284c-4134-92da-b2e0f152a1d5": 4 |
| 1933 | } |
| 1934 | ] |
| 1935 | }, |
| 1936 | { |
| 1937 | "dpid": "6d66c3be5666b00", |
| 1938 | "priority": 2000, |
| 1939 | "in_port": 0, |
| 1940 | "dl_type": 2054, |
| 1941 | "nw_src": 170528768, |
| 1942 | "nw_dst": 170528768, |
| 1943 | "wildcards": 3279087, |
| 1944 | "slice_action": [ |
| 1945 | { |
| 1946 | "43cde773-284c-4134-92da-b2e0f152a1d5": 4 |
| 1947 | } |
| 1948 | ] |
| 1949 | }, |
| 1950 | { |
| 1951 | "dpid": "6d66c3be5666b00", |
| 1952 | "priority": 2000, |
| 1953 | "in_port": 0, |
| 1954 | "dl_type": 2048, |
| 1955 | "nw_src": 171048960, |
| 1956 | "nw_dst": 171048960, |
| 1957 | "wildcards": 3412207, |
| 1958 | "slice_action": [ |
| 1959 | { |
| 1960 | "5813a277-23c5-4c30-b787-de2f3aa9da90": 4 |
| 1961 | } |
| 1962 | ] |
| 1963 | }, |
| 1964 | { |
| 1965 | "dpid": "6d66c3be5666b00", |
| 1966 | "priority": 2000, |
| 1967 | "in_port": 0, |
| 1968 | "dl_type": 2054, |
| 1969 | "nw_src": 171048960, |
| 1970 | "nw_dst": 171048960, |
| 1971 | "wildcards": 3412207, |
| 1972 | "slice_action": [ |
| 1973 | { |
| 1974 | "5813a277-23c5-4c30-b787-de2f3aa9da90": 4 |
| 1975 | } |
| 1976 | ] |
| 1977 | }, |
| 1978 | { |
| 1979 | "dpid": "6d66c3be5666b00", |
| 1980 | "priority": 2000, |
| 1981 | "in_port": 0, |
| 1982 | "dl_type": 2048, |
| 1983 | "nw_src": 170528512, |
| 1984 | "nw_dst": 170528512, |
| 1985 | "wildcards": 3279087, |
| 1986 | "slice_action": [ |
| 1987 | { |
| 1988 | "b95e2a89-eaba-44eb-ab72-07bb8e6e78d0": 4 |
| 1989 | } |
| 1990 | ] |
| 1991 | }, |
| 1992 | { |
| 1993 | "dpid": "6d66c3be5666b00", |
| 1994 | "priority": 2000, |
| 1995 | "in_port": 0, |
| 1996 | "dl_type": 2054, |
| 1997 | "nw_src": 170528512, |
| 1998 | "nw_dst": 170528512, |
| 1999 | "wildcards": 3279087, |
| 2000 | "slice_action": [ |
| 2001 | { |
| 2002 | "b95e2a89-eaba-44eb-ab72-07bb8e6e78d0": 4 |
| 2003 | } |
| 2004 | ] |
| 2005 | } |
| 2006 | ] |
| 2007 | } |