From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <hongyi.zhao@gmail.com>
Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256)
 (No client certificate requested)
 by lists.proxmox.com (Postfix) with ESMTPS id 45FCF6A1CE
 for <pve-user@lists.proxmox.com>; Thu,  4 Mar 2021 01:25:04 +0100 (CET)
Received: from firstgate.proxmox.com (localhost [127.0.0.1])
 by firstgate.proxmox.com (Proxmox) with ESMTP id 34980CAD3
 for <pve-user@lists.proxmox.com>; Thu,  4 Mar 2021 01:25:04 +0100 (CET)
Received: from mail-yb1-xb31.google.com (mail-yb1-xb31.google.com
 [IPv6:2607:f8b0:4864:20::b31])
 (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)
 key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256)
 (No client certificate requested)
 by firstgate.proxmox.com (Proxmox) with ESMTPS id 929E1CAC5
 for <pve-user@lists.proxmox.com>; Thu,  4 Mar 2021 01:25:02 +0100 (CET)
Received: by mail-yb1-xb31.google.com with SMTP id p186so26580411ybg.2
 for <pve-user@lists.proxmox.com>; Wed, 03 Mar 2021 16:25:02 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=mime-version:references:in-reply-to:from:date:message-id:subject:to
 :content-transfer-encoding;
 bh=b++sUkgtiqq7t91f8MzlgtXnhWPsBLDyw7UeoQ7PyDI=;
 b=nD0hSse4eHYthvtDlPvsFtTW0gKndLiCfRfRbMmlyctVWHEmvsFDGglXiBdkZwFzLd
 AIlBB2ebTVfU+52JC08rt0OZG9S8mNCWAU52knLs1AGBSN7TdsbmEP2OvdEQKN4ZCVs2
 4/5akHsXwpky7rhSC67xG8UVXr05ksosAPEtO8DHv/km50p90vR9m0tXs5iQ9AoeqOS2
 ih0g+98kbkFiB5sEjtrMvoJHZ3cdXjzjwFLn5DP6j6IDzRXt0Z8wDpJde8Ssc4iAjNQi
 VTg4XSFrXkwHTkHWPoyAAEh6fTOn9L8OZGJn9bcbWyu4YegaZrJJuV/ClUZB3oeDXgA/
 Q3aA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:references:in-reply-to:from:date
 :message-id:subject:to:content-transfer-encoding;
 bh=b++sUkgtiqq7t91f8MzlgtXnhWPsBLDyw7UeoQ7PyDI=;
 b=WUyJok8YPIdrckW68Ojt280xYbU455nVe6Op3VZ05TELLkt3Ov1QgZcKxQ+FQJVhIO
 Y0IdtewSijL5sAg1S89ALtw8QsZQb3zgrux7qXTEvgyXzFkjqTnvueYO2/5J7sdLyS00
 QSANrUscp4gTM1VDUJ5D13mSPoLnx6aJ1Vpm8KpKyhSLKAXhCbIBO+4GYUIkOVCHTYqb
 8QJ0dutIOuRyxfuJO90wzu9KvKAu+UAfJAxnTHmUpctCqw6CkpRK7sTwbgiRbx0cIiNu
 vTZBRLudRoEdoLoxrN+DHbvUEuLSsEec0PrwgnDk/lqoxxGnxE3AgylrVP7jeH/k4r3y
 DwdQ==
X-Gm-Message-State: AOAM531hT2DK6aNJkWiUc8mqY8ivRcgnUd1JdWmoZKvQv+W+3NH6ke27
 Z8j2PFDM9oJ0Je46BdJR450Qm2XMmHnOC4CehVQj1Msv9csqqXlz
X-Google-Smtp-Source: ABdhPJxauky08iDm5xNUrhTVEBxYrCSDI6keiss/ou/7YjNbicCbYFcnHQs91epI5HkFerymgn1tLXEcWR4NIHJGS8Y=
X-Received: by 2002:a25:9204:: with SMTP id b4mr2770850ybo.420.1614817494952; 
 Wed, 03 Mar 2021 16:24:54 -0800 (PST)
MIME-Version: 1.0
References: <CAGP6POL6n3zJ+fcys_uAiBgFsAn7saF4D1V=fiCjDGY=13sThQ@mail.gmail.com>
 <048e4a73b9243606c94656180c00d0f9735a5346.camel@odiso.com>
In-Reply-To: <048e4a73b9243606c94656180c00d0f9735a5346.camel@odiso.com>
From: Hongyi Zhao <hongyi.zhao@gmail.com>
Date: Thu, 4 Mar 2021 08:24:43 +0800
Message-ID: <CAGP6POJ3aZ-ZgGEcCF_etksKwPi3L5BVrF3YWJy2scc6NDdRew@mail.gmail.com>
To: Proxmox VE user list <pve-user@lists.proxmox.com>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-SPAM-LEVEL: Spam detection results:  0
 DKIM_SIGNED               0.1 Message has a DKIM or DK signature,
 not necessarily valid
 DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature
 DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's
 domain
 DKIM_VALID_EF -0.1 Message has a valid DKIM or DK signature from envelope-from
 domain
 FREEMAIL_FROM 0.001 Sender email is commonly abused enduser mail provider
 RCVD_IN_DNSWL_NONE     -0.0001 Sender listed at https://www.dnswl.org/,
 no trust
 SPF_HELO_NONE           0.001 SPF: HELO does not publish an SPF Record
 SPF_PASS               -0.001 SPF: sender matches SPF record
Subject: Re: [PVE-User] allow-ovs vs auto
X-BeenThere: pve-user@lists.proxmox.com
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Proxmox VE user list <pve-user.lists.proxmox.com>
List-Unsubscribe: <https://lists.proxmox.com/cgi-bin/mailman/options/pve-user>, 
 <mailto:pve-user-request@lists.proxmox.com?subject=unsubscribe>
List-Archive: <http://lists.proxmox.com/pipermail/pve-user/>
List-Post: <mailto:pve-user@lists.proxmox.com>
List-Help: <mailto:pve-user-request@lists.proxmox.com?subject=help>
List-Subscribe: <https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-user>, 
 <mailto:pve-user-request@lists.proxmox.com?subject=subscribe>
X-List-Received-Date: Thu, 04 Mar 2021 00:25:04 -0000

On Wed, Mar 3, 2021 at 5:16 PM <aderumier@odiso.com> wrote:
>
> if you use ifupdown2, it'll use "auto ..."

Yes, see below for more info:

root@pve:~# dpkg --get-selections |grep ifupdown2
ifupdown2                                       install

> this is because ifupdown2 is able to manage relationship.
>
> The web interface will setup correct configuration for you if you use
> ifupdown2 or ifupdown1.

Thanks a lot for pointing this out.

HY

>
> Le mardi 02 mars 2021 =C3=A0 12:23 +0800, Hongyi Zhao a =C3=A9crit :
> > If I create an OVS Bridge with the Autostart option using pve's web
> > interface, the following configuration will be generated:
> >
> > auto vmbr0
> > iface vmbr0 inet manual
> > ovs_type OVSBridge
> >
> > OTOH, the examples given on the wiki website
> > <https://pve.proxmox.com/wiki/Open_vSwitch> use the following format:
> >
> > allow-ovs vmbr0
> > iface vmbr0 inet manual
> >   ovs_type OVSBridge
> >
> > So, I want to know if the "allow-ovs" and "auto" keywords are
> > equivalent in the context for my above scenario. Any hints will be
> > appreciated.
> >
> > Regards
>
> _______________________________________________
> pve-user mailing list
> pve-user@lists.proxmox.com
> https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-user



--=20
Assoc. Prof. Hongyi Zhao <hongyi.zhao@gmail.com>
Theory and Simulation of Materials
Hebei Polytechnic University of Science and Technology engineering
NO. 552 North Gangtie Road, Xingtai, China