File: DhcpOptions.rst

package info (click to toggle)
python-pyvmomi 6.7.1-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 14,980 kB
  • sloc: python: 9,206; xml: 77; makefile: 9
file content (22 lines) | stat: -rw-r--r-- 1,049 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
.. _bool: https://docs.python.org/2/library/stdtypes.html

.. _vim.KeyValue: ../../../vim/KeyValue.rst

.. _vSphere API 4.1: ../../../vim/version.rst#vimversionversion6

.. _vmodl.DynamicData: ../../../vmodl/DynamicData.rst


vim.net.DhcpConfigInfo.DhcpOptions
==================================
  Provides for reporting of DHCP client. This data object may be used at a per interface or per system scope.
:extends: vmodl.DynamicData_
:since: `vSphere API 4.1`_

Attributes:
    enable (`bool`_):

       Report state of dhcp client services.
    config ([`vim.KeyValue`_], optional):

       Platform specific settings for DHCP Client. The key part is a unique number, the value part is the platform specific configuration command. For example on Linux, BSD systems using the file dhclient.conf output would be reported at system scope: key='1', value='timeout 60;' key='2', value='reboot 10;' output reported at per interface scope: key='1', value='prepend domain-name-servers 192.0.2.1;' key='2', value='equire subnet-mask, domain-name-servers;'