ifconfig/dmesg: Fix MAC address format

For example, if we set MAC address 0e:0f:2b:ec:e8:15,OSv will display
e:f:2b:ec:e8:15 using ifconfig or dmesg command.

Signed-off-by: Haifeng Gao <gaohaifeng.gao@huawei.com>
Signed-off-by: Pekka Enberg <penberg@cloudius-systems.com>
Http Server: file length was missing in file API

File length was missing in the file API. This adds the missing attribute
and adds a test to verify all the attribute in the file API.

Signed-off-by: Amnon Heiman <amnon@cloudius-systems.com>
Signed-off-by: Pekka Enberg <penberg@cloudius-systems.com>
jvm_balloon: Add API to get the JVM balloon size

This adds an api with its own header file to return the balloon size.
Using a separate header file, removes the dependencies in other headers
such as JNI.

Reviewed-by: Glauber Costa <glommer@cloudius-systems.com>
Signed-off-by: Amnon Heiman <amnon@cloudius-systems.com>
Signed-off-by: Pekka Enberg <penberg@cloudius-systems.com>
Http Server: Add an API to return the balloon size

This adds an API that returns the balloon size. To test call:

GET: http://localhost:8000/os/memory/balloon

Signed-off-by: Amnon Heiman <amnon@cloudius-systems.com>
Signed-off-by: Pekka Enberg <penberg@cloudius-systems.com>