The nova.objects.security_group_rule Module

class SecurityGroupRule(context=None, **kwargs)

Bases: nova.objects.base.NovaPersistentObject, nova.objects.base.NovaObject

VERSION = '1.1'
cidr
create(*args, **kwargs)
created_at
deleted
deleted_at
fields = {'protocol': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'cidr': IPNetwork(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'from_port': Integer(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'grantee_group': Object(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'deleted_at': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'created_at': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'id': Integer(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'parent_group': Object(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'deleted': Boolean(default=False,nullable=False), 'updated_at': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'to_port': Integer(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True)}
from_port
classmethod get_by_id(context, *args, **kwargs)
grantee_group
id
parent_group
protocol
to_port
updated_at
class SecurityGroupRuleList(*args, **kwargs)

Bases: nova.objects.base.ObjectListBase, nova.objects.base.NovaObject

VERSION = '1.2'
fields = {'objects': List(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False)}
classmethod get_by_instance(context, instance)
classmethod get_by_instance_uuid(context, *args, **kwargs)
classmethod get_by_security_group(context, security_group)
classmethod get_by_security_group_id(context, *args, **kwargs)
objects

Previous topic

The nova.objects.security_group Module

Next topic

The nova.objects.service Module

Project Source

This Page