Class MacPoolsServiceImpl
- java.lang.Object
-
- org.ovirt.engine.sdk4.internal.services.ServiceImpl
-
- org.ovirt.engine.sdk4.internal.services.MacPoolsServiceImpl
-
- All Implemented Interfaces:
Service
,MacPoolsService
public class MacPoolsServiceImpl extends ServiceImpl implements MacPoolsService
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.ovirt.engine.sdk4.services.MacPoolsService
MacPoolsService.AddRequest, MacPoolsService.AddResponse, MacPoolsService.ListRequest, MacPoolsService.ListResponse
-
-
Constructor Summary
Constructors Constructor Description MacPoolsServiceImpl(HttpConnection connection, String path)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MacPoolsService.AddRequest
add()
Creates a new MAC address pool.MacPoolsService.ListRequest
list()
Return the list of MAC address pools of the system.MacPoolService
macPoolService(String id)
Service
service(String path)
Service locator method, returns individual service on which the URI is dispatched.String
toString()
-
Methods inherited from class org.ovirt.engine.sdk4.internal.services.ServiceImpl
checkAction, checkFault, getConnection, getPath, throwError
-
-
-
-
Constructor Detail
-
MacPoolsServiceImpl
public MacPoolsServiceImpl(HttpConnection connection, String path)
-
-
Method Detail
-
add
public MacPoolsService.AddRequest add()
Description copied from interface:MacPoolsService
Creates a new MAC address pool. Creation of a MAC address pool requires values for the `name` and `ranges` attributes. For example, to create MAC address pool send a request like this: [source] ---- POST /ovirt-engine/api/macpools ---- With a request body like this: [source,xml] ----MACPool A MAC address pool true false 00:1A:4A:16:01:51 00:1A:4A:16:01:e6 - Specified by:
add
in interfaceMacPoolsService
-
list
public MacPoolsService.ListRequest list()
Description copied from interface:MacPoolsService
Return the list of MAC address pools of the system. The returned list of MAC address pools isn't guaranteed.- Specified by:
list
in interfaceMacPoolsService
-
macPoolService
public MacPoolService macPoolService(String id)
- Specified by:
macPoolService
in interfaceMacPoolsService
-
service
public Service service(String path)
Description copied from interface:MacPoolsService
Service locator method, returns individual service on which the URI is dispatched.- Specified by:
service
in interfaceMacPoolsService
-
-