Example #1
0
 def refresh(self):
     self._from_db_object(self._context, self,
                          db.security_group_get(self._context, self.id))
Example #2
0
 def refresh(self):
     self._from_db_object(self._context, self,
                          db.security_group_get(self._context, self.id))
Example #3
0
 def get(cls, context, secgroup_id):
     db_secgroup = db.security_group_get(context, secgroup_id)
     return cls._from_db_object(context, cls(), db_secgroup)
Example #4
0
 def get(cls, context, secgroup_id):
     db_secgroup = db.security_group_get(context, secgroup_id)
     return cls._from_db_object(context, cls(), db_secgroup)