Revision b9e12624 lib/server/noded.py
b/lib/server/noded.py | ||
---|---|---|
166 | 166 |
"""Handle a request. |
167 | 167 |
|
168 | 168 |
""" |
169 |
|
|
169 | 170 |
if req.request_method.upper() != http.HTTP_POST: |
170 | 171 |
raise http.HttpBadRequest("Only the POST method is supported") |
171 | 172 |
|
... | ... | |
714 | 715 |
return backend.GetAllInstancesInfo(hypervisor_list, all_hvparams) |
715 | 716 |
|
716 | 717 |
@staticmethod |
718 |
def perspective_instance_console_info(params): |
|
719 |
"""Query information on how to get console access to instances |
|
720 |
|
|
721 |
""" |
|
722 |
return backend.GetInstanceConsoleInfo(params) |
|
723 |
|
|
724 |
@staticmethod |
|
717 | 725 |
def perspective_instance_list(params): |
718 | 726 |
"""Query the list of running instances. |
719 | 727 |
|
Also available in: Unified diff