User Manual
Rev 2.2-1.0.1
Mellanox Technologies
193
port name One can configure a list of hostnames as a
rule. Hosts with a node description that is
built out of these hostnames will be chosen.
Since the node description contains the net-
work card index as well, one might also spec-
ify a network card index and a physical port to
be chosen. For example, the given configura-
tion will cause only physical port 2 of a host
with the node description ‘kuku HCA-1’ to be
chosen.
port and hca_idx parameters are optional.
If the port is unspecified, all physical ports are
chosen. If hca_idx is unspecified, all card
numbers are chosen. Specifying a hostname is
mandatory.
One can configure a list of hostname/
port/hca_idx sets in the same qualifier as
follows:
port-name: hostname=kuku; port=2;
hca_idx=1 , hostname=host1; port=3, host-
name=host2
Note: port-name qualifier is not relevant
for switches, but for HCA’s only.
port-name: host-
name=kuku; port=2;
hca_idx=1
port regexp One can define a regular expression so that
only nodes with a matching node description
will be chosen to the group
port-regexp: SW*
It is possible to specify one physical port to be
chosen for matching nodes (there is no option
to define a list or a range of ports). The given
example will cause only nodes that match
physical port 3 to be added to the group.
port-regexp: SW*:3
union rule It is possible to define a rule that unites two
different port groups. This means that all ports
from both groups will be included in the
united group.
union-rule: grp1, grp2
subtract rule One can define a rule that subtracts one port
group from another. The given rule, for exam-
ple, will cause all the ports which are a part of
grp1, but not included in grp2, to be chosen.
In subtraction (unlike union), the order does
matter, since the purpose is to subtract the
second group from the first one.
There is no option to define more than two
groups for union/subtraction. However, one
can unite/subtract groups which are a union or
a subtraction themselves, as shown in the port
groups policy file example.
subtract-rule: grp1,
grp2
Table 20 - Port Group Qualifiers
Parameter Description Example