File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -87,17 +87,17 @@ def get_parser(self, prog_name):
8787 )
8888 parser .add_argument (
8989 '--local-port' ,
90- metavar = '<local_port >' ,
90+ metavar = '<local-port >' ,
9191 help = _ ("Port to allocate Local IP (name or ID)" )
9292 )
9393 parser .add_argument (
9494 "--local-ip-address" ,
95- metavar = "<local_ip_address >" ,
95+ metavar = "<local-ip-address >" ,
9696 help = _ ("IP address or CIDR " ),
9797 )
9898 parser .add_argument (
9999 '--ip-mode' ,
100- metavar = '<ip_mode >' ,
100+ metavar = '<ip-mode >' ,
101101 help = _ ("local IP ip mode" )
102102 )
103103
@@ -212,13 +212,13 @@ def get_parser(self, prog_name):
212212 )
213213 parser .add_argument (
214214 '--local-port' ,
215- metavar = '<local_port >' ,
215+ metavar = '<local-port >' ,
216216 help = _ ("List Local IP(s) according to "
217217 "given port (name or ID)" )
218218 )
219219 parser .add_argument (
220220 '--local-ip-address' ,
221- metavar = '<local_ip_address >' ,
221+ metavar = '<local-ip-address >' ,
222222 help = _ ("List Local IP(s) according to "
223223 "given Local IP Address" )
224224 )
Original file line number Diff line number Diff line change @@ -43,16 +43,16 @@ def get_parser(self, prog_name):
4343 'local_ip' ,
4444 metavar = '<local-ip>' ,
4545 help = _ ("Local IP that the port association belongs to "
46- "(IP address or ID)" )
46+ "(Name or ID)" )
4747 )
4848 parser .add_argument (
4949 'fixed_port' ,
50- metavar = '<fixed_port >' ,
50+ metavar = '<fixed-port >' ,
5151 help = _ ("The ID or Name of Port to allocate Local IP Association" )
5252 )
5353 parser .add_argument (
5454 '--fixed-ip' ,
55- metavar = '<fixed_ip >' ,
55+ metavar = '<fixed-ip >' ,
5656 help = _ ("Fixed IP for Local IP Association" )
5757 )
5858
@@ -87,14 +87,14 @@ def get_parser(self, prog_name):
8787 parser = super ().get_parser (prog_name )
8888 parser .add_argument (
8989 'local_ip' ,
90- metavar = "<local_ip >" ,
90+ metavar = "<local-ip >" ,
9191 help = _ ("Local IP that the port association belongs to "
92- "(IP address or ID)" )
92+ "(Name or ID)" )
9393 )
9494 parser .add_argument (
9595 'fixed_port_id' ,
9696 nargs = "+" ,
97- metavar = "<fixed_port_id >" ,
97+ metavar = "<fixed-port-id >" ,
9898 help = _ ("The fixed port ID of Local IP Association" )
9999 )
100100 return parser
@@ -136,18 +136,18 @@ def get_parser(self, prog_name):
136136
137137 parser .add_argument (
138138 'local_ip' ,
139- metavar = '<local_ip >' ,
139+ metavar = '<local-ip >' ,
140140 help = _ ("Local IP that port associations belongs to" )
141141 )
142142 parser .add_argument (
143143 '--fixed-port' ,
144- metavar = '<fixed_port >' ,
144+ metavar = '<fixed-port >' ,
145145 help = _ ("Filter the list result by the ID or name of "
146146 "the fixed port" )
147147 )
148148 parser .add_argument (
149149 '--fixed-ip' ,
150- metavar = '<fixed_ip >' ,
150+ metavar = '<fixed-ip >' ,
151151 help = _ ("Filter the list result by fixed ip" )
152152 )
153153 parser .add_argument (
Original file line number Diff line number Diff line change @@ -2142,7 +2142,7 @@ def create_local_ip_associations(attrs=None, count=2):
21422142 :param Dictionary attrs:
21432143 A dictionary with all attributes
21442144 :param int count:
2145- The number of address groups to fake
2145+ The number of local ip associations to fake
21462146 :return:
21472147 A list of FakeResource objects faking the local ip associations
21482148 """
You can’t perform that action at this time.
0 commit comments