X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=osm_common%2Fdataclasses%2Ftemporal_dataclasses.py;h=de541f2e9592af45d0c6f9766e9a9e5d754d732b;hb=4407a0e03c999f5729874d48fe6dd6013e4e5812;hp=26797a643b03245633fd704f3d90d9870c7fd302;hpb=8e8a21c8db26ed1c295ed6a468d6ecd9a5c99ded;p=osm%2Fcommon.git diff --git a/osm_common/dataclasses/temporal_dataclasses.py b/osm_common/dataclasses/temporal_dataclasses.py index 26797a6..de541f2 100644 --- a/osm_common/dataclasses/temporal_dataclasses.py +++ b/osm_common/dataclasses/temporal_dataclasses.py @@ -182,6 +182,8 @@ class VduInstantiateInput: constraints: VduComputeConstraints cloud: VIM cloud type + + config: Config details of application """ vim_uuid: str @@ -189,6 +191,7 @@ class VduInstantiateInput: charm_info: CharmInfo constraints: VduComputeConstraints cloud: str + config: dict @dataclass @@ -210,6 +213,37 @@ class VnfInstantiateInput: model_name: str +@dataclass +class GetNsRecordInput: + """ + Input dataclass for getting NS record activity. + + Attributes: + ----------- + nsr_uuid : + The UUID of the NS record which is stored in the OSM nsrs + collection in Mongo. + + """ + + nsr_uuid: str + + +@dataclass +class GetNsRecordOutput: + """ + Output dataclass for getting NS record activity. + + Attributes: + ----------- + nsr : dict + NS record retrieved from Database.. + + """ + + nsr: dict + + ####################################################################################### # Activity Dataclasses