Addition of functions to cli driver and minor edit to onosdriver