File: MacRange.rst

package info (click to toggle)
python-pyvmomi 6.7.1-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 14,984 kB
  • sloc: python: 9,206; xml: 77; makefile: 9
file content (24 lines) | stat: -rw-r--r-- 765 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
23
24
.. _str: https://docs.python.org/2/library/stdtypes.html

.. _mask: ../vim/MacRange.rst#mask

.. _address: ../vim/MacRange.rst#address

.. _vim.MacAddress: ../vim/MacAddress.rst

.. _vSphere API 5.5: ../vim/version.rst#vimversionversion9


vim.MacRange
============
  This class defines a range of MAC address.
:extends: vim.MacAddress_
:since: `vSphere API 5.5`_

Attributes:
    address (`str`_):

       MAC address.
    mask (`str`_):

       Mask that is used in matching the MAC address. A MAC address is considered matched if the "and" operation of the mask on the MAC address and `address`_ yields the same result. For example, a MAC of "00:A0:FF:14:FF:29" is considered matched for a `address`_ of "00:A0:C9:14:C8:29" and a `mask`_ of "FF:FF:00:FF:00:FF".