Class: Google::Cloud::BareMetalSolution::V2::LogicalInterface

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/baremetalsolution/v2/network.rb

Overview

Each logical interface represents a logical abstraction of the underlying physical interface (for eg. bond, nic) of the instance. Each logical interface can effectively map to multiple network-IP pairs and still be mapped to one underlying physical interface.

Defined Under Namespace

Classes: LogicalNetworkInterface

Instance Attribute Summary collapse

Instance Attribute Details

#interface_index::Integer

Deprecated.

This field is deprecated and may be removed in the next major version update.

Returns The index of the logical interface mapping to the index of the hardware bond or nic on the chosen network template. This field is deprecated.

Returns:

  • (::Integer)

    The index of the logical interface mapping to the index of the hardware bond or nic on the chosen network template. This field is deprecated.



229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
# File 'proto_docs/google/cloud/baremetalsolution/v2/network.rb', line 229

class LogicalInterface
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Each logical network interface is effectively a network and IP pair.
  # @!attribute [rw] network
  #   @return [::String]
  #     Name of the network
  # @!attribute [rw] ip_address
  #   @return [::String]
  #     IP address in the network
  # @!attribute [rw] default_gateway
  #   @return [::Boolean]
  #     Whether this interface is the default gateway for the instance. Only
  #     one interface can be the default gateway for the instance.
  # @!attribute [rw] network_type
  #   @return [::Google::Cloud::BareMetalSolution::V2::Network::Type]
  #     Type of network.
  # @!attribute [rw] id
  #   @return [::String]
  #     An identifier for the `Network`, generated by the backend.
  class LogicalNetworkInterface
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#logical_network_interfaces::Array<::Google::Cloud::BareMetalSolution::V2::LogicalInterface::LogicalNetworkInterface>

Returns List of logical network interfaces within a logical interface.

Returns:



229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
# File 'proto_docs/google/cloud/baremetalsolution/v2/network.rb', line 229

class LogicalInterface
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Each logical network interface is effectively a network and IP pair.
  # @!attribute [rw] network
  #   @return [::String]
  #     Name of the network
  # @!attribute [rw] ip_address
  #   @return [::String]
  #     IP address in the network
  # @!attribute [rw] default_gateway
  #   @return [::Boolean]
  #     Whether this interface is the default gateway for the instance. Only
  #     one interface can be the default gateway for the instance.
  # @!attribute [rw] network_type
  #   @return [::Google::Cloud::BareMetalSolution::V2::Network::Type]
  #     Type of network.
  # @!attribute [rw] id
  #   @return [::String]
  #     An identifier for the `Network`, generated by the backend.
  class LogicalNetworkInterface
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#name::String

Returns Interface name. This is of syntax or and forms part of the network template name.

Returns:

  • (::String)

    Interface name. This is of syntax or and forms part of the network template name.



229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
# File 'proto_docs/google/cloud/baremetalsolution/v2/network.rb', line 229

class LogicalInterface
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Each logical network interface is effectively a network and IP pair.
  # @!attribute [rw] network
  #   @return [::String]
  #     Name of the network
  # @!attribute [rw] ip_address
  #   @return [::String]
  #     IP address in the network
  # @!attribute [rw] default_gateway
  #   @return [::Boolean]
  #     Whether this interface is the default gateway for the instance. Only
  #     one interface can be the default gateway for the instance.
  # @!attribute [rw] network_type
  #   @return [::Google::Cloud::BareMetalSolution::V2::Network::Type]
  #     Type of network.
  # @!attribute [rw] id
  #   @return [::String]
  #     An identifier for the `Network`, generated by the backend.
  class LogicalNetworkInterface
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end