summaryrefslogtreecommitdiffstats
path: root/src/main/java/org
diff options
context:
space:
mode:
authorLeigh, Phillip (pl876u) <phillip.leigh@amdocs.com>2019-01-15 15:19:47 -0500
committerLeigh, Phillip (pl876u) <phillip.leigh@amdocs.com>2019-01-16 11:20:14 -0500
commit45aba588d7ae2cdaaaf1d561c7120d851e0a1c84 (patch)
tree5f144304d144c94dcc961c04af00d77863cda055 /src/main/java/org
parente9125443bfb5b0b6dad1ae5793ca00554b26114d (diff)
Enhance Pomba common model for Pserver/P-interface
Issue-ID: LOG-762 Issue-ID: LOG-765 Change-Id: I4b6f785297f39598ef74081229918a2efe395171 Signed-off-by: Leigh, Phillip (pl876u) <phillip.leigh@amdocs.com>
Diffstat (limited to 'src/main/java/org')
-rw-r--r--src/main/java/org/onap/pomba/common/datatypes/Attribute.java7
-rw-r--r--src/main/java/org/onap/pomba/common/datatypes/PNF.java23
2 files changed, 29 insertions, 1 deletions
diff --git a/src/main/java/org/onap/pomba/common/datatypes/Attribute.java b/src/main/java/org/onap/pomba/common/datatypes/Attribute.java
index a53263e..13e9401 100644
--- a/src/main/java/org/onap/pomba/common/datatypes/Attribute.java
+++ b/src/main/java/org/onap/pomba/common/datatypes/Attribute.java
@@ -74,7 +74,12 @@ public class Attribute {
resourceVersion,
name2Source,
managementOptions,
- frameId
+ frameId,
+ ptniiName,
+ topology,
+ purpose,
+ description,
+ equipmentID
}
@ApiModelProperty(value = "Name of the attribute")
public Name getName() {
diff --git a/src/main/java/org/onap/pomba/common/datatypes/PNF.java b/src/main/java/org/onap/pomba/common/datatypes/PNF.java
index 1aa6836..6d8b45d 100644
--- a/src/main/java/org/onap/pomba/common/datatypes/PNF.java
+++ b/src/main/java/org/onap/pomba/common/datatypes/PNF.java
@@ -43,6 +43,12 @@ public class PNF {
@Expose
@SerializedName("attributeList")
private List<Attribute> attributeList = new ArrayList<>();
+ @Expose
+ @SerializedName("networkList")
+ private List<Network> networkList = new ArrayList<>();
+ @Expose
+ @SerializedName("pInterfaceList")
+ private List<PInterface> pInterfaceList = new ArrayList<>();
public String getName() {
return name;
@@ -80,4 +86,21 @@ public class PNF {
this.modelInvariantUUID = modelInvariantUUID;
}
+ public List<Network> getNetworkList() {
+ return networkList;
+ }
+
+ public void setNetworkList(List<Network> networkList) {
+ this.networkList = networkList;
+ }
+
+ public List<PInterface> getPInterfaceList() {
+ return pInterfaceList;
+ }
+
+ public void setPInterfaceList(List<PInterface> pInterfaceList) {
+ this.pInterfaceList = pInterfaceList;
+ }
+
+
}