Interface DhcpAllocationPoolData

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

    public interface DhcpAllocationPoolData
    extends org.opendaylight.yangtools.yang.binding.DataRoot

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

     module dhcp_allocation_pool {
       namespace urn:opendaylight:netvirt:dhcp_allocation_pool;
       prefix dhcp_allocation_pool;
       import ietf-inet-types {
         prefix inet;
         revision-date 2013-07-15;
       }
       import ietf-yang-types {
         prefix yang;
       }
       revision 2016-12-14 {
       }
       container dhcp_allocation_pool {
         list network {
           key network-id;
           leaf network-id {
             type string;
           }
           list allocations {
             key subnet;
             leaf subnet {
               type inet:ip-prefix;
             }
             list allocation-instance {
               key mac;
               leaf mac {
                 type yang:phys-address;
               }
               leaf allocated-ip {
                 type inet:ip-address;
               }
             }
           }
           list allocation-pool {
             key subnet;
             leaf subnet {
               type inet:ip-prefix;
             }
             leaf allocate-from {
               type inet:ip-address;
             }
             leaf allocate-to {
               type inet:ip-address;
             }
             leaf gateway {
               type inet:ip-address;
             }
             leaf-list dns-servers {
               type inet:ip-address;
             }
           }
         }
       }
     }
     
    • Method Detail

      • getDhcpAllocationPool

        @Nullable DhcpAllocationPool getDhcpAllocationPool()
        contains non-neutron DHCP allocation
        Returns:
        org.opendaylight.yang.gen.v1.urn.opendaylight.netvirt.dhcp_allocation_pool.rev161214.DhcpAllocationPool dhcpAllocationPool, or null if not present