Package openflow :: Package plugin :: Module models :: Class OpenFlowConnection
[hide private]
[frames] | no frames]

Class OpenFlowConnection

source code


Connection between two interfaces

Nested Classes [hide private]
  Meta
  DoesNotExist
  MultipleObjectsReturned

Inherited from django.db.models.base.Model: __metaclass__

Instance Methods [hide private]
 
__unicode__(self) source code
 
objects(...)

Inherited from django.db.models.base.Model: __eq__, __hash__, __init__, __ne__, __reduce__, __repr__, __str__, clean, clean_fields, date_error_message, delete, full_clean, prepare_database_save, save, save_base, serializable_value, unique_error_message, validate_unique

Inherited from django.db.models.base.Model (private): _collect_sub_objects, _get_FIELD_display, _get_next_or_previous_by_FIELD, _get_next_or_previous_in_order, _get_pk_val, _get_unique_checks, _perform_date_checks, _perform_unique_checks, _set_pk_val

Inherited from object: __delattr__, __format__, __getattribute__, __new__, __reduce_ex__, __setattr__, __sizeof__, __subclasshook__

Class Variables [hide private]
  src_iface = models.ForeignKey("OpenFlowInterface", related_nam...
  dst_iface = models.ForeignKey("OpenFlowInterface", related_nam...
  slug = AutoSlugField(populate_from= lambda instance: "%s_%s_%s...
  _base_manager = <django.db.models.manager.Manager object at 0x...
  _default_manager = <django.db.models.manager.Manager object at...
  _meta = <Options for OpenFlowConnection>

Inherited from django.db.models.base.Model (private): _deferred

Properties [hide private]

Inherited from django.db.models.base.Model: pk

Inherited from object: __class__

Class Variable Details [hide private]

src_iface

Value:
models.ForeignKey("OpenFlowInterface", related_name= "ingress_connecti\
ons")

dst_iface

Value:
models.ForeignKey("OpenFlowInterface", related_name= "egress_connectio\
ns")

slug

Value:
AutoSlugField(populate_from= lambda instance: "%s_%s_%s_%s" %(instance\
.src_iface.switch.datapath_id, instance.src_iface.port_num, instance.d\
st_iface.switch.datapath_id, instance.dst_iface.port_num,), slugify= a\
s_is_slugify, editable= False,)

_base_manager

Value:
<django.db.models.manager.Manager object at 0x8f9b0ec>

_default_manager

Value:
<django.db.models.manager.Manager object at 0x8f9b0ec>