cli: Move parsing of --net option to separate function
authorMichael Hanselmann <hansmi@google.com>
Wed, 29 Sep 2010 15:30:05 +0000 (17:30 +0200)
committerMichael Hanselmann <hansmi@google.com>
Tue, 5 Oct 2010 14:59:05 +0000 (16:59 +0200)
commit845c79d8915138ae2d72ecaa3730ee410264282d
treeabb9820c911c62d18b62821c67186c735e081ba3
parent9d3015f970c2b43fa13477df109cb6dbfa3de8e1
cli: Move parsing of --net option to separate function

This function will also be used in tools/move-instance.

Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
lib/cli.py
test/ganeti.cli_unittest.py