github.com/vmware/go-vmware-nsxt@v0.0.0-20230223012718-d31b8a1ca05e/manager/lag.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  // LACP group
     9  type Lag struct {
    10  
    11  	// unique id
    12  	Id string `json:"id,omitempty"`
    13  
    14  	// LACP load balance Algorithm
    15  	LoadBalanceAlgorithm string `json:"load_balance_algorithm"`
    16  
    17  	// LACP group mode
    18  	Mode string `json:"mode"`
    19  
    20  	// Lag name
    21  	Name string `json:"name"`
    22  
    23  	// number of uplinks
    24  	NumberOfUplinks int32 `json:"number_of_uplinks"`
    25  
    26  	// LACP timeout type
    27  	TimeoutType string `json:"timeout_type,omitempty"`
    28  
    29  	// uplink names
    30  	Uplinks []Uplink `json:"uplinks,omitempty"`
    31  }