Skip to content

Commit db3248f

Browse files
committed
fixup! Rework traffic-rules
1 parent 3cb85b6 commit db3248f

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -348,9 +348,9 @@ Parameters for adding a rule:
348348
- *priority* (optional): A number between 0 and 65535 for the rule priority.
349349
- *mac* (optional): The MAC address of the VIF to create the rule for, if not
350350
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`.
352352
- *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
354354
- *from*: means they will be use as source
355355
- *from/to*: 2 rules will be created, one per direction
356356
- *protocol*: IP, TCP, UDP, ICMP or ARP
@@ -363,7 +363,7 @@ $ xe host-call-plugin host-uuid<uuid> plugin=sdncontroller.py \
363363
args:bridge="xenbr0" \
364364
args:priority="100" \
365365
args:mac="6e:0b:9e:72:ab:c6" \
366-
args:iprange="192.168.1.0/24" \
366+
args:ipRange="192.168.1.0/24" \
367367
args:direction="from/to" \
368368
args:protocol="tcp" \
369369
args:port="22" \
@@ -375,9 +375,9 @@ $ xe host-call-plugin host-uuid<uuid> plugin=sdncontroller.py \
375375
Parameters for removing a rule:
376376
- *bridge* : The name of the bridge to delete the rule from.
377377
- *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`.
379379
- *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
381381
- *from*: means they will be use as source
382382
- *from/to*: 2 rules will be created, one per direction
383383
- *protocol*: IP, TCP, UDP, ICMP or ARP
@@ -388,7 +388,7 @@ $ xe host-call-plugin host-uuid<uuid> plugin=sdncontroller.py \
388388
fn=del-rule \
389389
args:bridge="xenbr0" \
390390
args:mac="6e:0b:9e:72:ab:c6" \
391-
args:iprange="192.168.1.0/24" \
391+
args:ipRange="192.168.1.0/24" \
392392
args:direction="from/to" \
393393
args:protocol="tcp" \
394394
args:port="22"

0 commit comments

Comments
 (0)