Ejemplo n.º 1
0
 def initialize_parser(self, parser):
     initialize_parser(parser)
     VMLaunch.initialize_parser(self, parser)
     parser.add_argument("--near-ip", help="Build subsequent nodes near the network of the first node.", action='store_true', default=False, dest="near_ip")
     parser.add_argument("--set-network", metavar="<network_ip_address>", help="Manually set the ip address to be near to for --near-ip.", action='store', default=False, dest="network_ip_address")
     parser.add_argument("--cidr", help="The cidr range to use with --near-ip, defaults to 24.", action='store_true', default=24, dest="cidr")
     parser.add_argument("--same-host", help="Build nodes on the same host as the first node.", action='store_true', default=False, dest="same_host")
 def initialize_parser(self, parser):
     initialize_parser(parser)
     VMLaunch.initialize_parser(self, parser)