@@ -75,7 +75,7 @@ class ListCCIs(CLIRunnable):
7575 action = 'list'
7676
7777 @staticmethod
78- def execute (client , args , env ):
78+ def execute (client , args ):
7979 cci = CCIManager (client )
8080
8181 tags = None
@@ -129,7 +129,7 @@ class CCIDetails(CLIRunnable):
129129 action = 'detail'
130130
131131 @staticmethod
132- def execute (client , args , env ):
132+ def execute (client , args ):
133133 cci = CCIManager (client )
134134 t = KeyValueTable (['Name' , 'Value' ])
135135 t .align ['Name' ] = 'r'
@@ -226,7 +226,7 @@ class CreateOptionsCCI(CLIRunnable):
226226 options = ['datacenter' , 'cpu' , 'nic' , 'disk' , 'os' , 'memory' ]
227227
228228 @classmethod
229- def execute (cls , client , args , env ):
229+ def execute (cls , client , args ):
230230 cci = CCIManager (client )
231231 result = cci .get_create_options ()
232232
@@ -385,7 +385,7 @@ class CreateCCI(CLIRunnable):
385385 required_params = ['--hostname' , '--domain' , '--cpu' , '--memory' ]
386386
387387 @classmethod
388- def execute (cls , client , args , env ):
388+ def execute (cls , client , args ):
389389 update_with_template_args (args )
390390 cci = CCIManager (client )
391391 cls ._update_with_like_args (cci , args )
@@ -643,7 +643,7 @@ class ReadyCCI(CLIRunnable):
643643 action = 'ready'
644644
645645 @staticmethod
646- def execute (client , args , env ):
646+ def execute (client , args ):
647647 cci = CCIManager (client )
648648
649649 cci_id = resolve_id (cci .resolve_ids , args .get ('<identifier>' ), 'CCI' )
@@ -672,7 +672,7 @@ class ReloadCCI(CLIRunnable):
672672 options = ['confirm' ]
673673
674674 @staticmethod
675- def execute (client , args , env ):
675+ def execute (client , args ):
676676 cci = CCIManager (client )
677677 cci_id = resolve_id (cci .resolve_ids , args .get ('<identifier>' ), 'CCI' )
678678 keys = []
@@ -698,7 +698,7 @@ class CancelCCI(CLIRunnable):
698698 options = ['confirm' ]
699699
700700 @staticmethod
701- def execute (client , args , env ):
701+ def execute (client , args ):
702702 cci = CCIManager (client )
703703 cci_id = resolve_id (cci .resolve_ids , args .get ('<identifier>' ), 'CCI' )
704704 if args ['--really' ] or no_going_back (cci_id ):
@@ -720,7 +720,7 @@ class CCIPowerOff(CLIRunnable):
720720 options = ['confirm' ]
721721
722722 @classmethod
723- def execute (cls , client , args , env ):
723+ def execute (cls , client , args ):
724724 vg = client ['Virtual_Guest' ]
725725 cci = CCIManager (client )
726726 cci_id = resolve_id (cci .resolve_ids , args .get ('<identifier>' ), 'CCI' )
@@ -748,7 +748,7 @@ class CCIReboot(CLIRunnable):
748748 options = ['confirm' ]
749749
750750 @classmethod
751- def execute (cls , client , args , env ):
751+ def execute (cls , client , args ):
752752 vg = client ['Virtual_Guest' ]
753753 cci = CCIManager (client )
754754 cci_id = resolve_id (cci .resolve_ids , args .get ('<identifier>' ), 'CCI' )
@@ -773,7 +773,7 @@ class CCIPowerOn(CLIRunnable):
773773 action = 'power-on'
774774
775775 @classmethod
776- def execute (cls , client , args , env ):
776+ def execute (cls , client , args ):
777777 vg = client ['Virtual_Guest' ]
778778 cci = CCIManager (client )
779779 cci_id = resolve_id (cci .resolve_ids , args .get ('<identifier>' ), 'CCI' )
@@ -790,7 +790,7 @@ class CCIPause(CLIRunnable):
790790 options = ['confirm' ]
791791
792792 @classmethod
793- def execute (cls , client , args , env ):
793+ def execute (cls , client , args ):
794794 vg = client ['Virtual_Guest' ]
795795 cci = CCIManager (client )
796796 cci_id = resolve_id (cci .resolve_ids , args .get ('<identifier>' ), 'CCI' )
@@ -811,7 +811,7 @@ class CCIResume(CLIRunnable):
811811 action = 'resume'
812812
813813 @classmethod
814- def execute (cls , client , args , env ):
814+ def execute (cls , client , args ):
815815 vg = client ['Virtual_Guest' ]
816816 cci = CCIManager (client )
817817 cci_id = resolve_id (cci .resolve_ids , args .get ('<identifier>' ), 'CCI' )
@@ -831,7 +831,7 @@ class NicEditCCI(CLIRunnable):
831831 action = 'nic-edit'
832832
833833 @classmethod
834- def execute (cls , client , args , env ):
834+ def execute (cls , client , args ):
835835 public = args ['public' ]
836836
837837 cci = CCIManager (client )
@@ -960,7 +960,7 @@ class EditCCI(CLIRunnable):
960960 action = 'edit'
961961
962962 @staticmethod
963- def execute (client , args , env ):
963+ def execute (client , args ):
964964 data = {}
965965
966966 if args ['--userdata' ] and args ['--userfile' ]:
0 commit comments