Package org.openstack4j.api.compute
Class FloatingIPTests
- java.lang.Object
-
- org.openstack4j.api.AbstractTest
-
- org.openstack4j.api.compute.FloatingIPTests
-
public class FloatingIPTests extends AbstractTest
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.openstack4j.api.AbstractTest
AbstractTest.Service
-
-
Field Summary
-
Fields inherited from class org.openstack4j.api.AbstractTest
JSON_ACCESS, JSON_TOKEN, osv2, osv3, server, TOKEN_ID
-
-
Constructor Summary
Constructors Constructor Description FloatingIPTests()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddFloatingIP(String ip)voidallocateFloatingIP(String ip)protected voidcheckEnvironment(Method method)Object[][]createFloatingIPData(Method m)voiddeallocateFloatingIP(String ip)voidlistFloatingIPs()voidremoveFloatingIP(String ip)protected AbstractTest.Serviceservice()-
Methods inherited from class org.openstack4j.api.AbstractTest
afterTest, associateClientV2, associateClientV3, authURL, getResource, osv2, osv3, respondWith, respondWith, respondWith, respondWith, respondWith, respondWithCodeAndResource, respondWithHeaderAndResource, startServer, takeRequest
-
-
-
-
Method Detail
-
createFloatingIPData
@DataProvider(name="floatingIPs") public Object[][] createFloatingIPData(Method m)
-
checkEnvironment
@BeforeMethod protected void checkEnvironment(Method method)
-
service
protected AbstractTest.Service service()
- Specified by:
servicein classAbstractTest- Returns:
- the service the API is using
-
listFloatingIPs
public void listFloatingIPs() throws IOException- Throws:
IOException
-
allocateFloatingIP
public void allocateFloatingIP(String ip) throws IOException
- Throws:
IOException
-
deallocateFloatingIP
public void deallocateFloatingIP(String ip)
-
removeFloatingIP
public void removeFloatingIP(String ip)
-
addFloatingIP
public void addFloatingIP(String ip)
-
-