Class: Com::Vmware::Appliance::Techpreview::Networking::Ipv6

Inherits:
VAPI::Bindings::VapiService
  • Object
show all
Defined in:
/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/appliance/techpreview/networking.rb

Overview

``Com::Vmware::Appliance::Techpreview::Networking::Ipv6`` class provides methods Performs IPV4 network configuration for interfaces.

Defined Under Namespace

Classes: IPv6Address, IPv6AddressOrigin, IPv6AddressReadOnly, IPv6AddressStatus, IPv6Config, IPv6ConfigReadOnly

Instance Method Summary (collapse)

Constructor Details

- (Ipv6) initialize(config)

Constructs a new instance.

Parameters:

  • config (VAPI::Bindings::StubConfig)

    A hash with the api provider details.



384
385
386
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/appliance/techpreview/networking.rb', line 384

def initialize(config)
    super(config, @@service_info)
end

Instance Method Details

- (Array<Com::Vmware::Appliance::Techpreview::Networking::Ipv6::IPv6ConfigReadOnly>) get(interfaces)

Get IPv6 network configuration for interfaces.

Parameters:

  • interfaces (Array<String>)

    Network interfaces to query, for example, “nic0”.

Returns:

Raises:



422
423
424
425
426
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/appliance/techpreview/networking.rb', line 422

def get(interfaces)
    invoke_with_info(@@get_info, {
        'interfaces' => interfaces,
    })
end

- (Array<Com::Vmware::Appliance::Techpreview::Networking::Ipv6::IPv6ConfigReadOnly>) list

Get IPv6 network configuration for all configured interfaces.

Returns:

Raises:



409
410
411
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/appliance/techpreview/networking.rb', line 409

def list()
    invoke_with_info(@@list_info)
end

- (Void) set(config)

Set IPv6 network configuration.

Parameters:

Returns:

  • (Void)

Raises:



396
397
398
399
400
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/appliance/techpreview/networking.rb', line 396

def set(config)
    invoke_with_info(@@set_info, {
        'config' => config,
    })
end