コード例 #1
0
ファイル: l3.py プロジェクト: xww/nova-old
    def remove_floating_ip(self, floating_ip, fixed_ip, l3_interface_id):
        linux_net.unbind_floating_ip(floating_ip, l3_interface_id)
        linux_net.remove_floating_forward(floating_ip, fixed_ip,
                                          l3_interface_id)

        if FLAGS.del_floating_conntracks:
            linux_net.del_conntrack_entries(floating_ip)
コード例 #2
0
ファイル: l3.py プロジェクト: zestrada/nova-cs498cc
 def remove_floating_ip(self,
                        floating_ip,
                        fixed_ip,
                        l3_interface_id,
                        network=None):
     linux_net.unbind_floating_ip(floating_ip, l3_interface_id)
     linux_net.remove_floating_forward(floating_ip, fixed_ip,
                                       l3_interface_id, network)
コード例 #3
0
 def remove_floating_ip(self,
                        floating_ip,
                        fixed_ip,
                        l3_interface_id,
                        network=None):
     nova.privsep.linux_net.unbind_ip(l3_interface_id, floating_ip)
     linux_net.remove_floating_forward(floating_ip, fixed_ip,
                                       l3_interface_id, network)
     linux_net.clean_conntrack(fixed_ip)
コード例 #4
0
 def remove_floating_ip(self, floating_ip, fixed_ip, l3_interface_id):
     linux_net.unbind_floating_ip(floating_ip, l3_interface_id)
     linux_net.remove_floating_forward(floating_ip, fixed_ip)
コード例 #5
0
ファイル: l3.py プロジェクト: Dynavisor/nova
 def remove_floating_ip(self, floating_ip, fixed_ip, l3_interface_id,
                        network=None):
     linux_net.unbind_floating_ip(floating_ip, l3_interface_id)
     linux_net.remove_floating_forward(floating_ip, fixed_ip,
                                       l3_interface_id, network)
     linux_net.clean_conntrack(fixed_ip)