On Thu, Jan 07, 2016 at 10:16:43AM +0100, Ladislav Lhotka wrote:
> 
> > On 07 Jan 2016, at 10:07, Juergen Schoenwaelder 
> > <j.schoenwael...@jacobs-university.de> wrote:
> > 
> > On Thu, Jan 07, 2016 at 09:59:01AM +0100, Eliot Lear wrote:
> >> 
> >> 
> >> On 1/7/16 9:23 AM, Juergen Schoenwaelder wrote:
> >>> This does not answer why input-interface is of type string...
> >> 
> >> To be perfectly clear you seek that type string be replaced with
> >> interface-ref?
> >> 
> > 
> > I think for this leaf the type of choice would be interface-state-ref
> > unless there are strong reasons to use something opaque.
> 
> Unfortunately, this is impossible because configuration leafrefs cannot refer 
> to leafs in state data.
>

The problem is that the config true on input-interface is perhaps an
error given the description:

    leaf input-interface {
        type string;
        description
           "Packet was received on this interface.";
    }

This sounds to me like state data.

> Should this CLR be removed? IMO, yes.

No.

/js

-- 
Juergen Schoenwaelder           Jacobs University Bremen gGmbH
Phone: +49 421 200 3587         Campus Ring 1 | 28759 Bremen | Germany
Fax:   +49 421 200 3103         <http://www.jacobs-university.de/>

_______________________________________________
netmod mailing list
netmod@ietf.org
https://www.ietf.org/mailman/listinfo/netmod

Reply via email to