def add_lease(mac, ip_address):
    api = network_rpcapi.NetworkAPI()
    api.lease_fixed_ip(context.get_admin_context(), ip_address, CONF.host)
Create a run list of the given size and a default value.
dataset/ETHPy150Open BU-NU-CLOUD-SP16/Trusted-Platform-Module-nova/nova/cmd/dhcpbridge.py/add_lease--crossover with--dataset/ETHPy150Open ardekantur/pyglet/pyglet/text/runlist.py/RunList.__init__