Lines Matching refs:join

42 which_paths=':'.join(systemd_lib_paths + os.getenv('PATH', os.defpath).lstrip(':').split(':'))
294 copytree(os.path.join(os.path.dirname(os.path.abspath(__file__)), 'conf'), networkd_ci_path)
296 shutil.copy(os.path.join(networkd_ci_path, '00-debug-net.rules'), udev_rules_dir)
339 f.write('\n'.join(drop_in))
370 f.write('\n'.join(drop_in))
380 f.write('\n'.join(drop_in))
394 os.remove(os.path.join(udev_rules_dir, '00-debug-net.rules'))
409 with open(os.path.join('/sys/class/net/', *args)) as f:
413 path_bridge = os.path.join('/sys/devices/virtual/net', bridge)
415 path = os.path.join(path_bridge, path_port)
417 with open(os.path.join(path, attribute)) as f:
421 return os.path.exists(os.path.join('/sys/class/net', link))
462 with open(os.path.join(os.path.join(network_sysctl_ipv6_path, link), attribute)) as f:
466 with open(os.path.join(os.path.join(network_sysctl_ipv4_path, link), attribute)) as f:
481 if dropins and os.path.exists(os.path.join(networkd_ci_path, unit + '.d')):
482 …copytree(os.path.join(networkd_ci_path, unit + '.d'), os.path.join(network_unit_file_path, unit + …
485 dropindir = os.path.join(network_unit_file_path, os.path.dirname(dropin))
487 shutil.copy(os.path.join(networkd_ci_path, dropin), dropindir)
489 shutil.copy(os.path.join(networkd_ci_path, unit), network_unit_file_path)
497 if os.path.exists(os.path.join(network_unit_file_path, unit)):
498 os.remove(os.path.join(network_unit_file_path, unit))
499 if os.path.exists(os.path.join(network_unit_file_path, unit + '.d')):
500 shutil.rmtree(os.path.join(network_unit_file_path, unit + '.d'))
505 shutil.copy(os.path.join(networkd_ci_path, dropin), networkd_conf_dropin_path)
510 if os.path.exists(os.path.join(networkd_conf_dropin_path, dropin)):
511 os.remove(os.path.join(networkd_conf_dropin_path, dropin))
564 conf_file_path = os.path.join(networkd_ci_path, conf_file)
575 if os.path.exists(os.path.join(networkd_runtime_directory, 'state')):
576 os.remove(os.path.join(networkd_runtime_directory, 'state'))
1268 with open(os.path.join(network_unit_file_path, '21-macvtap.netdev'), mode='a') as f:
1286 with open(os.path.join(network_unit_file_path, '21-macvlan.netdev'), mode='a') as f:
1330 with open(os.path.join(network_unit_file_path, '25-ipvlan.netdev'), mode='a') as f:
1348 with open(os.path.join(network_unit_file_path, '25-ipvtap.netdev'), mode='a') as f:
3583 path = os.path.join('/run/systemd/netif/links/', ifindex)
4126 with open(os.path.join(network_unit_file_path, '25-sriov.link'), mode='a') as f:
4142 with open(os.path.join(network_unit_file_path, '25-sriov.link'), mode='a') as f:
4158 with open(os.path.join(network_unit_file_path, '25-sriov.link'), mode='a') as f:
4174 with open(os.path.join(network_unit_file_path, '25-sriov.link'), mode='a') as f:
4831 …with open(os.path.join(network_unit_file_path, '25-dhcp-client-keep-configuration-dhcp.network'), …
4890 …static_network = '\n'.join(['[Match]', 'Name=veth99', '[Network]', 'IPv6AcceptRA=no', 'Address=' +…
4895 with open(os.path.join(network_unit_file_path, '25-static.network'), mode='w') as f:
4970 …with open(os.path.join(network_unit_file_path, '25-dhcp-client-gateway-ipv4.network'), mode='a') a…
5925 networkd_bin = os.path.join(ns.build_dir, 'systemd-networkd')
5926 resolved_bin = os.path.join(ns.build_dir, 'systemd-resolved')
5927 udevd_bin = os.path.join(ns.build_dir, 'systemd-udevd')
5928 wait_online_bin = os.path.join(ns.build_dir, 'systemd-networkd-wait-online')
5929 networkctl_bin = os.path.join(ns.build_dir, 'networkctl')
5930 resolvectl_bin = os.path.join(ns.build_dir, 'resolvectl')
5931 timedatectl_bin = os.path.join(ns.build_dir, 'timedatectl')