Ask Your Question
0

netvirt neutron interface

asked 2016-06-06 02:58:43 -0700

low2215 gravatar image

Hi Guys

I am trying to integrate opendaylight -Beryllium netvirt project to opennebula. I decide to re uses neutron REST API .

This is what i have configured in org.apache.karaf.features.cfg" featuresBoot=config,standard,region,package,kar,ssh,management,odl-restconf-all,odl-aaa-authn,odl-dlux-all,odl-mdsal-apidocs,odl-ovsdb-openstack,odl-ovsdb-ui,odl-netvirt-api,odl-netvirt-rest,odl-netvirt-ui,odl-neutron-service

This is what i have send, all calls are succesfully excuted.

http://192.168.10.134:8181/controller...

{ "network": { "id": "4e8e5957-648e-477b-9e5b-f1f75b21c03c", "name": "net1", "adminstateup": true, "shared": false, "tenantid": "9bacb3c5d39d41a79512987f338cf177", "router:external": false, "provider:networktype": "vxlan", "status": "ACTIVE", "subnets": [], "segments": [] } }

http://192.168.10.134:8080/controller... { "subnet": { "id": "55555555-648e-477b-9e5b-f1f75b21c03c", "network id": "4e8e5957-648e-477b-9e5b-f1f75b21c03c", "name": "subnet", "tenantid": "9bacb3c5-d39d-41a7-9512-987f338cf177", "ipversion": 4, "cidr": "10.0.0.0/24", "gatewayip": "192.168.10.5", "dnsnameservers": [ "10.1.1.7"], "enabledhcp": true, "allocation_pools":[{"start":"10.0.0.1/24","end":"10.0.0.5/24" }] } }

http://192.168.10.134:8080/controller... { "port": { "id": "66666666-648e-477b-9e5b-f1f75b21c03c", "network id": "4e8e5957-648e-477b-9e5b-f1f75b21c03c", "name": "port", "tenantid": "9bacb3c5-d39d-41a7-9512-987f338cf177", "macaddress": "aa:bb:cc:dd:ff:12", "fixedips": [{"ipaddress":"10.0.0.2","subnetid":"55555555-648e-477b-9e5b-f1f75b21c03c"}], "deviceid": "d6b4d3a5-c700-476f-b609-1493dd9dadc0", "deviceowner": "" } }

But when i check the openvswitch host , I do not see any port created.

Have i missed something ?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2016-08-15 06:35:11 -0700

The ports are created by nova normally. So you have to start a vm with the neutron port connected to in first.

edit flag offensive delete publish link more
Login/Signup to Answer

Question Tools

Follow
1 follower

Stats

Asked: 2016-06-06 02:58:43 -0700

Seen: 57 times

Last updated: Aug 15 '16