Yes, this is correct. We agreed to this explicitly.

        —Tom

> On Jan 11, 2016:6:29 AM, at 6:29 AM, Juergen Schoenwaelder 
> <j.schoenwael...@jacobs-university.de> wrote:
> 
> I think we discussed at one of the previous IETFs that we will use
> YANG 1.1 in the IETF once it is published. Please check the archives.
> If I am correct, then you would have to be fast with finishing the ACL
> model.
> 
> /js
> 
> On Mon, Jan 11, 2016 at 12:16:40PM +0100, Dean Bogdanovic wrote:
>> Are there any other opinions on switching YANG version for ACL model from 
>> 1.0 to 1.1? Would like to get more opinions on this, besides Martin.
>> 
>> Dean
>> 
>>> On Jan 8, 2016, at 1:26 PM, Martin Bjorklund <m...@tail-f.com> wrote:
>>> 
>>> Dean Bogdanovic <ivand...@gmail.com <mailto:ivand...@gmail.com>> wrote:
>>>> 
>>>>> On Jan 8, 2016, at 1:09 PM, Juergen Schoenwaelder
>>>>> <j.schoenwael...@jacobs-university.de> wrote:
>>>>> 
>>>>> On Fri, Jan 08, 2016 at 12:52:37PM +0100, Martin Bjorklund wrote:
>>>>>> Juergen Schoenwaelder <j.schoenwael...@jacobs-university.de> wrote:
>>>>>>> On Thu, Jan 07, 2016 at 04:21:42PM +0100, Martin Bjorklund wrote:
>>>>>>>> 
>>>>>>>> With YANG 1.1, a leafref can be marked as "require-instance false",
>>>>>>>> which allows a interface-state-ref to be used in config:
>>>>>>>> 
>>>>>>>> type if:interface-state-ref {
>>>>>>>>   require-instance false;
>>>>>>>> }
>>>>>>>> // + add description that explains what happens if there is no such
>>>>>>>> //   instance
>>>>>>>> 
>>>>>>>> 
>>>>>>>> (NOTE: this doesn't work w/ pyang at the momement, I am working on a
>>>>>>>> fix)
>>>>>>>> 
>>>>>>> 
>>>>>>> And it would have to be if:interface-ref instead
>>>>>>> if:interface-state-ref
>>>>>>> I think.
>>>>>> 
>>>>>> No, I meant interface-state-ref.  This way you can put a filter on
>>>>>> non-configured interfaces.
>>>>>> 
>>>>> 
>>>>> But with require-instance false, this is also true for
>>>>> if:interface-ref.  If I preconfigure and interface, I might also want
>>>>> to preconfigure ACLs refering the preconfigure interface. And note
>>>>> that if:interface-state-ref refers to a config false leaf.
>>>> 
>>>> In this case we have to change to yang-version 1.1. The plan was to
>>>> have it for 1.0. Do we want to move the ACL model to YANG minimum
>>>> version 1.1?
>>> 
>>> I think it is ok.  We're fixing issues like this one in 1.1 so that we
>>> don't have to rely on various workarounds.  Note that the second WGLC
>>> for 1.1 just ended, w/ mostly minor proposed edits.
>>> 
>>> 
>>> /martin
>> 
> 
> -- 
> 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

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

Reply via email to