@@ -92,6 +92,7 @@ if len(sys.argv) <= 1 or sys.argv[1] == "--help":
92
92
print (" get_cluster_status(string cluster_id)" )
93
93
print (" string get_keypair_public_key_by_name(string key_name)" )
94
94
print (" void delete_keypair(string key_name)" )
95
+ print (" void add_default_security_groups_to_server(string openstack_id)" )
95
96
print (" VM get_server(string openstack_id)" )
96
97
print (" VM get_server_by_unique_name(string unique_name)" )
97
98
print (" void stop_server(string openstack_id)" )
@@ -100,7 +101,7 @@ if len(sys.argv) <= 1 or sys.argv[1] == "--help":
100
101
)
101
102
print (" get_limits()" )
102
103
print (
103
- " start_cluster(string public_key , ClusterInstance master_instance, worker_instances, string user)"
104
+ " start_cluster( public_keys , ClusterInstance master_instance, worker_instances, string user)"
104
105
)
105
106
print (" terminate_cluster(string cluster_id)" )
106
107
print (" void delete_image(string image_id)" )
@@ -688,6 +689,16 @@ elif cmd == "delete_keypair":
688
689
)
689
690
)
690
691
692
+ elif cmd == "add_default_security_groups_to_server" :
693
+ if len (args ) != 1 :
694
+ print ("add_default_security_groups_to_server requires 1 args" )
695
+ sys .exit (1 )
696
+ pp .pprint (
697
+ client .add_default_security_groups_to_server (
698
+ args [0 ],
699
+ )
700
+ )
701
+
691
702
elif cmd == "get_server" :
692
703
if len (args ) != 1 :
693
704
print ("get_server requires 1 args" )
@@ -744,7 +755,7 @@ elif cmd == "start_cluster":
744
755
sys .exit (1 )
745
756
pp .pprint (
746
757
client .start_cluster (
747
- args [0 ],
758
+ eval ( args [0 ]) ,
748
759
eval (args [1 ]),
749
760
eval (args [2 ]),
750
761
args [3 ],
0 commit comments