Merge "Reorder modifiers"
[so.git] / common / src / main / java / org / openecomp / mso / client / aai / AAIRestClientI.java
index 801c0f9..6819ba1 100644 (file)
@@ -23,7 +23,9 @@ import java.io.IOException;
 import java.io.UnsupportedEncodingException;
 import java.util.List;
 
+import java.util.Optional;
 import org.onap.aai.domain.yang.GenericVnf;
+import org.onap.aai.domain.yang.Pnf;
 import org.onap.aai.domain.yang.Pserver;
 import org.onap.aai.domain.yang.Pservers;
 
@@ -39,6 +41,10 @@ public interface AAIRestClientI {
        void updateMaintenceFlag(String vnfId,boolean inMaint, String transactionLoggingUuid) throws Exception;
 
        void updateMaintenceFlagVnfId(String vnfId, boolean inMaint, String transactionLoggingUuid) throws Exception;
-       
+
        GenericVnf getVnfByName(String vnfId,  String transactionLoggingUuid) throws Exception;
+
+       Optional<Pnf> getPnfByName(String pnfId,  String transactionLoggingUuid) throws Exception;
+
+    void createPnf(String pnfId, String transactionLoggingUuid, Pnf pnf) throws IOException;
 }