Module ImportFrom alias alias ImportFrom alias ImportFrom alias ImportFrom alias identifier ImportFrom alias ImportFrom alias Import alias Import alias Import alias TryExcept body Import alias identifier handlers ExceptHandler body Import alias Import alias Import alias Assign NameStore Str Assign NameStore Num Assign NameStore Num ClassDef bases NameLoad body Assign NameStore Str Assign NameStore Str FunctionDef arguments args NameParam defaults vararg kwarg body Expr Str TryExcept body If CompareEq SubscriptLoad NameLoad Index Num Str body Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str Call AttributeLoad NameLoad attr orelse If CompareEq SubscriptLoad NameLoad Index Num Str body Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str Call AttributeLoad NameLoad attr orelse Raise NameLoad handlers ExceptHandler body Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Assign NameStore ListLoad Assign NameStore Str Assign NameStore Call NameLoad NameLoad For NameStore NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str For NameStore NameLoad body TryExcept body Assign NameStore BinOpAdd BinOpAdd Call NameLoad NameLoad Str Call NameLoad AttributeLoad NameLoad attr Print Str NameLoad Str Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad With Call NameLoad NameLoad body Expr Call AttributeLoad AttributeLoad AttributeLoad Call AttributeLoad NameLoad attr attr attr attr NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad name NameStore body Assign NameStore BinOpMod Str TupleLoad Call NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad Expr Call NameLoad Str NameLoad Str ListLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad If NameLoad body Return BinOpMod Str Call NameLoad NameLoad orelse Return Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Assign NameStore ListLoad TryExcept body Assign NameStore Call NameLoad BinOpMod Str NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Assign NameStore Call NameLoad NameLoad For TupleStore NameStore NameStore Call NameLoad NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str Assign NameStore BinOpAdd BinOpAdd Call NameLoad AttributeLoad NameLoad attr Str Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Dict Str Str NameLoad SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index Str For NameStore NameLoad body TryExcept body Print Str NameLoad Str Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad With Call NameLoad NameLoad body Expr Call AttributeLoad AttributeLoad AttributeLoad Call AttributeLoad NameLoad attr attr attr attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad Call AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad name NameStore body Assign NameStore BinOpMod Str TupleLoad Call NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad Expr Call NameLoad Str NameLoad Str ListLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad BinOpMod Str NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr If NameLoad body Return BinOpMod Str Call NameLoad NameLoad orelse Return Str handlers ExceptHandler type NameLoad name NameStore body Print NameLoad Return Str decorator_list decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad For NameStore NameLoad body TryExcept body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword SubscriptLoad NameLoad Index Str Assign NameStore NameLoad For NameStore SubscriptLoad NameLoad Index Str body If CompareNotIn NameLoad AttributeLoad NameLoad attr body Assign NameStore NameLoad Break If NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler body Pass Return NameLoad decorator_list FunctionDef arguments args defaults body FunctionDef arguments args NameParam defaults body Assign NameStore BinOpSub Call NameLoad NameLoad Num Expr NameLoad Assign NameStore ListLoad While CompareGt NameLoad Num body TryExcept body Expr Call NameLoad SubscriptLoad NameLoad Index NameLoad Expr Call AttributeLoad NameLoad attr Num Call NameLoad SubscriptLoad NameLoad Index NameLoad handlers ExceptHandler body Break AugAssignSub NameStore Num Return Call AttributeLoad Str attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad Call AttributeLoad SubscriptLoad Call AttributeLoad SubscriptLoad Call AttributeLoad Call NameLoad NameLoad attr Str Index Num attr Str Index Num attr attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad BinOpMod Str NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args defaults body Print Str TryExcept body Print Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad BinOpMod Str NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Assign NameStore ListLoad Str BinOpMod Str NameLoad Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr If NameLoad body Raise NameLoad handlers ExceptHandler body Expr Call NameLoad decorator_list Expr Call NameLoad Assign NameStore Call NameLoad BinOpMod Str NameLoad Str Assign NameStore ListLoad Str BinOpMod Str NameLoad Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr If UnaryOpNot NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad Assign NameStore NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad Call AttributeLoad Call AttributeLoad Call AttributeLoad NameLoad attr Str Str attr Str Str attr Str Str attr Str Str attr Str Str If UnaryOpNot CompareEq NameLoad AttributeLoad NameLoad attr body For NameStore NameLoad body If CompareIn Call NameLoad NameLoad Call NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr Dict Str Str NameLoad NameLoad orelse Print BinOpMod Str Call NameLoad NameLoad Expr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Return NameLoad decorator_list ClassDef bases body Expr Str ClassDef bases NameLoad body Pass decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults vararg body Expr Call AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults vararg body Raise Call AttributeLoad NameLoad attr decorator_list decorator_list
N/A django.core.management.base BaseCommand CommandError django.conf settings django.contrib.sites.models Site expedient.clearinghouse.defaultsettings.site SITE_DOMAIN SITE_DOMAIN_DEFAULT expedient.clearinghouse.slice.models Slice expedient.common.utils.mail send_mail N/A time N/A signal N/A getpass N/A N/A N/A cpickle pickle N/A N/A N/A N/A pickle N/A os N/A subprocess N/A path /opt/ofelia N/A TIMEOUT 600 N/A FLOWVISOR_SLEEP_TIME 10 Command N/A BaseCommand N/A N/A args stop | start N/A help Standardizes those FlowVisor slice names that have a different suffix. handle N/A N/A self N/A args options N/A N/A 
        Stops and then starts conflictive slices (with non-standard name) at
        Flowvisor.
        Used in conjunction **and before** the script with the same name at opt-in.
        
        Flow:
            1. Expedient: manage.py standardize_flowvisor_slices stop
            2. Expedient: manage.py standardize_flowvisor_slices start
            3. Opt-in: manage.py standardize_flowvisor_slices
         N/A N/A N/A N/A N/A args N/A 0 stop N/A N/A N/A N/A N/A self stdout write N/A %s
 N/A N/A self stop_slices N/A N/A N/A N/A args N/A 0 start N/A N/A N/A N/A N/A self stdout write N/A %s
 N/A N/A self start_slices N/A N/A Exception N/A N/A N/A N/A N/A N/A N/A self stdout write N/A 
[94m%s
>  Arguments: %s[0m
 N/A N/A self help N/A self args N/A stop_slices N/A N/A self N/A N/A N/A 
        First step: stop conflictive (non-standard) slices at FlowVisor.
         N/A ids N/A get_conflictive_slices_ids N/A errors N/A N/A slice_id N/A slices N/A filter_own_slices ids N/A slice slices N/A N/A aggs N/A N/A N/A slice aggregates filter leaf_name OpenFlowAggregate N/A agg aggs N/A N/A N/A N/A slice_id N/A N/A N/A str SITE_DOMAIN_DEFAULT _ N/A str N/A slice id N/A Stopping slice_id at aggregate N/A str agg N/A N/A N/A time sleep FLOWVISOR_SLEEP_TIME N/A N/A Timeout TIMEOUT N/A N/A N/A N/A N/A N/A N/A N/A agg as_leaf_class client proxy delete_slice slice_id N/A N/A slice started False N/A N/A N/A slice save N/A N/A N/A Exception N/A e N/A N/A message N/A Could not fix the naming in Aggreggate Manager %s for slice with the following details:
name:		 %s
FlowVisor name:		 %s

The cause of the error is: %s. Please try to fix it manually N/A N/A str N/A N/A agg as_leaf_class N/A slice name slice_id e N/A N/A send_mail OCF: error while standardizing Flowvisor slices message OFELIA-noreply@fp7-ofelia.eu N/A N/A settings ROOT_EMAIL N/A N/A N/A errors append message N/A errors N/A N/A N/A [93mFailure while stopping non-standard slices at FlowVisor: %s[0m N/A str errors N/A N/A [92mSuccessfully stopped non-standard slices at FlowVisor[0m N/A start_slices N/A N/A self N/A N/A N/A 
        Second step: start previously conflictive (non-standard) slices at FlowVisor.
         N/A errors N/A N/A slice_ids N/A N/A N/A N/A f N/A open N/A %s/conflictive_slice_ids path r N/A ids N/A N/A pickle load f N/A N/A N/A f close N/A N/A N/A os remove N/A %s/conflictive_slice_ids path N/A slices N/A filter_own_slices ids N/A N/A counter slice N/A enumerate slices N/A N/A aggs N/A N/A N/A slice aggregates filter leaf_name OpenFlowAggregate N/A slice_id N/A N/A N/A str N/A settings SITE_DOMAIN _ N/A str N/A slice id N/A N/A N/A slice_ids append N/A id keywords slice_id N/A N/A ids N/A counter N/A keywords N/A agg aggs N/A N/A N/A N/A Starting slice_id at aggregate N/A str agg N/A N/A N/A time sleep FLOWVISOR_SLEEP_TIME N/A N/A Timeout TIMEOUT N/A N/A N/A N/A N/A N/A N/A N/A agg as_leaf_class client proxy create_slice slice_id N/A N/A slice project name N/A N/A slice project description N/A slice name N/A slice description N/A N/A slice openflowsliceinfo controller_url N/A N/A slice owner email N/A N/A slice openflowsliceinfo password N/A N/A N/A N/A agg as_leaf_class _get_slivers slice N/A N/A slice started True N/A N/A N/A slice save N/A N/A N/A Exception N/A e N/A N/A message N/A Could not fix the naming in Aggregate Manager %s for slice with the following details: name:		 %s
FlowVisor name:		 %s

The cause of the error is: %s. Please try to fix it manually N/A N/A str N/A N/A agg as_leaf_class N/A slice name slice_id e N/A N/A send_mail OCF: error while standardizing Flowvisor slices message OFELIA-noreply@fp7-ofelia.eu N/A N/A settings ROOT_EMAIL N/A N/A N/A errors append message N/A f N/A open N/A %s/slice_ids_to_grant_fs path w N/A N/A N/A pickle dump slice_ids f N/A N/A N/A f close N/A errors N/A N/A N/A [93mFailure while starting previously non-standard slices at FlowVisor: %s[0m N/A str errors N/A N/A [92mSuccessfully started previously non-standard slices at FlowVisor[0m N/A N/A N/A Exception N/A e N/A N/A e N/A [93mCould not access file with slice IDs. Skipping...[0m
 N/A N/A filter_own_slices N/A N/A slice_ids N/A N/A N/A slices N/A N/A slice_id slice_ids N/A N/A N/A N/A filtered_slice N/A N/A N/A Slice objects get id N/A slice_id N/A id N/A filter_ok True N/A keyword N/A slice_id N/A keywords N/A N/A N/A keyword N/A filtered_slice name N/A N/A filter_ok False N/A N/A filter_ok N/A N/A N/A N/A slices append filtered_slice N/A N/A N/A N/A N/A slices N/A get_conflictive_slices_ids N/A N/A N/A N/A get_id N/A N/A slice_id N/A N/A N/A i N/A N/A len slice_id 1 N/A slice_id N/A buffer N/A N/A N/A i 0 N/A N/A N/A N/A N/A int N/A slice_id N/A i N/A N/A N/A buffer insert 0 N/A str N/A slice_id N/A i N/A N/A N/A N/A N/A i 1 N/A N/A N/A join buffer N/A get_keywords N/A N/A slice_id N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A str slice_id split : N/A 1 split ID N/A 0 strip split _ N/A write_in_file N/A N/A ids N/A N/A N/A f N/A open N/A %s/conflictive_slice_ids path w N/A N/A N/A pickle dump ids f N/A N/A N/A f close N/A authenticate_fvctl N/A N/A N/A N/A N/A 
**IMPORTANT** Calling to 'fvctl' command... N/A N/A N/A Please enter password for 'fvadmin' user: N/A fvctl_pass N/A N/A getpass getpass N/A f N/A open N/A %s/fvadmin_pass path w N/A N/A N/A f write fvctl_pass N/A N/A N/A f close N/A cmd N/A fvctl N/A --passwd-file=%s/fvadmin_pass path N/A N/A N/A cmd append listSlices N/A p N/A N/A subprocess Popen cmd shell False stdin N/A subprocess PIPE stdout N/A subprocess PIPE stderr N/A subprocess PIPE N/A N/A N/A time sleep FLOWVISOR_SLEEP_TIME N/A N/A slices err N/A N/A p communicate N/A err N/A N/A Exception N/A N/A N/A N/A N/A authenticate_fvctl N/A N/A N/A authenticate_fvctl N/A f N/A open N/A %s/fvadmin_pass path r N/A cmd N/A fvctl N/A --passwd-file=%s/fvadmin_pass path N/A N/A N/A cmd append listSlices N/A p N/A N/A subprocess Popen cmd shell False stdin N/A subprocess PIPE stdout N/A subprocess PIPE stderr N/A subprocess PIPE N/A N/A N/A time sleep FLOWVISOR_SLEEP_TIME N/A N/A slices err N/A N/A p communicate N/A N/A err N/A N/A slices N/A N/A slices split N/A ids_keywords N/A list N/A current_site_domain SITE_DOMAIN_DEFAULT N/A current_site_domain N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A current_site_domain replace . _ replace : _ replace = _ replace _ replace ' _ N/A N/A N/A SITE_DOMAIN_DEFAULT N/A settings SITE_DOMAIN N/A N/A slice slices N/A N/A N/A N/A str current_site_domain N/A str slice N/A N/A id N/A get_id slice N/A keywords N/A get_keywords slice N/A id N/A N/A N/A N/A ids_keywords append N/A id keywords id keywords N/A N/A N/A Error: %s N/A str err N/A N/A write_in_file ids_keywords N/A N/A N/A f close N/A N/A N/A os remove N/A %s/fvadmin_pass path N/A ids_keywords N/A Timeout N/A N/A N/A Timeout class using ALARM signal. Timeout N/A Exception N/A N/A N/A __init__ N/A N/A self sec N/A N/A N/A N/A self sec sec N/A __enter__ N/A N/A self N/A N/A N/A N/A N/A signal signal N/A signal SIGALRM N/A self raise_timeout N/A N/A N/A signal alarm N/A self sec N/A __exit__ N/A N/A self N/A args N/A N/A N/A N/A signal alarm 0 N/A raise_timeout N/A N/A self N/A args N/A N/A N/A N/A Timeout Timeout N/A N/A