Table of Contents |
---|
Excerpt | |||||
---|---|---|---|---|---|
|
UI properties for client-config-custom.json
...
- All client.backup properties
Change browser tab name for Abiquo
...
UI
...
You can change the name of this tab in the custom language files. See Abiquo UI Client Language Configuration#CustomizeBrowserTabName
UI configuration properties
The default values are set in the client-config-default.json filejson file. You can override the default values in the client-config-custom.json file. By default these files are located in the /var/www/html/ui/config folder.
Warning |
---|
When customizing client UI with values in the client-config-custom.json file, you must:
|
Property _______________________ | Description _______________________ | Example | ||
---|---|---|---|---|
config.languages | Language definitions for each language file with a set of translated labels. Consists of:
| {"value":"en_US","name":"English","isDefault":true}, | ||
config.keymaps | See Configure Remote Access to Virtual Machines#GUIConfiguration. Note: In Abiquo 3.8, the default noVNC remote access application does not support keyboard customization | {"value":"us", "name":"US English", "isDefault":true}, | ||
config.protocols |
To get an idea of how these protocols look in the UI, see Manage Firewalls | {"value":"Custom protocol", "protocol":"", "port":"-" }, | ||
config.loadbalancerprotocols | Predfined protocols and preset options for load balancers. Very similar to the Firewall protocols. To get an idea of how these protocols look in the UI, see Manage Load Balancers | {"value":"Custom protocol", "protocol":"", "port":"-" }, | ||
config.loadbalanceralgorithms | ROUND_ROBIN","LEAST_CONNECTIONS","SOURCE_IP" | |||
config.loadbalancerroutingrulesprotocols | "TCP","HTTP","HTTPS" | |||
config.loadbalancerhealthcheckprotocols | "PING","TCP","HTTP","HTTPS" | |||
config.loadbalanceraddressesreuse | false | |||
config.monitoringstatistics | Monitoring statistics can restrict the available metrics | {"value":"average", "name":"Average"}, | ||
config.monitoringperiods | {"value":"hours", "name":"Hours"}, | |||
egg.speak | Speak error messages with Egg Speak. By default, this experimental feature is not enabled | false | ||
config.endpoint |
| From Abiquo 4.0, the default is the domain URL e.g. https://myabiquoserver.bcn.abiquo.com/api | ||
api.version |
| 3.10 | ||
client.id |
| "abiquo_client_id" | ||
client.backto.url |
| |||
client.modalblocker.timeout.milliseconds |
| 800 | ||
client.themes | See Abiquo Branding Guide and Abiquo Branding Admin Guide | ["abicloudDefault"] | ||
client.window.title | Browser tab title for Abiquo window | ["Abiquo"] | ||
client.google.analytics.id | ||||
client.google.analytics.url | ||||
rdpaccess.usesslproxy | If false, allow insecure HTTP connections to Hyper-V VMs (not recommended). | true | ||
client.captcha.publickey | Captcha public key. When users can reset their passwords in Abiquo, you can use ReCaptcha. To enable ReCaptcha for Abiquo, request keys from this link: https://www.google.com/recaptcha/admin#createsite. Set the private key value for abiquo.captcha.private.key in abiquo.properties. See Abiquo Configuration Properties#captcha. See also Configuration View#Password | |||
client.external.js.loader.url |
| externaljsloadertemplate.html | ||
client.google.maps.enabled |
| true | ||
client.google.maps.key |
| |||
client.password.recovery | If the system property to Allow password reset is false (see Configuration View#Password), set this option to false to hide the "Forgot your password" link. | true | ||
client.remoteaccess.novnc.host |
| |||
client.remoteaccess.novnc.port |
| 41337 | ||
client.offline |
| false | ||
config.enterprise.properties | ||||
client.backup |
| |||
client.openid.enabled |
| true | ||
client.openid.skip.login.view |
| true | ||
client.header.link.usersmanagement | URL of external link to open from users management button in main menu. See Add external link in Abiquo header menu | |||
client.footer.about.hide | Hide external About link in footer | false | ||
client.footer.support.footer.support.hide | Hide external Support link in footer | falsehide | Hide external Support link in footer | false |
client.wiki.version | Wiki space to use for wiki links to Abiquo documentation, for example, "doc" for current version or "ABI40" after a new version is released | "doc" |
Examples of Custom and Default UI configuration
Abiquo
...
4.
...
0 client-config-custom.json
Add only your changes to the configuration. You should always check If your client endpoint is different to the API endpoint, set the config.endpoint and if necessary set it. See #Configure API Endpoint. And for example, set the config.languages to keep the English language and add the Spanish language to your user interface. Abiquo will load the Spanish language file.
Code Block |
---|
{ "config.endpoint": "http://examplea.differenturl.com/api", "config.languages":[ { "value":"en_US", "name":"English", "isDefault":true } { "value":"es_ES", "name":"Spanish", "isDefault":false } ] } |
Abiquo
...
4.
...
0 client-config-default.json
A sample file is included here. Note that Abiquo will replace the api.location and api.version variables during the install process - see below for further details.
For example
Expand |
---|
code
{ "config.languages" : [ {"value":"en_US", "name":"English", "isDefault":true, "lcid":"1033"} ], "config.keymaps" : [ {"value":"us", "name":"US English", "isDefault":true}, {"value":"uk", "name":"UK English"}, {"value":"es", "name":"Español"} ], "config.protocols" : [ {"value":"Custom protocol", "protocol":"", "port":"-" }, {"value":"Own TCP rule", "protocol":"TCP", "port":"-" }, {"value":"Own UDP rule", "protocol": "UDP", "port":"-" }, {"value":"All Traffic", "protocol":"ALL", "port":"ALL" }, {"value":"All TCP", "protocol":"TCP", "port":"ALL" }, {"value":"All UDP", "protocol":"UDP", "port":"ALL" }, {"value":"All ICMP", "protocol":"ICMP", "port":"ALL" }, {"value":"SSH", "protocol":"TCP", "port":22 }, {"value":"SMTP", "protocol":"TCP", "port":25 }, {"value":"DNS", "protocol":"UDP", "port":53 }, {"value":"HTTP", "protocol":"TCP", "port":80 }, {"value":"POP3", "protocol":"TCP", "port":110 }, {"value":"IMAP", "protocol":"TCP", "port":143 }, {"value":"LDAP", "protocol":"TCP", "port":389 }, {"value":"HTTPS", "protocol":"TCP", "port":443 }, {"value":"SMTPS", "protocol":"TCP", "port":465 }, {"value":"IMAPS", "protocol":"TCP", "port":993 }, {"value":"POP3S", "protocol":"TCP", "port":995 }, {"value":"MS SQL", "protocol":"TCP", "port":1433 }, {"value":"MYSQL", "protocol":"TCP", "port":3306 }, {"value":"RDP", "protocol":"TCP", "port":3389 } ], "config.loadbalancerprotocols" : [ {"value":"DNS_TCP", "protocol":"TCP", "port":53}, {"value":"DNS_UDP", "protocol":"UDP", "port":53}, {"value":"FTP", "protocol":"FTP", "port":21}, {"value":"HTTP", "protocol":"HTTP", "port":80}, {"value":"HTTPS", "protocol":"HTTPS", "port":443}, {"value":"IMAPS", "protocol":"IMAPS", "port":993}, {"value":"IMAPv2", "protocol":"IMAP", "port":143}, {"value":"IMAPv3", "protocol":"IMAP", "port":220}, {"value":"IMAPv4", "protocol":"IMAP", "port":143}, {"value":"LDAP", "protocol":"LDAP", "port":389}, {"value":"LDAPS", "protocol":"LDAPS", "port":636}, {"value":"MYSQL", "protocol":"MYSQL", "port":3306}, {"value":"POP3", "protocol":"POP3", "port":110}, {"value":"POP3S", "protocol":"POP3S", "port":995}, {"value":"SFTP", "protocol":"SFTP", "port":22}, {"value":"SMTP", "protocol":"SMTP", "port":25}, {"value":"TCP", "protocol":"TCP", "port":"-" }, {"value":"TCP_CLIENT_FIRST", "protocol":"TCP", "port":"-" }, {"value":"UDP", "protocol":"UDP", "port":"-" }, {"value":"UDP_STREAM", "protocol":"UDP", "port":"-" }, {"value":"SSL", "protocol":"SSL", "port":443 } ], "config.loadbalanceralgorithms" : ["ROUND_ROBIN","LEAST_CONNECTIONS","SOURCE_IP"], "config.loadbalancerroutingrulesprotocols" : ["TCP","HTTP","HTTPS"], "config.loadbalancerhealthcheckprotocols" : ["PING","TCP","HTTP","HTTPS"], "config.loadbalanceraddressessreuse" : false, "config.monitoringstatistics" : [ {"value":"average", "name":"Average"}, {"value":"maximum", "name":"Maximum"}, {"value":"minimum", "name":"Minimum"}, {"value":"sum", "name":"Sum"}, {"value":"count", "name":"Count"}, {"value":"dev", "name":"Deviation"} ], "config.monitoringperiods" : [ {"value":"hours", "name":"Hours"}, {"value":"days", "name":"Days"} ], "egg.speak": "false", "config.endpoint": "${api.location}", "api.version":"${api.version}", "client.id":"abiquo_client_id", "client.backto.url": "", "client.modalblocker.timeout.milliseconds": 800, "client.themes" : [ "abicloudDefault" ],] "client.window.title": "Abiquo", "client.poweredby.hide" : false, "client.google.analytics.id":"UA-51859366-1", "client.google.analytics.url":"abiquo.com", "rdpaccess.usesslproxy":true, "client.captcha.publickey" : "", "client.external.js.loader.url" : "externaljsloadertemplate.html", "client.google.maps.enabled": true, "client.google.maps.key": "", "client.password.recovery": true, "client.remoteaccess.novnc.host": "", "client.remoteaccess.novnc.port": "41337", "client.offline":false, "config.enterprise.properties" : [], "client.backup.policies.poweredvmeditable": false, "client.backup.policies.multipleselectionallowed": false, "client.openid.enabled": false, "client.openid.skip.login.view": false, "client.header.link.usersmanagement":"", "client.footer.about.hide" : false, "client.footer.support.hide" : false, "client.wiki.version" : "doc" } |