updated set method to so tests pass on CentOS
Merge branch 'master' of github.com:ooici/port_agent