@dataclass
-class ChangeNFStateInput:
+class ChangeVnfStateInput:
"""
- Input dataclass for creating a Juju Model.
+ Input dataclass for changing NF State.
Attributes:
-----------
The UUID of the VNF which is stored in the OSM vnfrs
collection in Mongo.
- nf_state : VnfState
+ state : VnfState
A representation of the VNF state (STOPPED or STARTED).
"""
@dataclass
-class ChangeNFInstantiationStateInput:
+class ChangeVnfInstantiationStateInput:
"""
- Input dataclass for creating a Juju Model.
+ Input dataclass for changing NF Instantiation State.
Attributes:
-----------
The UUID of the VNF which is stored in the OSM vnfrs
collection in Mongo.
- nf_instantiation_state : VnfInstantiationState
+ state : VnfInstantiationState
A representation of the VNF instantiation state (NOT_INSTANTIATED or INSTANTIATED).
"""
ACTIVITY_GET_MODEL_INFO = "get-model-info"
ACTIVITY_DEPLOY_CHARM = "deploy-charm"
ACTIVITY_CHECK_CHARM_STATUS = "check-charm-status"
-ACTIVITY_CHANGE_NF_STATE = "change_nf_state"
-ACTIVITY_CHANGE_NF_INSTANTIATION_STATE = "change_nf_instantiation_state"
-ACTIVITY_CHANGE_NF_NOTIFICATION_STATE = "change_nf_notification_state"
+ACTIVITY_CHANGE_VNF_STATE = "change-vnf-state"
+ACTIVITY_CHANGE_VNF_INSTANTIATION_STATE = "change-vnf-instantiation-state"
+ACTIVITY_SEND_NOTIFICATION_FOR_VNF = "send-notification-for-vnf"
ACTIVITY_GET_TASK_QUEUE = "get_task_queue"
# Workflows