Class Network
A network is an isolated virtual layer-2 broadcast domain that is typically
reserved for the tenant who created it unless you configure the network to be
shared. The network is the main entity in the Networking service. Ports (OpenCloud\Networking\Resource\Port
) and subnets (OpenCloud\Networking\Resource\Subnet
) are always associated with a
network.
- OpenCloud\Common\Base
-
OpenCloud\Common\Resource\BaseResource
-
OpenCloud\Common\Resource\PersistentResource
-
OpenCloud\Networking\Resource\Network implements OpenCloud\Networking\Resource\NetworkInterface
Namespace: OpenCloud\Networking\Resource
Package: OpenCloud\Networking\Resource
See: http://docs.openstack.org/api/openstack-network/2.0/content/Overview-d1e71.html#Network
Located at OpenCloud/Networking/Resource/Network.php
Package: OpenCloud\Networking\Resource
See: http://docs.openstack.org/api/openstack-network/2.0/content/Overview-d1e71.html#Network
Located at OpenCloud/Networking/Resource/Network.php
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 |
public
string
|
PATCH_CONTENT_TYPE
|
protected static
string
|
$url_resource
|
# 'networks' |
protected static
string
|
$json_name
|
# 'network' |
protected
mixed
|
$id
|
|
protected
mixed
|
$adminStateUp
|
|
protected
mixed
|
$name
|
|
protected
mixed
|
$shared
|
|
protected
mixed
|
$status
|
|
protected
mixed
|
$subnets
|
|
protected
mixed
|
$tenantId
|
|
protected
mixed
|
$links
|
|
protected
array
|
$aliases
The aliases configure for the properties of the instance. |
# array(
'admin_state_up' => 'adminStateUp',
'tenant_id' => 'tenantId'
) |
protected
array
|
$createKeys
|
# array(
'adminStateUp',
'name',
'shared',
'tenantId'
) |
protected
array
|
$updateKeys
|
# array(
'name'
) |
$metadata,
$parent,
$service
|