diff --git a/tsconfig/tsconfig/tsconfig/tests/test_basics.py b/tsconfig/tsconfig/tsconfig/tests/test_basics.py index e79b0ffe..68f507e3 100644 --- a/tsconfig/tsconfig/tsconfig/tests/test_basics.py +++ b/tsconfig/tsconfig/tsconfig/tests/test_basics.py @@ -55,7 +55,7 @@ http_port=8080 INSTALL_UUID=ab0a5348-cea7-4b08-b1b0-09d5527dd227 UUID=a1c581fc-0c74-4e68-b78e-4e26a0695f5d oam_interface=enp0s3 -infrastructure_interface=enp0s4 +cluster_host_interface=enp0s4 sdn_enabled=no region_config=no system_mode=duplex @@ -74,7 +74,7 @@ http_port=8081 INSTALL_UUID=ab0a5348-cea7-4b08-b1b0-09d5527dd227 UUID=a1c581fc-0c74-4e68-b78e-4e26a0695f5d oam_interface=enp0s3 -infrastructure_interface=enp0s4 +cluster_host_interface=enp0s4 sdn_enabled=no region_config=no region_1_name=Region1 diff --git a/tsconfig/tsconfig/tsconfig/tsconfig.py b/tsconfig/tsconfig/tsconfig/tsconfig.py index b654b554..0a897000 100644 --- a/tsconfig/tsconfig/tsconfig/tsconfig.py +++ b/tsconfig/tsconfig/tsconfig/tsconfig.py @@ -23,7 +23,7 @@ region_2_name = None vswitch_type = None management_interface = None oam_interface = None -infrastructure_interface = None +cluster_host_interface = None sdn_enabled = "no" host_uuid = None install_uuid = None @@ -111,10 +111,10 @@ def _load(): if config.has_option('platform_conf', 'oam_interface'): oam_interface = str(config.get('platform_conf', 'oam_interface')) - global infrastructure_interface - if config.has_option('platform_conf', 'infrastructure_interface'): - infrastructure_interface = str(config.get('platform_conf', - 'infrastructure_interface')) + global cluster_host_interface + if config.has_option('platform_conf', 'cluster_host_interface'): + cluster_host_interface = str(config.get('platform_conf', + 'cluster_host_interface')) global sdn_enabled if config.has_option('platform_conf', 'sdn_enabled'): sdn_enabled = str(config.get('platform_conf', 'sdn_enabled'))