github.com/vmware/go-vmware-nsxt@v0.0.0-20230223012718-d31b8a1ca05e/manager/dhcp_server_status.go (about)

     1  /* Copyright © 2017 VMware, Inc. All Rights Reserved.
     2     SPDX-License-Identifier: BSD-2-Clause
     3  
     4     Generated by: https://github.com/swagger-api/swagger-codegen.git */
     5  
     6  package manager
     7  
     8  type DhcpServerStatus struct {
     9  
    10  	// uuid of active transport node
    11  	ActiveNode string `json:"active_node"`
    12  
    13  	// Error message, if available
    14  	ErrorMessage string `json:"error_message,omitempty"`
    15  
    16  	// 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.
    17  	ServiceStatus string `json:"service_status"`
    18  
    19  	// uuid of stand_by transport node. null if non-HA mode
    20  	StandByNode string `json:"stand_by_node,omitempty"`
    21  }