mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
Do not initialize contrail plugin component functionality like db sync, network offerring creation when contrail is not installed
This commit is contained in:
parent
9b21da65d1
commit
cc8bde2421
@ -168,6 +168,9 @@ public class ContrailManagerImpl extends ManagerBase implements ContrailManager
|
||||
|
||||
@Override
|
||||
public boolean start() {
|
||||
if (_api == null) {
|
||||
return true;
|
||||
}
|
||||
/* Start background task */
|
||||
_dbSyncTimer = new Timer("DBSyncTimer");
|
||||
try {
|
||||
@ -301,8 +304,7 @@ public class ContrailManagerImpl extends ManagerBase implements ContrailManager
|
||||
String hostname = null;
|
||||
int port = 0;
|
||||
if (configFile == null) {
|
||||
hostname = "localhost";
|
||||
port = 8082;
|
||||
return false;
|
||||
} else {
|
||||
final Properties configProps = new Properties();
|
||||
configProps.load(new FileInputStream(configFile));
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user