Interface HostconfigEntryAttributes

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

    public interface HostconfigEntryAttributes
    extends org.opendaylight.yangtools.yang.binding.DataObject
    These values will be populated by the Cloud Operator and will be stored in the Open_vSwitch configuration data in the external_ids field as a key value pair.

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

     grouping hostconfig-entry-attributes {
       leaf host-id {
         type string;
         config false;
       }
       leaf host-type {
         type string;
         config false;
       }
       leaf config {
         type string;
         config false;
       }
     }
     
    The schema path to identify an instance is neutron-hostconfig/hostconfig-entry-attributes
    • Field Detail

      • QNAME

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

      • implementedInterface

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

        String getHostId()
        Host identification string. This string will be stored with the key as odl_os_hostconfig_hostid.
        Returns:
        java.lang.String hostId, or null if not present
      • getHostType

        String getHostType()
        The string is for type of the node. For example L3 Agent,DHCP Agent etc. This string will be stored with the key as odl_os_hostconfig_hosttype.
        Returns:
        java.lang.String hostType, or null if not present
      • getConfig

        String getConfig()
        This is the configuration data for the host type to be used to configure that host type by Openstack. This string will be stored with the key as odl_os_hostconfig_config.
        Returns:
        java.lang.String config, or null if not present