neutron now works with jetty 46/13546/7
authorEd Warnicke <eaw@cisco.com>
Wed, 10 Dec 2014 16:55:24 +0000 (10:55 -0600)
committerEd Warnicke <eaw@cisco.com>
Tue, 3 Feb 2015 20:20:43 +0000 (13:20 -0700)
commit8de43fbe42af2b016695d14b281f6bbe5addd4e1
treea34e524fd55b8d3c151d4a31cc4236a3597321a5
parent166c432bc0611288abf2e13ef8f184cfbb2c101a
neutron now works with jetty

This patch makes the feature neutron-northbound work with
jetty.

It also moves the adsal to port 8282, and the stock
karaf jetty to port 8080 (in additional to 8181).

GET, POST, and PUT for neutron network has been
tested:

GET:

curl -u admin:admin http://127.0.0.1:8080/controller/nb/v2/neutron/networks

POST:

curl -u admin:admin -H "Content-Type: application/json" -d @network.post http://127.0.0.1:8080/controller/nb/v2/neutron/networks

PUT:

curl -u admin:admin -H "Content-Type: application/json" -d @network2.post -X PUT  http://127.0.0.1:8080/controller/nb/v2/neutron/networks/d6220bbb-35f3-48ab-8eae-69c60aef3544

where:

cat network.post
{"network": {"status": "ACTIVE", "subnets": [], "name": "net-dedicated", "provider:physical_network": null, "admin_state_up": true, "tenant_id": "aa902936679e4ea29bfe1158e3450a13", "provider:network_type": "gre", "router:external": false, "shared": false, "id": "d6220bbb-35f3-48ab-8eae-69c60aef3544", "provider:segmentation_id": 1}}

cat network2.post
{"network": {"subnets": [], "name": "net-dedicated", "provider:physical_network": null, "admin_state_up": true, "provider:network_type": "gre", "router:external": true, "shared": false, "provider:segmentation_id": 1}}

This patch should not be merged before 2/1/2015 to allow time for discussion.

Change-Id: I6a003c2868adc5b060f05d228a56a744c092e963
Signed-off-by: Ed Warnicke <eaw@cisco.com>
features/neutron/pom.xml
features/neutron/src/main/resources/features.xml
karaf/opendaylight-karaf-resources/src/main/resources/configuration/tomcat-server.xml
karaf/opendaylight-karaf-resources/src/main/resources/etc/jetty.xml [new file with mode: 0644]
karaf/opendaylight-karaf/pom.xml
opendaylight/commons/opendaylight/pom.xml
opendaylight/networkconfiguration/neutron/northbound/src/main/resources/WEB-INF/web.xml