Class List Method List File List

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

Inherits:
  VAPI::Bindings::VapiEnum
  - Object
  - VAPI::Bindings::VapiEnum
  - Com::Vmware::Appliance::Techpreview::Networking::Ipv6::IPv6AddressOrigin
  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::IPv6AddressOrigin`` enumerated type Defines IPV6 address origin values

## Constant Summary

DHCP =

      IPv6AddressOrigin.new('DHCP')

RANDOM =

      IPv6AddressOrigin.new('RANDOM')

MANUAL =

      IPv6AddressOrigin.new('MANUAL')

OTHER =

      IPv6AddressOrigin.new('OTHER')

LINKLAYER =

      IPv6AddressOrigin.new('LINKLAYER')

## Instance Attribute Summary (collapse)

- - (Com::Vmware::Appliance::Techpreview::Networking::Ipv6::IPv6AddressOrigin) dhcp

  The IPv6 address is assigned by a DHCP server.

- - (Com::Vmware::Appliance::Techpreview::Networking::Ipv6::IPv6AddressOrigin) linklayer

  The IPv6 address is assigned by IPv6 Stateless Address Auto-configuration (SLAAC).

- - (Com::Vmware::Appliance::Techpreview::Networking::Ipv6::IPv6AddressOrigin) manual

  The IPv6 address was manually configured to a specified address, for, example, by user configuration.

- - (Com::Vmware::Appliance::Techpreview::Networking::Ipv6::IPv6AddressOrigin) other

  The IPv6 address is assigned by a mechanism other than manual, DHCP, SLAAC, or random.

- - (Com::Vmware::Appliance::Techpreview::Networking::Ipv6::IPv6AddressOrigin) random

  The IPv6 address is assigned randomly by the system.

## Class Method Summary (collapse)

- + (VAPI::Bindings::EnumType) binding_type

  Holds (gets or creates) the binding type metadata for this enumeration type.

- + (IPv6AddressOrigin) from_string(value)

  Converts from a string value (perhaps off the wire) to an instance of this enum type.

## Instance Attribute Details

### - (`Com::Vmware::Appliance::Techpreview::Networking::Ipv6::IPv6AddressOrigin`) dhcp

The IPv6 address is assigned by a DHCP server. See RFC 4293.

Returns:

- (`Com::Vmware::Appliance::Techpreview::Networking::Ipv6::IPv6AddressOrigin`)

    644
    645
    646
    647
    648
    649
    650
    651
    652
    653
    654
    655
    656
    657
    658
    659
    660
    661
    662
    663
    664
    665
    666
    667
    668
    669
    670
    671
    672
    673
    674
    675
    676
    677
    678
    679
    680
    681
    682
    683
    684
    685
    686
    687
    688
    689
    690
    691
    692
    693
    694
    695
    696
    697
    698
    699
    700
    701
    702
    703
    704
    705
    706
    # File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/appliance/techpreview/networking.rb', line 644

    class IPv6AddressOrigin < VAPI::Bindings::VapiEnum

        class << self
            # Holds (gets or creates) the binding type metadata for this enumeration type.
            # @scope class
            # @return [VAPI::Bindings::EnumType] the binding type
            def binding_type
                @binding_type ||= VAPI::Bindings::EnumType.new(
                    'com.vmware.appliance.techpreview.networking.ipv6.I_pv6_address_origin',
                    IPv6AddressOrigin)
            end

            # Converts from a string value (perhaps off the wire) to an instance
            # of this enum type.
            # @param value [String] the actual value of the enum instance
            # @return [IPv6AddressOrigin] the instance found for the value, otherwise
            #         an unknown instance will be built for the value
            def from_string(value)
                begin
                    const_get(value)
                rescue NameError
                    IPv6AddressOrigin.new('UNKNOWN', value)
                end
            end
        end

        private

        # Constructs a new instance.
        # @param value [String] the actual value of the enum instance
        # @param unknown [String] the unknown value when value is 'UKNOWN'
        def initialize(value, unknown=nil)
            super(self.class.binding_type, value, unknown)
        end

        public

        # @!attribute [rw] dhcp
        #     @return [Com::Vmware::Appliance::Techpreview::Networking::Ipv6::IPv6AddressOrigin]
        #     The IPv6 address is assigned by a DHCP server. See RFC 4293.
        DHCP = IPv6AddressOrigin.new('DHCP')

        # @!attribute [rw] random
        #     @return [Com::Vmware::Appliance::Techpreview::Networking::Ipv6::IPv6AddressOrigin]
        #     The IPv6 address is assigned randomly by the system. See RFC 4293.
        RANDOM = IPv6AddressOrigin.new('RANDOM')

        # @!attribute [rw] manual
        #     @return [Com::Vmware::Appliance::Techpreview::Networking::Ipv6::IPv6AddressOrigin]
        #     The IPv6 address was manually configured to a specified address, for, example, by user configuration. See RFC 4293.
        MANUAL = IPv6AddressOrigin.new('MANUAL')

        # @!attribute [rw] other
        #     @return [Com::Vmware::Appliance::Techpreview::Networking::Ipv6::IPv6AddressOrigin]
        #     The IPv6 address is assigned by a mechanism other than manual, DHCP, SLAAC, or random. See RFC 4293.
        OTHER = IPv6AddressOrigin.new('OTHER')

        # @!attribute [rw] linklayer
        #     @return [Com::Vmware::Appliance::Techpreview::Networking::Ipv6::IPv6AddressOrigin]
        #     The IPv6 address is assigned by IPv6 Stateless Address Auto-configuration (SLAAC). See RFC 4293.
        LINKLAYER = IPv6AddressOrigin.new('LINKLAYER')

    end

### - (`Com::Vmware::Appliance::Techpreview::Networking::Ipv6::IPv6AddressOrigin`) linklayer

The IPv6 address is assigned by IPv6 Stateless Address Auto-configuration (SLAAC). See RFC 4293.

Returns:

- (`Com::Vmware::Appliance::Techpreview::Networking::Ipv6::IPv6AddressOrigin`)

    644
    645
    646
    647
    648
    649
    650
    651
    652
    653
    654
    655
    656
    657
    658
    659
    660
    661
    662
    663
    664
    665
    666
    667
    668
    669
    670
    671
    672
    673
    674
    675
    676
    677
    678
    679
    680
    681
    682
    683
    684
    685
    686
    687
    688
    689
    690
    691
    692
    693
    694
    695
    696
    697
    698
    699
    700
    701
    702
    703
    704
    705
    706
    # File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/appliance/techpreview/networking.rb', line 644

    class IPv6AddressOrigin < VAPI::Bindings::VapiEnum

        class << self
            # Holds (gets or creates) the binding type metadata for this enumeration type.
            # @scope class
            # @return [VAPI::Bindings::EnumType] the binding type
            def binding_type
                @binding_type ||= VAPI::Bindings::EnumType.new(
                    'com.vmware.appliance.techpreview.networking.ipv6.I_pv6_address_origin',
                    IPv6AddressOrigin)
            end

            # Converts from a string value (perhaps off the wire) to an instance
            # of this enum type.
            # @param value [String] the actual value of the enum instance
            # @return [IPv6AddressOrigin] the instance found for the value, otherwise
            #         an unknown instance will be built for the value
            def from_string(value)
                begin
                    const_get(value)
                rescue NameError
                    IPv6AddressOrigin.new('UNKNOWN', value)
                end
            end
        end

        private

        # Constructs a new instance.
        # @param value [String] the actual value of the enum instance
        # @param unknown [String] the unknown value when value is 'UKNOWN'
        def initialize(value, unknown=nil)
            super(self.class.binding_type, value, unknown)
        end

        public

        # @!attribute [rw] dhcp
        #     @return [Com::Vmware::Appliance::Techpreview::Networking::Ipv6::IPv6AddressOrigin]
        #     The IPv6 address is assigned by a DHCP server. See RFC 4293.
        DHCP = IPv6AddressOrigin.new('DHCP')

        # @!attribute [rw] random
        #     @return [Com::Vmware::Appliance::Techpreview::Networking::Ipv6::IPv6AddressOrigin]
        #     The IPv6 address is assigned randomly by the system. See RFC 4293.
        RANDOM = IPv6AddressOrigin.new('RANDOM')

        # @!attribute [rw] manual
        #     @return [Com::Vmware::Appliance::Techpreview::Networking::Ipv6::IPv6AddressOrigin]
        #     The IPv6 address was manually configured to a specified address, for, example, by user configuration. See RFC 4293.
        MANUAL = IPv6AddressOrigin.new('MANUAL')

        # @!attribute [rw] other
        #     @return [Com::Vmware::Appliance::Techpreview::Networking::Ipv6::IPv6AddressOrigin]
        #     The IPv6 address is assigned by a mechanism other than manual, DHCP, SLAAC, or random. See RFC 4293.
        OTHER = IPv6AddressOrigin.new('OTHER')

        # @!attribute [rw] linklayer
        #     @return [Com::Vmware::Appliance::Techpreview::Networking::Ipv6::IPv6AddressOrigin]
        #     The IPv6 address is assigned by IPv6 Stateless Address Auto-configuration (SLAAC). See RFC 4293.
        LINKLAYER = IPv6AddressOrigin.new('LINKLAYER')

    end

### - (`Com::Vmware::Appliance::Techpreview::Networking::Ipv6::IPv6AddressOrigin`) manual

The IPv6 address was manually configured to a specified address, for, example, by user configuration. See RFC 4293.

Returns:

- (`Com::Vmware::Appliance::Techpreview::Networking::Ipv6::IPv6AddressOrigin`)

    644
    645
    646
    647
    648
    649
    650
    651
    652
    653
    654
    655
    656
    657
    658
    659
    660
    661
    662
    663
    664
    665
    666
    667
    668
    669
    670
    671
    672
    673
    674
    675
    676
    677
    678
    679
    680
    681
    682
    683
    684
    685
    686
    687
    688
    689
    690
    691
    692
    693
    694
    695
    696
    697
    698
    699
    700
    701
    702
    703
    704
    705
    706
    # File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/appliance/techpreview/networking.rb', line 644

    class IPv6AddressOrigin < VAPI::Bindings::VapiEnum

        class << self
            # Holds (gets or creates) the binding type metadata for this enumeration type.
            # @scope class
            # @return [VAPI::Bindings::EnumType] the binding type
            def binding_type
                @binding_type ||= VAPI::Bindings::EnumType.new(
                    'com.vmware.appliance.techpreview.networking.ipv6.I_pv6_address_origin',
                    IPv6AddressOrigin)
            end

            # Converts from a string value (perhaps off the wire) to an instance
            # of this enum type.
            # @param value [String] the actual value of the enum instance
            # @return [IPv6AddressOrigin] the instance found for the value, otherwise
            #         an unknown instance will be built for the value
            def from_string(value)
                begin
                    const_get(value)
                rescue NameError
                    IPv6AddressOrigin.new('UNKNOWN', value)
                end
            end
        end

        private

        # Constructs a new instance.
        # @param value [String] the actual value of the enum instance
        # @param unknown [String] the unknown value when value is 'UKNOWN'
        def initialize(value, unknown=nil)
            super(self.class.binding_type, value, unknown)
        end

        public

        # @!attribute [rw] dhcp
        #     @return [Com::Vmware::Appliance::Techpreview::Networking::Ipv6::IPv6AddressOrigin]
        #     The IPv6 address is assigned by a DHCP server. See RFC 4293.
        DHCP = IPv6AddressOrigin.new('DHCP')

        # @!attribute [rw] random
        #     @return [Com::Vmware::Appliance::Techpreview::Networking::Ipv6::IPv6AddressOrigin]
        #     The IPv6 address is assigned randomly by the system. See RFC 4293.
        RANDOM = IPv6AddressOrigin.new('RANDOM')

        # @!attribute [rw] manual
        #     @return [Com::Vmware::Appliance::Techpreview::Networking::Ipv6::IPv6AddressOrigin]
        #     The IPv6 address was manually configured to a specified address, for, example, by user configuration. See RFC 4293.
        MANUAL = IPv6AddressOrigin.new('MANUAL')

        # @!attribute [rw] other
        #     @return [Com::Vmware::Appliance::Techpreview::Networking::Ipv6::IPv6AddressOrigin]
        #     The IPv6 address is assigned by a mechanism other than manual, DHCP, SLAAC, or random. See RFC 4293.
        OTHER = IPv6AddressOrigin.new('OTHER')

        # @!attribute [rw] linklayer
        #     @return [Com::Vmware::Appliance::Techpreview::Networking::Ipv6::IPv6AddressOrigin]
        #     The IPv6 address is assigned by IPv6 Stateless Address Auto-configuration (SLAAC). See RFC 4293.
        LINKLAYER = IPv6AddressOrigin.new('LINKLAYER')

    end

### - (`Com::Vmware::Appliance::Techpreview::Networking::Ipv6::IPv6AddressOrigin`) other

The IPv6 address is assigned by a mechanism other than manual, DHCP, SLAAC, or random. See RFC 4293.

Returns:

- (`Com::Vmware::Appliance::Techpreview::Networking::Ipv6::IPv6AddressOrigin`)

    644
    645
    646
    647
    648
    649
    650
    651
    652
    653
    654
    655
    656
    657
    658
    659
    660
    661
    662
    663
    664
    665
    666
    667
    668
    669
    670
    671
    672
    673
    674
    675
    676
    677
    678
    679
    680
    681
    682
    683
    684
    685
    686
    687
    688
    689
    690
    691
    692
    693
    694
    695
    696
    697
    698
    699
    700
    701
    702
    703
    704
    705
    706
    # File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/appliance/techpreview/networking.rb', line 644

    class IPv6AddressOrigin < VAPI::Bindings::VapiEnum

        class << self
            # Holds (gets or creates) the binding type metadata for this enumeration type.
            # @scope class
            # @return [VAPI::Bindings::EnumType] the binding type
            def binding_type
                @binding_type ||= VAPI::Bindings::EnumType.new(
                    'com.vmware.appliance.techpreview.networking.ipv6.I_pv6_address_origin',
                    IPv6AddressOrigin)
            end

            # Converts from a string value (perhaps off the wire) to an instance
            # of this enum type.
            # @param value [String] the actual value of the enum instance
            # @return [IPv6AddressOrigin] the instance found for the value, otherwise
            #         an unknown instance will be built for the value
            def from_string(value)
                begin
                    const_get(value)
                rescue NameError
                    IPv6AddressOrigin.new('UNKNOWN', value)
                end
            end
        end

        private

        # Constructs a new instance.
        # @param value [String] the actual value of the enum instance
        # @param unknown [String] the unknown value when value is 'UKNOWN'
        def initialize(value, unknown=nil)
            super(self.class.binding_type, value, unknown)
        end

        public

        # @!attribute [rw] dhcp
        #     @return [Com::Vmware::Appliance::Techpreview::Networking::Ipv6::IPv6AddressOrigin]
        #     The IPv6 address is assigned by a DHCP server. See RFC 4293.
        DHCP = IPv6AddressOrigin.new('DHCP')

        # @!attribute [rw] random
        #     @return [Com::Vmware::Appliance::Techpreview::Networking::Ipv6::IPv6AddressOrigin]
        #     The IPv6 address is assigned randomly by the system. See RFC 4293.
        RANDOM = IPv6AddressOrigin.new('RANDOM')

        # @!attribute [rw] manual
        #     @return [Com::Vmware::Appliance::Techpreview::Networking::Ipv6::IPv6AddressOrigin]
        #     The IPv6 address was manually configured to a specified address, for, example, by user configuration. See RFC 4293.
        MANUAL = IPv6AddressOrigin.new('MANUAL')

        # @!attribute [rw] other
        #     @return [Com::Vmware::Appliance::Techpreview::Networking::Ipv6::IPv6AddressOrigin]
        #     The IPv6 address is assigned by a mechanism other than manual, DHCP, SLAAC, or random. See RFC 4293.
        OTHER = IPv6AddressOrigin.new('OTHER')

        # @!attribute [rw] linklayer
        #     @return [Com::Vmware::Appliance::Techpreview::Networking::Ipv6::IPv6AddressOrigin]
        #     The IPv6 address is assigned by IPv6 Stateless Address Auto-configuration (SLAAC). See RFC 4293.
        LINKLAYER = IPv6AddressOrigin.new('LINKLAYER')

    end

### - (`Com::Vmware::Appliance::Techpreview::Networking::Ipv6::IPv6AddressOrigin`) random

The IPv6 address is assigned randomly by the system. See RFC 4293.

Returns:

- (`Com::Vmware::Appliance::Techpreview::Networking::Ipv6::IPv6AddressOrigin`)

    644
    645
    646
    647
    648
    649
    650
    651
    652
    653
    654
    655
    656
    657
    658
    659
    660
    661
    662
    663
    664
    665
    666
    667
    668
    669
    670
    671
    672
    673
    674
    675
    676
    677
    678
    679
    680
    681
    682
    683
    684
    685
    686
    687
    688
    689
    690
    691
    692
    693
    694
    695
    696
    697
    698
    699
    700
    701
    702
    703
    704
    705
    706
    # File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/appliance/techpreview/networking.rb', line 644

    class IPv6AddressOrigin < VAPI::Bindings::VapiEnum

        class << self
            # Holds (gets or creates) the binding type metadata for this enumeration type.
            # @scope class
            # @return [VAPI::Bindings::EnumType] the binding type
            def binding_type
                @binding_type ||= VAPI::Bindings::EnumType.new(
                    'com.vmware.appliance.techpreview.networking.ipv6.I_pv6_address_origin',
                    IPv6AddressOrigin)
            end

            # Converts from a string value (perhaps off the wire) to an instance
            # of this enum type.
            # @param value [String] the actual value of the enum instance
            # @return [IPv6AddressOrigin] the instance found for the value, otherwise
            #         an unknown instance will be built for the value
            def from_string(value)
                begin
                    const_get(value)
                rescue NameError
                    IPv6AddressOrigin.new('UNKNOWN', value)
                end
            end
        end

        private

        # Constructs a new instance.
        # @param value [String] the actual value of the enum instance
        # @param unknown [String] the unknown value when value is 'UKNOWN'
        def initialize(value, unknown=nil)
            super(self.class.binding_type, value, unknown)
        end

        public

        # @!attribute [rw] dhcp
        #     @return [Com::Vmware::Appliance::Techpreview::Networking::Ipv6::IPv6AddressOrigin]
        #     The IPv6 address is assigned by a DHCP server. See RFC 4293.
        DHCP = IPv6AddressOrigin.new('DHCP')

        # @!attribute [rw] random
        #     @return [Com::Vmware::Appliance::Techpreview::Networking::Ipv6::IPv6AddressOrigin]
        #     The IPv6 address is assigned randomly by the system. See RFC 4293.
        RANDOM = IPv6AddressOrigin.new('RANDOM')

        # @!attribute [rw] manual
        #     @return [Com::Vmware::Appliance::Techpreview::Networking::Ipv6::IPv6AddressOrigin]
        #     The IPv6 address was manually configured to a specified address, for, example, by user configuration. See RFC 4293.
        MANUAL = IPv6AddressOrigin.new('MANUAL')

        # @!attribute [rw] other
        #     @return [Com::Vmware::Appliance::Techpreview::Networking::Ipv6::IPv6AddressOrigin]
        #     The IPv6 address is assigned by a mechanism other than manual, DHCP, SLAAC, or random. See RFC 4293.
        OTHER = IPv6AddressOrigin.new('OTHER')

        # @!attribute [rw] linklayer
        #     @return [Com::Vmware::Appliance::Techpreview::Networking::Ipv6::IPv6AddressOrigin]
        #     The IPv6 address is assigned by IPv6 Stateless Address Auto-configuration (SLAAC). See RFC 4293.
        LINKLAYER = IPv6AddressOrigin.new('LINKLAYER')

    end

## Class Method Details

### + (`VAPI::Bindings::EnumType`) binding_type

Holds (gets or creates) the binding type metadata for this enumeration type.

Returns:

- (`VAPI::Bindings::EnumType`) —

  the binding type

    650
    651
    652
    653
    654
    # File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/appliance/techpreview/networking.rb', line 650

    def binding_type
        @binding_type ||= VAPI::Bindings::EnumType.new(
            'com.vmware.appliance.techpreview.networking.ipv6.I_pv6_address_origin',
            IPv6AddressOrigin)
    end

### + (`IPv6AddressOrigin`) from_string(value)

Converts from a string value (perhaps off the wire) to an instance of this enum type.

Parameters:

- value (`String`) —

  the actual value of the enum instance

Returns:

- (`IPv6AddressOrigin`) —

  the instance found for the value, otherwise an unknown instance will be built for the value

    661
    662
    663
    664
    665
    666
    667
    # File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/appliance/techpreview/networking.rb', line 661

    def from_string(value)
        begin
            const_get(value)
        rescue NameError
            IPv6AddressOrigin.new('UNKNOWN', value)
        end
    end