1086 | | [lnevers@tamu-hn ~]$ ls -l /etc/foam.passwd /etc/flowvisor.passwd /etc/flowvisor/fvpasswd /opt/foam/etc/foampasswd |
1087 | | }}} |
1088 | | |
1089 | | Check FOAM version and FOAM configuration for site.admin.email, geni.site-tag, email.from settings on the TAMU head node: |
| 1085 | [lnevers@tamu-hn ~]$ ls -l /etc/foam.passwd /etc/flowvisor.passwd /etc/flowvisor/fvpasswd /opt/foam/etc/foampasswd |
| 1086 | lrwxrwxrwx 1 root flowvisor 21 Jun 11 20:05 /etc/flowvisor/fvpasswd -> /etc/flowvisor.passwd |
| 1087 | -r--r----- 1 flowvisor tamuadmins 25 Jun 11 20:04 /etc/flowvisor.passwd |
| 1088 | -r--r-----+ 1 root tamuadmins 25 Jun 11 20:04 /etc/foam.passwd |
| 1089 | lrwxrwxrwx 1 root root 16 Jun 11 20:05 /opt/foam/etc/foampasswd -> /etc/foam.passwd |
| 1090 | }}} |
| 1091 | |
| 1092 | Check FOAM version and FOAM configuration for site.admin.email, geni.site-tag, email.from settings on the AMU head node: |
| 1093 | {{{ |
| 1094 | }}} |
| 1095 | [lnevers@tamu-hn ~]$ foamctl admin:get-version --passwd-file=/etc/foam.passwd |
| 1096 | { |
| 1097 | "version": "0.14.0" |
| 1098 | } |
| 1099 | [lnevers@tamu-hn ~]$ foamctl config:get-value --key="site.admin.email" --passwd-file=/opt/foam/etc/foampasswd |
| 1100 | { |
| 1101 | "value": "foam-admin@gpolab.bbn.com" |
| 1102 | } |
| 1103 | [lnevers@tamu-hn ~]$ foamctl config:get-value --key="geni.site-tag" --passwd-file=/opt/foam/etc/foampasswd |
| 1104 | { |
| 1105 | "value": "tamu-hn.exogeni.net" |
| 1106 | } |
| 1107 | [lnevers@tamu-hn ~]$ foamctl config:get-value --key="email.from" --passwd-file=/opt/foam/etc/foampasswd |
| 1108 | |
| 1109 | { |
| 1110 | "value": "Joe Lewis <jdlewis@tamu.edu>" |
| 1111 | } |
| 1112 | [lnevers@tamu-hn ~]$ foamctl config:get-value --key="geni.approval.approve-on-creation" --passwd-file=/opt/foam/etc/foampasswd |
| 1113 | { |
| 1114 | "value": 0 |
| 1115 | } |
| 1116 | [lnevers@tamu-hn ~]$ |
| 1117 | |
| 1118 | }}} |
| 1119 | Show FOAM slivers details: |
| 1120 | {{{ |
| 1121 | [lnevers@tamu-hn ~]$ foamctl geni:list-slivers --passwd-file=/opt/foam/etc/foampasswd |
| 1122 | { |
| 1123 | "slivers": [ |
| 1124 | { |
| 1125 | "status": "pending", |
| 1126 | "flowvisor_slice": "27f021ef-10ee-4cd5-b554-af9326f92c76", |
| 1127 | "slice_urn": "urn:publicid:IDN+ch.geni.net:ln-test+slice+EG-CT-4", |
| 1128 | "pend_reason": [], |
| 1129 | "deleted": "False", |
| 1130 | "user": "urn:publicid:IDN+ch.geni.net+user+lnevers", |
| 1131 | "creation": "2014-11-06 19:23:58.184374+00:00", |
| 1132 | "enabled": false, |
| 1133 | "uuid": "27f021ef-10ee-4cd5-b554-af9326f92c76", |
| 1134 | "id": 1, |
| 1135 | "expiration": "2014-11-13 19:23:55+00:00", |
| 1136 | "sliver_urn": "urn:publicid:IDN+ch.geni.net:ln-test+slice+EG-CT-4:27f021ef-10ee-4cd5-b554-af9326f92c76", |
| 1137 | "ref": null, |
| 1138 | "email": "lnevers@bbn.com", |
| 1139 | "desc": "IG-CT-4 over 3716 " |
| 1140 | } |
| 1141 | ] |
| 1142 | } |
| 1143 | |
| 1144 | |
| 1145 | }}} |
| 1146 | |
| 1147 | 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 TAMU Head node: |
| 1148 | {{{ |
| 1149 | [lnevers@tamu-hn ~]$ /opt/flowvisor/bin/fvctl --passwd-file=/etc/flowvisor/fvpasswd ping hello |
| 1150 | Got reply: |
| 1151 | PONG(fvadmin): FV version=flowvisor-0.8.1::hello |
| 1152 | [lnevers@tamu-hn ~]$ /opt/flowvisor/bin/fvctl --passwd-file=/etc/flowvisor/fvpasswd listDevices |
| 1153 | Device 0: 00:01:a8:97:dc:87:8e:00 |
| 1154 | [lnevers@tamu-hn ~]$ /opt/flowvisor/bin/fvctl --passwd-file=/etc/flowvisor/fvpasswd getDeviceInfo 00:01:a8:97:dc:87:8e:00 |
| 1155 | nPorts=11 |
| 1156 | portList=23,24,25,26,27,28,29,30,37,50,49 |
| 1157 | dpid=00:01:a8:97:dc:87:8e:00 |
| 1158 | remote=/192.168.114.10:6633-->/192.168.114.4:13401 |
| 1159 | portNames=23(23),24(24),25(25),26(26),27(27),28(28),29(29),30(30),Hybrid mode IXC(37),50(50),49(49) |
| 1160 | [lnevers@tamu-hn ~]$ |
| 1161 | |
| 1162 | [lnevers@tamu-hn ~]$ /opt/flowvisor/bin/fvctl --passwd-file=/etc/flowvisor/fvpasswd listSlices |
| 1163 | Slice 0: fvadmin |
| 1164 | [lnevers@tamu-hn ~]$ /opt/flowvisor/bin/fvctl --passwd-file=/etc/flowvisor/fvpasswd getSliceInfo fvadmin |
| 1165 | Got reply: |
| 1166 | connection_1=00:01:a8:97:dc:87:8e:00-->/127.0.0.1:28821-->localhost/127.0.0.1:44536 |
| 1167 | contact_email=fvadmin@localhost |
| 1168 | controller_hostname=localhost |
| 1169 | controller_port=44536 |
| 1170 | creator=fvadmin |
| 1171 | [lnevers@tamu-hn ~]$ |
| 1172 | |
| 1173 | }}} |