Implement port add/del call back function

Implement port add/del call back function