File: IpConfig.pyi

package info (click to toggle)
python-pyvmomi 9.0.0.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 21,372 kB
  • sloc: python: 18,622; xml: 77; makefile: 3
file content (49 lines) | stat: -rw-r--r-- 1,771 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# Copyright (c) 2006-2025 Broadcom. All Rights Reserved.
# Broadcom Confidential. The term "Broadcom" refers to Broadcom Inc.
# and/or its subsidiaries.

# ******* WARNING - AUTO GENERATED CODE - DO NOT EDIT *******

from datetime import datetime

from typing import ClassVar
from typing import Optional

from pyVmomi.VmomiSupport import Enum

from pyVmomi.vmodl import DynamicData

class IpConfig(DynamicData):
   class IpV6AddressConfigType(Enum):
      other: ClassVar['IpV6AddressConfigType'] = 'other'
      manual: ClassVar['IpV6AddressConfigType'] = 'manual'
      dhcp: ClassVar['IpV6AddressConfigType'] = 'dhcp'
      linklayer: ClassVar['IpV6AddressConfigType'] = 'linklayer'
      random: ClassVar['IpV6AddressConfigType'] = 'random'

   class IpV6AddressStatus(Enum):
      preferred: ClassVar['IpV6AddressStatus'] = 'preferred'
      deprecated: ClassVar['IpV6AddressStatus'] = 'deprecated'
      invalid: ClassVar['IpV6AddressStatus'] = 'invalid'
      inaccessible: ClassVar['IpV6AddressStatus'] = 'inaccessible'
      unknown: ClassVar['IpV6AddressStatus'] = 'unknown'
      tentative: ClassVar['IpV6AddressStatus'] = 'tentative'
      duplicate: ClassVar['IpV6AddressStatus'] = 'duplicate'

   class IpV6Address(DynamicData):
      ipAddress: str
      prefixLength: int
      origin: Optional[str] = None
      dadState: Optional[str] = None
      lifetime: Optional[datetime] = None
      operation: Optional[str] = None

   class IpV6AddressConfiguration(DynamicData):
      ipV6Address: list[IpV6Address] = []
      autoConfigurationEnabled: Optional[bool] = None
      dhcpV6Enabled: Optional[bool] = None

   dhcp: bool
   ipAddress: Optional[str] = None
   subnetMask: Optional[str] = None
   ipV6Config: Optional[IpV6AddressConfiguration] = None