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

来源:互联网 发布:中国影响力 知乎 编辑:程序博客网 时间:2024/06/01 07:55

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的总控

0 0