Re: [Rtg-yang-coord] [netmod] rib-data-model and routing-cfg

Rob Shakir <rjs@rob.sh> Wed, 21 October 2015 13:58 UTC

Return-Path: <rjs@rob.sh>
X-Original-To: rtg-yang-coord@ietfa.amsl.com
Delivered-To: rtg-yang-coord@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id CBC581A8846; Wed, 21 Oct 2015 06:58:57 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.909
X-Spam-Level:
X-Spam-Status: No, score=-1.909 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=ham
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 SJ3JdjNd-KK6; Wed, 21 Oct 2015 06:58:56 -0700 (PDT)
Received: from cappuccino.rob.sh (cappuccino.rob.sh [IPv6:2a03:9800:10:4c::cafe:b00c]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E72F11A87E7; Wed, 21 Oct 2015 06:58:55 -0700 (PDT)
Received: from [2601:681:201:5165:3c38:7adb:87c3:3db8] (helo=piccolo.local) by cappuccino.rob.sh with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from <rjs@rob.sh>) id 1ZotuS-0006Pb-FL; Wed, 21 Oct 2015 14:58:32 +0100
Date: Wed, 21 Oct 2015 07:58:46 -0600
From: Rob Shakir <rjs@rob.sh>
To: Ladislav Lhotka <lhotka@nic.cz>
Message-ID: <etPan.56279a16.7204de92.12fd@piccolo.local>
In-Reply-To: <2C6909AC-51B9-42D8-82EB-B5006BABC845@nic.cz>
References: <7E24547E-B42B-46E2-AF76-F7639D61963F@nic.cz> <D23D3103.34500%acee@cisco.com> <D2429721.34A0E%acee@cisco.com> <DBF22257-A7A2-4679-927A-EBCC1022FE13@nic.cz> <D242C30E.34C2A%acee@cisco.com> <m27fmowezi.fsf@birdie.labs.nic.cz> <D2458D0F.36813%acee@cisco.com> <etPan.56279299.3a0e4920.12fd@piccolo.local> <2C6909AC-51B9-42D8-82EB-B5006BABC845@nic.cz>
X-Mailer: Airmail Beta (334)
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="56279a16_3aa4f079_12fd"
Archived-At: <http://mailarchive.ietf.org/arch/msg/rtg-yang-coord/dUjvm6ipSVlEp8gUzw1U4u61USI>
Cc: Routing YANG <rtg-yang-coord@ietf.org>, "i2rs@ietf.org" <i2rs@ietf.org>, "Acee Lindem (acee)" <acee@cisco.com>, NETMOD WG <netmod@ietf.org>, Routing WG <rtgwg@ietf.org>
Subject: Re: [Rtg-yang-coord] [netmod] rib-data-model and routing-cfg
X-BeenThere: rtg-yang-coord@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: "\"List to discuss coordination between the Routing related YANG models\"" <rtg-yang-coord.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/rtg-yang-coord>, <mailto:rtg-yang-coord-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/rtg-yang-coord/>
List-Post: <mailto:rtg-yang-coord@ietf.org>
List-Help: <mailto:rtg-yang-coord-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/rtg-yang-coord>, <mailto:rtg-yang-coord-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 21 Oct 2015 13:58:58 -0000

On 21 October 2015 at 07:52:43, Ladislav Lhotka (lhotka@nic.cz) wrote:
One option would be to create two virtual interfaces - one for IPv4 VPN and another for IPv6 VPN, and define routing-instance and addresses separately for each. 
This is only workable if an implementation must support two virtual interfaces that have the same underlying encapsulation (i.e.., they are simply logically separating IPv4 and IPv6), in some implementations, this isn’t the case, and the virtual interfaces must have different encapsulations. 

In openconfig-interfaces, each sub-interface is associated with a single VLAN, so in this case, we would need the network-instance to be specified on a per address-family basis there. There is nothing to stop one having a single leaf at the sub-interface or interface level that is inherited by the other constructs - this is something that I have been considering based on work on the network-instance model that we recently published.

r.