summaryrefslogtreecommitdiffstats
path: root/VNFs/DPPD-PROX/helper-scripts/rapid/rapid_k8s_pod.py
diff options
context:
space:
mode:
Diffstat (limited to 'VNFs/DPPD-PROX/helper-scripts/rapid/rapid_k8s_pod.py')
-rw-r--r--VNFs/DPPD-PROX/helper-scripts/rapid/rapid_k8s_pod.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/VNFs/DPPD-PROX/helper-scripts/rapid/rapid_k8s_pod.py b/VNFs/DPPD-PROX/helper-scripts/rapid/rapid_k8s_pod.py
index b5fc8158..d15fe7ff 100644
--- a/VNFs/DPPD-PROX/helper-scripts/rapid/rapid_k8s_pod.py
+++ b/VNFs/DPPD-PROX/helper-scripts/rapid/rapid_k8s_pod.py
@@ -36,6 +36,7 @@ class Pod:
_id = None
_admin_ip = None
_dp_ip = None
+ _dp_subnet = None
_ssh_client = None
@@ -128,6 +129,9 @@ class Pod:
def get_dp_ip(self):
return self._dp_ip
+ def get_dp_subnet(self):
+ return self._dp_subnet
+
def get_dp_mac(self):
return self._sriov_vf_mac
@@ -189,6 +193,9 @@ class Pod:
def set_dp_ip(self, dp_ip):
self._dp_ip = dp_ip
+ def set_dp_subnet(self, dp_subnet):
+ self._dp_subnet = dp_subnet
+
def set_id(self, pod_id):
self._id = pod_id