Change:
    when "if:type = 'ianaift:ethernetCsmacd' or if:type = "
       + "'ianaift:ilan' or if:type = 'ianaift:macSecControlledIF' or "
       + "if:type = 'ianaift:ptm' or if:type = 'ianaift:bridge'" {
      description
        "Augment interfaces with 802.1ae MACsec System specific
         configuration nodes.";
    }
page 180: line 23 
 augment "/if:interfaces/if:interface" {
    when 
      "derived-from-or-self(if:type,'ianaift:ethernetCsmacd') or "+
      "derived-from-or-self(if:type,'ianaift:ilan') or "+ 
      "derived-from-or-self(if:type,'ianaift:macSecControlledIF') or "+
      "derived-from-or-self(if:type,'ianaift:ptm') or "+ 
      "derived-from-or-self(if:type,'ianaift:bridge')" {
      description
        "Augment interfaces with 802.1ae MACsec System specific
         configuration nodes.  Warning if interfaces are 
         derived from these types they must preserve the property  
         that PAE, PRY and MACsec applies to the whole interface. For
         example applying this to only one member of a link aggregation
         would not satisfy this requirement.";
    }