fix errors in yang and multipartreply factory and portstatus factory