I pushed a container to docker hub that runs openstack neutron (master
branch) + ovn plugin + ovs daemons on the north bound databases. You
can run it with:

docker run -d --net=host --name ipam ovntest/ipam:v0.1

Once the container starts, from a neutron client (based off openstack
master), you can run commands to create logical switches.

e.g:
export OS_AUTH_STRATEGY="noauth"
export OS_URL="http://10.33.75.7:9696/";
neutron net-list

neutron net-create dummy --tenant-id="demo"
neutron subnet-create dummy 192.168.1.0/24 --disable-dhcp --tenant-id=demo
neutron port-create dummy --tenant-id=demo

On Fri, Apr 10, 2015 at 1:51 PM, Gurucharan Shetty <shet...@nicira.com> wrote:
>>
>> While Neutron IPAM takes care of IP Address Management, you will probably
>> also need Neutron's DHCP agent for address distribution, unless you have
>> some sort of tool that configures your containers by picking IPAM info from
>> the Neutron API.
> The second part. The idea is to start with keeping dhcp disabled while
> creating the neutron subnet. Make a API call to neutron to create a
> port during container creation (as part of a container network plugin)
> and use the IP address and MAC address provided by neutron during port
> creation and populate the container network namespace with that
> information.
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to