commit | 7b2ab4a7dafcf9f3c4924b502d38424fc553cdd9 | [log] [tgz] |
---|---|---|
author | Naoki Shiota <n-shiota@onlab.us> | Wed Dec 04 18:05:39 2013 -0800 |
committer | Naoki Shiota <n-shiota@onlab.us> | Wed Dec 04 18:05:39 2013 -0800 |
tree | 39d894b8f29e5a8eb012033080cf593ae092c895 | |
parent | 71fff007592667c0902281cf4e9d2e62239c0092 [diff] [blame] |
Added REST API and CLI for FlowSynchronizer.
diff --git a/src/main/java/net/onrc/onos/ofcontroller/flowprogrammer/web/FlowProgrammerWebRoutable.java b/src/main/java/net/onrc/onos/ofcontroller/flowprogrammer/web/FlowProgrammerWebRoutable.java index 00d7fc9..22450f7 100644 --- a/src/main/java/net/onrc/onos/ofcontroller/flowprogrammer/web/FlowProgrammerWebRoutable.java +++ b/src/main/java/net/onrc/onos/ofcontroller/flowprogrammer/web/FlowProgrammerWebRoutable.java
@@ -15,6 +15,8 @@ router.attach("/pusher/suspend/{dpid}/json", SuspendPusherResource.class); router.attach("/pusher/resume/{dpid}/json", ResumePusherResource.class); router.attach("/pusher/barrier/{dpid}/json", SendBarrierResource.class); + router.attach("/synchronizer/sync/{dpid}/json", DoSynchronizeResource.class); + router.attach("/synchronizer/interrupt/{dpid}/json", DoInterruptResource.class); return router; }