You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
akumas 67691da99b search don't match cell name 8 months ago
src search don't match cell name 8 months ago
.gitignore first commit 2 years ago add search guests/modify auto start 8 months ago
LICENSE first commit 2 years ago first commit 2 years ago
core_service.go add stub for search guests/modify auto start 8 months ago
core_transaction_manager.go add search guests/modify auto start 8 months ago
daemon.go 1.1.1 submit 2 years ago
go.mod Optimize the strategy and error output of computing pool allocation 1 year ago
go.sum 1.2 - 50%: templates generate/save/load 2 years ago



The Core is the module responsible for managing resources and instances. It embeds an image server that handles media and disk images.

All functions of Nano provide as REST API of the Core, any command or request need process should submit to the Core.

It is also the stub of network discovery, so remember to start the Core before any other modules.

Binary release found here

See more detail for Quick Guide

Official Site:




Assume that the golang lib installed in the '/home/develop/go', and source code downloaded in the path '/home/develop/nano/core'.

Set environment variable GOPATH before compiling

#git clone
#cd core
#export GOPATH="/home/develop/go:/home/develop/nano/core"
#go build -o core -i -ldflags="-w -s"

Command Line

All Nano modules provide the command-line interface, and called like :

< module name > [start | stop | status | halt]

  • start: start module service, output error message when start failed, or version information.
  • stop: stops the service gracefully. Releases allocated resources and notify any related modules.
  • status: checks if the module is running.
  • halt: terminate service immediately.

You can call the Core module both in the absolute path and relative path.

#cd /opt/nano/core
#./core start


#/opt/nano/core/core start

Please check the log file "log/core.log" when encountering errors.


All configure files stores in the path: config

Domain Configuration

Filename: domain.cfg

See more detail about Domain

Parameter Description
domain The name of a communication domain, like 'nano' in default, only allows characters.
group_port Multicast port, 5599 in default
group_address Multicast address, '' in default.
listen_address Listening Address of the core service,string in the IPv4 format

API Configuration

Filename: api.cfg

Parameter Description
port listening port of REST API, 5850 in default

Image Server Configuration


Parameter Description
cert_file the file-path of TLS certificate used in image transportation
key_file the file-path of TLS key used in image transportation