From: Dylan Whyte <d.whyte@proxmox.com>
To: pbs-devel@lists.proxmox.com
Subject: [pbs-devel] [PATCH docs] Edit section "Network Management"
Date: Wed, 2 Sep 2020 10:22:18 +0200 [thread overview]
Message-ID: <20200902082218.10165-1-d.whyte@proxmox.com> (raw)
Following changes made:
* Remove empty column "method6" from network list output,
so table fits in console code-block
* Walkthrough bond, rather than a bridge as it may be a more
common setup case
Signed-off-by: Dylan Whyte <d.whyte@proxmox.com>
---
docs/administration-guide.rst | 29 ++++++++++++++---------------
1 file changed, 14 insertions(+), 15 deletions(-)
diff --git a/docs/administration-guide.rst b/docs/administration-guide.rst
index e6357a3e..e9e1174e 100644
--- a/docs/administration-guide.rst
+++ b/docs/administration-guide.rst
@@ -483,37 +483,36 @@ To get a list of available interfaces, use the following command:
.. code-block:: console
# proxmox-backup-manager network list
- ┌───────┬────────┬───────────┬────────┬─────────┬───────────────────┬──────────────┬──────────────┐
- │ name │ type │ autostart │ method │ method6 │ address │ gateway │ ports/slaves │
- ╞═══════╪════════╪═══════════╪════════╪═════════╪═══════════════════╪══════════════╪══════════════╡
- │ bond0 │ bond │ 1 │ manual │ │ │ │ ens18 ens19 │
- ├───────┼────────┼───────────┼────────┼─────────┼───────────────────┼──────────────┼──────────────┤
- │ ens18 │ eth │ 1 │ manual │ │ │ │ │
- ├───────┼────────┼───────────┼────────┼─────────┼───────────────────┼──────────────┼──────────────┤
- │ ens19 │ eth │ 1 │ manual │ │ │ │ │
- ├───────┼────────┼───────────┼────────┼─────────┼───────────────────┼──────────────┼──────────────┤
- │ vmbr0 │ bridge │ 1 │ static │ │ x.x.x.x/x │ x.x.x.x │ bond0 │
- └───────┴────────┴───────────┴────────┴─────────┴───────────────────┴──────────────┴──────────────┘
+ ┌───────┬────────┬───────────┬────────┬─────────────┬──────────────┬──────────────┐
+ │ name │ type │ autostart │ method │ address │ gateway │ ports/slaves │
+ ╞═══════╪════════╪═══════════╪════════╪═════════════╪══════════════╪══════════════╡
+ │ bond0 │ bond │ 1 │ static │ x.x.x.x/x │ x.x.x.x │ ens18 ens19 │
+ ├───────┼────────┼───────────┼────────┼─────────────┼──────────────┼──────────────┤
+ │ ens18 │ eth │ 1 │ manual │ │ │ │
+ ├───────┼────────┼───────────┼────────┼─────────────┼──────────────┼──────────────┤
+ │ ens19 │ eth │ 1 │ manual │ │ │ │
+ └───────┴────────┴───────────┴────────┴─────────────┴──────────────┴──────────────┘
To add a new network interface, use the ``create`` subcommand with the relevant
-parameters. The following command shows a template for creating a new bridge:
+parameters. The following command shows a template for creating the bond shown
+in the list above:
.. code-block:: console
- # proxmox-backup-manager network create vmbr1 --autostart true --cidr x.x.x.x/x --gateway x.x.x.x --bridge_ports iface_name --type bridge
+ # proxmox-backup-manager network create bond0 --type bond --bond_mode active-backup --slaves ens18,ens19 --autostart true --cidr x.x.x.x/x --gateway x.x.x.x
You can make changes to the configuration of a network interface with the
``update`` subcommand:
.. code-block:: console
- # proxmox-backup-manager network update vmbr1 --cidr y.y.y.y/y
+ # proxmox-backup-manager network update bond0 --cidr y.y.y.y/y
You can also remove a network interface:
.. code-block:: console
- # proxmox-backup-manager network remove vmbr1
+ # proxmox-backup-manager network remove bond0
To view the changes made to the network configuration file, before committing
them, use the command:
--
2.20.1
next reply other threads:[~2020-09-02 8:22 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-02 8:22 Dylan Whyte [this message]
2020-09-08 4:31 ` [pbs-devel] applied: " Dietmar Maurer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200902082218.10165-1-d.whyte@proxmox.com \
--to=d.whyte@proxmox.com \
--cc=pbs-devel@lists.proxmox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox