Searched refs:ips (Results 1 - 6 of 6) sorted by relevance

/lxc/src/python-lxc/examples/
H A Dapi_test.py115 ips = [] variable
116 while not ips or count == 10:
117 ips = container.get_ips() variable
130 assert(len(ips) > 0)
/lxc/src/lxc/tools/
H A Dlxc_info.c42 static bool ips; variable
63 case 'i': ips = true; filter_count += 1; break;
74 {"ips", no_argument, 0, 'i'},
92 -i, --ips shows the IP addresses\n\
326 if (!state && !pid && !ips && !stats && keys <= 0) {
327 state = pid = ips = stats = true;
344 if (ips) {
H A Dlxc-start-ephemeral.in339 ips = dest.get_ips(timeout=10)
348 "\n".join([" - %s" % entry for entry in ips]
353 if not ips:
403 for ip in ips:
H A Dlxc_ls.c632 char *ips = NULL; local
635 ips = lxc_string_join(", ", (const char **)iptmp, false);
639 return ips;
/lxc/src/python-lxc/lxc/
H A D__init__.py341 ips = None
344 while not ips:
345 ips = _lxc.Container.get_ips(self, **kwargs)
352 return ips
/lxc/src/python-lxc/
H A Dlxc.c1085 char** ips = NULL; local
1094 ips = self->container->get_ips(self->container, interface, family, scope);
1095 if (!ips)
1099 while (ips[i])
1109 while (ips[i]) {
1110 if (!ips[i]) {
1115 PyObject *unicode = PyUnicode_FromString(ips[i]);
1127 while (ips[i]) {
1128 free(ips[i]);
1131 free(ips);
[all...]

Completed in 449 milliseconds