Class List Method List File List

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

Inherits:
  VAPI::Bindings::VapiService
  - Object
  - VAPI::Bindings::VapiService
  - Com::Vmware::Appliance::Techpreview::Networking::Ipv6
  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)

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

  Get IPv6 network configuration for interfaces.

- - (Ipv6) initialize(config) constructor

  Constructs a new instance.

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

  Get IPv6 network configuration for all configured interfaces.

- - (Void) set(config)

  Set IPv6 network configuration.

## 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:

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

  IPv6 configuration.

Raises:

- (`Com::Vmware::Vapi::Std::Errors::Error`) —

  Generic error

    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:

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

  IPv6 configuration for each interface.

Raises:

- (`Com::Vmware::Vapi::Std::Errors::Error`) —

  Generic error

    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:

- config (`Array<Com::Vmware::Appliance::Techpreview::Networking::Ipv6::IPv6Config>`) —

  IPv6 configuration.

Returns:

- (`Void`)

Raises:

- (`Com::Vmware::Vapi::Std::Errors::Error`) —

  Generic error

    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