Mock RPC for unit tests
[ganeti-local] / man / gnt-network.rst
index 59e8e02..3d71663 100644 (file)
@@ -19,6 +19,14 @@ 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.
 
+BUGS
+----
+
+The ``hail`` iallocator hasn't been updated to take networks into
+account in Ganeti 2.7. The only way to guarantee that it works correctly
+is having your networks connected to all nodegroups. This will be fixed
+in a future version.
+
 COMMANDS
 --------
 
@@ -32,7 +40,8 @@ ADD
 | [\--network6=*NETWORK6*]
 | [\--gateway6=*GATEWAY6*]
 | [\--mac-prefix=*MACPREFIX*]
-| [\--submit]
+| [\--submit] [\--print-job-id]
+| [\--no-conflicts-check]
 | {*network*}
 
 Creates a new network with the given name. The network will be unused
@@ -49,6 +58,9 @@ 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.
 
+The ``--no-conflicts-check`` option can be used to skip the check for
+conflicting IP addresses.
+
 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
@@ -68,7 +80,7 @@ MODIFY
 | [\--network6=*NETWORK6*]
 | [\--gateway6=*GATEWAY6*]
 | [\--mac-prefix=*MACPREFIX*]
-| [\--submit]
+| [\--submit] [\--print-job-id]
 | {*network*}
 
 Modifies parameters from the network.
@@ -83,7 +95,7 @@ options.
 REMOVE
 ~~~~~~
 
-| **remove** [\--submit] {*network*}
+| **remove** [\--submit] [\--print-job-id] {*network*}
 
 Deletes the indicated network, which must be not connected to any node group.
 
@@ -133,12 +145,17 @@ Displays information about a given network.
 CONNECT
 ~~~~~~~
 
-| **connect** {*network*} {*mode*} {*link*} [*groups*...]
+| **connect**
+| [\--no-conflicts-check]
+| {*network*} {*mode*} {*link*} [*groups*...]
 
 Connect a network to given node groups (all if not specified) with the
 network parameters *mode* and *link*. Every network interface will
 inherit those parameters if assigned in a network.
 
+The ``--no-conflicts-check`` option can be used to skip the check for
+conflicting IP addresses.
+
 DISCONNECT
 ~~~~~~~~~~