Permalink
Browse files

added site vlan interfaces

  • Loading branch information...
1 parent e1bfb53 commit 863c1d4121dc31ba2abb469e1179c9085c93b42e @uberj uberj committed May 30, 2013
Showing with 22 additions and 0 deletions.
  1. +22 −0 invtool/core_dispatch.py
View
@@ -38,3 +38,25 @@ class DispatchNetwork(CoreDispatch):
registrar.register(DispatchNetwork())
+
+
+class DispatchSite(CoreDispatch):
+ resource_name = 'site'
+ dtype = 'SITE'
+ dgroup = 'core'
+
+ detail_args = [detail_pk_argument('pk', dtype)]
+
+
+registrar.register(DispatchSite())
+
+
+class DispatchVlan(CoreDispatch):
+ resource_name = 'vlan'
+ dtype = 'VLAN'
+ dgroup = 'core'
+
+ detail_args = [detail_pk_argument('pk', dtype)]
+
+
+registrar.register(DispatchVlan())

0 comments on commit 863c1d4

Please sign in to comment.