Class Service
The Networking class represents the OpenNetwork Neutron service.
Neutron is a service that provides networking between devices managed by other
OpenNetwork services (e.g. Compute).
-
OpenCloud\Common\Base
-
OpenCloud\Common\Service\AbstractService
implements
OpenCloud\Common\Service\ServiceInterface
-
OpenCloud\Common\Service\CatalogService
-
OpenCloud\Networking\Service
Methods summary
public
OpenCloud\Networking\Resource\Network
|
#
network( string $id = null )
Returns a Network object associated with this Networking service
Returns a Network object associated with this Networking service
Parameters
- $id
- ID of network to retrieve
Returns
|
public
OpenCloud\Networking\Resource\Network
|
#
createNetwork( array $params = array() )
Creates a new Network and returns it.
Creates a new Network and returns it.
Parameters
- $params
- Network creation parameters. @see https://github.com/rackspace/php-opencloud/blob/master/docs/userguide/Networking/USERGUIDE.md#create-a-network
Returns
|
public
OpenCloud\Common\Collection\PaginatedIterator
|
#
createNetworks( array $networksParams = array() )
Creates multiple new Networks and returns their list.
Creates multiple new Networks and returns their list.
Parameters
- $networksParams
- Array of network creation parameters' arrays
Returns
|
public
OpenCloud\Networking\Resource\Network
|
#
getNetwork( string $id )
Returns a Network object associated with this Networking service
Returns a Network object associated with this Networking service
Parameters
- $id
- ID of network to retrieve
Returns
|
public
OpenCloud\Common\Collection\PaginatedIterator
|
#
listNetworks( array $params = array() )
Returns a list of networks you created
Returns a list of networks you created
Parameters
Returns
|
public
OpenCloud\Networking\Resource\Subnet
|
#
subnet( string $id = null )
Returns a Subnet object associated with this Networking service
Returns a Subnet object associated with this Networking service
Parameters
- $id
- ID of subnet to retrieve
Returns
|
public
OpenCloud\Networking\Resource\Subnet
|
#
createSubnet( array $params = array() )
Creates a new Subnet and returns it.
Creates a new Subnet and returns it.
Parameters
- $params
- Subnet creation parameters. @see https://github.com/rackspace/php-opencloud/blob/master/docs/userguide/Networking/USERGUIDE.md#create-a-subnet
Returns
|
public
OpenCloud\Common\Collection\PaginatedIterator
|
#
createSubnets( array $subnetsParams = array() )
Creates multiple new Subnets and returns their list.
Creates multiple new Subnets and returns their list.
Parameters
- $subnetsParams
- Array of subnet creation parameters' arrays
Returns
|
public
OpenCloud\Networking\Resource\Subnet
|
#
getSubnet( string $id )
Returns a Subnet object associated with this Networking service
Returns a Subnet object associated with this Networking service
Parameters
- $id
- ID of subnet to retrieve
Returns
|
public
OpenCloud\Common\Collection\PaginatedIterator
|
#
listSubnets( array $params = array() )
Returns a list of subnets you created
Returns a list of subnets you created
Parameters
Returns
|
public
OpenCloud\Networking\Resource\Port
|
#
port( string $id = null )
Returns a Port object associated with this Networking service
Returns a Port object associated with this Networking service
Parameters
- $id
- ID of port to retrieve
Returns
|
public
OpenCloud\Networking\Resource\Port
|
#
createPort( array $params = array() )
Creates a new Port and returns it.
Creates a new Port and returns it.
Parameters
- $params
- Port creation parameters. @see https://github.com/rackspace/php-opencloud/blob/master/docs/userguide/Networking/USERGUIDE.md#create-a-port
Returns
|
public
OpenCloud\Common\Collection\PaginatedIterator
|
#
createPorts( array $portsParams = array() )
Creates multiple new Ports and returns their list.
Creates multiple new Ports and returns their list.
Parameters
- $portsParams
- Array of port creation parameters' arrays
Returns
|
public
OpenCloud\Networking\Resource\Port
|
#
getPort( string $id )
Returns a Port object associated with this Networking service
Returns a Port object associated with this Networking service
Parameters
- $id
- ID of port to retrieve
Returns
|
public
OpenCloud\Common\Collection\PaginatedIterator
|
#
listPorts( array $params = array() )
Returns a list of ports you created
Returns a list of ports you created
Parameters
Returns
|
public
array
|
|
__construct(),
getBaseUrl(),
getExtensions(),
getName(),
getRegion(),
getType(),
getUrl(),
getUrlType(),
limits()
collection(),
getClient(),
getEndpoint(),
getNamespaces(),
getResources(),
resource(),
resourceList(),
setClient(),
setEndpoint()
__call(),
checkJsonError(),
generateUuid(),
getInstance(),
getLogger(),
hasLogger(),
makeResourceIteratorOptions(),
populate(),
setLogger(),
stripNamespace(),
toCamel(),
toUnderscores()
Magic methods summary
Constants summary
DEFAULT_URL_TYPE,
SUPPORTED_VERSION