Class Port
A port represents a virtual switch port on a logical network switch, represented
by OpenCloud\Networking\Resource\Network
. Virtual instances (such as
servers created using the OpenCloud\Compute\Service
) attach their
interfaces into ports. The port also defines the MAC address and the IP
address(es) to be assigned to the interfaces plugged into them. When IP addresses
are associated to a port, this also implies the port is associated with a OpenCloud\Networking\Resource\Subnet
, as the IP address is taken from the
allocation pool for a specific subnet.
- OpenCloud\Common\Base
-
OpenCloud\Common\Resource\BaseResource
-
OpenCloud\Common\Resource\PersistentResource
-
OpenCloud\Networking\Resource\Port
Package: OpenCloud\Networking\Resource
See: http://docs.openstack.org/api/openstack-network/2.0/content/Overview-d1e71.html#Port
Located at OpenCloud/Networking/Resource/Port.php
Methods summary
public
object
|
#
createJson( )
This method is inherited. The inherited method has protected scope
but we are widening the scope to public so this method may be called
from other classes such as |
Methods inherited from OpenCloud\Common\Resource\PersistentResource
checkExtension()
,
create()
,
createUrl()
,
delete()
,
id()
,
name()
,
refresh()
,
refreshFromLocationUrl()
,
region()
,
status()
,
update()
,
waitFor()
Methods inherited from OpenCloud\Common\Resource\BaseResource
__construct()
,
findLink()
,
getClient()
,
getMetadata()
,
getParent()
,
getService()
,
getUrl()
,
jsonCollectionElement()
,
jsonCollectionName()
,
jsonName()
,
parseResponse()
,
resourceName()
,
setMetadata()
,
setParent()
,
setService()
,
url()
Methods inherited from OpenCloud\Common\Base
__call()
,
checkJsonError()
,
generateUuid()
,
getInstance()
,
getLogger()
,
hasLogger()
,
makeResourceIteratorOptions()
,
populate()
,
setLogger()
,
stripNamespace()
,
toCamel()
,
toUnderscores()