#NEWLINE# def __init__( self , xenapi_session = None , **kwargs ) : #NEWLINE# #INDENT# from nova.network import linux_net #NEWLINE# super ( Dom0IptablesFirewallDriver , self ) . __init__ ( ** self ) #NEWLINE# self . _session = xenapi_session #NEWLINE# self . iptables = linux_net . IptablesManager ( self . _plugin_execute ) #NEWLINE# self . iptables . ipv4 [ 'filter' ] . add_chain ( 'sg-fallback' ) #NEWLINE# self . iptables . ipv4 [ 'filter' ] . add_rule ( 'sg-fallback' , '-j DROP' ) #NEWLINE# self . iptables . ipv6 [ 'filter' ] . add_chain ( 'sg-fallback' ) #NEWLINE# self . iptables . ipv6 [ 'filter' ] . add_rule ( 'sg-fallback' , '-j DROP' )