Commit d9e2b496 authored by Guido Trotter's avatar Guido Trotter

Document better gnt-network

Specify clearly that the nic parameters depend on the
network-to-nodegroup connection.

Clarify in gnt-network how instance nics are connected to a network.
Signed-off-by: default avatarGuido Trotter <ultrotter@google.com>
Reviewed-by: default avatarHelga Velroyen <helgav@google.com>
parent 8d090b90
......@@ -117,7 +117,10 @@ link
network
derives the mode and the link from the settings of the network
which is identified by its name. If the network option is chosen,
link and mode must not be specified.
link and mode must not be specified. Note that the mode and link
depend on the network-to-nodegroup connection, thus allowing
different nodegroups to be connected to the same network in
different ways.
Of these "mode" and "link" are nic parameters, and inherit their
......
......@@ -14,8 +14,10 @@ Synopsis
DESCRIPTION
-----------
The **gnt-network** command is used for network definition
administration in the Ganeti system.
The **gnt-network** command is used for network definition and
administration in the Ganeti system. Each instance nic can be connected
to a network via the ``network`` nic parameter. See **gnt-instance**\(8)
for more details.
COMMANDS
--------
......@@ -50,6 +52,12 @@ IPv6 semantics can be assigned to the network via the ``--network6`` and
``--gateway6`` options. IP pool is meaningless for IPV6 so those two
values can be used for EUI64 generation from a NIC's MAC address.
Note that a when connecting a network to a node group (see below) you
can specify also the nic mode and link that will be used by instances on
that group to physically connect to this network. This allows the system
to work even if the parameters (eg. the VLAN number) change between
groups.
See **ganeti**\(7) for a description of ``--submit`` and other common
options.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment