Hardware
SoftLayer_Hardware_Server::getPublicVlan

Overview

Retrieve the frontend VLAN for the primary IP address of the server

Headers

SoftLayer_Hardware_ServerObjectMask, SoftLayer_ObjectMask
authenticate, SoftLayer_Hardware_ServerInitParameters

Return Values

SoftLayer_Network_Vlan

Error Handling

  • SoftLayer_Exception: Throw the exception "No public network components found for hardware." a server does not have any network components installed.
  • SoftLayer_Exception: Throw the exception "No IP address found for public network component" if there is no primary IP address for the network components on a server.
  • SoftLayer_Exception: Throw the exception "Unable to find a public subnet." if there are no frontend subnets the network components are associated with.