Interface IpBlockApi


  • @Consumes("text/xml")
    @Produces("text/xml")
    public interface IpBlockApi
    • Method Detail

      • getIpBlock

        @POST
        @Named("publicipblock:get")
        IpBlock getIpBlock​(String identifier)
      • getAllIpBlock

        @POST
        @Named("publicipblock:getall")
        List<IpBlock> getAllIpBlock()
      • reservePublicIpBlock

        @POST
        @Named("publicipblock:reserve")
        IpBlock reservePublicIpBlock​(int blockSize,
                                     Location location)
      • addPublicIpToNic

        @POST
        @Named("publicipblock:addip")
        String addPublicIpToNic​(String ip,
                                String nicid)
      • removePublicIpFromNic

        @POST
        @Named("publicipblock:removeip")
        String removePublicIpFromNic​(String ip,
                                     String nicid)
      • releasePublicIpBlock

        @POST
        @Named("publicipblock:releaseblock")
        String releasePublicIpBlock​(String blockid)