| 931 | Sent request for administrative account to site contact from the [http://groups.geni.net/geni/wiki/GeniAggregate/UCLAInstaGENI UCLA 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.idre.ucla.edu/joinproject.php3. Once the administrative account was approved and the membership to emulab-ops was granted, proceeded to execute administrative tests. |
| 932 | |
| 933 | {{{ |
| 934 | LNM:~$ ssh control.instageni.idre.ucla.edu |
| 935 | The authenticity of host 'control.instageni.idre.ucla.edu (164.67.126.3)' can't be established. |
| 936 | DSA key fingerprint is 3a:93:4c:c8:88:c9:8f:23:4a:35:aa:ba:4c:01:f8:98. |
| 937 | Are you sure you want to continue connecting (yes/no)? yes |
| 938 | |
| 939 | Welcome to Ubuntu precise (development branch) (GNU/Linux 3.2.0-23-generic x86_64) |
| 940 | |
| 941 | * Documentation: https://help.ubuntu.com/ |
| 942 | |
| 943 | System information as of Wed Aug 6 18:35:15 UTC 2014 |
| 944 | |
| 945 | System load: 0.0 |
| 946 | Usage of /: 36.8% of 5.85GB |
| 947 | Memory usage: 34% |
| 948 | Swap usage: 0% |
| 949 | Processes: 169 |
| 950 | Users logged in: 0 |
| 951 | IP address for xenbr0: 164.67.126.3 |
| 952 | IP address for xenbr0:1: 172.16.0.1 |
| 953 | IP address for xenbr0:2: 10.249.249.253 |
| 954 | IP address for xenbr1: 10.1.1.254 |
| 955 | IP address for xenbr2: 10.2.1.254 |
| 956 | IP address for xenbr3: 10.3.1.254 |
| 957 | IP address for tun0: 10.8.0.1 |
| 958 | |
| 959 | Graph this data and manage this system at https://landscape.canonical.com/ |
| 960 | |
| 961 | The programs included with the Ubuntu system are free software; |
| 962 | the exact distribution terms for each program are described in the |
| 963 | individual files in /usr/share/doc/*/copyright. |
| 964 | |
| 965 | Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by |
| 966 | applicable law. |
| 967 | |
| 968 | To run a command as administrator (user "root"), use "sudo <command>". |
| 969 | See "man sudo_root" for details. |
| 970 | |
| 971 | lnevers@ucla:~$ sudo whoami |
| 972 | root |
| 973 | lnevers@ucla:~$ uname -a |
| 974 | Linux ucla.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 |
| 975 | lnevers@ucla:~$ |
| 976 | }}} |
| 977 | |
| 978 | Also access the boss node: |
| 979 | {{{ |
| 980 | LNM:~$ ssh boss.instageni.idre.ucla.edu |
| 981 | The authenticity of host 'boss.instageni.idre.ucla.edu (164.67.126.4)' can't be established. |
| 982 | RSA key fingerprint is 46:63:92:67:c8:75:20:4e:52:9f:2d:f6:cb:58:16:77. |
| 983 | Are you sure you want to continue connecting (yes/no)? yes |
| 984 | Warning: Permanently added 'boss.instageni.idre.ucla.edu,164.67.126.4' (RSA) to the list of known hosts. |
| 985 | FreeBSD 9.0-STABLE (TESTBED-XEN) #0: Mon Mar 3 15:37:17 MST 2014 |
| 986 | |
| 987 | Welcome to FreeBSD! |
| 988 | |
| 989 | You can search for documentation on a keyword by typing |
| 990 | |
| 991 | apropos keyword |
| 992 | > bash |
| 993 | [lnevers@boss ~]$ sudo whoami |
| 994 | root |
| 995 | [lnevers@boss ~]$ uname -a |
| 996 | FreeBSD boss.instageni.idre.ucla.edu 9.0-STABLE FreeBSD 9.0-STABLE #0: Mon Mar 3 15:37:17 MST 2014 root@node.freebsd90-node.testbed.emulab.net:/usr/obj/usr/src/sys/TESTBED-XEN i386 |
| 997 | [lnevers@boss ~]$ |
| 998 | }}} |
| 999 | |
| 1000 | From boss node accessed each of the experiment nodes that support VMs: |
| 1001 | {{{ |
| 1002 | [lnevers@boss ~]$ for i in pc1 pc2 pc3; do ssh $i "echo -n '===> Host: ';hostname;sudo whoami;uname -a;echo"; done |
| 1003 | Warning: Permanently added 'pc1.instageni.idre.ucla.edu' (RSA) to the list of known hosts. |
| 1004 | ===> Host: vhost1.shared-nodes.emulab-ops.instageni.idre.ucla.edu |
| 1005 | root |
| 1006 | Linux vhost1.shared-nodes.emulab-ops.instageni.idre.ucla.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 |
| 1007 | |
| 1008 | Warning: Permanently added 'pc2.instageni.idre.ucla.edu' (RSA) to the list of known hosts. |
| 1009 | ===> Host: vhost2.shared-nodes.emulab-ops.instageni.idre.ucla.edu |
| 1010 | root |
| 1011 | Linux vhost2.shared-nodes.emulab-ops.instageni.idre.ucla.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 |
| 1012 | |
| 1013 | Warning: Permanently added 'pc3.instageni.idre.ucla.edu' (RSA) to the list of known hosts. |
| 1014 | ===> Host: vhost3.shared-nodes.emulab-ops.instageni.idre.ucla.edu |
| 1015 | root |
| 1016 | Linux vhost3.shared-nodes.emulab-ops.instageni.idre.ucla.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 |
| 1017 | |
| 1018 | [lnevers@boss ~]$ |
| 1019 | }}} |
| 1020 | |
| 1021 | In order to access Dedicated Nodes an experiment was created to run on the raw-pc device. At the time of this capture two raw-pc nodes were in use (pc4 and pc5): |
| 1022 | {{{ |
| 1023 | [lnevers@boss ~]$ for i in pc4 pc5 ; do sudo ssh $i "echo -n '===> Host: ';hostname;whoami;uname -a;echo"; done |
| 1024 | ===> Host: ucla-ig.ig-ct-4.ch-geni-net.instageni.idre.ucla.edu |
| 1025 | root |
| 1026 | Linux ucla-ig.ig-ct-4.ch-geni-net.instageni.idre.ucla.edu 2.6.40-4.emulab2.fc15.i686.PAE #1 SMP Tue Feb 26 13:35:12 MST 2013 i686 i686 i386 GNU/Linux |
| 1027 | |
| 1028 | ===> Host: ucla-ig2.ig-ct-4.ch-geni-net.instageni.idre.ucla.edu |
| 1029 | root |
| 1030 | Linux ucla-ig2.ig-ct-4.ch-geni-net.instageni.idre.ucla.edu 2.6.40-4.emulab2.fc15.i686.PAE #1 SMP Tue Feb 26 13:35:12 MST 2013 i686 i686 i386 GNU/Linux |
| 1031 | |
| 1032 | [lnevers@boss ~]$ |
| 1033 | |
| 1034 | }}} |
| 1035 | |
| 1036 | Further verified access by ssh from ops.instageni.gpolab.bbn.com to boss.instageni.gpolab.bbn.com, which is usually restricted for non-admin users: |
| 1037 | {{{ |
| 1038 | LNM:~$ ssh ops.instageni.idre.ucla.edu |
| 1039 | The authenticity of host 'ops.instageni.idre.ucla.edu (164.67.126.5)' can't be established. |
| 1040 | RSA key fingerprint is 46:63:92:67:c8:75:20:4e:52:9f:2d:f6:cb:58:16:77. |
| 1041 | Are you sure you want to continue connecting (yes/no)? yes |
| 1042 | Warning: Permanently added 'ops.instageni.idre.ucla.edu,164.67.126.5' (RSA) to the list of known hosts. |
| 1043 | FreeBSD 9.0-STABLE (TESTBED-XEN) #0: Mon Mar 3 15:37:17 MST 2014 |
| 1044 | |
| 1045 | Welcome to FreeBSD! |
| 1046 | |
| 1047 | To repeat the last command in the C shell, type "!!". |
| 1048 | -- Dru <genesis@istar.ca> |
| 1049 | > bash |
| 1050 | [lnevers@ops ~]$ ssh boss |
| 1051 | The authenticity of host 'boss.instageni.idre.ucla.edu (164.67.126.4)' can't be established. |
| 1052 | ECDSA key fingerprint is bd:05:23:a7:5b:cc:78:c8:8c:a8:d3:e9:f7:27:53:cb. |
| 1053 | Are you sure you want to continue connecting (yes/no)? yes |
| 1054 | Warning: Permanently added 'boss.instageni.idre.ucla.edu' (ECDSA) to the list of known hosts. |
| 1055 | Last login: Wed Aug 6 11:36:26 2014 from 128.89.73.116 |
| 1056 | FreeBSD 9.0-STABLE (TESTBED-XEN) #0: Mon Mar 3 15:37:17 MST 2014 |
| 1057 | |
| 1058 | Welcome to FreeBSD! |
| 1059 | |
| 1060 | To see the output from when your computer started, run dmesg(8). If it has |
| 1061 | been replaced with other messages, look at /var/run/dmesg.boot. |
| 1062 | -- Francisco Reyes <lists@natserv.com> |
| 1063 | > bash |
| 1064 | [lnevers@boss ~]$ |
| 1065 | }}} |
| 1066 | Access infrastructure switches using documented password. First connect to the switch named procurve1 the control network switch: |
| 1067 | {{{ |
| 1068 | [lnevers@boss ~]$ sudo more /usr/testbed/etc/switch.pswd |
| 1069 | XXXXXXXXX |
| 1070 | [lnevers@boss ~]$ telnet procurve1 |
| 1071 | Trying 10.1.1.253... |
| 1072 | Connected to procurve1. |
| 1073 | Escape character is '^]'. |
| 1074 | |
| 1075 | HP J9623A E2620-24 Switch |
| 1076 | Software revision RA.15.08.0009 |
| 1077 | |
| 1078 | Copyright (C) 1991-2012 Hewlett-Packard Development Company, L.P. |
| 1079 | |
| 1080 | RESTRICTED RIGHTS LEGEND |
| 1081 | Confidential computer software. Valid license from HP required for possession, |
| 1082 | use or copying. Consistent with FAR 12.211 and 12.212, Commercial Computer |
| 1083 | Software, Computer Software Documentation, and Technical Data for Commercial |
| 1084 | Items are licensed to the U.S. Government under vendor's standard commercial |
| 1085 | license. |
| 1086 | HEWLETT-PACKARD DEVELOPMENT COMPANY, L.P. |
| 1087 | 20555 State Highway 249, Houston, TX 77070 |
| 1088 | |
| 1089 | We'd like to keep you up to date about: |
| 1090 | * Software feature updates |
| 1091 | * New product announcements |
| 1092 | * Special events |
| 1093 | Please register your products now at: www.hp.com/networking/register |
| 1094 | |
| 1095 | Username: manager |
| 1096 | Password: |
| 1097 | HP-E2620-24# |
| 1098 | HP-E2620-24# show version |
| 1099 | Image stamp: /ws/swbuildm/rel_galt_qaoff/code/build/xform(rel_galt_qaoff) |
| 1100 | May 9 2012 15:28:43 |
| 1101 | RA.15.08.0009 |
| 1102 | 474 |
| 1103 | Boot Image: Primary |
| 1104 | HP-E2620-24# show vlan |
| 1105 | |
| 1106 | Status and Counters - VLAN Information |
| 1107 | |
| 1108 | Maximum VLANs to support : 50 |
| 1109 | Primary VLAN : DEFAULT_VLAN |
| 1110 | Management VLAN : control-hardware |
| 1111 | |
| 1112 | VLAN ID Name | Status Voice Jumbo |
| 1113 | ------- -------------------------------- + ---------- ----- ----- |
| 1114 | 1 DEFAULT_VLAN | Port-based No No |
| 1115 | 10 control-hardware | Port-based No No |
| 1116 | 11 control-alternate | Port-based No No |
| 1117 | |
| 1118 | |
| 1119 | HP-E2620-24# show running-config |
| 1120 | |
| 1121 | Running configuration: |
| 1122 | |
| 1123 | ; J9623A Configuration Editor; Created on release #RA.15.08.0009 |
| 1124 | ; Ver #02:13.2d:3c |
| 1125 | hostname "HP-E2620-24" |
| 1126 | max-vlans 50 |
| 1127 | no stack |
| 1128 | no web-management |
| 1129 | ip default-gateway 10.1.1.254 |
| 1130 | snmp-server community "xxx" unrestricted |
| 1131 | aaa authentication ssh login public-key |
| 1132 | aaa authentication ssh enable public-key |
| 1133 | vlan 1 |
| 1134 | name "DEFAULT_VLAN" |
| 1135 | no untagged 23-24 |
| 1136 | untagged 1-22,25-28 |
| 1137 | ip address 10.254.254.253 255.255.255.0 |
| 1138 | ip igmp |
| 1139 | exit |
| 1140 | vlan 10 |
| 1141 | name "control-hardware" |
| 1142 | untagged 23 |
| 1143 | ip address 10.1.1.253 255.255.255.0 |
| 1144 | exit |
| 1145 | vlan 11 |
| 1146 | name "control-alternate" |
| 1147 | untagged 24 |
| 1148 | ip address 10.2.1.253 255.255.255.0 |
| 1149 | exit |
| 1150 | management-vlan 10 |
| 1151 | no dhcp config-file-update |
| 1152 | password xxx |
| 1153 | password xxx |
| 1154 | |
| 1155 | HP-E2620-24# |
| 1156 | }}} |
| 1157 | |
| 1158 | Connect to the switch named procurve2 the dataplane network switch via ssh using the documented password: |
| 1159 | {{{ |
| 1160 | [lnevers@boss ~]$ sudo more /usr/testbed/etc/switch.pswd |
| 1161 | xxxxxxx |
| 1162 | [lnevers@boss ~]$ telnet procurve2 |
| 1163 | Trying 10.3.1.253... |
| 1164 | Connected to procurve2. |
| 1165 | Escape character is '^]'. |
| 1166 | |
| 1167 | HP J8697A Switch E5406zl |
| 1168 | Software revision K.15.06.5008 |
| 1169 | |
| 1170 | Copyright (C) 1991-2012 Hewlett-Packard Development Company, L.P. |
| 1171 | |
| 1172 | RESTRICTED RIGHTS LEGEND |
| 1173 | Confidential computer software. Valid license from HP required for possession, |
| 1174 | use or copying. Consistent with FAR 12.211 and 12.212, Commercial Computer |
| 1175 | Software, Computer Software Documentation, and Technical Data for Commercial |
| 1176 | Items are licensed to the U.S. Government under vendor's standard commercial |
| 1177 | license. |
| 1178 | HEWLETT-PACKARD DEVELOPMENT COMPANY, L.P. |
| 1179 | 20555 State Highway 249, Houston, TX 77070 |
| 1180 | |
| 1181 | We'd like to keep you up to date about: |
| 1182 | * Software feature updates |
| 1183 | * New product announcements |
| 1184 | * Special events |
| 1185 | Please register your products now at: www.hp.com/networking/register |
| 1186 | |
| 1187 | Username: manager |
| 1188 | Password: |
| 1189 | HP-E5406zl# show version |
| 1190 | Image stamp: /ws/swbuildm/of_bridge_qaoff/code/build/btm(of_bridge_qaoff) |
| 1191 | Feb 18 2012 11:26:28 |
| 1192 | K.15.06.5008 |
| 1193 | 79 |
| 1194 | Boot Image: Primary |
| 1195 | HP-E5406zl# show vlan |
| 1196 | |
| 1197 | Status and Counters - VLAN Information |
| 1198 | |
| 1199 | Maximum VLANs to support : 256 |
| 1200 | Primary VLAN : DEFAULT_VLAN |
| 1201 | Management VLAN : control-hardware |
| 1202 | |
| 1203 | VLAN ID Name | Status Voice Jumbo |
| 1204 | ------- -------------------------------- + ---------- ----- ----- |
| 1205 | 1 DEFAULT_VLAN | Port-based No No |
| 1206 | 10 control-hardware | Port-based No No |
| 1207 | 257 5000 | Port-based No No |
| 1208 | 1855 5009 | Port-based No No |
| 1209 | |
| 1210 | |
| 1211 | HP-E5406zl# show running-config |
| 1212 | |
| 1213 | Running configuration: |
| 1214 | |
| 1215 | ; J8697A Configuration Editor; Created on release #K.15.06.5008 |
| 1216 | ; Ver #02:10.0d:1f |
| 1217 | |
| 1218 | hostname "HP-E5406zl" |
| 1219 | module 1 type J9549A |
| 1220 | interface A1 |
| 1221 | speed-duplex auto-1000 |
| 1222 | exit |
| 1223 | interface A2 |
| 1224 | speed-duplex auto-1000 |
| 1225 | exit |
| 1226 | interface A3 |
| 1227 | speed-duplex auto-1000 |
| 1228 | exit |
| 1229 | interface A4 |
| 1230 | speed-duplex auto-1000 |
| 1231 | exit |
| 1232 | interface A5 |
| 1233 | speed-duplex auto-1000 |
| 1234 | exit |
| 1235 | interface A6 |
| 1236 | speed-duplex auto-1000 |
| 1237 | exit |
| 1238 | interface A7 |
| 1239 | speed-duplex auto-1000 |
| 1240 | exit |
| 1241 | interface A8 |
| 1242 | speed-duplex auto-1000 |
| 1243 | exit |
| 1244 | interface A9 |
| 1245 | speed-duplex auto-1000 |
| 1246 | exit |
| 1247 | interface A10 |
| 1248 | speed-duplex auto-1000 |
| 1249 | exit |
| 1250 | interface A13 |
| 1251 | speed-duplex auto-1000 |
| 1252 | exit |
| 1253 | ip default-gateway 10.3.1.7 |
| 1254 | vlan 1 |
| 1255 | name "DEFAULT_VLAN" |
| 1256 | forbid A1-A9 |
| 1257 | untagged A11-A12,A14-A19,A21-A23 |
| 1258 | no untagged A1-A10,A13,A20,A24 |
| 1259 | no ip address |
| 1260 | exit |
| 1261 | vlan 10 |
| 1262 | name "control-hardware" |
| 1263 | untagged A20 |
| 1264 | ip address 10.3.1.253 255.255.255.0 |
| 1265 | exit |
| 1266 | vlan 257 |
| 1267 | name "5000" |
| 1268 | untagged A1-A9 |
| 1269 | no ip address |
| 1270 | exit |
| 1271 | vlan 1855 |
| 1272 | name "5009" |
| 1273 | tagged A1,A4,A10,A13,A24 |
| 1274 | no ip address |
| 1275 | exit |
| 1276 | no web-management |
| 1277 | openflow |
| 1278 | vlan 1855 |
| 1279 | enable |
| 1280 | controller "tcp:10.3.1.7:6633" fail-secure on |
| 1281 | exit |
| 1282 | exit |
| 1283 | snmp-server community "xxx" unrestricted |
| 1284 | aaa authentication ssh login public-key |
| 1285 | aaa authentication ssh enable public-key |
| 1286 | management-vlan 10 |
| 1287 | no autorun |
| 1288 | no dhcp config-file-update |
| 1289 | no dhcp image-file-update |
| 1290 | password xxx |
| 1291 | password xxx |
| 1292 | |
| 1293 | HP-E5406zl# |
| 1294 | }}} |
| 1295 | |
| 1296 | Access the FOAM VM and gather information for version |
| 1297 | {{{ |
| 1298 | LNM:~$ ssh foam.instageni.idre.ucla.edu |
| 1299 | The authenticity of host 'foam.instageni.idre.ucla.edu (164.67.126.6)' can't be established. |
| 1300 | RSA key fingerprint is 57:26:26:b8:19:be:05:ed:1b:38:19:65:0e:7b:41:78. |
| 1301 | Are you sure you want to continue connecting (yes/no)? yes |
| 1302 | Warning: Permanently added 'foam.instageni.idre.ucla.edu,164.67.126.6' (RSA) to the list of known hosts. |
| 1303 | Welcome to Ubuntu 12.04.4 LTS (GNU/Linux 3.2.0-65-generic x86_64) |
| 1304 | |
| 1305 | * Documentation: https://help.ubuntu.com/ |
| 1306 | |
| 1307 | The programs included with the Ubuntu system are free software; |
| 1308 | the exact distribution terms for each program are described in the |
| 1309 | individual files in /usr/share/doc/*/copyright. |
| 1310 | |
| 1311 | Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by |
| 1312 | applicable law. |
| 1313 | |
| 1314 | lnevers@foam:~$ sudo foamctl admin:get-version --passwd-file=/etc/foam.passwd |
| 1315 | { |
| 1316 | "version": "0.14.0" |
| 1317 | } |
| 1318 | lnevers@foam:~$ |
| 1319 | }}} |
| 1320 | Check FOAM configuration for site.admin.email, geni.site-tag, email.from settings: |
| 1321 | {{{ |
| 1322 | lnevers@foam:~$ foamctl config:get-value --key="site.admin.email" --passwd-file=/etc/foam.passwd |
| 1323 | { |
| 1324 | "value": null |
| 1325 | } |
| 1326 | lnevers@foam:~$ |
| 1327 | lnevers@foam:~$ foamctl config:get-value --key="geni.site-tag" --passwd-file=/etc/foam.passwd |
| 1328 | { |
| 1329 | "value": "foam.instageni.idre.ucla.edu" |
| 1330 | } |
| 1331 | lnevers@foam:~$ |
| 1332 | lnevers@foam:~$ foamctl config:get-value --key="email.from" --passwd-file=/etc/foam.passwd |
| 1333 | { |
| 1334 | "value": "jit@ucla.edu" |
| 1335 | } |
| 1336 | lnevers@foam:~$ |
| 1337 | |
| 1338 | # check if FOAM auto-approve is on. Value 2 = auto-approve is on. |
| 1339 | |
| 1340 | foamctl config:get-value --key="geni.approval.approve-on-creation" --passwd-file=/etc/foam.passwd |
| 1341 | |
| 1342 | }}} |
| 1343 | |
| 1344 | Show FOAM slivers details: |
| 1345 | |
| 1346 | {{{ |
| 1347 | lnevers@foam:~$ foamctl config:get-value --key="geni.approval.approve-on-creation" --passwd-file=/etc/foam.passwd |
| 1348 | { |
| 1349 | "value": 2 |
| 1350 | } |
| 1351 | }}} |
| 1352 | Access the FlowVisor VM and gather version information: |
| 1353 | {{{ |
| 1354 | LNM:~$ ssh flowvisor.instageni.idre.ucla.edu |
| 1355 | The authenticity of host 'flowvisor.instageni.idre.ucla.edu (164.67.126.7)' can't be established. |
| 1356 | RSA key fingerprint is ed:09:69:f6:87:05:4e:1b:67:3b:14:42:a2:b4:e6:fd. |
| 1357 | Are you sure you want to continue connecting (yes/no)? yes |
| 1358 | Warning: Permanently added 'flowvisor.instageni.idre.ucla.edu,164.67.126.7' (RSA) to the list of known hosts. |
| 1359 | Welcome to Ubuntu 12.04.4 LTS (GNU/Linux 3.2.0-65-generic x86_64) |
| 1360 | |
| 1361 | * Documentation: https://help.ubuntu.com/ |
| 1362 | |
| 1363 | The programs included with the Ubuntu system are free software; |
| 1364 | the exact distribution terms for each program are described in the |
| 1365 | individual files in /usr/share/doc/*/copyright. |
| 1366 | |
| 1367 | Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by |
| 1368 | applicable law. |
| 1369 | |
| 1370 | lnevers@flowvisor:~$ sudo whoami |
| 1371 | root |
| 1372 | lnevers@flowvisor:~$ |
| 1373 | }}} |
| 1374 | Check the !FlowVisor version, list of devices, get details for a device, list of active slices, and details for one of the slices: |
| 1375 | {{{ |
| 1376 | |
| 1377 | lnevers@flowvisor:~$ fvctl --passwd-file=/etc/flowvisor.passwd ping hello |
| 1378 | Got reply: |
| 1379 | PONG(fvadmin): FV version=flowvisor-0.8.17::hello |
| 1380 | |
| 1381 | |
| 1382 | # Devices |
| 1383 | lnevers@flowvisor:~$ fvctl --passwd-file=/etc/flowvisor.passwd listDevices |
| 1384 | Device 0: 07:3f:2c:59:e5:5c:ed:00 |
| 1385 | |
| 1386 | lnevers@flowvisor:~$ fvctl --passwd-file=/etc/flowvisor.passwd getDeviceInfo 07:3f:2c:59:e5:5c:ed:00 |
| 1387 | nPorts=6 |
| 1388 | portList=24,65534,1,10,13,4 |
| 1389 | dpid=07:3f:2c:59:e5:5c:ed:00 |
| 1390 | remote=/10.3.1.7:6633-->/10.3.1.253:57967 |
| 1391 | portNames=A24(24),local(65534),A1(1),A10(10),A13(13),A4(4) |
| 1392 | |
| 1393 | #Slices |
| 1394 | lnevers@flowvisor:~$ fvctl --passwd-file=/etc/flowvisor.passwd listSlices |
| 1395 | Slice 0: fvadmin |
| 1396 | Slice 1: b049f933-540e-4901-a7e0-76b539d6ed32 |
| 1397 | Slice 2: 16f93731-1c53-4406-9446-8d7a7da19b7d |
| 1398 | Slice 3: d2e31929-b2f4-46b7-9ca1-c62ab899e6eb |
| 1399 | |
| 1400 | lnevers@flowvisor:~$ fvctl --passwd-file=/etc/flowvisor.passwd getSliceInfo d2e31929-b2f4-46b7-9ca1-c62ab899e6eb |
| 1401 | Got reply: |
| 1402 | drop_policy=exact |
| 1403 | connection_1=07:3f:2c:59:e5:5c:ed:00-->/164.67.126.7:48319-->mallorea.gpolab.bbn.com/192.1.249.185:33020 |
| 1404 | contact_email=lnevers@bbn.com |
| 1405 | controller_hostname=mallorea.gpolab.bbn.com |
| 1406 | controller_port=33020 |
| 1407 | creator=fvadmin |
| 1408 | |
| 1409 | }}} |
| 1410 | |
| 1411 | Check the FlowVisor setting: |
| 1412 | {{{ |
| 1413 | lnevers@flowvisor:~$ fvctl --passwd-file=/etc/flowvisor.passwd dumpConfig /tmp/flowvisor-config |
| 1414 | lnevers@flowvisor:~$ more /tmp/flowvisor-config |
| 1415 | { |
| 1416 | "flowvisor": [ |
| 1417 | { |
| 1418 | "api_webserver_port": 8080, |
| 1419 | "api_jetty_webserver_port": -1, |
| 1420 | "checkpointing": false, |
| 1421 | "listen_port": 6633, |
| 1422 | "track_flows": false, |
| 1423 | "stats_desc_hack": false, |
| 1424 | "run_topology_server": false, |
| 1425 | "logging": "NOTE", |
| 1426 | "log_ident": "flowvisor", |
| 1427 | "log_facility": "LOG_LOCAL7", |
| 1428 | "version": "flowvisor-0.9", |
| 1429 | "host": "localhost", |
| 1430 | "default_flood_perm": "fvadmin", |
| 1431 | "config_name": "default" |
| 1432 | } |
| 1433 | ], |
| 1434 | "Slice": [ |
| 1435 | { |
| 1436 | "config_name": "default", |
| 1437 | "flowmap_type": "federated", |
| 1438 | "name": "fvadmin", |
| 1439 | "creator": "fvadmin", |
| 1440 | "passwd_crypt": "xxx", |
| 1441 | "passwd_salt": "xxx", |
| 1442 | "controller_hostname": "none", |
| 1443 | "controller_port": 0, |
| 1444 | "contact_email": "fvadmin@localhost", |
| 1445 | "drop_policy": "exact", |
| 1446 | "lldp_spam": true |
| 1447 | }, |
| 1448 | { |
| 1449 | "config_name": "default", |
| 1450 | "flowmap_type": "federated", |
| 1451 | "name": "b049f933-540e-4901-a7e0-76b539d6ed32", |
| 1452 | "creator": "fvadmin", |
| 1453 | "passwd_crypt": "xxx", |
| 1454 | "passwd_salt": "xxx", |
| 1455 | "controller_hostname": "hafmet.gpolab.bbn.com", |
| 1456 | "controller_port": 33012, |
| 1457 | "contact_email": "tupty@bbn.com", |
| 1458 | "drop_policy": "exact", |
| 1459 | "lldp_spam": true |
| 1460 | }, |
| 1461 | { |
| 1462 | "config_name": "default", |
| 1463 | "flowmap_type": "federated", |
| 1464 | "name": "16f93731-1c53-4406-9446-8d7a7da19b7d", |
| 1465 | "creator": "fvadmin", |
| 1466 | "passwd_crypt": "xxx", |
| 1467 | "passwd_salt": "-xxx", |
| 1468 | "controller_hostname": "hafmet.gpolab.bbn.com", |
| 1469 | "controller_port": 31750, |
| 1470 | "contact_email": "tupty@bbn.com", |
| 1471 | "drop_policy": "exact", |
| 1472 | "lldp_spam": true |
| 1473 | }, |
| 1474 | { |
| 1475 | "config_name": "default", |
| 1476 | "flowmap_type": "federated", |
| 1477 | "name": "d2e31929-b2f4-46b7-9ca1-c62ab899e6eb", |
| 1478 | "creator": "fvadmin", |
| 1479 | "passwd_crypt": "xxx", |
| 1480 | "passwd_salt": "xxx", |
| 1481 | "controller_hostname": "mallorea.gpolab.bbn.com", |
| 1482 | "controller_port": 33020, |
| 1483 | "contact_email": "lnevers@bbn.com", |
| 1484 | "drop_policy": "exact", |
| 1485 | "lldp_spam": true |
| 1486 | } |
| 1487 | ], |
| 1488 | "FlowSpaceRule": [ |
| 1489 | { |
| 1490 | "dpid": "73f2c59e55ced00", |
| 1491 | "priority": 2000, |
| 1492 | "in_port": 0, |
| 1493 | "dl_type": 2048, |
| 1494 | "nw_src": 168900352, |
| 1495 | "nw_dst": 168900352, |
| 1496 | "wildcards": 3279087, |
| 1497 | "slice_action": [ |
| 1498 | { |
| 1499 | "b049f933-540e-4901-a7e0-76b539d6ed32": 4 |
| 1500 | } |
| 1501 | ] |
| 1502 | }, |
| 1503 | { |
| 1504 | "dpid": "73f2c59e55ced00", |
| 1505 | "priority": 2000, |
| 1506 | "in_port": 0, |
| 1507 | "dl_type": 2054, |
| 1508 | "nw_src": 168900352, |
| 1509 | "nw_dst": 168900352, |
| 1510 | "wildcards": 3279087, |
| 1511 | "slice_action": [ |
| 1512 | { |
| 1513 | "b049f933-540e-4901-a7e0-76b539d6ed32": 4 |
| 1514 | } |
| 1515 | ] |
| 1516 | }, |
| 1517 | { |
| 1518 | "dpid": "73f2c59e55ced00", |
| 1519 | "priority": 2000, |
| 1520 | "in_port": 0, |
| 1521 | "dl_type": 2048, |
| 1522 | "nw_src": 171048960, |
| 1523 | "nw_dst": 171048960, |
| 1524 | "wildcards": 3412207, |
| 1525 | "slice_action": [ |
| 1526 | { |
| 1527 | "16f93731-1c53-4406-9446-8d7a7da19b7d": 4 |
| 1528 | } |
| 1529 | ] |
| 1530 | }, |
| 1531 | { |
| 1532 | "dpid": "73f2c59e55ced00", |
| 1533 | "priority": 2000, |
| 1534 | "in_port": 0, |
| 1535 | "dl_type": 2054, |
| 1536 | "nw_src": 171048960, |
| 1537 | "nw_dst": 171048960, |
| 1538 | "wildcards": 3412207, |
| 1539 | "slice_action": [ |
| 1540 | { |
| 1541 | "16f93731-1c53-4406-9446-8d7a7da19b7d": 4 |
| 1542 | } |
| 1543 | ] |
| 1544 | }, |
| 1545 | { |
| 1546 | "dpid": "73f2c59e55ced00", |
| 1547 | "priority": 2000, |
| 1548 | "in_port": 0, |
| 1549 | "dl_type": 2048, |
| 1550 | "nw_src": 170527488, |
| 1551 | "nw_dst": 170527488, |
| 1552 | "wildcards": 3279087, |
| 1553 | "slice_action": [ |
| 1554 | { |
| 1555 | "d2e31929-b2f4-46b7-9ca1-c62ab899e6eb": 4 |
| 1556 | } |
| 1557 | ] |
| 1558 | }, |
| 1559 | { |
| 1560 | "dpid": "73f2c59e55ced00", |
| 1561 | "priority": 2000, |
| 1562 | "in_port": 0, |
| 1563 | "dl_type": 2054, |
| 1564 | "nw_src": 170527488, |
| 1565 | "nw_dst": 170527488, |
| 1566 | "wildcards": 3279087, |
| 1567 | "slice_action": [ |
| 1568 | { |
| 1569 | "d2e31929-b2f4-46b7-9ca1-c62ab899e6eb": 4 |
| 1570 | } |
| 1571 | ] |
| 1572 | } |
| 1573 | ] |
| 1574 | } |
| 1575 | lnevers@flowvisor:~$ |
| 1576 | }}} |