| | 1 | == Accessing the WiMAX Base Station == |
| | 2 | The WiMAX ASN Gateway (cons-wm-01) can be accessed from the ORBIT internal server (internal1.orbit-lab.org). Users interested in experimenting with the base station should log on to internal1.orbit-lab.org using their ORBIT username and password. The next steps are enumerated below |
| | 3 | |
| | 4 | * Initialize the grid service: |
| | 5 | Initializes the VM grid service. Checks for running VMs and initializes datapath on the machine. |
| | 6 | |
| | 7 | === Input Command === |
| | 8 | {{{ |
| | 9 | wget http://wm-asngw-02:5012/wimaxvm/initvms |
| | 10 | }}} |
| | 11 | |
| | 12 | === Expected Output === |
| | 13 | {{{ |
| | 14 | 01 0 |
| | 15 | #mac vm4212 1 |
| | 16 | #mac vm43 |
| | 17 | }}} |
| | 18 | |
| | 19 | * List all Virtual Machines that are currently running on the ASN gateway: |
| | 20 | Allows the administrator to have a detailed view of the current VMs and provides VM statistics in XML format. |
| | 21 | === Input Command === |
| | 22 | {{{ |
| | 23 | wget http://wm-asngw-02:5012/wimaxvm/vmlist |
| | 24 | }}} |
| | 25 | === Expected Output === |
| | 26 | {{{ |
| | 27 | 0vm42 VLANID 1 |
| | 28 | 1vm43 VLANID 2 |
| | 29 | }}} |
| | 30 | |
| | 31 | * Start/Stop Virtual Machines |
| | 32 | Starts/Stops VM instance. Configures VLANs on VM substrate |
| | 33 | === Input Command === |
| | 34 | {{{ |
| | 35 | wget http://wm-asngw-02:5012/wimaxvm/start?vmname=vm1 |
| | 36 | wget http://wm-asngw-02:5012/wimaxvm/stop?vmname=vm1 |
| | 37 | }}} |
| | 38 | === Expected Output === |
| | 39 | {{{ |
| | 40 | ToDo |
| | 41 | }}} |
| | 42 | |
| | 43 | * Add Mobile Client to the Virtual Machine |
| | 44 | Registers a client with the slice. Currently adds default service flow settings for the client. Adds mapping to the datapath controller on ASN-GW. |
| | 45 | === Input Command === |
| | 46 | {{{ |
| | 47 | wget http://wm-asngw-02:5012/wimaxvm/addclient?vmname=vm1\&clientmac=84:22:10:14:2b:9a |
| | 48 | }}} |
| | 49 | === Expected Output === |
| | 50 | {{{ |
| | 51 | ToDo |
| | 52 | }}} |
| | 53 | |
| | 54 | == Sample Experiment Script == |
| | 55 | This script demnstrates how to start VM instances and switch the mobile client with MAC: "84:22:10.14.2b.9a" between two VMs: VM1, VM2 every 20 secs. |
| | 56 | {{{ |
| | 57 | wget http://wm-asngw-02:5012/wimaxvm/start?vmname=vm1 |
| | 58 | wget http://wm-asngw-02:5012/wimaxvm/stop?vmname=vm2 |
| | 59 | sleep 10 |
| | 60 | while 1 |
| | 61 | wget http://wm-asngw-02:5012/wimaxvm/addclient?vmname=vm1\&clientmac=84:22:10:14:2b:9a |
| | 62 | sleep 20 |
| | 63 | wget http://wm-asngw-02:5012/wimaxvm/addclient?vmname=vm2\&clientmac=84:22:10:14:2b:9a |
| | 64 | sleep 20 |
| | 65 | end |
| | 66 | }}} |
| | 67 | |
| | 68 | == Expected Output == |
| | 69 | {{{ |
| | 70 | ToDo |
| | 71 | }}} |
| | 72 | |
| | 73 | |