Module ImportFrom alias ImportFrom alias ClassDef bases AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam defaults vararg kwarg body Assign NameStore Dict Expr Call AttributeLoad NameLoad attr Call NameLoad Lambda arguments args NameParam defaults TupleLoad NameLoad Call NameLoad SubscriptLoad NameLoad Index NameLoad NameLoad Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return TupleLoad SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad kwarg body ImportFrom alias Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Str attr Str Expr Call AttributeLoad SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Str attr Str Str Expr Call AttributeLoad SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Str attr Str Expr Call AttributeLoad SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Str attr Str Str decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body If CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Return ListLoad Str BinOpMod Str TupleLoad AttributeLoad NameLoad attr orelse Return ListLoad Str BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list decorator_list
N/A oslo_serialization jsonutils nova.virt firewall Dom0IptablesFirewallDriver N/A N/A firewall IptablesFirewallDriver N/A N/A Dom0IptablesFirewallDriver class

    This class provides an implementation for nova.virt.Firewall
    using iptables. This class is meant to be used with the xenapi
    backend and uses xenapi plugin to enforce iptables rules in dom0.
     _plugin_execute N/A N/A self N/A cmd kwargs N/A N/A args N/A N/A N/A N/A args update N/A map N/A N/A N/A x N/A N/A x N/A str N/A kwargs N/A x kwargs N/A N/A args N/A cmd_args N/A N/A jsonutils dumps cmd N/A ret N/A N/A N/A self _session call_plugin xenhost iptables_config args N/A json_ret N/A N/A jsonutils loads ret N/A N/A N/A json_ret N/A out N/A json_ret N/A err N/A __init__ N/A N/A self xenapi_session N/A None kwargs N/A nova.network linux_net N/A N/A N/A N/A super Dom0IptablesFirewallDriver self __init__ kwargs N/A N/A self _session xenapi_session N/A N/A self iptables N/A N/A linux_net IptablesManager N/A self _plugin_execute N/A N/A N/A N/A N/A N/A self iptables ipv4 N/A filter add_chain sg-fallback N/A N/A N/A N/A N/A N/A self iptables ipv4 N/A filter add_rule sg-fallback -j DROP N/A N/A N/A N/A N/A N/A self iptables ipv6 N/A filter add_chain sg-fallback N/A N/A N/A N/A N/A N/A self iptables ipv6 N/A filter add_rule sg-fallback -j DROP N/A _build_tcp_udp_rule N/A N/A self rule version N/A N/A N/A N/A N/A rule from_port N/A rule to_port N/A N/A N/A --dport N/A %s N/A N/A rule from_port N/A N/A N/A --dport N/A %s:%s N/A N/A rule from_port N/A rule to_port N/A N/A