Changes between Version 2 and Version 3 of Internal/WiMAX/WiMAXAPI/aSliceMgmt


Ignore:
Timestamp:
Feb 17, 2010, 4:56:56 AM (15 years ago)
Author:
seskar
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Internal/WiMAX/WiMAXAPI/aSliceMgmt

    v2 v3  
    1313These set of functions are responsible for managing context isolation of multiple slices through the use of virtual machines.
    1414
    15 === createSLICE (used_id, passwd, image_type) ===
     15=== createSLICE ===
    1616This function is invoked from a gateway machine by the slice user to instantiate its slice for experimentation.
    17 -       Uses the slice user_id and passwd to create a new SLICE.
    18 -       image_type is an integer which specifies the distribution to be loaded on the disk of the virtual machine.
    19         image_type = 1 loads a Debian disk image
    20         image_type = 2 loads a Ubuntu disk image
    21         image_type = 3 loads a Fedora disk image
    22         - Return the IP of the SLICE to which the user can log into (when successful)
    23         - Failure returns “nok”, success returns SLICEID.
    2417
    25 === destroySLICE (user_id, passwd, IP) ===
    26 -       Destroy instance of the SLICE for which IP is assigned
    27 -       SLICE is destroyed only after authentication of  the used_id and passwd.
    28 -       Returns status “ok” if command was executed correctly, “nok” otherwise.
     18{{{
     19createSLICE(used_id, passwd, image_type)
     20  - user_id is username used in slice creation.
     21  - passwd is password used for slice creation.
     22  - image_type is an integer which specifies the distribution to be loaded on the disk of the virtual machine.
     23          image_type = 1 loads a Debian disk image
     24          image_type = 2 loads a Ubuntu disk image
     25          image_type = 3 loads a Fedora disk image
     26  - Return the IP of the SLICE to which the user can log into (when successful)
     27  - Failure returns “nok”, success returns SLICEID.
     28}}}
    2929
    30 === startSLICE ( SLICEID, user_id, passwd, IP) ===
    31 This functionality can be invoked after the the createSLICE() call is made.
     30=== destroySLICE  ===
     31This function is used to destroy instance of the SLICE for which IP is assigned; slice is destroyed only after authentication of  the used_id and passwd.
     32
     33{{{
     34destroySLICE(user_id, passwd, IP)
     35  - user_id is username used in slice creation.
     36  - passwd is password used for slice creation.
     37  - Returns status “ok” if command was executed correctly, “nok” otherwise.
     38}}}
     39
     40=== startSLICE ===
     41This function is used to start the slice; can be invoked only after the the createSLICE() call is made.
     42
     43{{{
     44startSLICE ( SLICEID, user_id, passwd, IP)
    3245-       Start instance of the SLICE for which IP is assigned
    3346-       SLICE instance is started only if the instance is owned by the issuing user.
    3447-       Returns status “ok” if command was executed correctly, “nok” otherwise.
     48}}}
    3549
    36 === stopSLICE ( SLICEID, user_id, passwd, IP) ===
     50=== stopSLICE ===
     51
     52{{{
     53stopSLICE ( SLICEID, user_id, passwd, IP)
    3754-       Stop instance of the SLICE for which IP is assigned
    3855-       SLICE instance is stopped only if the instance is owned by the issuing user.
    3956-       Returns status “ok” if command was executed correctly, “nok” otherwise.
     57}}}
    4058
    4159=== setSLICEParams (SLICEID, used_id, passwd) ===