Code Review
/
oam.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Empty TerminationPoint list
[oam.git]
/
code
/
network-generator
/
network_generation
/
model
/
python
/
o_ran_node.py
diff --git
a/code/network-generator/network_generation/model/python/o_ran_node.py
b/code/network-generator/network_generation/model/python/o_ran_node.py
index
e8471ab
..
6a2b3cb
100644
(file)
--- a/
code/network-generator/network_generation/model/python/o_ran_node.py
+++ b/
code/network-generator/network_generation/model/python/o_ran_node.py
@@
-178,12
+178,7
@@
class ORanNode(ORanObject):
def to_topology_nodes(self) -> list[dict[str, Any]]:
tps: list[dict[str, Any]] = []
for tp in self.termination_points():
def to_topology_nodes(self) -> list[dict[str, Any]]:
tps: list[dict[str, Any]] = []
for tp in self.termination_points():
- if (
- str(type(tp))
- == "<class 'model.python.o_ran_termination_point"
- + ".ORanTerminationPoint'>"
- ):
- tps.append(tp.to_topology())
+ tps.append(tp.to_topology())
result: list[dict[str, Any]] = []
result.append(
result: list[dict[str, Any]] = []
result.append(