Server IP : 23.254.227.96 / Your IP : 216.73.216.7 Web Server : Apache/2.4.62 (Unix) OpenSSL/1.1.1k System : Linux hwsrv-1277026.hostwindsdns.com 4.18.0-477.13.1.el8_8.x86_64 #1 SMP Tue May 30 14:53:41 EDT 2023 x86_64 User : viralblo ( 1001) PHP Version : 8.1.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /usr/lib/python3.6/site-packages/cloudinit/sources/helpers/vmware/imc/ |
Upload File : |
# Copyright (C) 2015 Canonical Ltd. # Copyright (C) 2015 VMware Inc. # # Author: Sankar Tanguturi <stanguturi@vmware.com> # # This file is part of cloud-init. See LICENSE file for license information. class Ipv4ModeEnum(object): """ The IPv4 configuration mode which directly represents the user's goal. This mode effectively acts as a contract of the in-guest customization engine. It must be set based on what the user has requested and should not be changed by those layers. It's up to the in-guest engine to interpret and materialize the user's request. """ # The legacy mode which only allows dhcp/static based on whether IPv4 # addresses list is empty or not IPV4_MODE_BACKWARDS_COMPATIBLE = "BACKWARDS_COMPATIBLE" # IPv4 must use static address. Reserved for future use IPV4_MODE_STATIC = "STATIC" # IPv4 must use DHCPv4. Reserved for future use IPV4_MODE_DHCP = "DHCP" # IPv4 must be disabled IPV4_MODE_DISABLED = "DISABLED" # IPv4 settings should be left untouched. Reserved for future use IPV4_MODE_AS_IS = "AS_IS" # vi: ts=4 expandtab