+Get Vnf Id
+ Variable Should Exist ${ns_id} msg=Network service instance is not available
+ @{vnfr_list}= Get Ns Vnfr Ids ${ns_id}
+ Log List ${vnfr_list}
+ Set Suite Variable ${vnf_id} ${vnfr_list}[0]
+
+Execute Upgrade Operation
+ Variable Should Exist ${ns_id} msg=Network service instance is not available
+ ${ns_op_id}= Execute NS K8s Action ${ns_name} ${upgrade_action} ${vnf_member_index} ${kdu_name} replicaCount=${replica_count}
+
+Check Replicas After Upgrade Operation
+ Variable Should Exist ${ns_id} msg=Network service instance is not available
+ ${count}= Get Vnf Kdu Replica Count ${vnf_id} ${kdu_name}
+ log ${count}
+ Should Be Equal As Integers ${count} ${replica_count}
+
+Execute Rollback Operation
+ Variable Should Exist ${ns_id} msg=Network service instance is not available
+ ${ns_op_id}= Execute NS K8s Action ${ns_name} ${rollback_action} ${vnf_member_index} ${kdu_name}
+
+Check Replicas After Rollback Operation
+ Variable Should Exist ${ns_id} msg=Network service instance is not available
+ ${count}= Get Vnf Kdu Replica Count ${vnf_id} ${kdu_name}
+ log ${count}
+ Should Be Empty ${count}
+