1
2
3
4
5
6
7
8
9
10
11 import Globals
12 from AccessControl import Permissions
13 from Products.ZenModel.ZenossSecurity import *
14
15 from Products.ZenRelations.RelSchema import *
16
17 from MibBase import MibBase
18
20
21
22 access = ""
23
24 _properties = MibBase._properties + (
25 {'id':'access', 'type':'string', 'mode':'w'},
26 )
27
28 _relations = MibBase._relations + (
29 ("module", ToOne(ToManyCont, "Products.ZenModel.MibModule", "nodes")),
30 )
31
32
33 factory_type_information = (
34 {
35 'immediate_view' : 'viewMibNode',
36 'actions' :
37 (
38 { 'id' : 'overview'
39 , 'name' : 'Overview'
40 , 'action' : 'viewMibNode'
41 , 'permissions' : ( Permissions.view, )
42 },
43 )
44 },
45 )
46