Class MacPoolServiceImpl
- java.lang.Object
-
- org.ovirt.engine.sdk4.internal.services.ServiceImpl
-
- org.ovirt.engine.sdk4.internal.services.MacPoolServiceImpl
-
- All Implemented Interfaces:
Service
,MacPoolService
public class MacPoolServiceImpl extends ServiceImpl implements MacPoolService
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.ovirt.engine.sdk4.services.MacPoolService
MacPoolService.GetRequest, MacPoolService.GetResponse, MacPoolService.RemoveRequest, MacPoolService.RemoveResponse, MacPoolService.UpdateRequest, MacPoolService.UpdateResponse
-
-
Constructor Summary
Constructors Constructor Description MacPoolServiceImpl(HttpConnection connection, String path)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MacPoolService.GetRequest
get()
AssignedPermissionsService
permissionsService()
Returns a reference to the service that manages the permissions that are associated with the MacPool.MacPoolService.RemoveRequest
remove()
Removes a MAC address pool.Service
service(String path)
Service locator method, returns individual service on which the URI is dispatched.String
toString()
MacPoolService.UpdateRequest
update()
Updates a MAC address pool.-
Methods inherited from class org.ovirt.engine.sdk4.internal.services.ServiceImpl
checkAction, checkFault, getConnection, getPath, throwError
-
-
-
-
Constructor Detail
-
MacPoolServiceImpl
public MacPoolServiceImpl(HttpConnection connection, String path)
-
-
Method Detail
-
get
public MacPoolService.GetRequest get()
- Specified by:
get
in interfaceMacPoolService
-
remove
public MacPoolService.RemoveRequest remove()
Description copied from interface:MacPoolService
Removes a MAC address pool. For example, to remove the MAC address pool having id `123` send a request like this: [source] ---- DELETE /ovirt-engine/api/macpools/123 ----- Specified by:
remove
in interfaceMacPoolService
-
update
public MacPoolService.UpdateRequest update()
Description copied from interface:MacPoolService
Updates a MAC address pool. The `name`, `description`, `allow_duplicates`, and `ranges` attributes can be updated. For example, to update the MAC address pool of id `123` send a request like this: [source] ---- PUT /ovirt-engine/api/macpools/123 ---- With a request body like this: [source,xml] ----UpdatedMACPool An updated MAC address pool false 00:1A:4A:16:01:51 00:1A:4A:16:01:e6 02:1A:4A:01:00:00 02:1A:4A:FF:FF:FF - Specified by:
update
in interfaceMacPoolService
-
permissionsService
public AssignedPermissionsService permissionsService()
Description copied from interface:MacPoolService
Returns a reference to the service that manages the permissions that are associated with the MacPool.- Specified by:
permissionsService
in interfaceMacPoolService
-
service
public Service service(String path)
Description copied from interface:MacPoolService
Service locator method, returns individual service on which the URI is dispatched.- Specified by:
service
in interfaceMacPoolService
-
-