常用服务
@Reference(cardinality = ReferenceCardinality.MANDATORY_UNARY)
protected TopologyService topologyService ;//用于提供网络拓补信息
@Reference(cardinality = ReferenceCardinality.MANDATORY_UNARY)
protected PacketService packetService ;
//Service for intercepting data plane packets and for emitting synthetic outbound packets.
//用于截获数据包信息、构建并发送数据包
@Reference(cardinality = ReferenceCardinality.MANDATORY_UNARY)
protected HostService hostService ;
//Service for interacting with the inventory of end-station hosts.
//用于与终端主机交互
@Reference(cardinality = ReferenceCardinality.MANDATORY_UNARY)
protected FlowRuleService flowRuleService ;
//Service for injecting flow rules into the environment
//and for obtaining information about flow rules already in the environment.
//This implements semantics of a distributed authoritative flow table
//where the master copy of the flow rules lies with the controller and t