public interface EthernetNetworkClient extends CreatableResource<Network>, SearchableResource<Network>, UpdatableResource<Network>, PatchableResource, DeletableResource
SearchableResource.GetByNameRequestInterceptor
Modifier and Type | Field and Description |
---|---|
static String |
ASSOCIATED_PROFILES |
static String |
ASSOCIATED_UPLINK_GROUPS |
static String |
BULK_ETHERNET_URI |
static String |
ETHERNET_URI |
Modifier and Type | Method and Description |
---|---|
TaskResource |
createInBulk(BulkEthernetNetwork bulkEthernet,
RequestOption... options)
Creates a set of ethernet networks according to the provided
BulkEthernetNetwork . |
List<String> |
getAssociatedProfiles(String resourceId)
Retrieves a
List <String> containing the URIs of the server profiles associated
with the ethernet network identified by the provided resourceId . |
List<String> |
getAssociatedUplinkGroups(String resourceId)
Retrieves a
List <String> containing the URIs of the uplink groups associated
with the ethernet network identified by the provided resourceId . |
create
getByName
get, get, getAll, getAll, getById
update
patch
delete
static final String ETHERNET_URI
static final String BULK_ETHERNET_URI
static final String ASSOCIATED_PROFILES
static final String ASSOCIATED_UPLINK_GROUPS
TaskResource createInBulk(BulkEthernetNetwork bulkEthernet, RequestOption... options)
BulkEthernetNetwork
.
Since this operation can take some time to complete, it is possible to specify a timeout
using the option TaskTimeout
. If no timeout
is specified, the default behavior is to wait until the create action completes.bulkEthernet
- object containing the bulk ethernet network details the should used
to create a set of ethernet networks. The number of networks created
is specified through the VLAN range. For each network, the VLAN number
will be used as suffix to uniquely identify the network.options
- varargs
of RequestOption
, which can be used to specify
some request options.TaskResource
task containing the result of this request.List<String> getAssociatedProfiles(String resourceId)
List
<String> containing the URIs of the server profiles associated
with the ethernet network identified by the provided resourceId
.resourceId
- resource identifier as seen in HPE OneView.List
containing the URIs for the associated server profiles.List<String> getAssociatedUplinkGroups(String resourceId)
List
<String> containing the URIs of the uplink groups associated
with the ethernet network identified by the provided resourceId
.resourceId
- resource identifier as seen in HPE OneView.List
containing the URIs for the associated uplink groups.Copyright © 2017. All rights reserved.