Compare commits
2 Commits
Author | SHA1 | Date |
---|---|---|
bayuzhen | 73b0dba61f | |
bayuzhen | 5071d18c6b |
|
@ -2,8 +2,10 @@ package com.bocloud.rpc.interfaces.ims;
|
|||
|
||||
import com.bocloud.acd.rpc.anno.RPCService;
|
||||
import com.bocloud.common.enums.BoCloudService;
|
||||
import com.bocloud.ims.entity.resource.Server;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Set;
|
||||
|
||||
@RPCService(BoCloudService.IMS)
|
||||
public interface ImsRpcService {
|
||||
|
@ -12,4 +14,9 @@ public interface ImsRpcService {
|
|||
* 不要用BocloudResult通信,BocloudResult是用来返回接口信息的,内部处理要扁平化,避免不必要的实体类,
|
||||
*/
|
||||
void preemptOrFreeIp(List<String> ipsToPreempt, List<String> ipsToFree) ;
|
||||
|
||||
List<Server> getServerByName (List<String> serverNameList, Long vendorId);
|
||||
|
||||
List<Server> getServerAll (Set<Long> vendorIds) throws Exception;
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue