Comment 2 for bug 794705

Revision history for this message
Kevin L. Mitchell (klmitch) wrote :

You know, it should be easy if you're willing to drop the '--': simply take any command-line arguments containing '=' and turn them into keyword arguments, then pass them in. So for instance:

  nova-manage network create public 10.0.0.0/8 1 15 flat_network_bridge=xenbr1 bridge_interface=eth1

Then you'd have something like:

def parse_args(argv):
    args = {}