| 1653 | Verify FOAM and !FlowVisor configuration files ownership and paths: |
| 1654 | {{{ |
| 1655 | [lnevers@sl-hn ~]$ ls -l /etc/foam.passwd /etc/flowvisor.passwd /etc/flowvisor/fvpasswd /opt/foam/etc/foampasswd |
| 1656 | lrwxrwxrwx 1 root flowvisor 21 Nov 11 2013 /etc/flowvisor/fvpasswd -> /etc/flowvisor.passwd |
| 1657 | -r--r----- 1 flowvisor sladmins 25 Nov 11 2013 /etc/flowvisor.passwd |
| 1658 | -r--r-----+ 1 root sladmins 25 Nov 11 2013 /etc/foam.passwd |
| 1659 | lrwxrwxrwx 1 root root 16 Nov 11 2013 /opt/foam/etc/foampasswd -> /etc/foam.passwd |
| 1660 | [lnevers@sl-hn ~]$ |
| 1661 | }}} |
| 1662 | |
| 1663 | Check FOAM version and FOAM configuration for site.admin.email, geni.site-tag, email.from settings on the SL head node: |
| 1664 | {{{ |
| 1665 | [lnevers@sl-hn ~]$ foamctl admin:get-version --passwd-file=/etc/foam.passwd |
| 1666 | { |
| 1667 | "version": "0.14.0" |
| 1668 | } |
| 1669 | [lnevers@sl-hn ~]$ foamctl config:get-value --key="site.admin.email" --passwd-file=/opt/foam/etc/foampasswd |
| 1670 | { |
| 1671 | "value": null |
| 1672 | } |
| 1673 | |
| 1674 | [lnevers@sl-hn ~]$ foamctl config:get-value --key="geni.site-tag" --passwd-file=/opt/foam/etc/foampasswd |
| 1675 | { |
| 1676 | "value": "sl-hn.exogeni.net" |
| 1677 | } |
| 1678 | [lnevers@sl-hn ~]$ foamctl config:get-value --key="email.from" --passwd-file=/opt/foam/etc/foampasswd |
| 1679 | { |
| 1680 | "value": "Jim Hao Chen <jim-chen@northwestern.edu>" |
| 1681 | } |
| 1682 | [lnevers@sl-hn ~]$ foamctl config:get-value --key="geni.approval.approve-on-creation" --passwd-file=/opt/foam/etc/foampasswd |
| 1683 | { |
| 1684 | "value": 2 |
| 1685 | } |
| 1686 | [lnevers@sl-hn ~]$ |
| 1687 | }}} |
| 1688 | Show FOAM slivers details: |
| 1689 | {{{ |
| 1690 | [lnevers@sl-hn ~]$ foamctl geni:list-slivers --passwd-file=/opt/foam/etc/foampasswd |
| 1691 | { |
| 1692 | "slivers": [ |
| 1693 | { |
| 1694 | "status": "approved", |
| 1695 | "flowvisor_slice": "59d0e1a3-c0fe-442b-b1ca-64814ced147c", |
| 1696 | "slice_urn": "urn:publicid:IDN+ch.geni.net:gpo-infra+slice+tupty3715", |
| 1697 | "pend_reason": [], |
| 1698 | "deleted": "False", |
| 1699 | "user": "urn:publicid:IDN+ch.geni.net+user+tupty", |
| 1700 | "creation": "2014-04-22 21:06:12.701819+00:00", |
| 1701 | "enabled": true, |
| 1702 | "uuid": "59d0e1a3-c0fe-442b-b1ca-64814ced147c", |
| 1703 | "id": 5, |
| 1704 | "expiration": "2014-08-27 00:00:00+00:00", |
| 1705 | "sliver_urn": "urn:publicid:IDN+ch.geni.net:gpo-infra+slice+tupty3715:59d0e1a3-c0fe-442b-b1ca-64814ced147c", |
| 1706 | "ref": null, |
| 1707 | "email": "tupty@bbn.com", |
| 1708 | "desc": "tupty3715 OpenFlow resources at Starlight" |
| 1709 | }, |
| 1710 | { |
| 1711 | "status": "approved", |
| 1712 | "flowvisor_slice": "bce2be4c-8c90-4b78-9306-ee1e0df1bf5a", |
| 1713 | "slice_urn": "urn:publicid:IDN+ch.geni.net:gpoamcanary+slice+sitemon", |
| 1714 | "pend_reason": [], |
| 1715 | "deleted": "False", |
| 1716 | "user": "urn:publicid:IDN+ch.geni.net+user+tupty", |
| 1717 | "creation": "2014-05-29 18:31:45.738384+00:00", |
| 1718 | "enabled": true, |
| 1719 | "uuid": "bce2be4c-8c90-4b78-9306-ee1e0df1bf5a", |
| 1720 | "id": 9, |
| 1721 | "expiration": "2014-08-21 00:00:00+00:00", |
| 1722 | "sliver_urn": "urn:publicid:IDN+ch.geni.net:gpoamcanary+slice+sitemon:bce2be4c-8c90-4b78-9306-ee1e0df1bf5a", |
| 1723 | "ref": null, |
| 1724 | "email": "tupty@bbn.com", |
| 1725 | "desc": "sitemon OpenFlow resources at Starlight" |
| 1726 | }, |
| 1727 | { |
| 1728 | "status": "approved", |
| 1729 | "flowvisor_slice": "a604d584-2930-42a1-afa2-76031cae06c6", |
| 1730 | "slice_urn": "urn:publicid:IDN+ch.geni.net:Luisa_Nevers-Test-Proj_01+slice+EG-CT-4", |
| 1731 | "pend_reason": [], |
| 1732 | "deleted": "False", |
| 1733 | "user": "urn:publicid:IDN+ch.geni.net+user+lnevers", |
| 1734 | "creation": "2014-07-17 18:59:10.834481+00:00", |
| 1735 | "enabled": true, |
| 1736 | "uuid": "a604d584-2930-42a1-afa2-76031cae06c6", |
| 1737 | "id": 16, |
| 1738 | "expiration": "2014-07-24 18:57:14+00:00", |
| 1739 | "sliver_urn": "urn:publicid:IDN+ch.geni.net:Luisa_Nevers-Test-Proj_01+slice+EG-CT-4:a604d584-2930-42a1-afa2-76031cae06c6", |
| 1740 | "ref": null, |
| 1741 | "email": "lnevers@bbn.com", |
| 1742 | "desc": "IG-CT-4 over 3716 " |
| 1743 | } |
| 1744 | ] |
| 1745 | } |
| 1746 | [lnevers@sl-hn ~]$ |
| 1747 | }}} |
| 1748 | |
| 1749 | Check the !FlowVisor version, list of devices, get details for a device, list of active slices, and details for one of the slices on the SL Head node: |
| 1750 | {{{ |
| 1751 | [lnevers@sl-hn ~]$ /opt/flowvisor/bin/fvctl --passwd-file=/etc/flowvisor/fvpasswd ping hello |
| 1752 | Got reply: |
| 1753 | PONG(fvadmin): FV version=flowvisor-0.8.1::hello |
| 1754 | [lnevers@sl-hn ~]$ /opt/flowvisor/bin/fvctl --passwd-file=/etc/flowvisor/fvpasswd listDevices |
| 1755 | Device 0: 00:01:74:99:75:e3:c0:00 |
| 1756 | [lnevers@sl-hn ~]$ /opt/flowvisor/bin/fvctl --passwd-file=/etc/flowvisor/fvpasswd getDeviceInfo 00:01:74:99:75:e3:c0:00 |
| 1757 | nPorts=21 |
| 1758 | portList=41,42,43,44,45,46,47,48,51,52,53,54,55,56,57,58,59,60,64,50,49 |
| 1759 | dpid=00:01:74:99:75:e3:c0:00 |
| 1760 | remote=/192.168.112.10:6633-->/192.168.112.4:51319 |
| 1761 | portNames=41(41),42(42),43(43),44(44),45(45),46(46),47(47),48(48),51(51),52(52),53(53),54(54),55(55),56(56),57(57),58(58),59(59),StarLight OpenF(60),64(64),50(50),49(49) |
| 1762 | [lnevers@sl-hn ~]$ /opt/flowvisor/bin/fvctl --passwd-file=/etc/flowvisor/fvpasswd listSlices |
| 1763 | Slice 0: 59d0e1a3-c0fe-442b-b1ca-64814ced147c |
| 1764 | Slice 1: bce2be4c-8c90-4b78-9306-ee1e0df1bf5a |
| 1765 | Slice 2: a604d584-2930-42a1-afa2-76031cae06c6 |
| 1766 | Slice 3: fvadmin |
| 1767 | [lnevers@sl-hn ~]$ /opt/flowvisor/bin/fvctl --passwd-file=/etc/flowvisor/fvpasswd getSliceInfo 59d0e1a3-c0fe-442b-b1ca-64814ced147c |
| 1768 | Got reply: |
| 1769 | connection_1=00:01:74:99:75:e3:c0:00-->/165.124.159.5:30244-->hafmet.gpolab.bbn.com/192.1.249.178:33012 |
| 1770 | contact_email=tupty@bbn.com |
| 1771 | controller_hostname=hafmet.gpolab.bbn.com |
| 1772 | controller_port=33012 |
| 1773 | creator=fvadmin |
| 1774 | [lnevers@sl-hn ~]$ |
| 1775 | }}} |
| 1776 | |