Revision 5c98b73e lib/rapi/rlib2.py
b/lib/rapi/rlib2.py | ||
---|---|---|
886 | 886 |
"""/2/instances resource. |
887 | 887 |
|
888 | 888 |
""" |
889 |
GET_OPCODE = opcodes.OpInstanceQuery |
|
890 | 889 |
POST_OPCODE = opcodes.OpInstanceCreate |
891 | 890 |
POST_RENAME = { |
892 | 891 |
"os": "os_type", |
... | ... | |
970 | 969 |
"""/2/instances/[instance_name] resource. |
971 | 970 |
|
972 | 971 |
""" |
973 |
GET_OPCODE = opcodes.OpInstanceQuery |
|
974 | 972 |
DELETE_OPCODE = opcodes.OpInstanceRemove |
975 | 973 |
|
976 | 974 |
def GET(self): |
Also available in: Unified diff