Package openflow :: Package plugin :: Module forms :: Class OpenFlowConnectionSelectionForm
[hide private]
[frames] | no frames]

Class OpenFlowConnectionSelectionForm

source code


A form to select multiple openflow connections.

Nested Classes [hide private]

Inherited from django.forms.forms.Form: __metaclass__

Instance Methods [hide private]
 
__init__(self, of_cnxn_qs, non_of_cnxn_qs, *args, **kwargs)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code

Inherited from django.forms.forms.BaseForm: __getitem__, __iter__, __unicode__, add_initial_prefix, add_prefix, as_p, as_table, as_ul, clean, full_clean, has_changed, hidden_fields, is_multipart, is_valid, non_field_errors, visible_fields

Inherited from django.forms.forms.BaseForm (private): _clean_fields, _clean_form, _get_changed_data, _get_errors, _get_media, _html_output, _post_clean, _raw_value

Inherited from django.utils.encoding.StrAndUnicode: __str__

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

Class Variables [hide private]
  of_connections = forms.ModelMultipleChoiceField(OpenFlowConnec...
  non_of_connections = forms.ModelMultipleChoiceField(NonOpenFlo...
  base_fields = {'of_connections': <django.forms.models.ModelMul...
Properties [hide private]
  media
Provide a description of all media required to render the widgets on this form

Inherited from django.forms.forms.BaseForm: changed_data, errors

Inherited from object: __class__

Method Details [hide private]

__init__(self, of_cnxn_qs, non_of_cnxn_qs, *args, **kwargs)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

Class Variable Details [hide private]

of_connections

Value:
forms.ModelMultipleChoiceField(OpenFlowConnection.objects.all(), widge\
t= forms.CheckboxSelectMultiple, required= False, label= "Existing Ope\
nFlow Connections")

non_of_connections

Value:
forms.ModelMultipleChoiceField(NonOpenFlowConnection.objects.all(), wi\
dget= forms.CheckboxSelectMultiple, required= False, label= "Existing \
Non-OpenFlow Connections")

base_fields

Value:
{'of_connections': <django.forms.models.ModelMultipleChoiceField objec\
t at 0x90ec74c>, 'non_of_connections': <django.forms.models.ModelMulti\
pleChoiceField object at 0x92254ec>}

Property Details [hide private]

media

Provide a description of all media required to render the widgets on this form

Get Method:
unreachable._media(self)