github.com/vmware/go-vmware-nsxt@v0.0.0-20230223012718-d31b8a1ca05e/manager/ha_vip_config.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 HaVipConfig struct {
     9  
    10  	// Flag to enable this ha vip config.
    11  	Enabled bool `json:"enabled,omitempty"`
    12  
    13  	// Array of IP address subnets which will be used as floating IP addresses. | Note - this configuration is applicable only for Active-Standby LogicalRouter. | For Active-Active LogicalRouter this configuration will be rejected.
    14  	HaVipSubnets []VipSubnet `json:"ha_vip_subnets"`
    15  
    16  	// Identifiers of logical router uplink ports which are to be paired to provide | redundancy. Floating IP will be owned by one of these uplink ports (depending upon | which node is Active).
    17  	RedundantUplinkPortIds []string `json:"redundant_uplink_port_ids"`
    18  }