Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(3)  |  Call(3)  |  Derive(0)  |  Import(0)

src/k/a/karesansui-HEAD/bin/add_bonding.py   karesansui(Download)
                primary_conf = copy.deepcopy(conf)
 
            dop.unset("ifcfg", dev)
            dop.set("ifcfg", [dev, "DEVICE"], conf["DEVICE"]["value"])
            for key in eth_conf_copykey:
                if hwaddr:
                    dop.set("ifcfg", [dev, "HWADDR"], hwaddr)
                dop.unset("ifcfg", "p%s" % (dev))
 
        for key in bond_conf_nocopykey:

src/k/a/karesansui-HEAD/bin/delete_bonding.py   karesansui(Download)
            raise KssCommandException('Failure read modprobe config file.')
 
        dop.unset("modprobe_conf", ["alias", opts.dev])
 
        if modprobe_parser.write_conf(dop.getconf("modprobe_conf")) is False: