Interface AclserviceData

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.DataRoot

    @Generated("mdsal-binding-generator")
    public interface AclserviceData
    extends org.opendaylight.yangtools.yang.binding.DataRoot
    ACL Service module

    This class represents the following YANG schema fragment defined in module aclservice

     module aclservice {
       yang-version 1;
       namespace urn:opendaylight:netvirt:aclservice;
       prefix aclservice;
       import ietf-access-control-list {
         prefix ietf-acl;
       }
       import ietf-yang-types {
         prefix yang;
         revision-date 2013-07-15;
       }
       import yang-ext {
         prefix ext;
         revision-date 2013-07-09;
       }
       import ietf-interfaces {
         prefix ietf-if;
         revision-date 2014-05-08;
       }
       import ietf-inet-types {
         prefix inet;
         revision-date 2013-07-15;
       }
       revision 2016-06-08 {
       }
       identity direction-base {
       }
       identity direction-ingress {
         base direction-base;
       }
       identity direction-egress {
         base direction-base;
       }
       identity ip-version-base {
       }
       identity ip-version-v4 {
         base ip-version-base;
       }
       identity ip-version-v6 {
         base ip-version-base;
       }
       identity dhcpv6-base {
       }
       identity dhcpv6-off {
         base dhcpv6-base;
       }
       identity dhcpv6-stateful {
         base dhcpv6-base;
       }
       identity dhcpv6-slaac {
         base dhcpv6-base;
       }
       identity dhcpv6-stateless {
         base dhcpv6-base;
       }
       typedef ip-prefix-or-address {
         type union {
           type inet:ip-prefix;
           type inet:ip-address;
         }
       }
       augment /ietf-acl:access-lists/ietf-acl:acl {
         ext:augment-identifier aclservice-augmentation;
         leaf acl-tag {
           type uint16;
         }
       }
       augment /ietf-acl:access-lists/ietf-acl:acl/ietf-acl:access-list-entries/ietf-acl:ace {
         ext:augment-identifier security-rule-attr;
         leaf remote-group-id {
           type yang:uuid;
         }
         leaf direction {
           type identityref {
             base direction-base;
           }
         }
         leaf deleted {
           type boolean;
           default false;
         }
       }
       augment /ietf-if:interfaces/ietf-if:interface {
         ext:augment-identifier interface-acl;
         leaf port-security-enabled {
           type boolean;
         }
         leaf-list security-groups {
           type yang:uuid;
         }
         list allowed-address-pairs {
           key "mac-address ip-address";
           leaf mac-address {
             type yang:mac-address;
           }
           leaf ip-address {
             type ip-prefix-or-address;
           }
         }
         leaf interface-type {
           type enumeration {
             enum access-port;
             enum dhcp-service;
           }
           default access-port;
         }
         list subnet-info {
           key subnet-id;
           leaf subnet-id {
             type yang:uuid;
           }
           leaf ip-version {
             type identityref {
               base ip-version-base;
             }
           }
           leaf ip-prefix {
             type ip-prefix-or-address;
           }
           leaf ipv6-ra-mode {
             type identityref {
               base dhcpv6-base;
             }
           }
           leaf gateway-ip {
             type inet:ip-address;
           }
         }
       }
       container acl-ports-lookup {
         config false;
         list acl-ports-by-ip {
           key acl-name;
           leaf acl-name {
             type string;
           }
           list acl-ip-prefixes {
             key ip-prefix;
             leaf ip-prefix {
               type ip-prefix-or-address;
             }
             list port-ids {
               key port-id;
               leaf port-id {
                 type string;
               }
             }
           }
         }
       }
     }
     
    • Method Detail

      • getAclPortsLookup

        AclPortsLookup getAclPortsLookup()
        Return aclPortsLookup, or null if it is not present.
             
                 Container used to manage list of ports per ACL based on port's IP address/prefix
                 (including IP address/prefix specified in allowed-address-pair)
             
         
        Returns:
        org.opendaylight.yang.gen.v1.urn.opendaylight.netvirt.aclservice.rev160608.AclPortsLookup aclPortsLookup, or null if it is not present.