| 1087 | Sent request for administrative account to site contact from the [http://groups.geni.net/geni/wiki/GeniAggregate/NPSInstaGENI NPS InstaGENI] aggregate page. Followed instructions at the [http://groups.geni.net/geni/wiki/GENIRacksAdministration/InstaGENIAdministration InstaGENI Administration] page for account request. A local administrator account was requested by joining the ''emulab-ops'' group at https://www.instageni.nps.edu/joinproject.php3. Once the administrative account was approved and the membership to emulab-ops was granted, proceeded to execute administrative tests. |
| 1088 | |
| 1089 | {{{ |
| 1090 | $ ssh control.instageni.nps.edu |
| 1091 | The authenticity of host 'control.instageni.nps.edu (204.102.228.131)' can't be established. |
| 1092 | DSA key fingerprint is 46:e2:d5:87:22:13:56:8f:10:f2:29:e3:ac:b7:e3:51. |
| 1093 | Are you sure you want to continue connecting (yes/no)? yes |
| 1094 | Warning: Permanently added 'control.instageni.nps.edu,204.102.228.131' (DSA) to the list of known hosts. |
| 1095 | Welcome to Ubuntu precise (development branch) (GNU/Linux 3.2.0-23-generic x86_64) |
| 1096 | |
| 1097 | * Documentation: https://help.ubuntu.com/ |
| 1098 | |
| 1099 | System information as of Fri Jun 13 19:26:05 UTC 2014 |
| 1100 | |
| 1101 | System load: 0.0 |
| 1102 | Usage of /: 34.8% of 5.85GB |
| 1103 | Memory usage: 35% |
| 1104 | Swap usage: 0% |
| 1105 | Processes: 164 |
| 1106 | Users logged in: 0 |
| 1107 | IP address for xenbr0: 204.102.228.131 |
| 1108 | IP address for xenbr0:1: 172.16.0.1 |
| 1109 | IP address for xenbr0:2: 10.249.249.253 |
| 1110 | IP address for xenbr1: 10.1.1.254 |
| 1111 | IP address for xenbr2: 10.2.1.254 |
| 1112 | IP address for xenbr3: 10.3.1.254 |
| 1113 | IP address for tun0: 10.8.0.1 |
| 1114 | |
| 1115 | Graph this data and manage this system at https://landscape.canonical.com/ |
| 1116 | |
| 1117 | The programs included with the Ubuntu system are free software; |
| 1118 | the exact distribution terms for each program are described in the |
| 1119 | individual files in /usr/share/doc/*/copyright. |
| 1120 | |
| 1121 | Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by |
| 1122 | applicable law. |
| 1123 | |
| 1124 | To run a command as administrator (user "root"), use "sudo <command>". |
| 1125 | See "man sudo_root" for details. |
| 1126 | |
| 1127 | lnevers@nps:~$ sudo whoami |
| 1128 | root |
| 1129 | lnevers@nps:~$ uname -a |
| 1130 | Linux nps.control-nodes.geniracks.net 3.2.0-23-generic #36-Ubuntu SMP Tue Apr 10 20:39:51 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux |
| 1131 | lnevers@nps:~$ |
| 1132 | }}} |
| 1133 | |
| 1134 | Also access the boss node: |
| 1135 | {{{ |
| 1136 | LNM:~$ ssh boss.instageni.nps.edu |
| 1137 | The authenticity of host 'boss.instageni.nps.edu (204.102.228.132)' can't be established. |
| 1138 | RSA key fingerprint is 46:63:92:67:c8:75:20:4e:52:9f:2d:f6:cb:58:16:77. |
| 1139 | Are you sure you want to continue connecting (yes/no)? yes |
| 1140 | Warning: Permanently added 'boss.instageni.nps.edu,204.102.228.132' (RSA) to the list of known hosts. |
| 1141 | FreeBSD 9.0-STABLE (TESTBED-XEN) #0: Tue Apr 30 14:24:36 MDT 2013 |
| 1142 | |
| 1143 | Welcome to FreeBSD! |
| 1144 | |
| 1145 | Time to change your password? Type "passwd" and follow the prompts. |
| 1146 | -- Dru <genesis@istar.ca> |
| 1147 | > bash |
| 1148 | [lnevers@boss ~]$ sudo whoami |
| 1149 | root |
| 1150 | [lnevers@boss ~]$ uname -a |
| 1151 | FreeBSD boss.instageni.nps.edu 9.0-STABLE FreeBSD 9.0-STABLE #0: Tue Apr 30 14:24:36 MDT 2013 root@n1.one-freebsd.testbed.emulab.net:/usr/obj/mnt/src/sys/TESTBED-XEN i386 |
| 1152 | [lnevers@boss ~]$ |
| 1153 | }}} |
| 1154 | |
| 1155 | From boss node accessed each of the experiment nodes that support VMs: |
| 1156 | {{{ |
| 1157 | [lnevers@boss ~]$ for i in pc1 pc2 pc3; do ssh $i "echo -n '===> Host: ';hostname;sudo whoami;uname -a;echo"; done |
| 1158 | Warning: Permanently added 'pc1.instageni.nps.edu' (RSA) to the list of known hosts. |
| 1159 | ===> Host: vhost1.shared-nodes.emulab-ops.instageni.nps.edu |
| 1160 | root |
| 1161 | Linux vhost1.shared-nodes.emulab-ops.instageni.nps.edu 2.6.32-042stab049.6.emulab.1 #1 SMP Mon May 21 14:36:04 MDT 2012 x86_64 x86_64 x86_64 GNU/Linux |
| 1162 | |
| 1163 | Warning: Permanently added 'pc2.instageni.nps.edu' (RSA) to the list of known hosts. |
| 1164 | ===> Host: vhost2.shared-nodes.emulab-ops.instageni.nps.edu |
| 1165 | root |
| 1166 | Linux vhost2.shared-nodes.emulab-ops.instageni.nps.edu 3.2.0-56-generic #86-Ubuntu SMP Wed Oct 23 09:20:45 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux |
| 1167 | |
| 1168 | Warning: Permanently added 'pc3.instageni.nps.edu' (RSA) to the list of known hosts. |
| 1169 | ===> Host: vhost3.shared-nodes.emulab-ops.instageni.nps.edu |
| 1170 | root |
| 1171 | Linux vhost3.shared-nodes.emulab-ops.instageni.nps.edu 3.2.0-56-generic #86-Ubuntu SMP Wed Oct 23 09:20:45 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux |
| 1172 | }}} |
| 1173 | |
| 1174 | In order to access Dedicated Nodes some experiment must be running on the raw-pc device. At the time of this capture two raw-pc nodes were in use (pc4 and pc5): |
| 1175 | [lnevers@boss ~]$ sudo ssh pc4 |
| 1176 | [root@nps-ig2 ~]# sudo whoami;uname -a |
| 1177 | root |
| 1178 | Linux nps-ig2.ig-ct-4.ch-geni-net.instageni.nps.edu 2.6.40-4.emulab2.fc15.i686.PAE #1 SMP Tue Feb 26 13:35:12 MST 2013 i |
| 1179 | [root@nps-ig2 ~]# exit |
| 1180 | logout |
| 1181 | Connection to pc4.instageni.nps.edu closed. |
| 1182 | [lnevers@boss ~]$ sudo ssh pc5 |
| 1183 | [root@nps-ig ~]# sudo whoami;uname -a |
| 1184 | root |
| 1185 | Linux nps-ig.ig-ct-4.ch-geni-net.instageni.nps.edu 2.6.40-4.emulab2.fc15.i686.PAE #1 SMP Tue Feb 26 13:35:12 MST 2013 i6 |
| 1186 | [root@nps-ig ~]# exit |
| 1187 | logout |
| 1188 | Connection to pc5.instageni.nps.edu closed. |
| 1189 | [lnevers@boss ~]$ |
| 1190 | |
| 1191 | }}} |
| 1192 | |
| 1193 | Further verified access by ssh from ops.instageni.nps.edu to boss.instageni.nps.edu, which is usually restricted for non-admin users: |
| 1194 | {{{ |
| 1195 | LNM:~$ ssh ops.instageni.nps.edu |
| 1196 | The authenticity of host 'ops.instageni.nps.edu (204.102.228.133)' can't be established. |
| 1197 | RSA key fingerprint is 46:63:92:67:c8:75:20:4e:52:9f:2d:f6:cb:58:16:77. |
| 1198 | Are you sure you want to continue connecting (yes/no)? yes |
| 1199 | Warning: Permanently added 'ops.instageni.nps.edu,204.102.228.133' (RSA) to the list of known hosts. |
| 1200 | FreeBSD 9.0-STABLE (TESTBED-XEN) #0: Tue Apr 30 14:24:36 MDT 2013 |
| 1201 | |
| 1202 | Welcome to FreeBSD! |
| 1203 | |
| 1204 | Any user that is a member of the wheel group can use "su -" to simulate |
| 1205 | a root login. You can add a user to the wheel group by editing /etc/group. |
| 1206 | -- Konstantinos Konstantinidis <kkonstan@duth.gr> |
| 1207 | > bash |
| 1208 | [lnevers@ops ~]$ ssh boss |
| 1209 | The authenticity of host 'boss.instageni.nps.edu (204.102.228.132)' can't be established. |
| 1210 | ECDSA key fingerprint is bd:05:23:a7:5b:cc:78:c8:8c:a8:d3:e9:f7:27:53:cb. |
| 1211 | Are you sure you want to continue connecting (yes/no)? yes |
| 1212 | Warning: Permanently added 'boss.instageni.nps.edu' (ECDSA) to the list of known hosts. |
| 1213 | Last login: Fri Jun 13 12:26:46 2014 from 128.89.73.116 |
| 1214 | FreeBSD 9.0-STABLE (TESTBED-XEN) #0: Tue Apr 30 14:24:36 MDT 2013 |
| 1215 | |
| 1216 | Welcome to FreeBSD! |
| 1217 | |
| 1218 | To repeat the last command in the C shell, type "!!". |
| 1219 | -- Dru <genesis@istar.ca> |
| 1220 | > bash |
| 1221 | [lnevers@boss ~]$ |
| 1222 | }}} |
| 1223 | Access infrastructure switches using documented password. First connect to the switch named procurve1 the control network switch: |
| 1224 | {{{ |
| 1225 | [lnevers@boss ~]$ sudo more /usr/testbed/etc/switch.pswd |
| 1226 | XXXXXXXXX |
| 1227 | [lnevers@boss ~]$ telnet procurve1 |
| 1228 | Trying 10.1.1.253... |
| 1229 | Connected to procurve1. |
| 1230 | Escape character is '^]'. |
| 1231 | |
| 1232 | HP J9623A E2620-24 Switch |
| 1233 | Software revision RA.15.08.0009 |
| 1234 | |
| 1235 | Copyright (C) 1991-2012 Hewlett-Packard Development Company, L.P. |
| 1236 | |
| 1237 | RESTRICTED RIGHTS LEGEND |
| 1238 | Confidential computer software. Valid license from HP required for possession, |
| 1239 | use or copying. Consistent with FAR 12.211 and 12.212, Commercial Computer |
| 1240 | Software, Computer Software Documentation, and Technical Data for Commercial |
| 1241 | Items are licensed to the U.S. Government under vendor's standard commercial |
| 1242 | license. |
| 1243 | HEWLETT-PACKARD DEVELOPMENT COMPANY, L.P. |
| 1244 | 20555 State Highway 249, Houston, TX 77070 |
| 1245 | |
| 1246 | We'd like to keep you up to date about: |
| 1247 | * Software feature updates |
| 1248 | * New product announcements |
| 1249 | * Special events |
| 1250 | Please register your products now at: www.hp.com/networking/register |
| 1251 | |
| 1252 | Username: manager |
| 1253 | Password: |
| 1254 | |
| 1255 | HP-E2620-24# show version |
| 1256 | Image stamp: /ws/swbuildm/rel_galt_qaoff/code/build/xform(rel_galt_qaoff) |
| 1257 | May 9 2012 15:28:43 |
| 1258 | RA.15.08.0009 |
| 1259 | 474 |
| 1260 | Boot Image: Primary |
| 1261 | HP-E2620-24# show vlan |
| 1262 | |
| 1263 | Status and Counters - VLAN Information |
| 1264 | |
| 1265 | Maximum VLANs to support : 50 |
| 1266 | Primary VLAN : DEFAULT_VLAN |
| 1267 | Management VLAN : control-hardware |
| 1268 | |
| 1269 | VLAN ID Name | Status Voice Jumbo |
| 1270 | ------- -------------------------------- + ---------- ----- ----- |
| 1271 | 1 DEFAULT_VLAN | Port-based No No |
| 1272 | 10 control-hardware | Port-based No No |
| 1273 | 11 control-alternate | Port-based No No |
| 1274 | |
| 1275 | |
| 1276 | HP-E2620-24# show vlan 10 |
| 1277 | |
| 1278 | Status and Counters - VLAN Information - VLAN 10 |
| 1279 | |
| 1280 | VLAN ID : 10 |
| 1281 | Name : control-hardware |
| 1282 | Status : Port-based |
| 1283 | Voice : No |
| 1284 | Jumbo : No |
| 1285 | |
| 1286 | Port Information Mode Unknown VLAN Status |
| 1287 | ---------------- -------- ------------ ---------- |
| 1288 | 23 Untagged Learn Up |
| 1289 | |
| 1290 | |
| 1291 | HP-E2620-24# show running-config |
| 1292 | |
| 1293 | Running configuration: |
| 1294 | |
| 1295 | ; J9623A Configuration Editor; Created on release #RA.15.08.0009 |
| 1296 | ; Ver #02:13.2d:3c |
| 1297 | hostname "HP-E2620-24" |
| 1298 | max-vlans 50 |
| 1299 | no stack |
| 1300 | no web-management |
| 1301 | ip default-gateway 10.1.1.254 |
| 1302 | snmp-server community "xxx" unrestricted |
| 1303 | aaa authentication ssh login public-key |
| 1304 | aaa authentication ssh enable public-key |
| 1305 | vlan 1 |
| 1306 | name "DEFAULT_VLAN" |
| 1307 | no untagged 23-24 |
| 1308 | untagged 1-22,25-28 |
| 1309 | ip address 10.254.254.253 255.255.255.0 |
| 1310 | ip igmp |
| 1311 | exit |
| 1312 | vlan 10 |
| 1313 | name "control-hardware" |
| 1314 | untagged 23 |
| 1315 | ip address 10.1.1.253 255.255.255.0 |
| 1316 | exit |
| 1317 | vlan 11 |
| 1318 | name "control-alternate" |
| 1319 | untagged 24 |
| 1320 | ip address 10.2.1.253 255.255.255.0 |
| 1321 | exit |
| 1322 | management-vlan 10 |
| 1323 | no dhcp config-file-update |
| 1324 | password xxx |
| 1325 | password xx |
| 1326 | |
| 1327 | HP-E2620-24# |
| 1328 | }}} |
| 1329 | |
| 1330 | Connect to the switch named procurve2 the dataplane network switch via ssh using the documented password: |
| 1331 | {{{ |
| 1332 | [lnevers@boss ~]$ sudo cat /usr/testbed/etc/switch.pswd |
| 1333 | xxxxxxx |
| 1334 | [lnevers@boss ~]$ telnet procurve2 |
| 1335 | Trying 10.3.1.253... |
| 1336 | Connected to procurve2. |
| 1337 | Escape character is '^]'. |
| 1338 | |
| 1339 | HP J8697A Switch E5406zl |
| 1340 | Software revision K.15.06.5008 |
| 1341 | |
| 1342 | Copyright (C) 1991-2012 Hewlett-Packard Development Company, L.P. |
| 1343 | |
| 1344 | RESTRICTED RIGHTS LEGEND |
| 1345 | Confidential computer software. Valid license from HP required for possession, |
| 1346 | use or copying. Consistent with FAR 12.211 and 12.212, Commercial Computer |
| 1347 | Software, Computer Software Documentation, and Technical Data for Commercial |
| 1348 | Items are licensed to the U.S. Government under vendor's standard commercial |
| 1349 | license. |
| 1350 | HEWLETT-PACKARD DEVELOPMENT COMPANY, L.P. |
| 1351 | 20555 State Highway 249, Houston, TX 77070 |
| 1352 | |
| 1353 | We'd like to keep you up to date about: |
| 1354 | * Software feature updates |
| 1355 | * New product announcements |
| 1356 | * Special events |
| 1357 | Please register your products now at: www.hp.com/networking/register |
| 1358 | |
| 1359 | Username: manager |
| 1360 | Password: |
| 1361 | |
| 1362 | HP-E5406zl# show version |
| 1363 | Image stamp: /ws/swbuildm/of_bridge_qaoff/code/build/btm(of_bridge_qaoff) |
| 1364 | Feb 18 2012 11:26:28 |
| 1365 | K.15.06.5008 |
| 1366 | 79 |
| 1367 | Boot Image: Primary |
| 1368 | HP-E5406zl# show vlan |
| 1369 | |
| 1370 | Status and Counters - VLAN Information |
| 1371 | |
| 1372 | Maximum VLANs to support : 256 |
| 1373 | Primary VLAN : DEFAULT_VLAN |
| 1374 | Management VLAN : control-hardware |
| 1375 | |
| 1376 | VLAN ID Name | Status Voice Jumbo |
| 1377 | ------- -------------------------------- + ---------- ----- ----- |
| 1378 | 1 DEFAULT_VLAN | Port-based No No |
| 1379 | 10 control-hardware | Port-based No No |
| 1380 | 257 5000 | Port-based No No |
| 1381 | 1854 5007 | Port-based No No |
| 1382 | |
| 1383 | |
| 1384 | HP-E5406zl# show vlan 1854 |
| 1385 | |
| 1386 | Status and Counters - VLAN Information - VLAN 1854 |
| 1387 | |
| 1388 | VLAN ID : 1854 |
| 1389 | Name : 5007 |
| 1390 | Status : Port-based |
| 1391 | Voice : No |
| 1392 | Jumbo : No |
| 1393 | |
| 1394 | Port Information Mode Unknown VLAN Status |
| 1395 | ---------------- -------- ------------ ---------- |
| 1396 | A1 Tagged Learn Up |
| 1397 | A10 Tagged Learn Up |
| 1398 | A13 Tagged Learn Up |
| 1399 | A17 Tagged Learn Down |
| 1400 | A19 Tagged Learn Up |
| 1401 | |
| 1402 | |
| 1403 | HP-E5406zl# show running-config |
| 1404 | |
| 1405 | Running configuration: |
| 1406 | |
| 1407 | ; J8697A Configuration Editor; Created on release #K.15.06.5008 |
| 1408 | ; Ver #02:10.0d:1f |
| 1409 | |
| 1410 | hostname "HP-E5406zl" |
| 1411 | module 1 type J9549A |
| 1412 | interface A1 |
| 1413 | speed-duplex auto-1000 |
| 1414 | exit |
| 1415 | interface A2 |
| 1416 | speed-duplex auto-1000 |
| 1417 | exit |
| 1418 | interface A3 |
| 1419 | speed-duplex auto-1000 |
| 1420 | exit |
| 1421 | interface A4 |
| 1422 | speed-duplex auto-1000 |
| 1423 | exit |
| 1424 | interface A5 |
| 1425 | speed-duplex auto-1000 |
| 1426 | exit |
| 1427 | interface A6 |
| 1428 | speed-duplex auto-1000 |
| 1429 | exit |
| 1430 | interface A7 |
| 1431 | speed-duplex auto-1000 |
| 1432 | exit |
| 1433 | interface A8 |
| 1434 | speed-duplex auto-1000 |
| 1435 | exit |
| 1436 | interface A9 |
| 1437 | speed-duplex auto-1000 |
| 1438 | exit |
| 1439 | interface A10 |
| 1440 | speed-duplex auto-1000 |
| 1441 | exit |
| 1442 | interface A13 |
| 1443 | speed-duplex auto-1000 |
| 1444 | exit |
| 1445 | ip default-gateway 10.3.1.254 |
| 1446 | vlan 1 |
| 1447 | name "DEFAULT_VLAN" |
| 1448 | forbid A1-A9 |
| 1449 | untagged A11-A12,A14-A16,A18,A21-A24 |
| 1450 | no untagged A1-A10,A13,A17,A19-A20 |
| 1451 | no ip address |
| 1452 | exit |
| 1453 | vlan 10 |
| 1454 | name "control-hardware" |
| 1455 | untagged A20 |
| 1456 | ip address 10.3.1.253 255.255.255.0 |
| 1457 | exit |
| 1458 | vlan 257 |
| 1459 | name "5000" |
| 1460 | untagged A1-A9 |
| 1461 | no ip address |
| 1462 | exit |
| 1463 | vlan 1854 |
| 1464 | name "5007" |
| 1465 | tagged A1,A10,A13,A17,A19 |
| 1466 | no ip address |
| 1467 | exit |
| 1468 | no web-management |
| 1469 | openflow |
| 1470 | vlan 1854 |
| 1471 | enable |
| 1472 | controller "tcp:10.3.1.7:6633" fail-secure on |
| 1473 | exit |
| 1474 | exit |
| 1475 | snmp-server community "xxx" unrestricted |
| 1476 | aaa authentication ssh login public-key |
| 1477 | aaa authentication ssh enable public-key |
| 1478 | management-vlan 10 |
| 1479 | no autorun |
| 1480 | no dhcp config-file-update |
| 1481 | no dhcp image-file-update |
| 1482 | password xxx |
| 1483 | password xxx |
| 1484 | |
| 1485 | HP-E5406zl# |
| 1486 | }}} |
| 1487 | |
| 1488 | Access the FOAM VM and gather information for version |
| 1489 | {{{ |
| 1490 | LNM:~$ ssh lnevers@foam.nps.edu |
| 1491 | ssh: Could not resolve hostname foam.nps.edu: nodename nor servname provided, or |
| 1492 | LNM:~$ ssh foam.instageni.nps.edu |
| 1493 | The authenticity of host 'foam.instageni.nps.edu (204.102.228.134)' can't be est |
| 1494 | RSA key fingerprint is 9e:c0:7e:81:06:9d:9b:7e:00:eb:c9:42:63:6b:62:a2. |
| 1495 | Are you sure you want to continue connecting (yes/no)? yes |
| 1496 | Warning: Permanently added 'foam.instageni.nps.edu,204.102.228.134' (RSA) to the |
| 1497 | Welcome to Ubuntu 12.04.4 LTS (GNU/Linux 3.2.0-58-generic x86_64) |
| 1498 | |
| 1499 | * Documentation: https://help.ubuntu.com/ |
| 1500 | |
| 1501 | The programs included with the Ubuntu system are free software; |
| 1502 | the exact distribution terms for each program are described in the |
| 1503 | individual files in /usr/share/doc/*/copyright. |
| 1504 | |
| 1505 | Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by |
| 1506 | applicable law. |
| 1507 | |
| 1508 | lnevers@foam:~$ sudo whoami; uname -a |
| 1509 | root |
| 1510 | Linux foam 3.2.0-58-generic #88-Ubuntu SMP Tue Dec 3 17:37:58 UTC 2013 x86_64 x8 |
| 1511 | lnevers@foam:~$ |
| 1512 | |
| 1513 | lnevers@foam:~$ sudo foamctl admin:get-version --passwd-file=/etc/foam.passwd |
| 1514 | { |
| 1515 | "version": "0.14.0" |
| 1516 | } |
| 1517 | lnevers@foam:~$ |
| 1518 | |
| 1519 | }}} |
| 1520 | Check FOAM configuration for site.admin.email, geni.site-tag, email.from settings: |
| 1521 | {{{ |
| 1522 | lnevers@foam:~$ foamctl config:get-value --key="site.admin.email" --passwd-file=/etc/foam.passwd |
| 1523 | { |
| 1524 | "value": null |
| 1525 | } |
| 1526 | lnevers@foam:~$ foamctl config:get-value --key="geni.site-tag" --passwd-file=/etc/foam.passwd |
| 1527 | { |
| 1528 | "value": "foam.instageni.nps.edu" |
| 1529 | } |
| 1530 | lnevers@foam:~$ foamctl config:get-value --key="email.from" --passwd-file=/etc/foam.passwd |
| 1531 | { |
| 1532 | "value": "mkmonaha@nps.edu" |
| 1533 | } |
| 1534 | lnevers@foam:~$ |
| 1535 | |
| 1536 | # check if FOAM auto-approve is on. Value 2 = auto-approve is on. |
| 1537 | |
| 1538 | lnevers@foam:~$ foamctl config:get-value --key="geni.approval.approve-on-creation" --passwd-file=/etc/foam.passwd |
| 1539 | { |
| 1540 | "value": 2 |
| 1541 | } |
| 1542 | lnevers@foam:~$ |
| 1543 | }}} |
| 1544 | |
| 1545 | Show FOAM slivers details: |
| 1546 | |
| 1547 | {{{ |
| 1548 | lnevers@foam:~$ foamctl geni:list-slivers --passwd-file=/etc/foam.passwd |
| 1549 | { |
| 1550 | "slivers": [ |
| 1551 | { |
| 1552 | "status": "approved", |
| 1553 | "flowvisor_slice": "05411ee0-3182-49fc-89d6-b3fdef7fffe0", |
| 1554 | "slice_urn": "urn:publicid:IDN+ch.geni.net:SydTest+slice+ofCoreMonitor-syd", |
| 1555 | "pend_reason": [], |
| 1556 | "deleted": "False", |
| 1557 | "user": "urn:publicid:IDN+ch.geni.net+user+asydne01", |
| 1558 | "creation": "2014-05-20 17:11:18.528332+00:00", |
| 1559 | "enabled": true, |
| 1560 | "uuid": "05411ee0-3182-49fc-89d6-b3fdef7fffe0", |
| 1561 | "id": 3, |
| 1562 | "expiration": "2014-09-03 15:59:50+00:00", |
| 1563 | "sliver_urn": "urn:publicid:IDN+ch.geni.net:SydTest+slice+ofCoreMonitor-syd:05411ee0-3182-49fc-89d6-b3fdef7fffe0", |
| 1564 | "ref": null, |
| 1565 | "email": "asydney@bbn.com", |
| 1566 | "desc": "sydmon OpenFlow resources at BBN InstaGENI." |
| 1567 | }, |
| 1568 | { |
| 1569 | "status": "approved", |
| 1570 | "flowvisor_slice": "374886bd-9c3e-4b95-8bd6-80abb4ab892d", |
| 1571 | "slice_urn": "urn:publicid:IDN+ch.geni.net:gpo-infra+slice+tupty3715", |
| 1572 | "pend_reason": [], |
| 1573 | "deleted": "False", |
| 1574 | "user": "urn:publicid:IDN+ch.geni.net+user+tupty", |
| 1575 | "creation": "2014-05-22 18:43:35.340471+00:00", |
| 1576 | "enabled": true, |
| 1577 | "uuid": "374886bd-9c3e-4b95-8bd6-80abb4ab892d", |
| 1578 | "id": 4, |
| 1579 | "expiration": "2014-08-27 00:00:00+00:00", |
| 1580 | "sliver_urn": "urn:publicid:IDN+ch.geni.net:gpo-infra+slice+tupty3715:374886bd-9c3e-4b95-8bd6-80abb4ab892d", |
| 1581 | "ref": null, |
| 1582 | "email": "tupty@bbn.com", |
| 1583 | "desc": "tupty3715 OpenFlow resources at NPS InstaGENI." |
| 1584 | }, |
| 1585 | { |
| 1586 | "status": "approved", |
| 1587 | "flowvisor_slice": "79a72c9f-c122-4dab-b3bb-b64c98924ec2", |
| 1588 | "slice_urn": "urn:publicid:IDN+ch.geni.net:gpoamcanary+slice+sitemon", |
| 1589 | "pend_reason": [], |
| 1590 | "deleted": "False", |
| 1591 | "user": "urn:publicid:IDN+ch.geni.net+user+asydne01", |
| 1592 | "creation": "2014-06-04 15:04:34.238478+00:00", |
| 1593 | "enabled": true, |
| 1594 | "uuid": "79a72c9f-c122-4dab-b3bb-b64c98924ec2", |
| 1595 | "id": 7, |
| 1596 | "expiration": "2014-12-03 00:00:00+00:00", |
| 1597 | "sliver_urn": "urn:publicid:IDN+ch.geni.net:gpoamcanary+slice+sitemon:79a72c9f-c122-4dab-b3bb-b64c98924ec2", |
| 1598 | "ref": null, |
| 1599 | "email": "asydney@bbn.com", |
| 1600 | "desc": "sitemon OpenFlow resources at NPS InstaGENI." |
| 1601 | } |
| 1602 | ] |
| 1603 | } |
| 1604 | lnevers@foam:~$ |
| 1605 | }}} |
| 1606 | Access the FlowVisor VM and gather version information: |
| 1607 | {{{ |
| 1608 | LNM:~$ ssh flowvisor.instageni.nps.edu |
| 1609 | The authenticity of host 'flowvisor.instageni.nps.edu (204.102.228.135)' can't be established. |
| 1610 | RSA key fingerprint is 28:a9:ed:7a:9f:c3:c5:7e:17:f3:df:d4:5a:bf:77:1a. |
| 1611 | Are you sure you want to continue connecting (yes/no)? yes |
| 1612 | Warning: Permanently added 'flowvisor.instageni.nps.edu,204.102.228.135' (RSA) to the list of known hosts. |
| 1613 | Welcome to Ubuntu 12.04.4 LTS (GNU/Linux 3.2.0-58-generic x86_64) |
| 1614 | |
| 1615 | * Documentation: https://help.ubuntu.com/ |
| 1616 | |
| 1617 | The programs included with the Ubuntu system are free software; |
| 1618 | the exact distribution terms for each program are described in the |
| 1619 | individual files in /usr/share/doc/*/copyright. |
| 1620 | |
| 1621 | Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by |
| 1622 | applicable law. |
| 1623 | |
| 1624 | lnevers@flowvisor:~$ sudo whoami; uname -a |
| 1625 | root |
| 1626 | Linux flowvisor 3.2.0-58-generic #88-Ubuntu SMP Tue Dec 3 17:37:58 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux |
| 1627 | lnevers@flowvisor:~$ |
| 1628 | }}} |
| 1629 | Check the !FlowVisor version, list of devices, get details for a device, list of active slices, and details for one of the slices: |
| 1630 | {{{ |
| 1631 | |
| 1632 | lnevers@flowvisor:~$ fvctl --passwd-file=/etc/flowvisor.passwd ping hello |
| 1633 | Got reply: |
| 1634 | PONG(fvadmin): FV version=flowvisor-0.8.17::hello |
| 1635 | lnevers@flowvisor:~$ |
| 1636 | |
| 1637 | # Devices |
| 1638 | lnevers@flowvisor:~$ fvctl --passwd-file=/etc/flowvisor.passwd listDevices |
| 1639 | Device 0: 07:3e:2c:59:e5:5f:80:00 |
| 1640 | lnevers@flowvisor:~$ |
| 1641 | |
| 1642 | lnevers@flowvisor:~$ fvctl --passwd-file=/etc/flowvisor.passwd getDeviceInfo 07:3e:2c:59:e5:5f:80:00 |
| 1643 | nPorts=5 |
| 1644 | portList=19,65534,1,10,13 |
| 1645 | dpid=07:3e:2c:59:e5:5f:80:00 |
| 1646 | remote=/10.3.1.7:6633-->/10.3.1.253:49539 |
| 1647 | portNames=A19(19),local(65534),A1(1),A10(10),A13(13) |
| 1648 | lnevers@flowvisor:~$ |
| 1649 | |
| 1650 | #Slices |
| 1651 | lnevers@flowvisor:~$ fvctl --passwd-file=/etc/flowvisor.passwd listSlices |
| 1652 | Slice 0: fvadmin |
| 1653 | Slice 1: 05411ee0-3182-49fc-89d6-b3fdef7fffe0 |
| 1654 | Slice 2: 374886bd-9c3e-4b95-8bd6-80abb4ab892d |
| 1655 | Slice 3: 79a72c9f-c122-4dab-b3bb-b64c98924ec2 |
| 1656 | |
| 1657 | |
| 1658 | lnevers@flowvisor:~$ fvctl --passwd-file=/etc/flowvisor.passwd getSliceInfo 79a72c9f-c122-4dab-b3bb-b64c98924ec2 |
| 1659 | Got reply: |
| 1660 | drop_policy=exact |
| 1661 | connection_1=07:3e:2c:59:e5:5f:80:00-->/204.102.228.135:51393-->hafmet.gpolab.bbn.com/192.1.249.178:31750 |
| 1662 | contact_email=asydney@bbn.com |
| 1663 | controller_hostname=hafmet.gpolab.bbn.com |
| 1664 | controller_port=31750 |
| 1665 | creator=fvadmin |
| 1666 | lnevers@flowvisor:~$ |
| 1667 | |
| 1668 | }}} |
| 1669 | |
| 1670 | Check the FlowVisor setting: |
| 1671 | {{{ |
| 1672 | lnevers@flowvisor:~$ fvctl --passwd-file=/etc/flowvisor.passwd dumpConfig /tmp/flowvisor-config |
| 1673 | |
| 1674 | lnevers@flowvisor:~$ cat /tmp/flowvisor-config |
| 1675 | { |
| 1676 | "flowvisor": [ |
| 1677 | { |
| 1678 | "api_webserver_port": 8080, |
| 1679 | "api_jetty_webserver_port": -1, |
| 1680 | "checkpointing": false, |
| 1681 | "listen_port": 6633, |
| 1682 | "track_flows": false, |
| 1683 | "stats_desc_hack": false, |
| 1684 | "run_topology_server": false, |
| 1685 | "logging": "NOTE", |
| 1686 | "log_ident": "flowvisor", |
| 1687 | "log_facility": "LOG_LOCAL7", |
| 1688 | "version": "flowvisor-0.9", |
| 1689 | "host": "localhost", |
| 1690 | "default_flood_perm": "fvadmin", |
| 1691 | "config_name": "default" |
| 1692 | } |
| 1693 | ], |
| 1694 | "Slice": [ |
| 1695 | { |
| 1696 | "config_name": "default", |
| 1697 | "flowmap_type": "federated", |
| 1698 | "name": "fvadmin", |
| 1699 | "creator": "fvadmin", |
| 1700 | "passwd_crypt": "xxx", |
| 1701 | "passwd_salt": "xxx", |
| 1702 | "controller_hostname": "none", |
| 1703 | "controller_port": 0, |
| 1704 | "contact_email": "fvadmin@localhost", |
| 1705 | "drop_policy": "exact", |
| 1706 | "lldp_spam": true |
| 1707 | }, |
| 1708 | { |
| 1709 | "config_name": "default", |
| 1710 | "flowmap_type": "federated", |
| 1711 | "name": "05411ee0-3182-49fc-89d6-b3fdef7fffe0", |
| 1712 | "creator": "fvadmin", |
| 1713 | "passwd_crypt": "xxx", |
| 1714 | "passwd_salt": "xxx", |
| 1715 | "controller_hostname": "caprica.gpolab.bbn.com", |
| 1716 | "controller_port": 33011, |
| 1717 | "contact_email": "asydney@bbn.com", |
| 1718 | "drop_policy": "exact", |
| 1719 | "lldp_spam": true |
| 1720 | }, |
| 1721 | { |
| 1722 | "config_name": "default", |
| 1723 | "flowmap_type": "federated", |
| 1724 | "name": "374886bd-9c3e-4b95-8bd6-80abb4ab892d", |
| 1725 | "creator": "fvadmin", |
| 1726 | "passwd_crypt": "xxx", |
| 1727 | "passwd_salt": "xxx", |
| 1728 | "controller_hostname": "hafmet.gpolab.bbn.com", |
| 1729 | "controller_port": 33012, |
| 1730 | "contact_email": "tupty@bbn.com", |
| 1731 | "drop_policy": "exact", |
| 1732 | "lldp_spam": true |
| 1733 | }, |
| 1734 | { |
| 1735 | "config_name": "default", |
| 1736 | "flowmap_type": "federated", |
| 1737 | "name": "79a72c9f-c122-4dab-b3bb-b64c98924ec2", |
| 1738 | "creator": "fvadmin", |
| 1739 | "passwd_crypt": "xxx", |
| 1740 | "passwd_salt": "xxx", |
| 1741 | "controller_hostname": "hafmet.gpolab.bbn.com", |
| 1742 | "controller_port": 31750, |
| 1743 | "contact_email": "asydney@bbn.com", |
| 1744 | "drop_policy": "exact", |
| 1745 | "lldp_spam": true |
| 1746 | } |
| 1747 | ], |
| 1748 | "FlowSpaceRule": [ |
| 1749 | { |
| 1750 | "dpid": "73e2c59e55f8000", |
| 1751 | "priority": 2000, |
| 1752 | "in_port": 0, |
| 1753 | "dl_type": 2048, |
| 1754 | "nw_src": 170576640, |
| 1755 | "nw_dst": 170576640, |
| 1756 | "wildcards": 3279087, |
| 1757 | "slice_action": [ |
| 1758 | { |
| 1759 | "05411ee0-3182-49fc-89d6-b3fdef7fffe0": 4 |
| 1760 | } |
| 1761 | ] |
| 1762 | }, |
| 1763 | { |
| 1764 | "dpid": "73e2c59e55f8000", |
| 1765 | "priority": 2000, |
| 1766 | "in_port": 0, |
| 1767 | "dl_type": 2054, |
| 1768 | "nw_src": 170576640, |
| 1769 | "nw_dst": 170576640, |
| 1770 | "wildcards": 3279087, |
| 1771 | "slice_action": [ |
| 1772 | { |
| 1773 | "05411ee0-3182-49fc-89d6-b3fdef7fffe0": 4 |
| 1774 | } |
| 1775 | ] |
| 1776 | }, |
| 1777 | { |
| 1778 | "dpid": "73e2c59e55f8000", |
| 1779 | "priority": 2000, |
| 1780 | "in_port": 0, |
| 1781 | "dl_type": 2048, |
| 1782 | "nw_src": 168900352, |
| 1783 | "nw_dst": 168900352, |
| 1784 | "wildcards": 3279087, |
| 1785 | "slice_action": [ |
| 1786 | { |
| 1787 | "374886bd-9c3e-4b95-8bd6-80abb4ab892d": 4 |
| 1788 | } |
| 1789 | ] |
| 1790 | }, |
| 1791 | { |
| 1792 | "dpid": "73e2c59e55f8000", |
| 1793 | "priority": 2000, |
| 1794 | "in_port": 0, |
| 1795 | "dl_type": 2054, |
| 1796 | "nw_src": 168900352, |
| 1797 | "nw_dst": 168900352, |
| 1798 | "wildcards": 3279087, |
| 1799 | "slice_action": [ |
| 1800 | { |
| 1801 | "374886bd-9c3e-4b95-8bd6-80abb4ab892d": 4 |
| 1802 | } |
| 1803 | ] |
| 1804 | }, |
| 1805 | { |
| 1806 | "dpid": "73e2c59e55f8000", |
| 1807 | "priority": 2000, |
| 1808 | "in_port": 0, |
| 1809 | "dl_type": 2048, |
| 1810 | "nw_src": 171048960, |
| 1811 | "nw_dst": 171048960, |
| 1812 | "wildcards": 3412207, |
| 1813 | "slice_action": [ |
| 1814 | { |
| 1815 | "79a72c9f-c122-4dab-b3bb-b64c98924ec2": 4 |
| 1816 | } |
| 1817 | ] |
| 1818 | }, |
| 1819 | { |
| 1820 | "dpid": "73e2c59e55f8000", |
| 1821 | "priority": 2000, |
| 1822 | "in_port": 0, |
| 1823 | "dl_type": 2054, |
| 1824 | "nw_src": 171048960, |
| 1825 | "nw_dst": 171048960, |
| 1826 | "wildcards": 3412207, |
| 1827 | "slice_action": [ |
| 1828 | { |
| 1829 | "79a72c9f-c122-4dab-b3bb-b64c98924ec2": 4 |
| 1830 | } |
| 1831 | ] |
| 1832 | } |
| 1833 | ] |
| 1834 | }lnevers@flowvisor:~$ |
| 1835 | |
| 1836 | }}} |
| 1837 | |