| | 1 | = System Administrator API Specification (Internal) = |
| | 2 | These set of functions are exposed to the system administrator for managing and monitoring slice quotas from a virtualization perspective. More administrative functionality is provided on the RF side as discussed in the BS-RF API. |
| | 3 | |
| | 4 | == VM Administration == |
| | 5 | |
| | 6 | === setSliceParams(SLICEID, disk_quota, cpu) == |
| | 7 | - This function is provided to the administrator for setting up slice level parameters such as total disk / cpu quota assigned to a slice. |
| | 8 | - Successful setting of these parameters returns “ok” |
| | 9 | === getSliceParams(SLICEID) === |
| | 10 | - This function is provided to the administrator for getting slice level parameters such as total disk/CPU quota assigned to a slice. |
| | 11 | - Online information such as current usage is also be made available. |
| | 12 | - Returns XML with appropriate parameters on success, “nok” otherwise. |
| | 13 | == getTotalParams(SLICEID) === |
| | 14 | - This function is provided to the administrator for getting information on total available resources, such as disk space/ cpu quota available for allocation. |
| | 15 | - This function is typically used by the administrator before the use of setSliceParams() function. |
| | 16 | - Returns XML with appropriate parameters on success, “nok” otherwise. |
| | 17 | |