[bess] instance in grouping global-imports

Asky Lee <ALee@adva.com> Wed, 02 June 2021 12:30 UTC

Return-Path: <ALee@adva.com>
X-Original-To: bess@ietfa.amsl.com
Delivered-To: bess@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C39E33A416B for <bess@ietfa.amsl.com>; Wed, 2 Jun 2021 05:30:56 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.097
X-Spam-Level:
X-Spam-Status: No, score=-2.097 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=adva.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id FcPngzoMCKvZ for <bess@ietfa.amsl.com>; Wed, 2 Jun 2021 05:30:50 -0700 (PDT)
Received: from mailma.advaoptical.com (mail01.advaoptical.com [91.217.199.20]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 619DD3A4167 for <bess@ietf.org>; Wed, 2 Jun 2021 05:30:49 -0700 (PDT)
Received: from pps.filterd (muc-vs-mailppa1.advaoptical.com [127.0.0.1]) by muc-vs-mailppa1.advaoptical.com (8.16.0.43/8.16.0.43) with SMTP id 152CUcgC007233 for <bess@ietf.org>; Wed, 2 Jun 2021 14:30:44 +0200
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=adva.com; h=from : to : subject : date : message-id : content-type : mime-version; s=dkad20200122; bh=DN02m1epus4mtfRaK6hNxAV4x5BEaToh0WkdWxbv6wQ=; b=excTvcv1s9HPY1w4NQJsKcm+aM0rGXaSR1KuccJRKzn8J75qRKVAtRB7z7apDU3gdacR l34ZhlvCY9OLPQUuktYbcZSPZBgnPfebnWk5kchkC2qTM0yh7nBTP0alf1A7aOdx2fBd QdbHFfxwHGeIaIHXDzpZF4ueClqsMMAiHul1yrcT0LUg9QzUajBir0uDC6zYuwhG70eL +u7a/UUVsUORjX23K6raHdbWSyMrQ+8jMWltJYVcvJOjW3xk1ShBljOZBgHtkFQe2L/9 FW+8vQQWBYBQPNebW4VjmkPUB2isfQdqrk1/9AHHfE2eyqQJlLmpBT+siwfSXyfnlKfF fw==
Received: from muc-s-ex16d.advaoptical.com ([172.20.1.28]) by muc-vs-mailppa1.advaoptical.com with ESMTP id 38xa0rg00s-16 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=FAIL) for <bess@ietf.org>; Wed, 02 Jun 2021 14:30:44 +0200
Received: from MUC-S-EX19B.advaoptical.com (172.20.1.59) by MUC-S-EX16D.advaoptical.com (172.20.1.28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.14; Wed, 2 Jun 2021 12:19:51 +0200
Received: from MUC-S-EX19A.advaoptical.com (172.20.1.58) by MUC-S-EX19B.advaoptical.com (172.20.1.59) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.858.12; Wed, 2 Jun 2021 12:19:51 +0200
Received: from MUC-S-EX19A.advaoptical.com ([fe80::78d1:5dab:178d:a89c]) by MUC-S-EX19A.advaoptical.com ([fe80::78d1:5dab:178d:a89c%9]) with mapi id 15.02.0858.012; Wed, 2 Jun 2021 12:19:51 +0200
From: Asky Lee <ALee@adva.com>
To: "bess@ietf.org" <bess@ietf.org>
Thread-Topic: instance in grouping global-imports
Thread-Index: AddXmJ8WrH3Ipm2wROOsZmHFMkmmqA==
Date: Wed, 02 Jun 2021 10:19:50 +0000
Message-ID: <b220b0dbfa6d4c7da8f5fb1561af7070@adva.com>
Accept-Language: en-US, zh-CN
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [172.25.1.198]
Content-Type: multipart/alternative; boundary="_000_b220b0dbfa6d4c7da8f5fb1561af7070advacom_"
MIME-Version: 1.0
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.391, 18.0.761 definitions=2021-06-02_07:2021-06-02, 2021-06-02 signatures=0
Archived-At: <https://mailarchive.ietf.org/arch/msg/bess/8nsMHFK-PN2tmDLCBde35U1J3yc>
X-Mailman-Approved-At: Wed, 02 Jun 2021 06:23:38 -0700
Subject: [bess] instance in grouping global-imports
X-BeenThere: bess@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: BGP-Enabled ServiceS working group discussion list <bess.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/bess>, <mailto:bess-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/bess/>
List-Post: <mailto:bess@ietf.org>
List-Help: <mailto:bess-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/bess>, <mailto:bess-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 02 Jun 2021 12:30:57 -0000

Hi Gentleman,

How are you, I'm from ADVA network, when I read https://datatracker.ietf.org/doc/html/draft-ietf-bess-l3vpn-yang-05#page-8, I can not understand what's the usage of "instance" in global-imports group, can you please clarify it?

  grouping global-imports {
      description "Grouping for imports from global routing table";
    container import-from-global {
      description "Import from global routing table";
      leaf enable {
        type boolean;
        description "Enable";
      }
      leaf advertise-as-vpn {
        type boolean;
        description
          "Advertise routes imported from global table as VPN routes";
      }
      leaf route-policy {
        type leafref {
          path "/rt-pol:routing-policy/rt-pol:policy-definitions/" +
          "rt-pol:policy-definition/rt-pol:name";
          require-instance true;
        }
        description "Route policy as a filter for importing routes.";
      }

      leaf bgp-valid-route {
        type boolean;
        description
          "Enable all valid routes (including non-best paths) to be
           candidate for import";
      }

      leaf protocol {
        type enumeration {
          enum ALL {



Jain, et al.            Expires October 15, 2021               [Page 13]
________________________________

Internet-Draft                                                April 2021


            value "0";
            description "ALL:";
          }
          enum Direct {
            value "1";
            description "Direct:";
          }
          enum OSPF {
            value "2";
            description "OSPF:";
          }
          enum ISIS {
            value "3";
            description "ISIS:";
          }
          enum Static {
            value "4";
            description "Static:";
          }
          enum RIP {
            value "5";
            description "RIP:";
          }
          enum BGP {
            value "6";
            description "BGP:";
          }
          enum OSPFV3 {
            value "7";
            description "OSPFV3:";
          }
          enum RIPNG {
            value "8";
            description "RIPNG:";
          }
        }
        description
          "Specifies the protocol from which routes are imported.
           At present, In the IPv4 unicast address family view,
           the protocol can be IS-IS, static, direct and BGP.";
      }

      leaf instance {
        type string;
        description
             "Specifies the instance id of the protocol";
      }
    }

Thanks,
Asky Lee


Please see our privacy statement at https://www.adva.com/en/about-us/legal/privacy-statement for details of how ADVA processes personal information.