Package org.ovirt.engine.sdk4.services
Interface NetworkLabelsService
-
- All Superinterfaces:
Service
- All Known Implementing Classes:
NetworkLabelsServiceImpl
public interface NetworkLabelsService extends Service
Manages the ser of labels attached to a network or to a host NIC.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
NetworkLabelsService.AddRequest
Attaches label to logical network.static interface
NetworkLabelsService.AddResponse
Attaches label to logical network.static interface
NetworkLabelsService.ListRequest
Returns the list of labels attached to the network or host NIC.static interface
NetworkLabelsService.ListResponse
Returns the list of labels attached to the network or host NIC.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description NetworkLabelsService.AddRequest
add()
Attaches label to logical network.NetworkLabelService
labelService(String id)
NetworkLabelsService.ListRequest
list()
Returns the list of labels attached to the network or host NIC.Service
service(String path)
Service locator method, returns individual service on which the URI is dispatched.
-
-
-
Method Detail
-
add
NetworkLabelsService.AddRequest add()
Attaches label to logical network. You can attach labels to a logical network to automate the association of that logical network with physical host network interfaces to which the same label has been attached. For example, to attach the label `mylabel` to a logical network having id `123` send a request like this: [source] ---- POST /ovirt-engine/api/networks/123/networklabels ---- With a request body like this: [source,xml] --------
-
list
NetworkLabelsService.ListRequest list()
Returns the list of labels attached to the network or host NIC. The order of the returned list of labels isn't guaranteed.
-
labelService
NetworkLabelService labelService(String id)
-
-