• Dimitris Aragiorgis's avatar
    Fix gnt-network client to accept vlan info · 2243b133
    Dimitris Aragiorgis authored
    Until now gnt-network connect expected the network,
    mode, link, and optionally groups as positional arguments.
    
    To be able to pass vlan info too, use the `--nic-parameters`
    option, just like gnt-cluster client to pass the desired
    mode, link, and vlan. Missing values will be filled with the
    default ones.
    
    Do not support old argument passing since mode and link should
    be arguments with variable length and this violates bash completion
    generation rules.
    
    Update QA to pass the new option instead of deprecated arguments.
    Signed-off-by: default avatarDimitris Aragiorgis <dimara@grnet.gr>
    Signed-off-by: default avatarKlaus Aehlig <aehlig@google.com>
    Reviewed-by: default avatarKlaus Aehlig <aehlig@google.com>
    2243b133
gnt_network.py 12 KB