Subject: [netmod] [NETMOD]Two issues about ACL YANG model.

From: Yangang <[email-masked]>
Date: Tue, 18 Nov 2014 16:10:07 +0000

Hi, All:

   In 91th IETF meeting, Dana and me discuss the ACL YANG model. And some issues need to be discussed in the mailist.

   1. About how to support the "AND" relationship.

       Some requirement come from the provider: They want to match the IP address and MAC address together. Right now, we got two optional solution:

       a. Define a "rule relation type" in "access-list-entry", then the relatioinship between all match rules will be "AND" or "OR".

       b. In one match entry, one additional list can be defined. The element of this list is "AND" relationship, and the "OR" will be kept for the match rules.

   2. About how to define the "not equal' in the packet filter:

       At begining, I just want to add one type deination, like this way:

       typedef rule-match-type {
         type enumeration {
            enum gt;
            enum st;
            enum eq;
            enum neq;
            enum range;
         }
       }

       After we discuss it, the "gt" and "st" can be covered by range, and only the "neq" need be defined, but the problem is: it just add new parameter to represent the "neq" or the YANG language should be expanded?

Thanks.

Yangang.