922 | | LNM:~$ ssh control.instageni.cenic.net |
923 | | |
| 922 | $ ssh control.instageni.cenic.net |
| 923 | Welcome to Ubuntu precise (development branch) (GNU/Linux 3.2.0-23-generic x86_64) |
| 924 | |
| 925 | * Documentation: https://help.ubuntu.com/ |
| 926 | |
| 927 | System information as of Fri Sep 12 18:47:49 UTC 2014 |
| 928 | |
| 929 | System load: 0.0 |
| 930 | Usage of /: 31.6% of 5.85GB |
| 931 | Memory usage: 42% |
| 932 | Swap usage: 1% |
| 933 | Processes: 167 |
| 934 | Users logged in: 1 |
| 935 | IP address for xenbr0: 204.102.244.3 |
| 936 | IP address for xenbr0:1: 172.16.0.1 |
| 937 | IP address for xenbr0:2: 10.249.249.253 |
| 938 | IP address for xenbr1: 10.1.1.254 |
| 939 | IP address for xenbr2: 10.2.1.254 |
| 940 | IP address for xenbr3: 10.3.1.254 |
| 941 | IP address for tun0: 10.8.0.1 |
| 942 | |
| 943 | Graph this data and manage this system at https://landscape.canonical.com/ |
| 944 | New release '14.04.1 LTS' available. |
| 945 | Run 'do-release-upgrade' to upgrade to it. |
| 946 | |
| 947 | |
| 948 | The programs included with the Ubuntu system are free software; |
| 949 | the exact distribution terms for each program are described in the |
| 950 | individual files in /usr/share/doc/*/copyright. |
| 951 | |
| 952 | Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by |
| 953 | applicable law. |
| 954 | |
| 955 | To run a command as administrator (user "root"), use "sudo <command>". |
| 956 | See "man sudo_root" for details. |
| 957 | |
| 958 | lnevers@control:~$ sudo whoami |
| 959 | root |
| 960 | lnevers@control:~$ uname -a |
| 961 | Linux control.instageni.cenic.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 |
| 962 | lnevers@control:~$ |
1261 | | LNM:~$ ssh lnevers@foam.instageni.cenic.net |
1262 | | |
1263 | | sudo foamctl admin:get-version --passwd-file=/etc/foam.passwd |
| 1300 | $ ssh lnevers@foam.instageni.cenic.net |
| 1301 | Welcome to Ubuntu 12.04.5 LTS (GNU/Linux 3.2.0-68-generic x86_64) |
| 1302 | |
| 1303 | * Documentation: https://help.ubuntu.com/ |
| 1304 | New release '14.04.1 LTS' available. |
| 1305 | Run 'do-release-upgrade' to upgrade to it. |
| 1306 | |
| 1307 | |
| 1308 | The programs included with the Ubuntu system are free software; |
| 1309 | the exact distribution terms for each program are described in the |
| 1310 | individual files in /usr/share/doc/*/copyright. |
| 1311 | |
| 1312 | Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by |
| 1313 | applicable law. |
| 1314 | |
| 1315 | lnevers@foam:~$ sudo foamctl admin:get-version --passwd-file=/etc/foam.passwd |
| 1316 | { |
| 1317 | "version": "0.14.0" |
| 1318 | } |
| 1319 | lnevers@foam:~$ |
1283 | | foamctl geni:list-slivers --passwd-file=/etc/foam.passwd |
1284 | | |
| 1352 | lnevers@foam:~$ foamctl geni:list-slivers --passwd-file=/etc/foam.passwd |
| 1353 | { |
| 1354 | "slivers": [ |
| 1355 | { |
| 1356 | "status": "approved", |
| 1357 | "flowvisor_slice": "d72f8f45-0536-4c95-9862-898894681f3c", |
| 1358 | "slice_urn": "urn:publicid:IDN+ch.geni.net:gpoamcanary+slice+sitemon", |
| 1359 | "pend_reason": [], |
| 1360 | "deleted": "False", |
| 1361 | "user": "urn:publicid:IDN+ch.geni.net+user+tupty", |
| 1362 | "creation": "2014-09-08 20:27:13.248282+00:00", |
| 1363 | "enabled": true, |
| 1364 | "uuid": "d72f8f45-0536-4c95-9862-898894681f3c", |
| 1365 | "id": 1, |
| 1366 | "expiration": "2014-12-04 00:00:00+00:00", |
| 1367 | "sliver_urn": "urn:publicid:IDN+ch.geni.net:gpoamcanary+slice+sitemon:d72f8f45-0536-4c95-9862-898894681f3c", |
| 1368 | "ref": null, |
| 1369 | "email": "tupty@bbn.com", |
| 1370 | "desc": "sitemon OpenFlow resources at CENIC InstaGENI." |
| 1371 | }, |
| 1372 | { |
| 1373 | "status": "approved", |
| 1374 | "flowvisor_slice": "a9824e23-c2b3-4bb8-846a-91ecfa31de0e", |
| 1375 | "slice_urn": "urn:publicid:IDN+ch.geni.net:ln-test+slice+IG-CT-4", |
| 1376 | "pend_reason": [], |
| 1377 | "deleted": "False", |
| 1378 | "user": "urn:publicid:IDN+ch.geni.net+user+lnevers", |
| 1379 | "creation": "2014-09-11 13:26:07.197255+00:00", |
| 1380 | "enabled": true, |
| 1381 | "uuid": "a9824e23-c2b3-4bb8-846a-91ecfa31de0e", |
| 1382 | "id": 2, |
| 1383 | "expiration": "2014-09-18 13:25:26+00:00", |
| 1384 | "sliver_urn": "urn:publicid:IDN+ch.geni.net:ln-test+slice+IG-CT-4:a9824e23-c2b3-4bb8-846a-91ecfa31de0e", |
| 1385 | "ref": null, |
| 1386 | "email": "lnevers@bbn.com", |
| 1387 | "desc": "New Site Confirmation Test IG-CT-4 " |
| 1388 | } |
| 1389 | ] |
| 1390 | } |
| 1391 | lnevers@foam:~$ |
1288 | | |
1289 | | ssh lnevers@flowvisor.instageni.cenic.net |
| 1395 | $ ssh lnevers@flowvisor.instageni.cenic.net |
| 1396 | Welcome to Ubuntu 12.04.5 LTS (GNU/Linux 3.2.0-68-generic x86_64) |
| 1397 | |
| 1398 | * Documentation: https://help.ubuntu.com/ |
| 1399 | New release '14.04.1 LTS' available. |
| 1400 | Run 'do-release-upgrade' to upgrade to it. |
| 1401 | |
| 1402 | |
| 1403 | The programs included with the Ubuntu system are free software; |
| 1404 | the exact distribution terms for each program are described in the |
| 1405 | individual files in /usr/share/doc/*/copyright. |
| 1406 | |
| 1407 | Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by |
| 1408 | applicable law. |
| 1409 | |
| 1410 | lnevers@flowvisor:~$ sudo whoami |
| 1411 | root |
| 1412 | lnevers@flowvisor:~$ uname -a |
| 1413 | Linux flowvisor 3.2.0-68-generic #102-Ubuntu SMP Tue Aug 12 22:02:15 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux |
| 1414 | lnevers@flowvisor:~$ |
1297 | | fvctl --passwd-file=/etc/flowvisor.passwd listDevices |
1298 | | |
1299 | | fvctl --passwd-file=/etc/flowvisor.passwd getDeviceInfo 06:d6:6c:3b:e5:68:00:00 |
| 1425 | lnevers@flowvisor:~$ fvctl --passwd-file=/etc/flowvisor.passwd listDevices |
| 1426 | Device 0: 06:d6:84:34:97:d4:6c:00 |
| 1427 | |
| 1428 | lnevers@flowvisor:~$ fvctl --passwd-file=/etc/flowvisor.passwd getDeviceInfo 06:d6:84:34:97:d4:6c:00 |
| 1429 | nPorts=6 |
| 1430 | portList=1,4,19,65534,13,10 |
| 1431 | dpid=06:d6:84:34:97:d4:6c:00 |
| 1432 | remote=/10.3.1.7:6633-->/10.3.1.253:65201 |
| 1433 | portNames=A1(1),A4(4),A19(19),local(65534),A13(13),A10(10) |
1302 | | fvctl --passwd-file=/etc/flowvisor.passwd listSlices |
1303 | | |
1304 | | fvctl --passwd-file=/etc/flowvisor.passwd getSliceInfo 5c956f94-5e05-40b5-948f-34d0149d9182 |
1305 | | |
| 1436 | lnevers@flowvisor:~$ fvctl --passwd-file=/etc/flowvisor.passwd listSlices |
| 1437 | Slice 0: fvadmin |
| 1438 | Slice 1: d72f8f45-0536-4c95-9862-898894681f3c |
| 1439 | Slice 2: a9824e23-c2b3-4bb8-846a-91ecfa31de0e |
| 1440 | lnevers@flowvisor:~$ |
| 1441 | |
| 1442 | lnevers@flowvisor:~$ fvctl --passwd-file=/etc/flowvisor.passwd getSliceInfo a9824e23-c2b3-4bb8-846a-91ecfa31de0e |
| 1443 | Got reply: |
| 1444 | drop_policy=exact |
| 1445 | connection_1=06:d6:84:34:97:d4:6c:00-->/204.102.244.7:45661-->mallorea.gpolab.bbn.com/192.1.249.185:33020 |
| 1446 | contact_email=lnevers@bbn.com |
| 1447 | controller_hostname=mallorea.gpolab.bbn.com |
| 1448 | controller_port=33020 |
| 1449 | creator=fvadmin |
| 1450 | lnevers@flowvisor:~$ |
1310 | | fvctl --passwd-file=/etc/flowvisor.passwd dumpConfig /tmp/flowvisor-config |
1311 | | more /tmp/flowvisor-config |
1312 | | |
| 1455 | lnevers@flowvisor:~$ fvctl --passwd-file=/etc/flowvisor.passwd dumpConfig /tmp/flowvisor-config |
| 1456 | lnevers@flowvisor:~$ cat /tmp/flowvisor-config |
| 1457 | { |
| 1458 | "flowvisor": [ |
| 1459 | { |
| 1460 | "api_webserver_port": 8080, |
| 1461 | "api_jetty_webserver_port": -1, |
| 1462 | "checkpointing": false, |
| 1463 | "listen_port": 6633, |
| 1464 | "track_flows": false, |
| 1465 | "stats_desc_hack": false, |
| 1466 | "run_topology_server": false, |
| 1467 | "logging": "NOTE", |
| 1468 | "log_ident": "flowvisor", |
| 1469 | "log_facility": "LOG_LOCAL7", |
| 1470 | "version": "flowvisor-0.9", |
| 1471 | "host": "localhost", |
| 1472 | "default_flood_perm": "fvadmin", |
| 1473 | "config_name": "default" |
| 1474 | } |
| 1475 | ], |
| 1476 | "Slice": [ |
| 1477 | { |
| 1478 | "config_name": "default", |
| 1479 | "flowmap_type": "federated", |
| 1480 | "name": "fvadmin", |
| 1481 | "creator": "fvadmin", |
| 1482 | "passwd_crypt": "027298d54222bd3341c852917c4b93db", |
| 1483 | "passwd_salt": "sillysalt", |
| 1484 | "controller_hostname": "none", |
| 1485 | "controller_port": 0, |
| 1486 | "contact_email": "fvadmin@localhost", |
| 1487 | "drop_policy": "exact", |
| 1488 | "lldp_spam": true |
| 1489 | }, |
| 1490 | { |
| 1491 | "config_name": "default", |
| 1492 | "flowmap_type": "federated", |
| 1493 | "name": "d72f8f45-0536-4c95-9862-898894681f3c", |
| 1494 | "creator": "fvadmin", |
| 1495 | "passwd_crypt": "xxx", |
| 1496 | "passwd_salt": "xxx", |
| 1497 | "controller_hostname": "hafmet.gpolab.bbn.com", |
| 1498 | "controller_port": 31750, |
| 1499 | "contact_email": "tupty@bbn.com", |
| 1500 | "drop_policy": "exact", |
| 1501 | "lldp_spam": true |
| 1502 | }, |
| 1503 | { |
| 1504 | "config_name": "default", |
| 1505 | "flowmap_type": "federated", |
| 1506 | "name": "a9824e23-c2b3-4bb8-846a-91ecfa31de0e", |
| 1507 | "creator": "fvadmin", |
| 1508 | "passwd_crypt": "xxx", |
| 1509 | "passwd_salt": "xxx", |
| 1510 | "controller_hostname": "mallorea.gpolab.bbn.com", |
| 1511 | "controller_port": 33020, |
| 1512 | "contact_email": "lnevers@bbn.com", |
| 1513 | "drop_policy": "exact", |
| 1514 | "lldp_spam": true |
| 1515 | } |
| 1516 | ], |
| 1517 | "FlowSpaceRule": [ |
| 1518 | { |
| 1519 | "dpid": "6d6843497d46c00", |
| 1520 | "priority": 2000, |
| 1521 | "in_port": 0, |
| 1522 | "dl_type": 2048, |
| 1523 | "nw_src": 171048960, |
| 1524 | "nw_dst": 171048960, |
| 1525 | "wildcards": 3412207, |
| 1526 | "slice_action": [ |
| 1527 | { |
| 1528 | "d72f8f45-0536-4c95-9862-898894681f3c": 4 |
| 1529 | } |
| 1530 | ] |
| 1531 | }, |
| 1532 | { |
| 1533 | "dpid": "6d6843497d46c00", |
| 1534 | "priority": 2000, |
| 1535 | "in_port": 0, |
| 1536 | "dl_type": 2054, |
| 1537 | "nw_src": 171048960, |
| 1538 | "nw_dst": 171048960, |
| 1539 | "wildcards": 3412207, |
| 1540 | "slice_action": [ |
| 1541 | { |
| 1542 | "d72f8f45-0536-4c95-9862-898894681f3c": 4 |
| 1543 | } |
| 1544 | ] |
| 1545 | }, |
| 1546 | { |
| 1547 | "dpid": "6d6843497d46c00", |
| 1548 | "priority": 2000, |
| 1549 | "in_port": 0, |
| 1550 | "dl_type": 2048, |
| 1551 | "nw_src": 170527488, |
| 1552 | "nw_dst": 170527488, |
| 1553 | "wildcards": 3279087, |
| 1554 | "slice_action": [ |
| 1555 | { |
| 1556 | "a9824e23-c2b3-4bb8-846a-91ecfa31de0e": 4 |
| 1557 | } |
| 1558 | ] |
| 1559 | }, |
| 1560 | { |
| 1561 | "dpid": "6d6843497d46c00", |
| 1562 | "priority": 2000, |
| 1563 | "in_port": 0, |
| 1564 | "dl_type": 2054, |
| 1565 | "nw_src": 170527488, |
| 1566 | "nw_dst": 170527488, |
| 1567 | "wildcards": 3279087, |
| 1568 | "slice_action": [ |
| 1569 | { |
| 1570 | "a9824e23-c2b3-4bb8-846a-91ecfa31de0e": 4 |
| 1571 | } |
| 1572 | ] |
| 1573 | } |
| 1574 | ] |
| 1575 | }lnevers@flowvisor:~$ |