Replace the orginal node ip with SERVICE_IP
[vfc/nfvo/driver/sfc.git] / zte / sfc-driver / sfc-driver / src / main / java / org / onap / sfc / SfcDriverConfig.java
index c3293ab..73d1198 100644 (file)
@@ -30,6 +30,9 @@ public class SfcDriverConfig extends Configuration {
 
     @NotEmpty
     private String msbServiceUrl;
+    
+    @NotEmpty
+    private String serviceIp;
 
     @JsonProperty
     public String getTemplate() {
@@ -57,5 +60,15 @@ public class SfcDriverConfig extends Configuration {
     public void setMsbServiceUrl(String msbServiceUrl) {
         this.msbServiceUrl = msbServiceUrl;
     }
+    
+    @JsonProperty
+    public String getServiceIp() {
+        return serviceIp;
+    }
+    
+    @JsonProperty
+    public void setServiceIp(String serviceIp) {
+        this.serviceIp = serviceIp;
+    }
 
 }
\ No newline at end of file