Пример #1
0
 def create_p2p_ethernet(self, parent_if, sub_id, remote_mac):
     p2p = VppP2PSubint(self, parent_if, sub_id, mactobinary(remote_mac))
     p2p.admin_up()
     p2p.config_ip4()
     return p2p
Пример #2
0
 def create_p2p_ethernet(self, parent_if, sub_id, remote_mac):
     p2p = VppP2PSubint(self, parent_if, sub_id, mac_pton(remote_mac))
     p2p.admin_up()
     p2p.config_ip6()
     p2p.disable_ipv6_ra()
     return p2p
Пример #3
0
 def create_p2p_ethernet(self, parent_if, sub_id, remote_mac):
     p2p = VppP2PSubint(self, parent_if, sub_id, mactobinary(remote_mac))
     self.p2p_sub_ifs.append(p2p)
Пример #4
0
 def create_p2p_ethernet(self, parent_if, sub_id, remote_mac):
     p2p = VppP2PSubint(self, parent_if, sub_id, mactobinary(remote_mac))
     p2p.admin_up()
     p2p.config_ip6()
     p2p.disable_ipv6_ra()
     self.p2p_sub_ifs.append(p2p)