#NEWLINE# def __init__( self , execute = None , **kwargs ) : #NEWLINE# #INDENT# from nova.network import linux_net #NEWLINE# self . iptables = linux_net . iptables_manager #NEWLINE# self . instances = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } #NEWLINE# self . network_infos = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } #NEWLINE# self . nwfilter = NWFilterFirewall ( self [ 'get_connection' ] ) #NEWLINE# self . basicly_filtered = False #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' )