Class: Google::Apis::GkeonpremV1::BareMetalNetworkConfig

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/gkeonprem_v1/classes.rb,
lib/google/apis/gkeonprem_v1/representations.rb,
lib/google/apis/gkeonprem_v1/representations.rb

Overview

Specifies the cluster network configuration.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ BareMetalNetworkConfig

Returns a new instance of BareMetalNetworkConfig.



1621
1622
1623
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 1621

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#advanced_networkingBoolean Also known as: advanced_networking?

Enables the use of advanced Anthos networking features, such as Bundled Load Balancing with BGP or the egress NAT gateway. Setting configuration for advanced networking features will automatically set this flag. Corresponds to the JSON property advancedNetworking

Returns:

  • (Boolean)


1603
1604
1605
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 1603

def advanced_networking
  @advanced_networking
end

#island_mode_cidrGoogle::Apis::GkeonpremV1::BareMetalIslandModeCidrConfig

Specifies the cluster CIDR configuration while running in island mode. Corresponds to the JSON property islandModeCidr



1609
1610
1611
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 1609

def island_mode_cidr
  @island_mode_cidr
end

#multiple_network_interfaces_configGoogle::Apis::GkeonpremV1::BareMetalMultipleNetworkInterfacesConfig

Specifies the multiple networking interfaces cluster configuration. Corresponds to the JSON property multipleNetworkInterfacesConfig



1614
1615
1616
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 1614

def multiple_network_interfaces_config
  @multiple_network_interfaces_config
end

#sr_iov_configGoogle::Apis::GkeonpremV1::BareMetalSrIovConfig

Specifies the SR-IOV networking operator config. Corresponds to the JSON property srIovConfig



1619
1620
1621
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 1619

def sr_iov_config
  @sr_iov_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1626
1627
1628
1629
1630
1631
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 1626

def update!(**args)
  @advanced_networking = args[:advanced_networking] if args.key?(:advanced_networking)
  @island_mode_cidr = args[:island_mode_cidr] if args.key?(:island_mode_cidr)
  @multiple_network_interfaces_config = args[:multiple_network_interfaces_config] if args.key?(:multiple_network_interfaces_config)
  @sr_iov_config = args[:sr_iov_config] if args.key?(:sr_iov_config)
end