@@ -348,9 +348,9 @@ Parameters for adding a rule:
348
348
- * priority* (optional): A number between 0 and 65535 for the rule priority.
349
349
- * mac* (optional): The MAC address of the VIF to create the rule for, if not
350
350
specified, a network-wide rule will be created.
351
- - * iprange * : An IP or range of IPs in CIDR notation, for example ` 192.168.1.0/24 ` .
351
+ - * ipRange * : An IP or range of IPs in CIDR notation, for example ` 192.168.1.0/24 ` .
352
352
- * direction* : can be ** from** , ** to** or ** from/to**
353
- - * to* : means the parameters for ** port** and ** iprange ** are to be used as destination
353
+ - * to* : means the parameters for ** port** and ** ipRange ** are to be used as destination
354
354
- * from* : means they will be use as source
355
355
- * from/to* : 2 rules will be created, one per direction
356
356
- * protocol* : IP, TCP, UDP, ICMP or ARP
@@ -363,7 +363,7 @@ $ xe host-call-plugin host-uuid<uuid> plugin=sdncontroller.py \
363
363
args:bridge="xenbr0" \
364
364
args:priority="100" \
365
365
args:mac="6e:0b:9e:72:ab:c6" \
366
- args:iprange ="192.168.1.0/24" \
366
+ args:ipRange ="192.168.1.0/24" \
367
367
args:direction="from/to" \
368
368
args:protocol="tcp" \
369
369
args:port="22" \
@@ -375,9 +375,9 @@ $ xe host-call-plugin host-uuid<uuid> plugin=sdncontroller.py \
375
375
Parameters for removing a rule:
376
376
- * bridge* : The name of the bridge to delete the rule from.
377
377
- * mac* (optional): The MAC address of the VIF to delete the rule for.
378
- - * iprange * : An IP or range of IPs in CIDR notation, for example ` 192.168.1.0/24 ` .
378
+ - * ipRange * : An IP or range of IPs in CIDR notation, for example ` 192.168.1.0/24 ` .
379
379
- * direction* : can be ** from** , ** to** or ** from/to**
380
- - * to* : means the parameters for ** port** and ** iprange ** are to be used as destination
380
+ - * to* : means the parameters for ** port** and ** ipRange ** are to be used as destination
381
381
- * from* : means they will be use as source
382
382
- * from/to* : 2 rules will be created, one per direction
383
383
- * protocol* : IP, TCP, UDP, ICMP or ARP
@@ -388,7 +388,7 @@ $ xe host-call-plugin host-uuid<uuid> plugin=sdncontroller.py \
388
388
fn=del-rule \
389
389
args:bridge="xenbr0" \
390
390
args:mac="6e:0b:9e:72:ab:c6" \
391
- args:iprange ="192.168.1.0/24" \
391
+ args:ipRange ="192.168.1.0/24" \
392
392
args:direction="from/to" \
393
393
args:protocol="tcp" \
394
394
args:port="22"
0 commit comments