Interface RoutersAttributes

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject
    All Known Subinterfaces:
    Neutron

    @Generated("mdsal-binding-generator")
    public interface RoutersAttributes
    extends org.opendaylight.yangtools.yang.binding.DataObject

    This class represents the following YANG schema fragment defined in module neutron-L3

     grouping routers-attributes {
       container routers {
         list router {
           key uuid;
           uses attrs:base-attributes;
           uses attrs:admin-attributes;
           uses L3-attributes;
           container external_gateway_info {
             leaf external-network-id {
               type yang:uuid;
             }
             leaf enable-snat {
               type boolean;
               default true;
             }
             list external-fixed-ips {
               key "subnet-id ip-address";
               leaf subnet-id {
                 type yang:uuid;
               }
               leaf ip-address {
                 type inet:ip-address;
               }
             }
           }
         }
       }
     }
     
    The schema path to identify an instance is neutron-L3/routers-attributes
    • Field Detail

      • QNAME

        static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAME
    • Method Detail

      • implementedInterface

        Class<? extends RoutersAttributes> implementedInterface()
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataContainer
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
      • getRouters

        Routers getRouters()
        Return routers, or null if it is not present.
        Returns:
        org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.l3.rev150712.routers.attributes.Routers routers, or null if it is not present.