Code Review
/
vfc
/
nfvo
/
driver
/
sfc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
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
diff --git
a/zte/sfc-driver/sfc-driver/src/main/java/org/onap/sfc/SfcDriverConfig.java
b/zte/sfc-driver/sfc-driver/src/main/java/org/onap/sfc/SfcDriverConfig.java
index
c3293ab
..
73d1198
100644
(file)
--- a/
zte/sfc-driver/sfc-driver/src/main/java/org/onap/sfc/SfcDriverConfig.java
+++ b/
zte/sfc-driver/sfc-driver/src/main/java/org/onap/sfc/SfcDriverConfig.java
@@
-30,6
+30,9
@@
public class SfcDriverConfig extends Configuration {
@NotEmpty
private String msbServiceUrl;
@NotEmpty
private String msbServiceUrl;
+
+ @NotEmpty
+ private String serviceIp;
@JsonProperty
public String getTemplate() {
@JsonProperty
public String getTemplate() {
@@
-57,5
+60,15
@@
public class SfcDriverConfig extends Configuration {
public void setMsbServiceUrl(String msbServiceUrl) {
this.msbServiceUrl = msbServiceUrl;
}
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
}
\ No newline at end of file