Class DhcpServerStatus.Builder

    • Constructor Detail

      • Builder

        public Builder()
        Constructor with parameters for the required properties of DhcpServerStatus.
    • Method Detail

      • setActiveNode

        public DhcpServerStatus.Builder setActiveNode​(java.lang.String activeNode)
        uuid of active transport node
        Parameters:
        activeNode - New value for the property.
      • setErrorMessage

        public DhcpServerStatus.Builder setErrorMessage​(java.lang.String errorMessage)
        Error message, if available
        Parameters:
        errorMessage - New value for the property.
      • setServiceStatus

        public DhcpServerStatus.Builder setServiceStatus​(java.lang.String serviceStatus)
        Possible values are: UP means the dhcp service is working fine on both active transport-node and stand-by transport-node (if have), hence fail-over can work at this time if there is failure happens on one of the transport-node; DOWN means the dhcp service is down on both active transport-node and stand-by node (if have), hence the dhcp-service will not repsonse any dhcp request; Error means error happens on transport-node(s) or no status is reported from transport-node(s). The dhcp service may be working (or not working); NO_STANDBY means dhcp service is working in one of the transport node while not in the other transport-node (if have). Hence if the dhcp service in the working transport-node is down, fail-over will not happen and the dhcp service will go down.
        Parameters:
        serviceStatus - New value for the property.
      • setStandByNode

        public DhcpServerStatus.Builder setStandByNode​(java.lang.String standByNode)
        uuid of stand_by transport node. null if non-HA mode
        Parameters:
        standByNode - New value for the property.