ryu.topology.api: request ryu.topology.switches

Signed-off-by: YAMAMOTO Takashi <yamamoto@valinux.co.jp>
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
This commit is contained in:
YAMAMOTO Takashi 2014-02-21 17:14:07 +09:00 committed by FUJITA Tomonori
parent a9d7f1b199
commit d70c9aed32

View File

@ -13,6 +13,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
from ryu.base import app_manager
from ryu.topology import event
@ -32,3 +33,6 @@ def get_link(app, dpid=None):
def get_all_link(app):
return get_link(app)
app_manager.require_app('ryu.topology.switches')