Modify code and of terminate_vnf_grant_resource