"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "octavia/tests/common/sample_data_models.py" between
octavia-7.1.1.tar.gz and octavia-8.0.0.tar.gz

About: OpenStack Octavia is an operator-grade reference implementation for Load Balancing as a Service (LBaaS).
The "Wallaby" series (latest release).

sample_data_models.py  (octavia-7.1.1):sample_data_models.py  (octavia-8.0.0)
skipping to change at line 251 skipping to change at line 251
constants.HEALTH_MONITOR: self.test_hm1_dict, constants.HEALTH_MONITOR: self.test_hm1_dict,
lib_consts.SESSION_PERSISTENCE: { lib_consts.SESSION_PERSISTENCE: {
lib_consts.TYPE: lib_consts.LB_ALGORITHM_SOURCE_IP}, lib_consts.TYPE: lib_consts.LB_ALGORITHM_SOURCE_IP},
lib_consts.LISTENERS: [], lib_consts.LISTENERS: [],
lib_consts.L7POLICIES: [], lib_consts.L7POLICIES: [],
constants.TLS_CERTIFICATE_ID: self.pool_sni_container_ref, constants.TLS_CERTIFICATE_ID: self.pool_sni_container_ref,
constants.CA_TLS_CERTIFICATE_ID: self.pool_ca_container_ref, constants.CA_TLS_CERTIFICATE_ID: self.pool_ca_container_ref,
constants.CRL_CONTAINER_ID: self.pool_crl_container_ref, constants.CRL_CONTAINER_ID: self.pool_crl_container_ref,
lib_consts.TLS_ENABLED: True, lib_consts.TLS_ENABLED: True,
lib_consts.TLS_CIPHERS: None, lib_consts.TLS_CIPHERS: None,
lib_consts.TLS_VERSIONS: None lib_consts.TLS_VERSIONS: None,
lib_consts.ALPN_PROTOCOLS:
constants.AMPHORA_SUPPORTED_ALPN_PROTOCOLS
} }
self.test_pool1_dict.update(self._common_test_dict) self.test_pool1_dict.update(self._common_test_dict)
self.test_pool2_dict = copy.deepcopy(self.test_pool1_dict) self.test_pool2_dict = copy.deepcopy(self.test_pool1_dict)
self.test_pool2_dict[lib_consts.ID] = self.pool2_id self.test_pool2_dict[lib_consts.ID] = self.pool2_id
self.test_pool2_dict[lib_consts.NAME] = 'pool2' self.test_pool2_dict[lib_consts.NAME] = 'pool2'
self.test_pool2_dict[lib_consts.DESCRIPTION] = 'Pool 2' self.test_pool2_dict[lib_consts.DESCRIPTION] = 'Pool 2'
self.test_pool2_dict[ self.test_pool2_dict[
lib_consts.MEMBERS] = self.test_pool2_members_dict lib_consts.MEMBERS] = self.test_pool2_members_dict
skipping to change at line 302 skipping to change at line 304
lib_consts.TYPE: lib_consts.LB_ALGORITHM_SOURCE_IP}, lib_consts.TYPE: lib_consts.LB_ALGORITHM_SOURCE_IP},
lib_consts.TLS_CONTAINER_REF: self.pool_sni_container_ref, lib_consts.TLS_CONTAINER_REF: self.pool_sni_container_ref,
lib_consts.TLS_CONTAINER_DATA: pool_cert.to_dict(), lib_consts.TLS_CONTAINER_DATA: pool_cert.to_dict(),
lib_consts.CA_TLS_CONTAINER_REF: self.pool_ca_container_ref, lib_consts.CA_TLS_CONTAINER_REF: self.pool_ca_container_ref,
lib_consts.CA_TLS_CONTAINER_DATA: pool_ca_file_content, lib_consts.CA_TLS_CONTAINER_DATA: pool_ca_file_content,
lib_consts.CRL_CONTAINER_REF: self.pool_crl_container_ref, lib_consts.CRL_CONTAINER_REF: self.pool_crl_container_ref,
lib_consts.CRL_CONTAINER_DATA: pool_crl_file_content, lib_consts.CRL_CONTAINER_DATA: pool_crl_file_content,
lib_consts.TLS_ENABLED: True, lib_consts.TLS_ENABLED: True,
lib_consts.TLS_CIPHERS: None, lib_consts.TLS_CIPHERS: None,
lib_consts.TLS_VERSIONS: None, lib_consts.TLS_VERSIONS: None,
lib_consts.ALPN_PROTOCOLS:
constants.AMPHORA_SUPPORTED_ALPN_PROTOCOLS
} }
self.provider_pool2_dict = copy.deepcopy(self.provider_pool1_dict) self.provider_pool2_dict = copy.deepcopy(self.provider_pool1_dict)
self.provider_pool2_dict[lib_consts.POOL_ID] = self.pool2_id self.provider_pool2_dict[lib_consts.POOL_ID] = self.pool2_id
self.provider_pool2_dict[lib_consts.NAME] = 'pool2' self.provider_pool2_dict[lib_consts.NAME] = 'pool2'
self.provider_pool2_dict[lib_consts.DESCRIPTION] = 'Pool 2' self.provider_pool2_dict[lib_consts.DESCRIPTION] = 'Pool 2'
self.provider_pool2_dict[ self.provider_pool2_dict[
lib_consts.MEMBERS] = self.provider_pool2_members_dict lib_consts.MEMBERS] = self.provider_pool2_members_dict
self.provider_pool2_dict[ self.provider_pool2_dict[
lib_consts.HEALTHMONITOR] = self.provider_hm2_dict lib_consts.HEALTHMONITOR] = self.provider_hm2_dict
 End of changes. 2 change blocks. 
1 lines changed or deleted 5 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)