This Page

The quantum.agent.securitygroups_rpc Module

class quantum.agent.securitygroups_rpc.SecurityGroupAgentRpcApiMixin

Bases: object

security_groups_member_updated(context, security_groups)

notify member updated security groups

security_groups_provider_updated(context)

notify provider updated security groups

security_groups_rule_updated(context, security_groups)

notify rule updated security groups

class quantum.agent.securitygroups_rpc.SecurityGroupAgentRpcCallbackMixin

Bases: object

A mix-in that enable SecurityGroup agent support in agent implementations.

security_groups_member_updated(context, **kwargs)

callback for security group member update

Parameters:security_groups – list of updated security_groups
security_groups_provider_updated(context, **kwargs)

callback for security group provider update

security_groups_rule_updated(context, **kwargs)

callback for security group rule update

Parameters:security_groups – list of updated security_groups
sg_agent = None
class quantum.agent.securitygroups_rpc.SecurityGroupAgentRpcMixin

Bases: object

A mix-in that enable SecurityGroup agent support in agent implementations.

init_firewall()
prepare_devices_filter(device_ids)
refresh_firewall()
remove_devices_filter(device_ids)
security_groups_member_updated(security_groups)
security_groups_provider_updated()
security_groups_rule_updated(security_groups)
class quantum.agent.securitygroups_rpc.SecurityGroupServerRpcApiMixin

Bases: object

A mix-in that enable SecurityGroup support in plugin rpc

security_group_rules_for_devices(context, devices)
quantum.agent.securitygroups_rpc.disable_security_group_extension_if_noop_driver(supported_extension_aliases)
quantum.agent.securitygroups_rpc.is_firewall_enabled()