github.com/vmware/go-vmware-nsxt@v0.0.0-20230223012718-d31b8a1ca05e/manager/node_network_interface_properties.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  import (
     9  	"github.com/vmware/go-vmware-nsxt/common"
    10  )
    11  
    12  type NodeNetworkInterfaceProperties struct {
    13  
    14  	// The server will populate this field when returing the resource. Ignored on PUT and POST.
    15  	Links []common.ResourceLink `json:"_links,omitempty"`
    16  
    17  	Schema string `json:"_schema,omitempty"`
    18  
    19  	Self *common.SelfResourceLink `json:"_self,omitempty"`
    20  
    21  	// Interface administration status
    22  	AdminStatus string `json:"admin_status,omitempty"`
    23  
    24  	// Bond mode
    25  	BondMode string `json:"bond_mode,omitempty"`
    26  
    27  	// Bond's primary device name in active-backup bond mode
    28  	BondPrimary string `json:"bond_primary,omitempty"`
    29  
    30  	// Bond's slave devices
    31  	BondSlaves []string `json:"bond_slaves,omitempty"`
    32  
    33  	// Interface broadcast address
    34  	BroadcastAddress string `json:"broadcast_address,omitempty"`
    35  
    36  	// Interface's default gateway
    37  	DefaultGateway string `json:"default_gateway,omitempty"`
    38  
    39  	// Interface ID
    40  	InterfaceId string `json:"interface_id,omitempty"`
    41  
    42  	// Interface IP addresses
    43  	IpAddresses []IPv4AddressProperties `json:"ip_addresses,omitempty"`
    44  
    45  	// Interface configuration
    46  	IpConfiguration string `json:"ip_configuration"`
    47  
    48  	// Interface administration status
    49  	LinkStatus string `json:"link_status,omitempty"`
    50  
    51  	// Interface MTU
    52  	Mtu int64 `json:"mtu,omitempty"`
    53  
    54  	// Interface MAC address
    55  	PhysicalAddress string `json:"physical_address,omitempty"`
    56  
    57  	// Interface plane
    58  	Plane string `json:"plane,omitempty"`
    59  }