question: @ POST @ Consumes ( { MediaType . APPLICATION_XML , MediaType . APPLICATION_JSON } ) @ Produces ( { MediaType . APPLICATION_XML , MediaType . APPLICATION_JSON } ) @ CheckPermission ( roles = { Role . TENANT_ADMIN } ) @ Path ( "/{id}/ip-interfaces" ) public IpInterfaceRestRep createIpInterface ( @ PathParam ( "id" ) URI id , IpInterfaceCreateParam createParam ) throws DatabaseException { Host host = queryObject ( Host . class , id , true ) ; validateIpInterfaceData ( createParam , null ) ; IpInterface ipInterface = new IpInterface ( ) ; ipInterface . setHost ( host . getId ( ) ) ; ipInterface . setId ( URIUtil . createId ( IpInterface . class ) ) ; populateIpInterface ( createParam , ipInterface ) ; _dbClient . createObject ( ipInterface ) ; auditOp ( OperationTypeEnum . CREATE_HOST_IPINTERFACE , true , null , ipInterface . auditParameters ( ) ) ; return map ( ipInterface ) ; }
target:  Creates a new ip interface for a host.