tacker.sol_refactored.infra_drivers.openstack.userdata_utils module¶
- class tacker.sol_refactored.infra_drivers.openstack.userdata_utils.AbstractUserData¶
Bases:
objectDefinition of each method
- Args:
- req: Request dict for each API
(ex. InstantiateVnfRequest for instantiate)
inst: VnfInstance dict grant_req: GrantRequest dict grant: Grant dict tmp_csar_dir: directory path that csar contents are extracted
- Returns:
dict of parameters for create/update heat stack. see the example of userdata_default.py.
- abstractmethod static change_ext_conn(req, inst, grant_req, grant, tmp_csar_dir)¶
- abstractmethod static change_ext_conn_rollback(req, inst, grant_req, grant, tmp_csar_dir)¶
- abstractmethod static change_vnfpkg(req, inst, grant_req, grant, tmp_csar_dir)¶
- abstractmethod static change_vnfpkg_rollback(req, inst, grant_req, grant, tmp_csar_dir)¶
- abstractmethod static heal(req, inst, grant_req, grant, tmp_csar_dir)¶
- abstractmethod static instantiate(req, inst, grant_req, grant, tmp_csar_dir)¶
- abstractmethod static scale(req, inst, grant_req, grant, tmp_csar_dir)¶
- abstractmethod static scale_rollback(req, inst, grant_req, grant, tmp_csar_dir)¶