Skip to content
This repository has been archived by the owner on Jan 19, 2022. It is now read-only.

Commit

Permalink
added vlan ro kv interface
Browse files Browse the repository at this point in the history
  • Loading branch information
uberj committed Aug 7, 2013
1 parent 3ff4979 commit e1bfb53
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions invtool/kv/kv_core_dispatch.py
Expand Up @@ -53,3 +53,16 @@ class SiteKV(CoreDispatchKV):


registrar.register(SiteKV())


class VlanKV(CoreDispatchKV):
kv_class = 'vlankeyvalue'
dtype = 'VLAN_kv'
dgroup = 'kv'

detail_args = [detail_pk_argument('kv_pk', dtype)]

kvlist_args = [kvlist_pk_argument('obj_pk', dtype)]


registrar.register(VlanKV())

0 comments on commit e1bfb53

Please sign in to comment.