Module Import alias Import alias ImportFrom alias identifier ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias identifier ImportFrom alias ImportFrom alias ImportFrom alias Assign NameStore Call AttributeLoad NameLoad attr NameLoad ClassDef bases AttributeLoad NameLoad attr body Expr Str Assign NameStore AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad body If NameLoad body If UnaryOpNot Call AttributeLoad NameLoad attr NameLoad body Raise Call AttributeLoad NameLoad attr keyword NameLoad If NameLoad body If UnaryOpNot Call AttributeLoad NameLoad attr NameLoad body Raise Call AttributeLoad NameLoad attr keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr body Assign NameStore Call NameLoad Str Raise Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list Call AttributeLoad NameLoad attr Num FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body Raise Call AttributeLoad AttributeLoad NameLoad attr attr keyword Call AttributeLoad NameLoad attr Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list Call AttributeLoad NameLoad attr Num FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body FunctionDef arguments args NameParam NameParam NameParam defaults body If UnaryOpNot Call AttributeLoad NameLoad attr NameLoad Str body Assign NameStore Call NameLoad Str Raise Call AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str If NameLoad body TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad handlers ExceptHandler type NameLoad body Assign NameStore Call NameLoad Str Raise Call AttributeLoad NameLoad attr keyword NameLoad orelse Assign NameStore NameLoad Assign NameStore Dict Assign SubscriptStore NameLoad Index Str NameLoad Assign SubscriptStore NameLoad Index Str NameLoad Assign SubscriptStore NameLoad Index Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore ListLoad If CompareIsNot NameLoad NameLoad body If UnaryOpNot Call NameLoad NameLoad NameLoad body Assign NameStore Call NameLoad Str Raise Call AttributeLoad NameLoad attr keyword NameLoad For NameStore NameLoad body Assign NameStore Dict Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr Str Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr Str Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr Str Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Assign SubscriptStore NameLoad Index Str SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr NameLoad Return TupleLoad NameLoad NameLoad decorator_list TryExcept body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str Assign TupleStore NameStore NameStore Call NameLoad NameLoad NameLoad NameLoad Assign SubscriptStore NameLoad Index Str Call NameLoad Call AttributeLoad NameLoad attr If UnaryOpNot SubscriptLoad NameLoad Index Str body Assign SubscriptStore NameLoad Index Str BinOpAdd Str SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad SubscriptLoad NameLoad Index Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body Raise Call AttributeLoad AttributeLoad NameLoad attr attr keyword Call AttributeLoad NameLoad attr ExceptHandler type AttributeLoad NameLoad attr name NameStore body Raise Call AttributeLoad AttributeLoad NameLoad attr attr keyword Call AttributeLoad NameLoad attr Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list Call AttributeLoad NameLoad attr Num FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body FunctionDef arguments args NameParam NameParam NameParam defaults body If UnaryOpNot Call AttributeLoad NameLoad attr NameLoad Str body Assign NameStore Call NameLoad Str Raise Call AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad NameLoad attr Str If CompareIsNot NameLoad NameLoad body TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad handlers ExceptHandler type NameLoad body Assign NameStore Call NameLoad Str Raise Call AttributeLoad NameLoad attr keyword NameLoad orelse Assign NameStore Call NameLoad Str Raise Call AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Dict Assign SubscriptStore NameLoad Index Str NameLoad Return NameLoad decorator_list TryExcept body Assign NameStore Call NameLoad NameLoad NameLoad NameLoad Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body Raise Call AttributeLoad AttributeLoad NameLoad attr attr keyword Call AttributeLoad NameLoad attr ExceptHandler type AttributeLoad NameLoad attr name NameStore body Raise Call AttributeLoad AttributeLoad NameLoad attr attr keyword Call AttributeLoad NameLoad attr Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list Call AttributeLoad NameLoad attr Num FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad If SubscriptLoad NameLoad Index Str body Raise Call AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body Raise Call AttributeLoad AttributeLoad NameLoad attr attr keyword Call AttributeLoad NameLoad attr ExceptHandler type AttributeLoad NameLoad attr name NameStore body Raise Call AttributeLoad AttributeLoad NameLoad attr attr keyword Call AttributeLoad NameLoad attr decorator_list Call AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args defaults body Return Call AttributeLoad NameLoad attr Call NameLoad decorator_list
N/A N/A uuid N/A webob rack.api.v1.views securitygroups views_securitygroups rack.api wsgi rack db rack exception rack.openstack.common.gettextutils _ rack.openstack.common log logging rack.openstack.common strutils rack.openstack.common uuidutils rack.resourceoperator manager N/A LOG N/A N/A logging getLogger __name__ Controller N/A N/A wsgi Controller N/A N/A Securitygroup controller for RACK API. N/A _view_builder_class N/A views_securitygroups ViewBuilder __init__ N/A N/A self N/A N/A N/A N/A N/A N/A super Controller self __init__ N/A N/A self manager N/A N/A manager ResourceOperator N/A _uuid_check N/A N/A self gid securitygroup_id N/A None None N/A N/A gid N/A N/A N/A N/A N/A uuidutils is_uuid_like gid N/A N/A N/A N/A exception GroupNotFound gid gid N/A securitygroup_id N/A N/A N/A N/A N/A uuidutils is_uuid_like securitygroup_id N/A N/A N/A N/A exception SecuritygroupNotFound securitygroup_id securitygroup_id N/A index N/A N/A self req gid N/A N/A N/A N/A N/A N/A N/A self _uuid_check gid N/A N/A N/A N/A exception SecuritygroupNotFound N/A N/A msg N/A _ Securitygroup could not be found N/A N/A N/A N/A webob exc HTTPNotFound explanation msg N/A context N/A N/A req environ N/A rack.context N/A securitygroup_list N/A N/A db securitygroup_get_all context gid N/A securitygroup_list N/A N/A N/A self manager securitygroup_list context securitygroup_list N/A N/A N/A N/A self _view_builder index securitygroup_list N/A N/A N/A wsgi response 200 show N/A N/A self req gid securitygroup_id N/A N/A N/A N/A N/A N/A N/A self _uuid_check gid securitygroup_id N/A context N/A N/A req environ N/A rack.context N/A securitygroup N/A N/A db securitygroup_get_by_securitygroup_id context gid securitygroup_id N/A securitygroup N/A N/A N/A self manager securitygroup_show context securitygroup N/A N/A N/A N/A exception NotFound N/A exc N/A N/A N/A N/A N/A webob exc HTTPNotFound explanation N/A N/A exc format_message N/A N/A N/A N/A self _view_builder show securitygroup N/A N/A N/A wsgi response 200 create N/A N/A self req body gid N/A N/A _validate N/A N/A context body gid N/A N/A N/A N/A N/A N/A self is_valid_body body securitygroup N/A N/A msg N/A _ Invalid request body N/A N/A N/A exception InvalidInput reason msg N/A N/A N/A self _uuid_check gid N/A N/A N/A db group_get_by_gid context gid N/A values N/A body N/A securitygroup N/A name N/A N/A values get name N/A is_default N/A N/A values get is_default N/A is_default N/A N/A N/A N/A is_default N/A N/A strutils bool_from_string is_default strict True N/A N/A N/A ValueError N/A N/A msg N/A _ is_default must be a boolean N/A N/A N/A exception InvalidInput reason msg N/A N/A is_default False N/A valid_values N/A N/A N/A valid_values N/A gid gid N/A N/A valid_values N/A display_name name N/A N/A valid_values N/A is_default is_default N/A rules N/A N/A values get securitygrouprules N/A valid_rules N/A N/A N/A rules None N/A N/A N/A N/A isinstance rules list N/A N/A msg N/A _ securitygrouprules must be a list N/A N/A N/A exception InvalidInput reason msg N/A rule rules N/A N/A valid_rule N/A N/A N/A valid_rule N/A protocol N/A N/A rule get protocol N/A N/A valid_rule N/A port_range_max N/A N/A rule get port_range_max N/A N/A valid_rule N/A port_range_min N/A N/A rule get port_range_min N/A N/A valid_rule N/A remote_ip_prefix N/A N/A rule get remote_ip_prefix N/A remote_securitygroup_id N/A N/A rule get remote_securitygroup_id N/A remote_securitygroup_id N/A N/A ref N/A N/A db securitygroup_get_by_securitygroup_id context gid remote_securitygroup_id N/A N/A valid_rule N/A remote_neutron_securitygroup_id N/A ref N/A neutron_securitygroup_id N/A N/A N/A valid_rules append valid_rule N/A N/A valid_values valid_rules N/A N/A N/A N/A context N/A N/A req environ N/A rack.context N/A N/A values rules N/A _validate context body gid N/A N/A values N/A securitygroup_id N/A unicode N/A N/A uuid uuid4 N/A N/A N/A values N/A display_name N/A N/A N/A values N/A display_name N/A securitygroup- N/A values N/A securitygroup_id N/A result_value N/A N/A N/A self manager securitygroup_create context N/A values N/A display_name rules N/A N/A N/A values update result_value N/A N/A values N/A user_id N/A context user_id N/A N/A values N/A project_id N/A context project_id N/A securitygroup N/A N/A db securitygroup_create context values N/A N/A N/A N/A exception InvalidInput N/A e N/A N/A N/A N/A N/A webob exc HTTPBadRequest explanation N/A N/A e format_message N/A N/A N/A exception GroupNotFound N/A e N/A N/A N/A N/A N/A webob exc HTTPNotFound explanation N/A N/A e format_message N/A N/A N/A N/A self _view_builder create securitygroup N/A N/A N/A wsgi response 201 update N/A N/A self req body gid securitygroup_id N/A N/A _validate N/A N/A body gid securitygroup_id N/A N/A N/A N/A N/A N/A self is_valid_body body securitygroup N/A N/A msg N/A _ Invalid request body N/A N/A N/A exception InvalidInput reason msg N/A N/A N/A self _uuid_check gid securitygroup_id N/A values N/A body N/A securitygroup N/A is_default N/A N/A values get is_default N/A N/A is_default None N/A N/A N/A N/A is_default N/A N/A strutils bool_from_string is_default strict True N/A N/A N/A ValueError N/A N/A msg N/A _ is_default must be a boolean N/A N/A N/A exception InvalidInput reason msg N/A N/A msg N/A _ SecurityGroup is_default is required N/A N/A N/A exception InvalidInput reason msg N/A valid_values N/A N/A N/A valid_values N/A is_default is_default N/A valid_values N/A N/A N/A N/A values N/A _validate body gid securitygroup_id N/A context N/A N/A req environ N/A rack.context N/A securitygroup N/A N/A db securitygroup_update context gid securitygroup_id values N/A N/A N/A N/A exception InvalidInput N/A exc N/A N/A N/A N/A N/A webob exc HTTPBadRequest explanation N/A N/A exc format_message N/A N/A N/A exception NotFound N/A exc N/A N/A N/A N/A N/A webob exc HTTPNotFound explanation N/A N/A exc format_message N/A N/A N/A N/A self _view_builder update securitygroup N/A N/A N/A wsgi response 200 delete N/A N/A self req gid securitygroup_id N/A N/A N/A N/A N/A N/A N/A self _uuid_check gid securitygroup_id N/A context N/A N/A req environ N/A rack.context N/A securitygroup N/A N/A db securitygroup_get_by_securitygroup_id context gid securitygroup_id N/A N/A securitygroup N/A processes N/A N/A N/A N/A exception SecuritygroupInUse securitygroup_id securitygroup_id N/A N/A N/A N/A self manager securitygroup_delete context N/A securitygroup N/A neutron_securitygroup_id N/A N/A N/A db securitygroup_delete context gid securitygroup_id N/A N/A N/A N/A exception SecuritygroupInUse N/A exc N/A N/A N/A N/A N/A webob exc HTTPConflict explanation N/A N/A exc format_message N/A N/A N/A exception NotFound N/A exc N/A N/A N/A N/A N/A webob exc HTTPNotFound explanation N/A N/A exc format_message N/A N/A N/A wsgi response 204 N/A create_resource N/A N/A N/A N/A N/A N/A N/A wsgi Resource N/A Controller N/A