OpenDaylight实战手记(六)添加流表流程(North-To-South)

1org.opendaylight.controller.flows.web.Flows:

public String actionFlow(@RequestParam(required =true) String action,@RequestParam(required =false) String body,

           @RequestParam(required =true) String nodeId, HttpServletRequest request,

           @RequestParam(required =false) String container)

2org.opendaylight.controller.forwardingrulesmanager.internal.ForwardingRulesManager:

public Status addStaticFlow(FlowConfig config)

3opendaylight.controller.sal.implementation.internal. FlowProgrammerService:

public Status addFlow(Node node, Flow flow)

4rg.opendaylight.controller.protocol_plugin.openflow.core.internal.SwitchHandler:

private Object syncMessageInternal(OFMessage msg, int xid, boolean syncRequest),这个方法使用Controller对象获取Socke信息,Controller是整个南向OpenFlow Plugin的总控

你可能感兴趣的:(OpenDaylight)