Re: [Rtg-yang-coord] [netmod] High Level Comments on draft-ietf-netmod-rtg-cfg-16.txt

Martin Bjorklund <mbj@tail-f.com> Wed, 19 November 2014 12:40 UTC

Return-Path: <mbj@tail-f.com>
X-Original-To: rtgwg@ietfa.amsl.com
Delivered-To: rtgwg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A9B281A1AAD; Wed, 19 Nov 2014 04:40:12 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.495
X-Spam-Level:
X-Spam-Status: No, score=-2.495 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-0.594, SPF_PASS=-0.001] 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 bBWQ0N2Tlc8E; Wed, 19 Nov 2014 04:40:05 -0800 (PST)
Received: from mail.tail-f.com (mail.tail-f.com [83.241.162.140]) by ietfa.amsl.com (Postfix) with ESMTP id 76A8C1A03A6; Wed, 19 Nov 2014 04:40:05 -0800 (PST)
Received: from localhost (173-38-208-169.cisco.com [173.38.208.169]) by mail.tail-f.com (Postfix) with ESMTPSA id D19B712809BC; Wed, 19 Nov 2014 13:40:03 +0100 (CET)
Date: Wed, 19 Nov 2014 13:40:03 +0100
Message-Id: <20141119.134003.1741683880484092511.mbj@tail-f.com>
To: lhotka@nic.cz
Subject: Re: [Rtg-yang-coord] [netmod] High Level Comments on draft-ietf-netmod-rtg-cfg-16.txt
From: Martin Bjorklund <mbj@tail-f.com>
In-Reply-To: <m261ebfkxu.fsf@nic.cz>
References: <D09109E6.930E%acee@cisco.com> <m261ebfkxu.fsf@nic.cz>
X-Mailer: Mew version 6.5 on Emacs 23.4 / Mule 6.0 (HANACHIRUSATO)
Mime-Version: 1.0
Content-Type: Text/Plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Archived-At: http://mailarchive.ietf.org/arch/msg/rtgwg/05n1oEeBcHngAGXQRowS3EKqEvA
X-Mailman-Approved-At: Wed, 19 Nov 2014 10:25:23 -0800
Cc: rtg-yang-coord@ietf.org, rtgwg@ietf.org
X-BeenThere: rtgwg@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Routing Area Working Group <rtgwg.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/rtgwg>, <mailto:rtgwg-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/rtgwg/>
List-Post: <mailto:rtgwg@ietf.org>
List-Help: <mailto:rtgwg-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/rtgwg>, <mailto:rtgwg-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 19 Nov 2014 12:40:12 -0000

Ladislav Lhotka <lhotka@nic.cz> wrote:
> Hi Acee,
> 
> please see my comments inline.
> 
> "Acee Lindem (acee)" <acee@cisco.com> writes:
> 
> > First, let me explain why I requested that the route-filters be
> > removed from the model. What I don't like about the route-filters is
> > that they are merely place-holders placed at a point-of-attachment
> > which I don't necessarily agree with.  Although we may end up with
> > something similar, these definitions should be in a more complete
> > routing policy model. Additionally, I believe it is obvious that there
> > will
> 
> I don't think the ietf-routing module preempts any further work on a
> policy model. And if the points-of-attachment turn out to be wrong, we
> can write a new module - nothing is cast in stone and I expect the
> module will have to be redone anyway after some experience will have
> been collected.

But then it doesn't hurt to wait with these "attachment points" until
at least the first policy model is being written, right?  They can
then either be defined in an update to this model, or in a separate
model that augments this one.

[...]

> > As for the interface list in the routing-instance, I think it is
> > obvious that one should not define the address space for interface
> > disjointly from the IPv4/IPv6 interface addresses. That is why I
> > would recommend augmenting the RFC 7273 objects with a reference
> > to the routing instance rather having a disjoint interface
> > list in routing-instance as proposed.
> 
> It is IMO subjective whether the assignment of interfaces to routing
> instances should be done in interface configuration or in routing
> instance configuration. As it is now, the following procedure could work
> fine:
> 
> 1. Define routing instances (this has to be done in any case).
> 2. Assign interfaces to routing instances in routing instance
>    configuration via references to interfaces in the main interface
>    list.
> 3. Assign addresses to interfaces in main interface configuration.
> 
> The system then has all information to be able to resolve potential
> conflicts in IP addresses belonging to different routing instances.

To be very clear, is this what you propose:

  augement /if:interfaces/if:interface {
    leaf routing-instance {
      type routing-instance-ref;
    }
  }

... and remove /routing/routing-instance/interfaces?

I think this would be equivalent to your current model, in the sense
of *what* you can express.

> Maybe there are some implementation-related issues that I am missing,
> so I am not against the change you propose but I'd like to know sound
> reasons before applying it.

I think Acee provided a good reason: 

> > one should not define the address space for interface
> > disjointly from the IPv4/IPv6 interface addresses




/martin