async def get_vnf_record_ids(
self, get_vnf_record_ids_input: GetVnfRecordIdsInput
) -> GetVnfRecordIdsOutput:
+ """
+ Gets the list of VNF record IDs for a given NS record ID.
+
+ Collaborators:
+ DB Read: vnfrs
+
+ Raises (Retryable):
+ DbException If the target DB record does not exist or DB is not reachable.
+
+ Activity Lifecycle:
+ This activity will not report a heartbeat due to its short-running nature.
+
+ Since this activity only reads from the DB, it is safe to retry, although
+ you may wish to have some back-off policy.
+ """
vnfrs = self.db.get_list(
"vnfrs", {"nsr-id-ref": get_vnf_record_ids_input.ns_uuid}
)
"""Perform Database operations for NS accounts.
Args:
- db (object): Data Access Object
+ db (database): Data Access Object
"""
def __init__(self, db: Database):