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

Class OpenFlowInterface

source code


OpenFlowInterface(id, leaf_name, module_name, name, available, status_change_timestamp, aggregate_id, resource_ptr_id, port_num, switch_id, slug)

Nested Classes [hide private]
  Meta
  DoesNotExist
  Extend
  MultipleObjectsReturned

Inherited from expedient.common.extendable.models.Extendable: __metaclass__

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

Inherited from expedient.clearinghouse.resources.models.Resource: get_next_by_status_change_timestamp, get_previous_by_status_change_timestamp, update_timestamp

Inherited from expedient.common.extendable.models.Extendable: __init__, as_leaf_class, is_instance_of

Inherited from django.db.models.base.Model: __eq__, __hash__, __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]
  port_num = models.IntegerField()
  switch = models.ForeignKey(OpenFlowSwitch)
  ingress_neighbors = models.ManyToManyField('self', symmetrical...
  slug = AutoSlugField(populate_from= lambda instance: "%s_%s" %...
  _default_manager = <expedient.common.extendable.models.Extenda...
  _meta = <Options for OpenFlowInterface>
  egress_connections = <django.db.models.fields.related.ForeignR...
  egress_neighbors = <django.db.models.fields.related.ManyRelate...
  ingress_connections = <django.db.models.fields.related.Foreign...
  nonopenflow_connections = <django.db.models.fields.related.For...
  resource_ptr = <django.db.models.fields.related.ReverseSingleR...

Inherited from expedient.clearinghouse.resources.models.Resource: dummyresource, openflow_connections, openflowinterface, openflowswitch, planetlabnode, sliver_set

Inherited from expedient.common.extendable.models.Extendable: leaf_name, module_name

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

Instance Variables [hide private]

Inherited from expedient.clearinghouse.resources.models.Resource: aggregate, available, name, slice_set, status_change_timestamp

Properties [hide private]

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

Inherited from object: __class__

Method Details [hide private]

__unicode__(self)

source code 
Overrides: expedient.clearinghouse.resources.models.Resource.__unicode__

_base_manager(...)

 
Overrides: expedient.clearinghouse.resources.models.Resource._base_manager

objects(...)

 
Overrides: expedient.common.extendable.models.Extendable.objects

Class Variable Details [hide private]

ingress_neighbors

Value:
models.ManyToManyField('self', symmetrical= False, related_name= "egre\
ss_neighbors", through= OpenFlowConnection,)

slug

Value:
AutoSlugField(populate_from= lambda instance: "%s_%s" %(instance.switc\
h.datapath_id, instance.port_num), slugify= as_is_slugify, editable= F\
alse,)

_default_manager

Value:
<expedient.common.extendable.models.ExtendableManager object at 0x8f9b\
acc>

egress_connections

Value:
<django.db.models.fields.related.ForeignRelatedObjectsDescriptor objec\
t at 0x8f9bc4c>

egress_neighbors

Value:
<django.db.models.fields.related.ManyRelatedObjectsDescriptor object a\
t 0x8f9bd0c>

ingress_connections

Value:
<django.db.models.fields.related.ForeignRelatedObjectsDescriptor objec\
t at 0x8f9bc8c>

nonopenflow_connections

Value:
<django.db.models.fields.related.ForeignRelatedObjectsDescriptor objec\
t at 0x8f9bccc>

resource_ptr

Value:
<django.db.models.fields.related.ReverseSingleRelatedObjectDescriptor \
object at 0x8f9ba4c>