[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 07/16] doc/net/l2tpv3: Update boolean fields' description to avoid
From: |
Michael Tokarev |
Subject: |
[PULL 07/16] doc/net/l2tpv3: Update boolean fields' description to avoid short-form use |
Date: |
Wed, 17 Jul 2024 14:06:31 +0300 |
From: Zhao Liu <zhao1.liu@intel.com>
The short-form boolean options has been deprecated since v6.0 (refer
to docs/about/deprecated.rst).
Update the description and example of boolean fields in l2tpv3 option to
avoid deprecation warning.
Cc: Jason Wang <jasowang@redhat.com>
Signed-off-by: Zhao Liu <zhao1.liu@intel.com>
Reviewed-by: Michael Tokarev <mjt@tls.msk.ru>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
---
qemu-options.hx | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/qemu-options.hx b/qemu-options.hx
index ad6521ef5e..edeaefe2c7 100644
--- a/qemu-options.hx
+++ b/qemu-options.hx
@@ -3353,7 +3353,7 @@ SRST
-device e1000,netdev=n1,mac=52:54:00:12:34:56 \\
-netdev
socket,id=n1,mcast=239.192.168.1:1102,localaddr=1.2.3.4
-``-netdev
l2tpv3,id=id,src=srcaddr,dst=dstaddr[,srcport=srcport][,dstport=dstport],txsession=txsession[,rxsession=rxsession][,ipv6=on|off][,udp=on|off][,cookie64][,counter][,pincounter][,txcookie=txcookie][,rxcookie=rxcookie][,offset=offset]``
+``-netdev
l2tpv3,id=id,src=srcaddr,dst=dstaddr[,srcport=srcport][,dstport=dstport],txsession=txsession[,rxsession=rxsession][,ipv6=on|off][,udp=on|off][,cookie64=on|off][,counter=on|off][,pincounter=on|off][,txcookie=txcookie][,rxcookie=rxcookie][,offset=offset]``
Configure a L2TPv3 pseudowire host network backend. L2TPv3 (RFC3931)
is a popular protocol to transport Ethernet (and other Layer 2) data
frames between two systems. It is present in routers, firewalls and
@@ -3368,7 +3368,7 @@ SRST
``dst=dstaddr``
destination address (mandatory)
- ``udp``
+ ``udp=on``
select udp encapsulation (default is ip).
``srcport=srcport``
@@ -3377,7 +3377,7 @@ SRST
``dstport=dstport``
destination udp port.
- ``ipv6``
+ ``ipv6=on``
force v6, otherwise defaults to v4.
``rxcookie=rxcookie``; \ ``txcookie=txcookie``
@@ -3385,7 +3385,7 @@ SRST
Their function is mostly to prevent misconfiguration. By default
they are 32 bit.
- ``cookie64``
+ ``cookie64=on``
Set cookie size to 64 bit instead of the default 32
``counter=off``
@@ -3419,7 +3419,7 @@ SRST
# launch QEMU instance - if your network has reorder or is very lossy
add ,pincounter
|qemu_system| linux.img -device e1000,netdev=n1 \\
- -netdev
l2tpv3,id=n1,src=4.2.3.1,dst=1.2.3.4,udp,srcport=16384,dstport=16384,rxsession=0xffffffff,txsession=0xffffffff,counter
+ -netdev
l2tpv3,id=n1,src=4.2.3.1,dst=1.2.3.4,udp=on,srcport=16384,dstport=16384,rxsession=0xffffffff,txsession=0xffffffff,counter=on
``-netdev
vde,id=id[,sock=socketpath][,port=n][,group=groupname][,mode=octalmode]``
Configure VDE backend to connect to PORT n of a vde switch running
--
2.39.2
- [PULL 00/16] Trivial patches for 2024-07-17, Michael Tokarev, 2024/07/17
- [PULL 02/16] README.rst: add the missing punctuations, Michael Tokarev, 2024/07/17
- [PULL 01/16] block/curl: rewrite http header parsing function, Michael Tokarev, 2024/07/17
- [PULL 03/16] accel/kvm/kvm-all: Fix superfluous trailing semicolon, Michael Tokarev, 2024/07/17
- [PULL 06/16] target/hexagon/imported/mmvec: Fix superfluous trailing semicolon, Michael Tokarev, 2024/07/17
- [PULL 07/16] doc/net/l2tpv3: Update boolean fields' description to avoid short-form use,
Michael Tokarev <=
- [PULL 05/16] util/oslib-posix: Fix superfluous trailing semicolon, Michael Tokarev, 2024/07/17
- [PULL 09/16] hw/i386/sgx: Get rid of qemu_open_old(), Michael Tokarev, 2024/07/17
- [PULL 04/16] hw/i386/x86: Fix superfluous trailing semicolon, Michael Tokarev, 2024/07/17
- [PULL 11/16] hw/usb/u2f-passthru: Get rid of qemu_open_old(), Michael Tokarev, 2024/07/17
- [PULL 08/16] tests/avocado: Remove the non-working virtio_check_params test, Michael Tokarev, 2024/07/17
- [PULL 12/16] hw/vfio/container: Get rid of qemu_open_old(), Michael Tokarev, 2024/07/17
- [PULL 10/16] hw/usb/host-libusb: Get rid of qemu_open_old(), Michael Tokarev, 2024/07/17
- [PULL 16/16] meson: Update meson-buildoptions.sh, Michael Tokarev, 2024/07/17
- [PULL 13/16] backends/hostmem-epc: Get rid of qemu_open_old(), Michael Tokarev, 2024/07/17
- [PULL 14/16] backends/iommufd: Get rid of qemu_open_old(), Michael Tokarev, 2024/07/17