Bug #3018

New vnet options don't match help and are too long

Added by Javi Fontan about 7 years ago. Updated almost 7 years ago.

Status:ClosedStart date:07/01/2014
Priority:NormalDue date:
Assignee:Javi Fontan% Done:

0%

Category:CLI
Target version:Release 4.8
Resolution:fixed Pull request:
Affected Versions:Development

Description

Each command lists a set of valid options, like this:

   * addar <vnetid>
        Adds an address range to the Virtual Network
        valid options: verbose, help, version, user, password, endpoint, size, mac, ip, ip6_global, ip6_ula

But some options like size, mac or ip don't match the long option:

     -s, --address_range_size size Number of addresses in the range
     -m, --address_range_mac mac First MAC address in : notation
     -i, --address_range_ip ip First IP address in . notation
     -g, --address_range_ip6g ip6_pref IP6 global prefix
     -u, --address_range_ip6u ip6_pref IP6 ula prefix
     -a, --address_range ar_id ID of the address range

Also the address_range_ part of the long options could be deleted so the options are --size, --mac, etc

Associated revisions

Revision 3e59ea5f
Added by Javi Fontan almost 7 years ago

bug #3018: change onevnet parameters to match help

History

#1 Updated by Javi Fontan almost 7 years ago

  • Status changed from Pending to Assigned
  • Assignee set to Javi Fontan
  • Target version set to Release 4.8

#2 Updated by Javi Fontan almost 7 years ago

  • Status changed from Assigned to Closed
  • Resolution set to fixed

Changed options to:

     -s, --size size           Number of addresses
     -m, --mac mac             First MAC address in : notation
     -i, --ip ip               First IP address in . notation
     -g, --ip6_global ip6_pref IP6 global prefix
     -u, --ip6_ula ip6_pref    IP6 ula prefix
     -a, --address_range ar_id ID of the address range
     -n, --name reservation name Name of the address reservation

Also available in: Atom PDF