Code Review
/
oam.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
ADD N1, N2 N3 interfacing to topology generation
[oam.git]
/
code
/
network-topology-instance-generator
/
model
/
python
/
tapi_node_o_cu_up.py
diff --git
a/code/network-topology-instance-generator/model/python/tapi_node_o_cu_up.py
b/code/network-topology-instance-generator/model/python/tapi_node_o_cu_up.py
index
81d781e
..
4086fac
100644
(file)
--- a/
code/network-topology-instance-generator/model/python/tapi_node_o_cu_up.py
+++ b/
code/network-topology-instance-generator/model/python/tapi_node_o_cu_up.py
@@
-22,7
+22,7
@@
from model.python.tapi_node_edge_point import TapiNodeEdgePoint
class TapiNodeOCuUp(TapiNode):
"""
class TapiNodeOCuUp(TapiNode):
"""
- Class representing a O-RAN Centralized Unit as TAPI Node.
+ Class representing a
n
O-RAN Centralized Unit as TAPI Node.
"""
# constructor
"""
# constructor
@@
-38,6
+38,15
@@
class TapiNodeOCuUp(TapiNode):
}
self.add(TapiNodeEdgePoint(nep_configuration))
}
self.add(TapiNodeEdgePoint(nep_configuration))
+ # add N3 Consumer interface
+ nep_configuration = {
+ "parent": self.identifier(),
+ "nodeEdgePoint": {
+ "interface": "n3", "cep":[{"protocol": "NAS", "role": "consumer"}]
+ }
+ }
+ self.add(TapiNodeEdgePoint(nep_configuration))
+
# add O1/OAM NetConf Provider interface
nep_configuration = {
"parent": self.identifier(),
# add O1/OAM NetConf Provider interface
nep_configuration = {
"parent": self.identifier(),