- rename O-RAN-Function to O-RAN-Object
Issue-ID: OAM-363
Change-Id: I113202688aa07c7c90de43d44a00e0e782c221b2
Signed-off-by: Martin Skorupski <martin.skorupski@highstreet-technologies.com>
-An abstract Class for O-RAN Functions
+An abstract Class for O-RAN Objects
"""
from abc import ABC, abstractmethod
from typing import Dict
"""
from abc import ABC, abstractmethod
from typing import Dict
from model.python.GeoLocation import GeoLocation
from model.python.GeoLocation import GeoLocation
-# Define the "IORanFunction" interface
-class IORanFunction(ITop):
+# Define the "IORanObject" interface
+class IORanObject(ITop):
def __init__(
self,
address: AddressType = None,
def __init__(
self,
address: AddressType = None,
-# Define an abstract O-RAN Function class
-class ORanFunction(ABC, Top, IORanFunction):
- def __init__(self, of: IORanFunction = None, **kwargs):
+# Define an abstract O-RAN Object class
+class ORanObject(Top, IORanObject):
+ def __init__(self, of: IORanObject = None, **kwargs):
super().__init__(**kwargs)
self.address = of["address"] if of and "address" in of else None
self.geoLocation = (
super().__init__(**kwargs)
self.address = of["address"] if of and "address" in of else None
self.geoLocation = (