Girish Ramakrishnan
1b307632ab
Use debug instead of console.* everywhere
...
No need to patch up console.* anymore
also removes supererror
2020-08-02 12:04:55 -07:00
Girish Ramakrishnan
3623831390
Typo
2019-12-04 10:23:16 -08:00
Johannes Zellner
3354cb8ebe
Add network interface check
2019-11-05 15:03:36 +01:00
Girish Ramakrishnan
a829ab44f1
sysinfo: remove the ec2 and scaleway providers
...
we can just use the generic one for those as well
2019-10-30 09:13:01 -07:00
Girish Ramakrishnan
82a7befb92
Fix crashes
2019-10-29 20:33:32 -07:00
Girish Ramakrishnan
8232d471a3
Add route to set/get sysinfo
2019-10-29 20:08:45 -07:00
Girish Ramakrishnan
813454ca82
sysinfo: Add static and network intf providers
2019-10-29 16:12:58 -07:00
Girish Ramakrishnan
7d987d7c79
make sysinfo provider a setting
2019-10-29 15:56:50 -07:00
Girish Ramakrishnan
ad9097d212
Remove various uses of INTERNAL_ERROR
...
INTERNAL_ERROR now means there really was some internal error
2019-10-24 18:32:36 -07:00
Girish Ramakrishnan
332f2e7c10
Move SysInfoError to BoxError
2019-10-22 14:09:44 -07:00
Girish Ramakrishnan
9b74bb73aa
config.js is dead, long live config.js
...
we use settings now
2019-07-26 14:51:51 -07:00
Girish Ramakrishnan
a2d8ef7c63
remove more caas related code
2019-05-08 15:36:34 -07:00
Girish Ramakrishnan
db6404a7c6
SysInfo.EXTERNAL_ERROR is undefined
2019-01-24 14:58:28 -08:00
Johannes Zellner
0cc3f08ae7
Add missing requires for scaleway sysinfo backend
2019-01-21 14:26:56 +01:00
Girish Ramakrishnan
4b642a407f
remove caas dep from tests
2018-01-18 13:50:57 -08:00
Girish Ramakrishnan
4d3c6f7caa
better error message
2017-05-09 11:24:47 -07:00
Girish Ramakrishnan
32e2377828
sysinfo: getIp -> getPublicIp
2017-02-23 22:03:48 -08:00
Johannes
756b36d227
Ask the api server for public ip instead of local interface
...
Part of #106 and #86
Might fix #115 pending testing
2016-11-29 16:20:56 +01:00
Girish Ramakrishnan
2be17eeb52
Add semi-tested scaleway backend
2016-10-11 19:47:27 -07:00
Girish Ramakrishnan
f2948483df
rename eth0 to generic
...
sysinfo caters to more than IP...
2016-10-08 16:40:58 -07:00
Girish Ramakrishnan
72f287c4e5
Fix typos
2016-10-07 14:19:44 -07:00
Girish Ramakrishnan
e456c4b39c
Add eth0 sysinfo backend
2016-10-07 14:09:20 -07:00
Girish Ramakrishnan
0ae1238233
Add sysinfo interface definition
2016-10-07 14:09:20 -07:00
Girish Ramakrishnan
28c8aa3222
Do not use Floating IP
...
We do not use a floating IP for 3 reasons:
1. The PTR record is not set to floating IP.
2. The outbound interface is not changeable to floating IP.
3. there are reports that port 25 on floating IP is blocked.
2016-09-15 22:14:21 -07:00
Girish Ramakrishnan
c1bb264065
Set a timeout for superagent
...
The default is 'no timeout' and it will wait for the response forever.
https://github.com/visionmedia/superagent/issues/17#issuecomment-207742985
2016-09-12 13:06:18 -07:00
Girish Ramakrishnan
375082c1ae
make tests pass
2016-09-06 13:33:12 -07:00
Johannes Zellner
1b54f5f797
Support both floating and non fixed ips
2016-09-06 15:43:43 +02:00
Johannes Zellner
9fcaebcf98
Return digitalocean floating ip for caas cloudrons in sysinfo
2016-09-06 15:43:43 +02:00
Johannes Zellner
3886006343
Implement ec2 sysinfo backend
2016-01-05 14:33:33 +01:00
Johannes Zellner
0319445888
Make sysinfo based on provider
2016-01-05 12:10:25 +01:00