from weblab.admin.script import Creation

APACHE_CONF_NAME = 'apache.conf'
MIN_PORT = 10000

DEFAULT_DEPLOYMENT_SETTINGS = {
    Creation.COORD_ENGINE: 'redis',
    Creation.COORD_REDIS_DB: 0,
    Creation.COORD_REDIS_PORT: 6379,
    Creation.DB_ENGINE: 'mysql',
    Creation.ADMIN_USER: 'CHANGE_ME', # --admin-user=admin
    Creation.ADMIN_NAME: 'CHANGE_ME', #  --admin-name=(lo que diga)
    Creation.ADMIN_PASSWORD: 'CHANGE_ME', # --admin-password=(lo que diga)
    Creation.ADMIN_MAIL: 'CHANGE_ME', # --admin-mail=(lo que diga)
    Creation.START_PORTS: 'CHANGE_ME', # --start-port=10000
    Creation.SYSTEM_IDENTIFIER: 'CHANGE_ME', # -i (nombre de la uni, puede tener espacios)
    Creation.SERVER_HOST: 'weblab.deusto.es', # --server-host=(de settings)
    Creation.ENTITY_LINK: 'http://www.deusto.es/', # --entity-link= http://www.deusto.es/
    Creation.CORES: 3, 

}

from weblab.admin.script import Creation

APACHE_CONF_NAME = 'apache.conf'
MIN_PORT = 10000

DEFAULT_DEPLOYMENT_SETTINGS = {
    Creation.COORD_ENGINE: 'redis',
    Creation.COORD_REDIS_DB: 0,
    Creation.COORD_REDIS_PORT: 6379,
    Creation.DB_ENGINE: 'mysql',
    Creation.ADMIN_USER: 'CHANGE_ME', # --admin-user=admin
    Creation.ADMIN_NAME: 'CHANGE_ME', #  --admin-name=(lo que diga)
    Creation.ADMIN_PASSWORD: 'CHANGE_ME', # --admin-password=(lo que diga)
    Creation.ADMIN_MAIL: 'CHANGE_ME', # --admin-mail=(lo que diga)
    Creation.START_PORTS: 'CHANGE_ME', # --start-port=10000
    Creation.SYSTEM_IDENTIFIER: 'CHANGE_ME', # -i (nombre de la uni, puede tener espacios)
    Creation.SERVER_HOST: 'weblab.deusto.es', # --server-host=(de settings)
    Creation.ENTITY_LINK: 'http://www.deusto.es/', # --entity-link= http://www.deusto.es/
    Creation.CORES: 3, 
    Creation.ADD_FEDERATED_LOGIC : True,
    Creation.ADD_FEDERATED_VISIR : True,
    Creation.ADD_FEDERATED_SUBMARINE : True,
}

Add logic, visir and submarine to wcloud
Add logic, visir and submarine to wcloud

  from weblab.admin.script import Creation
  
  APACHE_CONF_NAME = 'apache.conf'
  MIN_PORT = 10000
  
  DEFAULT_DEPLOYMENT_SETTINGS = {
      Creation.COORD_ENGINE: 'redis',
      Creation.COORD_REDIS_DB: 0,
      Creation.COORD_REDIS_PORT: 6379,
      Creation.DB_ENGINE: 'mysql',
      Creation.ADMIN_USER: 'CHANGE_ME', # --admin-user=admin
      Creation.ADMIN_NAME: 'CHANGE_ME', #  --admin-name=(lo que diga)
      Creation.ADMIN_PASSWORD: 'CHANGE_ME', # --admin-password=(lo que diga)
      Creation.ADMIN_MAIL: 'CHANGE_ME', # --admin-mail=(lo que diga)
      Creation.START_PORTS: 'CHANGE_ME', # --start-port=10000
      Creation.SYSTEM_IDENTIFIER: 'CHANGE_ME', # -i (nombre de la uni, puede tener espacios)
      Creation.SERVER_HOST: 'weblab.deusto.es', # --server-host=(de settings)
      Creation.ENTITY_LINK: 'http://www.deusto.es/', # --entity-link= http://www.deusto.es/
      Creation.CORES: 3, 
- 
+     Creation.ADD_FEDERATED_LOGIC : True,
+     Creation.ADD_FEDERATED_VISIR : True,
+     Creation.ADD_FEDERATED_SUBMARINE : True,
  }
  
Add logic, visir and submarine to wcloud
## Code Before:
from weblab.admin.script import Creation

APACHE_CONF_NAME = 'apache.conf'
MIN_PORT = 10000

DEFAULT_DEPLOYMENT_SETTINGS = {
    Creation.COORD_ENGINE: 'redis',
    Creation.COORD_REDIS_DB: 0,
    Creation.COORD_REDIS_PORT: 6379,
    Creation.DB_ENGINE: 'mysql',
    Creation.ADMIN_USER: 'CHANGE_ME', # --admin-user=admin
    Creation.ADMIN_NAME: 'CHANGE_ME', #  --admin-name=(lo que diga)
    Creation.ADMIN_PASSWORD: 'CHANGE_ME', # --admin-password=(lo que diga)
    Creation.ADMIN_MAIL: 'CHANGE_ME', # --admin-mail=(lo que diga)
    Creation.START_PORTS: 'CHANGE_ME', # --start-port=10000
    Creation.SYSTEM_IDENTIFIER: 'CHANGE_ME', # -i (nombre de la uni, puede tener espacios)
    Creation.SERVER_HOST: 'weblab.deusto.es', # --server-host=(de settings)
    Creation.ENTITY_LINK: 'http://www.deusto.es/', # --entity-link= http://www.deusto.es/
    Creation.CORES: 3, 

}

## Instruction:
Add logic, visir and submarine to wcloud
## Code After:
from weblab.admin.script import Creation

APACHE_CONF_NAME = 'apache.conf'
MIN_PORT = 10000

DEFAULT_DEPLOYMENT_SETTINGS = {
    Creation.COORD_ENGINE: 'redis',
    Creation.COORD_REDIS_DB: 0,
    Creation.COORD_REDIS_PORT: 6379,
    Creation.DB_ENGINE: 'mysql',
    Creation.ADMIN_USER: 'CHANGE_ME', # --admin-user=admin
    Creation.ADMIN_NAME: 'CHANGE_ME', #  --admin-name=(lo que diga)
    Creation.ADMIN_PASSWORD: 'CHANGE_ME', # --admin-password=(lo que diga)
    Creation.ADMIN_MAIL: 'CHANGE_ME', # --admin-mail=(lo que diga)
    Creation.START_PORTS: 'CHANGE_ME', # --start-port=10000
    Creation.SYSTEM_IDENTIFIER: 'CHANGE_ME', # -i (nombre de la uni, puede tener espacios)
    Creation.SERVER_HOST: 'weblab.deusto.es', # --server-host=(de settings)
    Creation.ENTITY_LINK: 'http://www.deusto.es/', # --entity-link= http://www.deusto.es/
    Creation.CORES: 3, 
    Creation.ADD_FEDERATED_LOGIC : True,
    Creation.ADD_FEDERATED_VISIR : True,
    Creation.ADD_FEDERATED_SUBMARINE : True,
}
