Scripting Object - VcNetworkManager

Scripting-object corresponding to
NetworkManager
Attribute of
VcInternalServiceInstanceContent

Scripting Object Description

A singleton managed object that performs networking management operations.

Attributes

Name Type Description
idString

@since Unknown
morefVcManagedObjectReference

returns the ManagedObjectReference of this ManagedObject @since Unknown
sdkConnectionVcSdkConnection

@since Unknown
sdkIdString

@since Unknown
typeStringDeprecated.

Returns the name for the this managed object's vim type @since Unknown
vimHostVcSdkConnection

@since Unknown
vimIdString

@since Unknown
vimTypeString

@since Unknown

Methods

Methods defined in this Scripting Object
_getRef, checkIfMACAddressInUse, createTrigger, fetchRelocatedMACAddress, reclaimMAC

_getRef

@since Unknown

Parameters

NameTypeDescription
None

Return Value

Type Description
VcManagedObjectReference

createTrigger

@since Unknown

Parameters

NameTypeDescription
timeoutNumber

filterString

conditionString

filterToSyncString


Return Value

Type Description
Trigger

reclaimMAC

Method to reclaim MAC addresses that are not in use by remote vCenter servers. Whenever a virtual machine vmotions across vCenter servers, all MAC addresses assigned to it's network adapters are no longer managed by source vCenter server. All these vmotioned MAC addresses are kept in a black-list by source vCenter server in order to avoid using them again during future provisioning operations. This method will enable source vCenter server to reclaim black-listed addresses if they are not used by rest of the vCenter servers anymore. Assumption: This method is provided with the list ALL instances of vCenter servers from the deployed environment. Otherwise, the method might incorrectly reclaim a MAC address from the black-list. @since vSphere API 6.0

Parameters

NameTypeDescription
arg0VcServiceLocator []


Return Value

Type Description
String []

checkIfMACAddressInUse

Method to check which MAC addresses from the given list of addresses are currently used by virtual machines in this instance of vCenter server. @since vSphere API 6.0

Parameters

NameTypeDescription
arg0String []


Return Value

Type Description
String []

fetchRelocatedMACAddress

Method to retrieve all MAC addresses that have been relocated from this instance of vCenter server to remote vCenter servers. @since vSphere API 6.0

Parameters

NameTypeDescription
None

Return Value

Type Description
String []