Lines Matching refs:out_ifc
24 out_ifc=None, ipaddr=None, macaddr=None, fn=None, cmd=None,
55 out_ifc = self.ipdb.create(ifname="%sa" % ifc_base_name, kind="veth",
57 in_ifc = self.ipdb.interfaces[out_ifc.peer]
67 if out_ifc: out_ifc.up().commit()
78 "net.ipv6.conf.%s.disable_ipv6=1" % out_ifc.ifname]
80 if fn and out_ifc:
81 self.ipdb.nl.tc("add", "ingress", out_ifc["index"], "ffff:")
82 self.ipdb.nl.tc("add-filter", "bpf", out_ifc["index"], ":1",
87 return (ns_ipdb, out_ifc, in_ifc)
90 def _create_ns(self, name, in_ifc=None, out_ifc=None, ipaddr=None,
92 (ns_ipdb, out_ifc, in_ifc) = self._ns_add_ifc(name, "eth0", name, in_ifc, out_ifc,
95 return (ns_ipdb, out_ifc, in_ifc)