Did I find the right examples for you? yes no

All Samples(2)  |  Call(1)  |  Derive(0)  |  Import(1)

src/v/d/vdsm-HEAD/vdsm/network/api.py   vdsm(Download)
from .errors import ConfigNetworkError
from . import errors as ne
from .models import Bond, Bridge, IPv4, IPv6, IpConfig, Nic, Vlan
import hooks  # TODO: Turn into parent package import when vdsm is a package
 
                                 'devices.')
    ipv6 = IPv6(ipv6addr, ipv6gateway, defaultRoute)
    ipv4 = IPv4(ipaddr, netmask, gateway, defaultRoute)
    topNetDev.ip = IpConfig(inet4=ipv4, inet6=ipv6, bootproto=bootproto,
                            blocking=utils.tobool(blockingdhcp),