git clone https://github.com/intel/multus-cni.git
cd multus-cni
./build
Multus has go unit tests (based on ginkgo framework).The following commands drive CI tests manually in your environment:
sudo ./test.sh
Following are multus logging best practices:
- Add
logging.Debugf()at the begining of functions - In case of error handling, use
logging.Errorf()with given error info logging.Panicf()only be used for critical errors (it should NOT normally be used)
TBD