~graziano.obertelli/eucalyptus/lp683800

« back to all changes in this revision

Viewing changes to clc/tools/src/euca-deregister-cluster

- initial implementation of get/set property with support for static and db-singletons, tools in clc/tools/src/
- initial implementation of user control, tools in clc/tools/src
- basic stubs of client tools for register-component (only for CC right now)
- support for binding discovery (no need to seed bindings anymore)
- fixes invocation of defered initializers in the remote vs. local case
- support for pluggable "discovery" during bootstrap; e.g., see BootstrapperDiscovery

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/usr/bin/env python
 
2
import sys, os, boto
 
3
from boto.ec2.regioninfo import RegionInfo
 
4
from euca_admin import EucaAdmin
 
5
from euca_admin.clusters import Cluster
 
6
from optparse import OptionParser
 
7
 
 
8
def main():
 
9
  c = Cluster()
 
10
  parser = c.get_deregister_parser() 
 
11
  (options, args) = parser.parse_args()
 
12
  c.deregister(options.cc_name)
 
13
  sys.exit()
 
14
 
 
15
if __name__ == "__main__":
 
16
    main()
 
17