Exemplo n.º 1
0
 def cldparse(self, definitions):
     attributes, unused_definitions = parse_cld_defs_file(definitions)
     clouds = get_available_clouds(attributes, return_all_options=True)
     return {
         "msg": "Success",
         "status": 0,
         "result": {
             "clouds": clouds,
             "attributes": attributes
         }
     }
Exemplo n.º 2
0
 def cldparse(self, definitions):
     attributes, unused_definitions = parse_cld_defs_file(definitions)
     clouds = get_available_clouds(attributes, return_all_options = True)
     return {"msg" : "Success", "status" : 0, "result": { "clouds": clouds, "attributes" : attributes} }
Exemplo n.º 3
0
 def cldparse(self, definitions):
     attributes = parse_cld_defs_file(definitions)
     commands = get_startup_commands(attributes, return_all_options = True)
     return {"msg" : "Success", "status" : 0, "result": commands }