[SEBA-112] Rename PONONUPort to ANIPort
Change-Id: If3577cd4f3d3dcb7eef7452afdf89019106bf1d4
diff --git a/xos/synchronizer/models/models.py b/xos/synchronizer/models/models.py
index 59b6e66..d02adff 100644
--- a/xos/synchronizer/models/models.py
+++ b/xos/synchronizer/models/models.py
@@ -23,7 +23,7 @@
from models_decl import PONPort_decl
from models_decl import NNIPort_decl
from models_decl import ONUDevice_decl
-from models_decl import PONONUPort_decl
+from models_decl import ANIPort_decl
from models_decl import UNIPort_decl
from models_decl import TechnologyProfile_decl
@@ -111,7 +111,7 @@
super(ONUDevice, self).delete(*args, **kwargs)
-class PONONUPort(PONONUPort_decl):
+class ANIPort(ANIPort_decl):
class Meta:
proxy = True
diff --git a/xos/synchronizer/models/volt.xproto b/xos/synchronizer/models/volt.xproto
index 25fbaf1..ec06ff1 100644
--- a/xos/synchronizer/models/volt.xproto
+++ b/xos/synchronizer/models/volt.xproto
@@ -201,11 +201,11 @@
text = True];
}
-message PONONUPort (PortBase) {
+message ANIPort (PortBase) {
option verbose_name = "ANI Port";
option description="Access Node Interface Port";
- required manytoone onu_device->ONUDevice:pononu_ports = 1:1001 [
- help_text = "ONUDevice that owns this PONONUPort",
+ required manytoone onu_device->ONUDevice:ani_ports = 1:1001 [
+ help_text = "ONUDevice that owns this ANIPort",
db_index = True];
}