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