Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -348,9 +348,9 @@ Parameters for adding a rule:
- *priority* (optional): A number between 0 and 65535 for the rule priority.
- *mac* (optional): The MAC address of the VIF to create the rule for, if not
specified, a network-wide rule will be created.
- *iprange*: An IP or range of IPs in CIDR notation, for example `192.168.1.0/24`.
- *ipRange*: An IP or range of IPs in CIDR notation, for example `192.168.1.0/24`.
- *direction*: can be **from**, **to** or **from/to**
- *to*: means the parameters for **port** and **iprange** are to be used as destination
- *to*: means the parameters for **port** and **ipRange** are to be used as destination
- *from*: means they will be use as source
- *from/to*: 2 rules will be created, one per direction
- *protocol*: IP, TCP, UDP, ICMP or ARP
Expand All @@ -363,7 +363,7 @@ $ xe host-call-plugin host-uuid<uuid> plugin=sdncontroller.py \
args:bridge="xenbr0" \
args:priority="100" \
args:mac="6e:0b:9e:72:ab:c6" \
args:iprange="192.168.1.0/24" \
args:ipRange="192.168.1.0/24" \
args:direction="from/to" \
args:protocol="tcp" \
args:port="22" \
Expand All @@ -375,9 +375,9 @@ $ xe host-call-plugin host-uuid<uuid> plugin=sdncontroller.py \
Parameters for removing a rule:
- *bridge* : The name of the bridge to delete the rule from.
- *mac* (optional): The MAC address of the VIF to delete the rule for.
- *iprange*: An IP or range of IPs in CIDR notation, for example `192.168.1.0/24`.
- *ipRange*: An IP or range of IPs in CIDR notation, for example `192.168.1.0/24`.
- *direction*: can be **from**, **to** or **from/to**
- *to*: means the parameters for **port** and **iprange** are to be used as destination
- *to*: means the parameters for **port** and **ipRange** are to be used as destination
- *from*: means they will be use as source
- *from/to*: 2 rules will be created, one per direction
- *protocol*: IP, TCP, UDP, ICMP or ARP
Expand All @@ -388,7 +388,7 @@ $ xe host-call-plugin host-uuid<uuid> plugin=sdncontroller.py \
fn=del-rule \
args:bridge="xenbr0" \
args:mac="6e:0b:9e:72:ab:c6" \
args:iprange="192.168.1.0/24" \
args:ipRange="192.168.1.0/24" \
args:direction="from/to" \
args:protocol="tcp" \
args:port="22"
Expand Down
Loading