Example #1
0
 def _create():
     vendor = self._get_vendor(oid)
     type_ = manage.NetboxType(
         vendor=vendor,
         name=str(oid),
         sysobjectid=str(oid).strip("."),
         description=description,
     )
     type_.save()
     return type_
Example #2
0
 class Meta(object):
     model = manage.NetboxType()
     fields = '__all__'
Example #3
0
 class Meta(object):
     model = manage.NetboxType()