1113 | | |
1114 | | sudo foamctl admin:get-version --passwd-file=/etc/foam.passwd |
1115 | | |
| 1113 | Welcome to Ubuntu 12.04.5 LTS (GNU/Linux 3.2.0-67-generic x86_64) |
| 1114 | |
| 1115 | * Documentation: https://help.ubuntu.com/ |
| 1116 | New release '14.04.1 LTS' available. |
| 1117 | Run 'do-release-upgrade' to upgrade to it. |
| 1118 | |
| 1119 | |
| 1120 | The programs included with the Ubuntu system are free software; |
| 1121 | the exact distribution terms for each program are described in the |
| 1122 | individual files in /usr/share/doc/*/copyright. |
| 1123 | |
| 1124 | Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by |
| 1125 | applicable law. |
| 1126 | |
| 1127 | lnevers@foam:~$ sudo foamctl admin:get-version --passwd-file=/etc/foam.passwd |
| 1128 | { |
| 1129 | "version": "0.14.0" |
| 1130 | } |
| 1131 | lnevers@foam:~$ |
1119 | | foamctl config:get-value --key="site.admin.email" --passwd-file=/etc/foam.passwd |
1120 | | |
1121 | | foamctl config:get-value --key="geni.site-tag" --passwd-file=/etc/foam.passwd |
1122 | | |
1123 | | foamctl config:get-value --key="email.from" --passwd-file=/etc/foam.passwd |
| 1135 | lnevers@foam:~$ foamctl config:get-value --key="site.admin.email" --passwd-file=/etc/foam.passwd |
| 1136 | { |
| 1137 | "value": null |
| 1138 | } |
| 1139 | lnevers@foam:~$ |
| 1140 | lnevers@foam:~$ foamctl config:get-value --key="geni.site-tag" --passwd-file=/etc/foam.passwd |
| 1141 | { |
| 1142 | "value": "foam.geni.uchicago.edu" |
| 1143 | } |
| 1144 | lnevers@foam:~$ |
| 1145 | lnevers@foam:~$ foamctl config:get-value --key="email.from" --passwd-file=/etc/foam.passwd |
| 1146 | { |
| 1147 | "value": "hardenrm@uchicago.edu" |
| 1148 | } |
| 1149 | lnevers@foam:~$ |
| 1150 | |
1139 | | |
1140 | | ssh lnevers@flowvisor.geni.uchicago.edu |
| 1173 | LNM:~$ ssh lnevers@flowvisor.geni.uchicago.edu |
| 1174 | Welcome to Ubuntu 12.04.5 LTS (GNU/Linux 3.2.0-67-generic x86_64) |
| 1175 | |
| 1176 | * Documentation: https://help.ubuntu.com/ |
| 1177 | New release '14.04.1 LTS' available. |
| 1178 | Run 'do-release-upgrade' to upgrade to it. |
| 1179 | |
| 1180 | |
| 1181 | The programs included with the Ubuntu system are free software; |
| 1182 | the exact distribution terms for each program are described in the |
| 1183 | individual files in /usr/share/doc/*/copyright. |
| 1184 | |
| 1185 | Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by |
| 1186 | applicable law. |
| 1187 | |
| 1188 | lnevers@flowvisor:~$ sudo whoami |
| 1189 | root |
| 1190 | lnevers@flowvisor:~$ uname -a |
| 1191 | Linux flowvisor 3.2.0-67-generic #101-Ubuntu SMP Tue Jul 15 17:46:11 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux |
| 1192 | lnevers@flowvisor:~$ |
1148 | | fvctl --passwd-file=/etc/flowvisor.passwd listDevices |
1149 | | |
1150 | | fvctl --passwd-file=/etc/flowvisor.passwd getDeviceInfo 06:d6:6c:3b:e5:68:00:00 |
| 1203 | lnevers@flowvisor:~$ fvctl --passwd-file=/etc/flowvisor.passwd listDevices |
| 1204 | Device 0: 09:bb:2c:59:e5:28:82:00 |
| 1205 | lnevers@flowvisor:~$ |
| 1206 | |
| 1207 | lnevers@flowvisor:~$ fvctl --passwd-file=/etc/flowvisor.passwd getDeviceInfo 09:bb:2c:59:e5:28:82:00 |
| 1208 | nPorts=2 |
| 1209 | portList=65534,16 |
| 1210 | dpid=09:bb:2c:59:e5:28:82:00 |
| 1211 | remote=/10.3.1.7:6633-->/10.3.1.253:53486 |
| 1212 | portNames=local(65534),A16(16) |
| 1213 | lnevers@flowvisor:~$ |
1161 | | fvctl --passwd-file=/etc/flowvisor.passwd dumpConfig /tmp/flowvisor-config |
1162 | | more /tmp/flowvisor-config |
1163 | | |
| 1229 | lnevers@flowvisor:~$ fvctl --passwd-file=/etc/flowvisor.passwd dumpConfig /tmp/flowvisor-config |
| 1230 | lnevers@flowvisor:~$ cat /tmp/flowvisor-config |
| 1231 | { |
| 1232 | "flowvisor": [ |
| 1233 | { |
| 1234 | "api_webserver_port": 8080, |
| 1235 | "api_jetty_webserver_port": -1, |
| 1236 | "checkpointing": false, |
| 1237 | "listen_port": 6633, |
| 1238 | "track_flows": false, |
| 1239 | "stats_desc_hack": false, |
| 1240 | "run_topology_server": false, |
| 1241 | "logging": "NOTE", |
| 1242 | "log_ident": "flowvisor", |
| 1243 | "log_facility": "LOG_LOCAL7", |
| 1244 | "version": "flowvisor-0.9", |
| 1245 | "host": "localhost", |
| 1246 | "default_flood_perm": "fvadmin", |
| 1247 | "config_name": "default" |
| 1248 | } |
| 1249 | ], |
| 1250 | "Slice": [ |
| 1251 | { |
| 1252 | "config_name": "default", |
| 1253 | "flowmap_type": "federated", |
| 1254 | "name": "fvadmin", |
| 1255 | "creator": "fvadmin", |
| 1256 | "passwd_crypt": "xxx", |
| 1257 | "passwd_salt": "xxx", |
| 1258 | "controller_hostname": "none", |
| 1259 | "controller_port": 0, |
| 1260 | "contact_email": "fvadmin@localhost", |
| 1261 | "drop_policy": "exact", |
| 1262 | "lldp_spam": true |
| 1263 | } |
| 1264 | ], |
| 1265 | "FlowSpaceRule": [] |
| 1266 | }lnevers@flowvisor:~$ |