Changes between Version 1 and Version 2 of GENIRacksHome/InstageniRacks/ConfirmationTestStatus/GPO


Ignore:
Timestamp:
12/17/12 18:07:43 (11 years ago)
Author:
lnevers@bbn.com
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GENIRacksHome/InstageniRacks/ConfirmationTestStatus/GPO

    v1 v2  
    880880}}}
    881881
    882 
     882Access the FOAM VM and gather information for version
     883{{{
     884$ ssh foam.instageni.gpolab.bbn.com
     885Welcome to Ubuntu 12.04.1 LTS (GNU/Linux 3.2.0-34-generic x86_64)
     886
     887 * Documentation:  https://help.ubuntu.com/
     888Last login: Mon Dec 17 16:34:11 2012 from dhcp89-069-100.bbn.com
     889lnevers@foam:~$ sudo foamctl admin:get-version  --passwd-file=/etc/foam.passwd
     890{
     891 "version": "0.8.2"
     892}
     893}}}
     894
     895Check FOAM configuration for  site.admin.email, geni.site-tag, email.from settings:
     896{{{
     897lnevers@foam:~$ foamctl config:get-value --key="site.admin.email"  --passwd-file=/etc/foam.passwd
     898{
     899 "value": "instageni-foam-admin@gpolab.bbn.com"
     900}
     901lnevers@foam:~$ foamctl config:get-value --key="geni.site-tag"  --passwd-file=/etc/foam.passwd
     902{
     903 "value": "foam.instageni.
     904}
     905lnevers@foam:~$ foamctl config:get-value --key="email.from"  --passwd-file=/etc/foam.passwd
     906{
     907 "value": "InstaGENI FOAM at BBN <instageni-foam-admin@gpolab.bbn.com>"
     908}
     909# check if FOAM auto-approve is on. Value 2 = auto-approve is on.
     910lnevers@foam:~$ foamctl config:get-value --key="geni.approval.approve-on-creation"  --passwd-file=/etc/foam.passwd
     911{
     912 "value": 2
     913}
     914
     915}}}
     916Show FOAM slivers and details for one sliver:
     917{{{
     918lnevers@foam:~$ foamctl geni:list-slivers --passwd-file=/etc/foam.passwd
     919{
     920 "slivers": [
     921  {
     922   "status": "Approved",
     923   "sliver_urn": "urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+jbs15:8a0abd6f-0f5a-469f-91d2-c7f990b8494e",
     924   "creation": "2012-12-14 04:00:28.080797+00:00",
     925   "pend_reason": null,
     926   "expiration": "2013-02-15 23:00:00+00:00",
     927   "deleted": "False",
     928   "user": "urn:publicid:IDN+pgeni.gpolab.bbn.com+user+jbs",
     929   "slice_urn": "urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+jbs15",
     930   "enabled": true,
     931   "email": "jbs@pgeni.gpolab.bbn.com",
     932   "flowvisor_slice": "8a0abd6f-0f5a-469f-91d2-c7f990b8494e",
     933   "desc": "JBS 15 OpenFlow resources at BBN InstaGENI.",
     934   "ref": null,
     935   "id": 3,
     936   "uuid": "8a0abd6f-0f5a-469f-91d2-c7f990b8494e"
     937  },
     938  {
     939   "status": "Approved",
     940   "sliver_urn": "urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+jbs16:a92990b6-1ede-4dd7-b6f6-7b4a4bd36fd7",
     941   "creation": "2012-12-14 04:20:35.194373+00:00",
     942   "pend_reason": null,
     943   "expiration": "2013-02-15 23:00:00+00:00",
     944   "deleted": "False",
     945   "user": "urn:publicid:IDN+pgeni.gpolab.bbn.com+user+jbs",
     946   "slice_urn": "urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+jbs16",
     947   "enabled": true,
     948   "email": "jbs@pgeni.gpolab.bbn.com",
     949   "flowvisor_slice": "a92990b6-1ede-4dd7-b6f6-7b4a4bd36fd7",
     950   "desc": "JBS 16 OpenFlow resources at BBN InstaGENI.",
     951   "ref": null,
     952   "id": 4,
     953   "uuid": "a92990b6-1ede-4dd7-b6f6-7b4a4bd36fd7"
     954  }
     955 ]
     956}
     957lnevers@foam:~$ foamctl geni:show-sliver --urn "urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+jbs16:a92990b6-1ede-4dd7-b6f6-7b4a4bd36fd7" --passwd-file=/etc/foam.passwd
     958{
     959 "sliver": {
     960  "flowspace rules": 2,
     961  "status": "Approved",
     962  "creation": "2012-12-14 04:20:35.194373+00:00",
     963  "uuid": "a92990b6-1ede-4dd7-b6f6-7b4a4bd36fd7",
     964  "deleted": "False",
     965  "user": "urn:publicid:IDN+pgeni.gpolab.bbn.com+user+jbs",
     966  "slice_urn": "urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+jbs16",
     967  "enabled": true,
     968  "pend_reason": null,
     969  "email": "jbs@pgeni.gpolab.bbn.com",
     970  "controllers": [
     971   {
     972    "url": "tcp:naxos.gpolab.bbn.com:33016",
     973    "type": "primary"
     974   }
     975  ],
     976  "expiration": "2013-02-15 23:00:00+00:00",
     977  "desc": "JBS 16 OpenFlow resources at BBN InstaGENI.",
     978  "sliver_urn": "urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+jbs16:a92990b6-1ede-4dd7-b6f6-7b4a4bd36fd7",
     979  "ref": null,
     980  "id": 4,
     981  "flowvisor_slice": "a92990b6-1ede-4dd7-b6f6-7b4a4bd36fd7"
     982 }
     983}
     984}}}
     985Access the FlowVisor VM and gather version information:
     986{{{
     987$ ssh flowvisor.instageni.gpolab.bbn.com
     988Welcome to Ubuntu 12.04.1 LTS (GNU/Linux 3.2.0-34-generic x86_64)
     989
     990 * Documentation:  https://help.ubuntu.com/
     991Last login: Mon Dec 17 16:29:50 2012 from dhcp89-069-100.bbn.com
     992lnevers@flowvisor:~$
     993}}}
     994
     995Check the !FlowVisor version, list of devices, get details for a device, list of active slices, and details for one of the slices:
     996{{{       
     997lnevers@flowvisor:~$ fvctl --passwd-file=/etc/flowvisor.passwd ping hello
     998Got reply:
     999PONG(fvadmin): FV version=flowvisor-0.8.14::hello
     1000
     1001# Devices
     1002
     1003lnevers@flowvisor:~$ fvctl --passwd-file=/etc/flowvisor.passwd listDevices
     1004Device 0: 06:d6:84:34:97:c6:c9:00
     1005lnevers@flowvisor:~$ fvctl --passwd-file=/etc/flowvisor.passwd getDeviceInfo 06:d6:84:34:97:c6:c9:00
     1006nPorts=4
     1007portList=65534,100,119,120
     1008dpid=06:d6:84:34:97:c6:c9:00
     1009remote=/10.3.1.7:6633-->/10.3.1.253:65430
     1010portNames=local(65534),E4(100),E23(119),E24(120)
     1011lnevers@flowvisor:~$
     1012
     1013#Slices
     1014lnevers@flowvisor:~$ fvctl --passwd-file=/etc/flowvisor.passwd listSlices
     1015Slice 0: fvadmin
     1016Slice 1: 8a0abd6f-0f5a-469f-91d2-c7f990b8494e
     1017Slice 2: a92990b6-1ede-4dd7-b6f6-7b4a4bd36fd7
     1018
     1019lnevers@flowvisor:~$ fvctl --passwd-file=/etc/flowvisor.passwd getSliceInfo 8a0abd6f-0f5a-469f-91d2-c7f990b8494e
     1020Got reply:
     1021drop_policy=exact
     1022connection_1=06:d6:84:34:97:c6:c9:00-->/192.1.242.135:35576-->naxos.gpolab.bbn.com/192.1.249.133:33015
     1023contact_email=jbs@pgeni.gpolab.bbn.com
     1024controller_hostname=naxos.gpolab.bbn.com
     1025controller_port=33015
     1026creator=fvadmin
     1027}}}
     1028
     1029Check the FlowVisor setting:
     1030{{{
     1031lnevers@flowvisor:~$ fvctl --passwd-file=/etc/flowvisor.passwd dumpConfig /tmp/flowvisor-config
     1032lnevers@flowvisor:~$ more /tmp/flowvisor-config
     1033{
     1034   "flowvisor": [
     1035      {
     1036         "api_webserver_port": 8080,
     1037         "api_jetty_webserver_port": -1,
     1038         "checkpointing": false,
     1039         "listen_port": 6633,
     1040         "track_flows": false,
     1041         "stats_desc_hack": false,
     1042         "run_topology_server": false,
     1043         "logging": "NOTE",
     1044         "log_ident": "flowvisor",
     1045         "log_facility": "LOG_LOCAL7",
     1046         "version": "flowvisor-0.9",
     1047         "host": "localhost",
     1048         "default_flood_perm": "fvadmin",
     1049         "config_name": "default"
     1050      }
     1051   ],
     1052   "Slice": [
     1053      {
     1054         "config_name": "default",
     1055         "flowmap_type": "federated",
     1056         "name": "fvadmin",
     1057         "creator": "fvadmin",
     1058         "passwd_crypt": "xxxxxxxxxxxxxx",
     1059         "passwd_salt": "xxxxxxxxxxxxxx",
     1060         "controller_hostname": "none",
     1061         "controller_port": 0,
     1062         "contact_email": "fvadmin@localhost",
     1063         "drop_policy": "exact",
     1064         "lldp_spam": true
     1065      },
     1066      {
     1067         "config_name": "default",
     1068         "flowmap_type": "federated",
     1069         "name": "8a0abd6f-0f5a-469f-91d2-c7f990b8494e",
     1070         "creator": "fvadmin",
     1071         "passwd_crypt": "xxxxxxxxxxxxxx",
     1072         "passwd_salt": "xxxxxxxxxxxxxx",
     1073         "controller_hostname": "naxos.gpolab.bbn.com",
     1074         "controller_port": 33015,
     1075         "contact_email": "jbs@pgeni.gpolab.bbn.com",
     1076         "drop_policy": "exact",
     1077         "lldp_spam": true
     1078      },
     1079      {
     1080         "config_name": "default",
     1081         "flowmap_type": "federated",
     1082         "name": "a92990b6-1ede-4dd7-b6f6-7b4a4bd36fd7",
     1083         "creator": "fvadmin",
     1084         "passwd_crypt": "xxxxxxxxxxxxxx",
     1085         "passwd_salt": "xxxxxxxxxxxxxx",
     1086         "controller_hostname": "naxos.gpolab.bbn.com",
     1087         "controller_port": 33016,
     1088         "contact_email": "jbs@pgeni.gpolab.bbn.com",
     1089         "drop_policy": "exact",
     1090         "lldp_spam": true
     1091      }
     1092   ],
     1093   "FlowSpaceRule": [
     1094      {
     1095         "dpid": "6d6843497c6c900",
     1096         "priority": 2000,
     1097         "in_port": 0,
     1098         "dl_type": 2048,
     1099         "nw_src": 170528512,
     1100         "nw_dst": 170528512,
     1101         "wildcards": 3279087,
     1102         "slice_action": [
     1103            {
     1104               "8a0abd6f-0f5a-469f-91d2-c7f990b8494e": 4
     1105            }
     1106         ]
     1107      },
     1108      {
     1109         "dpid": "6d6843497c6c900",
     1110         "priority": 2000,
     1111         "in_port": 0,
     1112         "dl_type": 2054,
     1113         "nw_src": 170528512,
     1114         "nw_dst": 170528512,
     1115         "wildcards": 3279087,
     1116         "slice_action": [
     1117            {
     1118               "8a0abd6f-0f5a-469f-91d2-c7f990b8494e": 4
     1119            }
     1120         ]
     1121      },
     1122      {
     1123         "dpid": "6d6843497c6c900",
     1124         "priority": 2000,
     1125         "in_port": 0,
     1126         "dl_type": 2048,
     1127         "nw_src": 170528768,
     1128         "nw_dst": 170528768,
     1129         "wildcards": 3279087,
     1130         "slice_action": [
     1131            {
     1132               "a92990b6-1ede-4dd7-b6f6-7b4a4bd36fd7": 4
     1133            }
     1134         ]
     1135      },
     1136      {
     1137         "dpid": "6d6843497c6c900",
     1138         "priority": 2000,
     1139         "in_port": 0,
     1140         "dl_type": 2054,
     1141         "nw_src": 170528768,
     1142         "nw_dst": 170528768,
     1143         "wildcards": 3279087,
     1144         "slice_action": [
     1145            {
     1146               "a92990b6-1ede-4dd7-b6f6-7b4a4bd36fd7": 4
     1147            }
     1148         ]
     1149      }
     1150   ]
     1151}
     1152lnevers@flowvisor:~$
     1153}}}
    8831154----
    8841155{{{