neutron.git
7 years agoNeutornLogger: print data when node is deleted 96/48296/1
Isaku Yamahata [Sat, 12 Nov 2016 23:07:14 +0000 (15:07 -0800)]
NeutornLogger: print data when node is deleted

Log data of deleted node.

Change-Id: I84ae522cb49453f3d5d2b7812aecfe00628fa9dd
Signed-off-by: Isaku Yamahata <isaku.yamahata@intel.com>
(cherry picked from commit 8107286c9c6160bdfbcc6a014d5bd778ebc559e1)

7 years agoBumping versions by 0.0.1 for next dev cycle 49/47949/1
Anil Belur [Fri, 4 Nov 2016 02:15:09 +0000 (12:15 +1000)]
Bumping versions by 0.0.1 for next dev cycle

Change-Id: I98606d17b6cc3dc22a8b411b9bfb50ee92302ec5
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
7 years agoBug 6865 - Transcriber skips the uppercase protocol field 92/46592/4
Anil Vishnoi [Thu, 6 Oct 2016 02:22:17 +0000 (19:22 -0700)]
Bug 6865 - Transcriber skips the uppercase protocol field

Networking-sfc sends protocol string in lowercase
(e.g tcp and not TCP), but neutron spi try to find
it using the uppercase and don't find it and
eventually ignore this field. To be consistent with
other API's, flow classifier will only accept lowercase
protocol name and return 400 (Bad Request) for any other
protocol string.

Change-Id: I204f58c9cf1cf13446122c8f818ce498866a2caf
Signed-off-by: Anil Vishnoi <vishnoianil@gmail.com>
7 years agoBug 6736: Fix incorrect destination ip prefix value 07/46007/1
Ritu Sood [Sat, 17 Sep 2016 04:43:39 +0000 (21:43 -0700)]
Bug 6736: Fix incorrect destination ip prefix value

Value of destination ip prefix read from mdsal
is not correct

Change-Id: I712097aed98bf1d5db581de8d3a8b254065adbef
Signed-off-by: Ritu Sood <ritu.sood@intel.com>
7 years agoBumping versions by 0.0.1 for next dev cycle 81/45681/1
Anil Belur [Thu, 15 Sep 2016 23:11:40 +0000 (09:11 +1000)]
Bumping versions by 0.0.1 for next dev cycle

Change-Id: Id729886fceebfc7c7d60c52a50fc9d7a405c36fa
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
7 years agoUpdate .gitreview for stable/boron 76/43376/1
Thanh Ha [Mon, 8 Aug 2016 21:40:32 +0000 (17:40 -0400)]
Update .gitreview for stable/boron

Change-Id: Ib672fba206707c9d2d729295145e59aca2cecacd
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
7 years agoRemove unused controller's jersey dependency 42/43142/1
Isaku Yamahata [Thu, 4 Aug 2016 18:58:57 +0000 (11:58 -0700)]
Remove unused controller's jersey dependency

Change-Id: I4e42c9bf9c82eb26404f0745f4c08fee92df0126
Signed-off-by: Isaku Yamahata <isaku.yamahata@intel.com>
7 years agoMerge "Adds Postman scripts to verify the API of QOS feature"
Isaku Yamahata [Tue, 2 Aug 2016 17:23:08 +0000 (17:23 +0000)]
Merge "Adds Postman scripts to verify the API of QOS feature"

7 years agoAdds Postman scripts to verify the API of QOS feature 65/42665/3
pramod [Thu, 28 Jul 2016 07:01:11 +0000 (00:01 -0700)]
Adds Postman scripts to verify the API of QOS feature

The postman scripts can be imported into postman to make the REST calls
for Creating, Updating and deleting the QOS policies.

Change-Id: Id9c452d3c80cf0c79f32f783c96e0f2ed7b044bf
Signed-off-by: pramod <pramod.raghavendra.jayathirth@intel.com>
7 years agoBug 6327 - transcriber port security group 37/42937/1
Isaku Yamahata [Tue, 2 Aug 2016 00:10:20 +0000 (17:10 -0700)]
Bug 6327 - transcriber port security group

SecurityGroup of Port includes only lists of uuids of security group.
Its contents aren't necessary on fromMd().
remove unnecessary logic to fulfill SecurityGroups.

Change-Id: I17bde352c842236b83d4c7b2bd1ffeebbf1c8211
Signed-off-by: Isaku Yamahata <isaku.yamahata@intel.com>
7 years agoThis Increases the test coverage of the Neutronbgpvpn 45/32845/16
Pramod [Fri, 15 Jan 2016 19:35:25 +0000 (11:35 -0800)]
This Increases the test coverage of the Neutronbgpvpn

Modified the tests to improve the code coverage

Change-Id: I26e9f47c22d4d0199fcdec451382aa3ecc50fdd2
Signed-off-by: Pramod <pramod.raghavendra.jayathirth@intel.com>
7 years agoAdd missing license headers 75/42375/1
Thanh Ha [Sat, 23 Jul 2016 02:53:59 +0000 (22:53 -0400)]
Add missing license headers

Change-Id: I9b8fa15d5b42585826e8b4b21fef0547d8e1a4db
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
7 years agoAdd Qos transcriber file and n/w and port extensions 26/41226/8
Ritu Sood [Sun, 17 Jul 2016 06:30:27 +0000 (23:30 -0700)]
Add Qos transcriber file and n/w and port extensions

Patches adds changes to implement transcriber
functionality for Qos feature. Also added code to support
network and port extensions for Qos.
Depends on the other Qos patches
https://git.opendaylight.org/gerrit/#/c/37165/

Change-Id: I29a539a5d980330b80ba3fe319e1ec823d0e2491
Signed-off-by: Ritu Sood <ritu.sood@intel.com>
7 years agoAdds the "Quality of Service" to the OpenDayLight Neutron 65/37165/27
pramod [Tue, 5 Apr 2016 23:46:55 +0000 (16:46 -0700)]
Adds the "Quality of Service" to the OpenDayLight Neutron

This patch enables the Quality of Service feature in the OpenDayLight
Neutron.
The implementation is done as follows
1. Defining the YANG model
2. Implementing of API
3. Testing the developed API

The QOS is achieved using either limiting the bandwidth or through
DSCP marking

Data model -
https://specs.openstack.org/openstack/neutron-specs/specs/liberty/qos-api-extension.html
This link has the data model changes as suggested by the OpenStack
Neutron for the QOS feature
API -
http://developer.openstack.org/api-ref-networking-v2-ext.html#qos-ext
This link has the API for the Openstack for the QOS feature

Change-Id: I7074dbb6d494b1267b66a925742e9812ef8a9304
Signed-off-by: pramod <pramod.raghavendra.jayathirth@intel.com>
7 years agoMerge "Security rule: tests to exercise int as protocol"
Isaku Yamahata [Tue, 19 Jul 2016 20:03:59 +0000 (20:03 +0000)]
Merge "Security rule: tests to exercise int as protocol"

7 years agomake neutron.yang consistent 09/41909/1
Isaku Yamahata [Fri, 15 Jul 2016 19:48:12 +0000 (12:48 -0700)]
make neutron.yang consistent

Signed-off-by: Isaku Yamahata <isaku.yamahata@intel.com>
Change-Id: Iee560804c49fc3cc6f193e1d52576d11e84e8cd4

7 years agoyang model for neutron extensions api 08/40508/2
Isaku Yamahata [Sat, 18 Jun 2016 01:36:57 +0000 (18:36 -0700)]
yang model for neutron extensions api

This patch defines a yang model for neutron extension api [1].
Through this model, openstack service provider is able to tell networking-odl
which neutron extensions are supported.

[1] http://developer.openstack.org/api-ref-networking-v2-ext.html#neutron_extensions

Change-Id: I68fc840545d260486fb7ab2e9cab10b9628daf1a
Signed-off-by: Isaku Yamahata <isaku.yamahata@intel.com>
7 years agoSecurity rule: tests to exercise int as protocol 08/41908/1
Isaku Yamahata [Fri, 15 Jul 2016 19:17:21 +0000 (12:17 -0700)]
Security rule: tests to exercise int as protocol

Enhance tests to exercise more patterns in protocol of security group
rule. It accepts not only protocol name and also integer.
This patch is follow up patch for Bug 6112.

Change-Id: Ic3a944f1612dd67a0366b610ad77ad92c948eb07
Signed-off-by: Isaku Yamahata <isaku.yamahata@intel.com>
7 years agoMerge "Upgrade ietf-{inet,yang}-types to 2013-07-15"
Thanh Ha [Wed, 13 Jul 2016 15:14:42 +0000 (15:14 +0000)]
Merge "Upgrade ietf-{inet,yang}-types to 2013-07-15"

7 years agoMerge "drop unnecessary executable flag of .gitignore"
Isaku Yamahata [Mon, 11 Jul 2016 20:46:21 +0000 (20:46 +0000)]
Merge "drop unnecessary executable flag of .gitignore"

7 years agoMerge "Fix for multiple external fixedIPs under router-ext-gw-info"
Isaku Yamahata [Mon, 11 Jul 2016 20:46:01 +0000 (20:46 +0000)]
Merge "Fix for multiple external fixedIPs under router-ext-gw-info"

7 years agodrop unnecessary executable flag of .gitignore 76/41676/1
Isaku Yamahata [Mon, 11 Jul 2016 19:17:07 +0000 (12:17 -0700)]
drop unnecessary executable flag of .gitignore

Change-Id: I9bc0049f01db2c7c7f4f0c4b6e34d2b94da10da6
Signed-off-by: Isaku Yamahata <isaku.yamahata@intel.com>
7 years agoMerge "remove dummyprovider"
Isaku Yamahata [Mon, 11 Jul 2016 18:19:26 +0000 (18:19 +0000)]
Merge "remove dummyprovider"

7 years agoMerge "remove unused methods"
Isaku Yamahata [Mon, 11 Jul 2016 18:01:40 +0000 (18:01 +0000)]
Merge "remove unused methods"

7 years agoFix for multiple external fixedIPs under router-ext-gw-info 44/41544/2
Abhinav Gupta [Fri, 8 Jul 2016 07:43:05 +0000 (13:13 +0530)]
Fix for multiple external fixedIPs under router-ext-gw-info

Updated the key to use both subnetID and fixedIP to allow multiple
fixedIPs per subnet to be configured.

Bug ID: https://bugs.opendaylight.org/show_bug.cgi?id=5723

Change-Id: Ib0bd24229ed3891275eb5dc5d02c0afd52065d41
Signed-off-by: Abhinav Gupta <abhinav.gupta@ericsson.com>
7 years agoremove unused methods 02/41602/1
Isaku Yamahata [Sat, 9 Jul 2016 01:27:34 +0000 (18:27 -0700)]
remove unused methods

Change-Id: Ib7259505f4e289a7a356879a8fa2f87f224c460a
Signed-off-by: Isaku Yamahata <isaku.yamahata@intel.com>
7 years agoBug 6015 - Null Pointer Exception AbstractNeutronNorthbound#create 01/41601/1
Isaku Yamahata [Fri, 8 Jul 2016 23:49:31 +0000 (16:49 -0700)]
Bug 6015 - Null Pointer Exception AbstractNeutronNorthbound#create

When invalid body is passed to northbound API, request has
singleton = null and bluk=null. which causes null pointer exception.
This patch adds null pointer check to return bad request.

> 2016-07-08 16:41:03,049 | ERROR | qtp907264148-112 | ContainerResponse                | 84 - com.sun.jersey.jersey-server - 1.17.0 | The RuntimeException could not be mapped to a response, re-throwing to the HTTP container
> java.lang.NullPointerException
>         at org.opendaylight.neutron.northbound.api.AbstractNeutronNorthbound.create(AbstractNeutronNorthbound.java:70)[247:org.opendaylight.neutron.northbound-api:0.7.0.SNAPSHOT]
>         at org.opendaylight.neutron.northbound.api.NeutronSecurityGroupsNorthbound.createSecurityGroups(NeutronSecurityGroupsNorthbound.java:155)[247:org.opendaylight.neutron.northbound-api:0.7.0.SNAPSHOT]
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[:1.8.0_91]
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[:1.8.0_91]
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[:1.8.0_91]
>         at java.lang.reflect.Method.invoke(Method.java:498)[:1.8.0_91]
>         at com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60)[84:com.sun.jersey.jersey-server:1.17.0]
>         at com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$ResponseOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:205)[84:com.sun.jersey.jersey-server:1.17.0]
>         at com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75)[84:com.sun.jersey.jersey-server:1.17.0]
>         at com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:302)[84:com.sun.jersey.jersey-server:1.17.0]
>         at com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:108)[84:com.sun.jersey.jersey-server:1.17.0]
>         at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)[84:com.sun.jersey.jersey-server:1.17.0]
>         at com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84)[84:com.sun.jersey.jersey-server:1.17.0]
>         at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1511)[84:com.sun.jersey.jersey-server:1.17.0]
>         at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1442)[84:com.sun.jersey.jersey-server:1.17.0]
>         at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1391)[84:com.sun.jersey.jersey-server:1.17.0]
>         at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1381)[84:com.sun.jersey.jersey-server:1.17.0]
>         at com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:416)[215:com.sun.jersey.servlet:1.17.0]
>         at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:538)[215:com.sun.jersey.servlet:1.17.0]
>         at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:716)[215:com.sun.jersey.servlet:1.17.0]
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)[184:org.apache.geronimo.specs.geronimo-servlet_3.0_spec:1.0.0]
>         at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:684)[189:org.eclipse.jetty.aggregate.jetty-all-server:8.1.17.v20150415]
>         at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1496)[189:org.eclipse.jetty.aggregate.jetty-all-server:8.1.17.v20150415]
>         at org.eclipse.jetty.servlets.CrossOriginFilter.handle(CrossOriginFilter.java:247)[189:org.eclipse.jetty.aggregate.jetty-all-server:8.1.17.v20150415]
>         at org.eclipse.jetty.servlets.CrossOriginFilter.doFilter(CrossOriginFilter.java:210)[189:org.eclipse.jetty.aggregate.jetty-all-server:8.1.17.v20150415]
>         at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1467)[189:org.eclipse.jetty.aggregate.jetty-all-server:8.1.17.v20150415]
>         at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:61)[226:org.apache.shiro.web:1.2.5]
>         at org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108)[226:org.apache.shiro.web:1.2.5]
>         at org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137)[226:org.apache.shiro.web:1.2.5]
>         at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)[226:org.apache.shiro.web:1.2.5]
>         at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66)[226:org.apache.shiro.web:1.2.5]
>         at org.apache.shiro.web.servlet.AbstractShiroFilter.executeChain(AbstractShiroFilter.java:449)[226:org.apache.shiro.web:1.2.5]
>         at org.apache.shiro.web.servlet.AbstractShiroFilter$1.call(AbstractShiroFilter.java:365)[226:org.apache.shiro.web:1.2.5]
>         at org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90)[225:org.apache.shiro.core:1.2.5]
>         at org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83)[225:org.apache.shiro.core:1.2.5]
>         at org.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:383)[225:org.apache.shiro.core:1.2.5]
>         at org.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:362)[226:org.apache.shiro.web:1.2.5]
>         at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)[226:org.apache.shiro.web:1.2.5]
>         at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1467)[189:org.eclipse.jetty.aggregate.jetty-all-server:8.1.17.v20150415]
>         at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:501)[189:org.eclipse.jetty.aggregate.jetty-all-server:8.1.17.v20150415]
>         at org.ops4j.pax.web.service.jetty.internal.HttpServiceServletHandler.doHandle(HttpServiceServletHandler.java:69)[198:org.ops4j.pax.web.pax-web-jetty:3.2.6]
>         at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137)[189:org.eclipse.jetty.aggregate.jetty-all-server:8.1.17.v20150415]
>         at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:557)[189:org.eclipse.jetty.aggregate.jetty-all-server:8.1.17.v20150415]
>         at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231)[189:org.eclipse.jetty.aggregate.jetty-all-server:8.1.17.v20150415]
>         at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1086)[189:org.eclipse.jetty.aggregate.jetty-all-server:8.1.17.v20150415]
>         at org.ops4j.pax.web.service.jetty.internal.HttpServiceContext.doHandle(HttpServiceContext.java:240)[198:org.ops4j.pax.web.pax-web-jetty:3.2.6]
>         at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:429)[189:org.eclipse.jetty.aggregate.jetty-all-server:8.1.17.v20150415]
>         at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193)[189:org.eclipse.jetty.aggregate.jetty-all-server:8.1.17.v20150415]
>         at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1020)[189:org.eclipse.jetty.aggregate.jetty-all-server:8.1.17.v20150415]
>         at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)[189:org.eclipse.jetty.aggregate.jetty-all-server:8.1.17.v20150415]
>         at org.ops4j.pax.web.service.jetty.internal.JettyServerHandlerCollection.handle(JettyServerHandlerCollection.java:75)[198:org.ops4j.pax.web.pax-web-jetty:3.2.6]
>         at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)[189:org.eclipse.jetty.aggregate.jetty-all-server:8.1.17.v20150415]
>         at org.eclipse.jetty.server.Server.handle(Server.java:370)[189:org.eclipse.jetty.aggregate.jetty-all-server:8.1.17.v20150415]
>         at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:494)[189:org.eclipse.jetty.aggregate.jetty-all-server:8.1.17.v20150415]
>         at org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:971)[189:org.eclipse.jetty.aggregate.jetty-all-server:8.1.17.v20150415]
>         at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:1033)[189:org.eclipse.jetty.aggregate.jetty-all-server:8.1.17.v20150415]
>         at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:651)[189:org.eclipse.jetty.aggregate.jetty-all-server:8.1.17.v20150415]
>         at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235)[189:org.eclipse.jetty.aggregate.jetty-all-server:8.1.17.v20150415]
>         at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82)[189:org.eclipse.jetty.aggregate.jetty-all-server:8.1.17.v20150415]
>         at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:696)[189:org.eclipse.jetty.aggregate.jetty-all-server:8.1.17.v20150415]
>         at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:53)[189:org.eclipse.jetty.aggregate.jetty-all-server:8.1.17.v20150415]
>         at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608)[189:org.eclipse.jetty.aggregate.jetty-all-server:8.1.17.v20150415]
>         at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543)[189:org.eclipse.jetty.aggregate.jetty-all-server:8.1.17.v20150415]
>         at java.lang.Thread.run(Thread.java:745)[:1.8.0_91]

Change-Id: Id099c6e08dc4193e9991aab8605e24c7eb01f19b
Signed-off-by: Isaku Yamahata <isaku.yamahata@intel.com>
7 years agoadd -Xlint:unchecked and -Xlint:deprecation to compiler argument 79/41379/1
Isaku Yamahata [Wed, 6 Jul 2016 06:02:47 +0000 (23:02 -0700)]
add -Xlint:unchecked and -Xlint:deprecation to compiler argument

This patch adds compiler option -Xlint:unchecked and -Xlint:deprecation
and remove their warnings.

Change-Id: I3f1c4b8411da480cfb86671819cb88f78ae32ccf
Signed-off-by: Isaku Yamahata <isaku.yamahata@intel.com>
7 years agoparent/pom.xml: don't user java 1.7, but the one odlparent uses 78/41378/1
Isaku Yamahata [Wed, 6 Jul 2016 04:50:40 +0000 (21:50 -0700)]
parent/pom.xml: don't user java 1.7, but the one odlparent uses

Now odl migrated to java 1.8. There is no point to fix
compiler version to 1.7.

Change-Id: I59f7131d9a81ee0dee0e36c31818084505f404b8
Signed-off-by: Isaku Yamahata <isaku.yamahata@intel.com>
7 years agoUpgrade ietf-{inet,yang}-types to 2013-07-15 90/40790/2
Lorand Jakab [Thu, 23 Jun 2016 21:21:59 +0000 (16:21 -0500)]
Upgrade ietf-{inet,yang}-types to 2013-07-15

Change-Id: Iea916536d5d33486db29c4f8bad122a22c9b903f
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
Signed-off-by: Hideyuki Tai <Hideyuki.Tai@necam.com>
7 years agoremove dummyprovider 74/40974/3
Isaku Yamahata [Tue, 28 Jun 2016 21:22:46 +0000 (14:22 -0700)]
remove dummyprovider

Now dummyprovider does nothing but provider feature name.
This patch removes dummyprovider

Change-Id: I523fc69552053b54f8c7a780fcc7bd3bd8bf8fce
Signed-off-by: Isaku Yamahata <isaku.yamahata@intel.com>
7 years agoMerge "Logger on neutron model"
Isaku Yamahata [Fri, 1 Jul 2016 17:53:06 +0000 (17:53 +0000)]
Merge "Logger on neutron model"

7 years agoRemoved repository and snapshotRepository sections 20/41220/1
Hideyuki Tai [Fri, 1 Jul 2016 11:52:42 +0000 (04:52 -0700)]
Removed repository and snapshotRepository sections

Some POM files defined the repository and snapshotRepository information
in their distributionManagement section. However, they inherits these
information from their ancestor POM, odlparent-lite, so they do not need
to have those sections. This patch removed those unnecessary sections.

Change-Id: I0038028917f570f2fa3a6aaf570a77798a3d3563
Signed-off-by: Hideyuki Tai <Hideyuki.Tai@necam.com>
7 years agoLogger on neutron model 92/40392/6
Isaku Yamahata [Sat, 27 Feb 2016 09:28:04 +0000 (01:28 -0800)]
Logger on neutron model

This patch implements logger on neutron model change for debug.

Change-Id: Ifd079de8cded725d79ec2fe638415ab7be640318
Signed-off-by: Isaku Yamahata <isaku.yamahata@intel.com>
7 years agoOpenDaylight Networking SFC Port Chain REST APIs 48/40848/8
Anil Vishnoi [Fri, 1 Jul 2016 01:19:01 +0000 (18:19 -0700)]
OpenDaylight Networking SFC Port Chain REST APIs

This patch defines REST API's in Neutron Northbound project
for the networking sfc port chain APIs and implementation of
the translation code to convert these REST API data to the
networking-sfc port chain Yang models. These Neutron
Northbound REST API's are defined based on the OpenStack
Networking-SFC Port Chain APIs available at following URL.
http://docs.openstack.org/developer/networking-sfc/api.html#rest-api

Change-Id: Icb9f581157ce150d846dad6d6321c40a9e642e1b
Signed-off-by: Anil Vishnoi <vishnoianil@gmail.com>
7 years agoOpenDaylight Networking SFC Port Pair Group REST APIs 47/40847/9
Anil Vishnoi [Sun, 26 Jun 2016 23:10:56 +0000 (16:10 -0700)]
OpenDaylight Networking SFC Port Pair Group REST APIs

This patch defines REST API's in Neutron Northbound project
for the networking sfc port pair group APIs and implementation of
the translation code to convert these REST API data to the
networking-sfc port pair group Yang models. These Neutron
Northbound REST API's are defined based on the OpenStack
Networking-SFC Port Pair Group APIs available at following URL.

http://docs.openstack.org/developer/networking-sfc/api.html#rest-api

Signed-off-by: Anil Vishnoi <vishnoianil@gmail.com>
Change-Id: Ib25544b711873983be7733ec552328220fd8a85d

7 years agoOpenDaylight Networking SFC Port Pair REST APIs 46/40846/7
Anil Vishnoi [Sun, 26 Jun 2016 21:48:43 +0000 (14:48 -0700)]
OpenDaylight Networking SFC Port Pair REST APIs

This patch defines REST API's in Neutron Northbound project
for the networking sfc port pair APIs and implementation of
the translation code to convert these REST API data to the
networking-sfc Yang models. These Neutron Northbound REST
API's are defined based on the OpenStack Networking-SFC Flow
Classifier APIs available at following URL.

http://docs.openstack.org/developer/networking-sfc/api.html#rest-api

Signed-off-by: Anil Vishnoi <vishnoianil@gmail.com>
Change-Id: Ie8b3bf725e492443ac4b0056c255a71e16b1635a

7 years agoOpenDaylight Networking SFC Flow Classifier REST APIs 43/40843/7
Anil Vishnoi [Sat, 25 Jun 2016 03:10:14 +0000 (20:10 -0700)]
OpenDaylight Networking SFC Flow Classifier REST APIs

This patch defines REST API's for the networking sfc flow
classifier API and implementation the translation code
to convert these REST API data to the networking-sfc
Yang models. These Neutron Northbound REST API's are defined
based on the OpenStack Networking-SFC Flow Classifier APIs
available at following URL.

http://docs.openstack.org/developer/networking-sfc/api.html#rest-api

Change-Id: Ifcdec7025715c1e9fa5f90aa9cbc475e7a1e9427
Signed-off-by: Anil Vishnoi <vishnoianil@gmail.com>
7 years agoMapping Exception caused by Overloaded NeutronObject#setTenantId() 97/40897/4
Anil Vishnoi [Mon, 27 Jun 2016 21:18:26 +0000 (14:18 -0700)]
Mapping Exception caused by Overloaded NeutronObject#setTenantId()

Overloaded method for json property is causing Mapping Exception
com.fasterxml.jackson.databind.JsonMappingException:
Conflicting setter definitions for property tenantID:
org.opendaylight.neutron.spi.NeutronObject#setTenantID(1 params)
vs org.opendaylight.neutron.spi.NeutronObject#setTenantID(1 params)

Change-Id: I6278268203e5a3c593b260df02fb4a6143213d26
Signed-off-by: Anil Vishnoi <vishnoianil@gmail.com>
7 years agoadd blueprint wiring for neutron/transcriber 11/40911/5
Isaku Yamahata [Tue, 28 Jun 2016 05:07:55 +0000 (22:07 -0700)]
add blueprint wiring for neutron/transcriber

Change-Id: I502d78e17ec956f1bdf0c12907e6fdbb2dfcf35d
Signed-off-by: Isaku Yamahata <isaku.yamahata@intel.com>
7 years agoMerge "AbstractNorthbound: remove unused variables"
Isaku Yamahata [Tue, 21 Jun 2016 17:49:07 +0000 (17:49 +0000)]
Merge "AbstractNorthbound: remove unused variables"

7 years agoMerge "remove redundant methods for compatibility"
Isaku Yamahata [Tue, 21 Jun 2016 17:48:31 +0000 (17:48 +0000)]
Merge "remove redundant methods for compatibility"

7 years agoAbstractNorthbound: remove unused variables 28/40628/1
Isaku Yamahata [Tue, 21 Jun 2016 16:21:11 +0000 (09:21 -0700)]
AbstractNorthbound: remove unused variables

update and delete has unused variables.
This patch removes them.

Change-Id: I96825160e67f66ee1f7ec17e27b5ba8a6b6cd639
Signed-off-by: Isaku Yamahata <isaku.yamahata@intel.com>
7 years agoremove redundant methods for compatibility 80/40580/1
Isaku Yamahata [Tue, 21 Jun 2016 05:16:56 +0000 (22:16 -0700)]
remove redundant methods for compatibility

Now neutron spi doesn't have any dependency by other project. Redundant
methods for compatibility can be removed safely.

Change-Id: Ie1325605862917a16364f519746ad8e448dc2573
Signed-off-by: Isaku Yamahata <isaku.yamahata@intel.com>
7 years agoclean up: remove unused import 70/40570/1
Isaku Yamahata [Mon, 20 Jun 2016 19:48:36 +0000 (12:48 -0700)]
clean up: remove unused import

This patch removes unused import.
This is done by eclipse source code clean up over whole neutron
northbound project.

Change-Id: Ibf5136e3ce75bf153ad22fada76b5ebf063375a8
Signed-off-by: Isaku Yamahata <isaku.yamahata@intel.com>
7 years ago[Boron] remove I*Aware interface 05/35505/6
Isaku Yamahata [Sat, 27 Feb 2016 09:38:21 +0000 (01:38 -0800)]
[Boron] remove I*Aware interface

don't backport to Beryllium or before.
remove I*Aware interface. This patch removes deprecated I*Aware interface.
This may break dependent projects so that the merge of this patch requires
coordination with them.

Change-Id: I2ddcb14f314dae7981bf030cdf5c54d74bb800a4
Signed-off-by: Isaku Yamahata <isaku.yamahata@intel.com>
7 years agoyang model revise: neutron.yang 07/40507/1
Isaku Yamahata [Sat, 18 Jun 2016 01:28:16 +0000 (18:28 -0700)]
yang model revise: neutron.yang

neutron.yang should have its prefix as neutron, not neutron-L3.
This seems copy-and-paste bug from neutron-L3.yang

Change-Id: I02a7bd0692cd646a93ad750ad37b5891df480983
Signed-off-by: Isaku Yamahata <isaku.yamahata@intel.com>
8 years agoyang model revise: neutron-secgroups.yang 37/35837/8
Isaku Yamahata [Fri, 4 Mar 2016 02:03:55 +0000 (18:03 -0800)]
yang model revise: neutron-secgroups.yang

This patch revises yang model for security group and related codes.
- drop description for consistency which isn't very useful
- rename id to uuid for consistency
- drop backpointer. list of security rules in security group
  If openstack provider wants a list of rules associated to a given
  security group, walk through rules whose group is the uuid of the group
- eliminated the deprecated methods in neutron-spi

Change-Id: I7a3c79eae446858d6f0f4b8cd8757c85c1dab370
Signed-off-by: Isaku Yamahata <isaku.yamahata@intel.com>
Signed-off-by: Ritu Sood <ritu.sood@intel.com>
8 years agoyang model revise: neutron-binding.yang 30/39330/4
Isaku Yamahata [Wed, 18 May 2016 19:44:12 +0000 (12:44 -0700)]
yang model revise: neutron-binding.yang

This patch revises yang model for neutron-binding and the related code.
- fix vif details. it's a dictionary

Change-Id: Ie1f7e4a63638f143c9396a5d6f1a81aad0628595
Signed-off-by: Isaku Yamahata <isaku.yamahata@intel.com>
8 years agoyang model revise: neutron-l2gateways.yang 38/39238/5
Isaku Yamahata [Wed, 18 May 2016 19:46:44 +0000 (12:46 -0700)]
yang model revise: neutron-l2gateways.yang

This patch revises yang model for l2gateways and the related code
- missing uuid for devices
- pyang warning. unused import, missing key for list
- code indentation

Change-Id: Id20201bc09ea904476d428c4a411d27c1d7bbcf3
Signed-off-by: Isaku Yamahata <isaku.yamahata@intel.com>
8 years agoyang model revise: neutron-vpnaas.yang 37/39237/5
Isaku Yamahata [Wed, 18 May 2016 19:44:51 +0000 (12:44 -0700)]
yang model revise: neutron-vpnaas.yang

This patch revises yang model for neutron vpnaas and the related codes.
- remove descr for consistency, which isn't very useful
- pyang warning. unused import
- eliminate deprecated methods in neutron-spi

Change-Id: I04d055d4f3ee4b2232cabfb34722312447880a72
Signed-off-by: Isaku Yamahata <isaku.yamahata@intel.com>
8 years agoyang model revise: neutron-lbaasv2.yang 36/39236/5
Isaku Yamahata [Fri, 4 Mar 2016 07:46:48 +0000 (23:46 -0800)]
yang model revise: neutron-lbaasv2.yang

This patch revises yang model for neutron lbaasv2 and the related codes.
- drops decr for consistency, which isn't very useful
- fixes range of port/weight to match neutron lbaasv2 api
- eliminates deprecated methods in neutron-spi

Change-Id: Ic50d1c420dc22d19e6e2878f44d5624dc7d6bc88
Signed-off-by: Isaku Yamahata <isaku.yamahata@intel.com>
Signed-off-by: Ritu Sood <ritu.sood@intel.com>
8 years agoyang model revise: neutron-metering.yang 38/35838/8
Isaku Yamahata [Fri, 4 Mar 2016 06:34:01 +0000 (22:34 -0800)]
yang model revise: neutron-metering.yang

This patch revises yang model for metering and related codes.
- drop description for consistency, which isn't very useful
- rename id to uuid for consistency
- add missing attributes. shared, tenant-id
- eliminates the deprecated methods in neutron-spi

Change-Id: I1c91fc2bb2712c3301b9690b714a21ff0bf5cef4
Signed-off-by: Isaku Yamahata <isaku.yamahata@intel.com>
Signed-off-by: Ritu Sood <ritu.sood@intel.com>
8 years agoyang model revise: neutron-fwaas.yang 36/35836/5
Isaku Yamahata [Fri, 4 Mar 2016 01:41:58 +0000 (17:41 -0800)]
yang model revise: neutron-fwaas.yang

This patch revises yang model of neutron fwaas and related codes.
- fix tcp/udp port
- introduce identity and identityref for protocol/action
- drop descr for consistency
- drop backpointers. firewall-rules
  If openstack provider wants a list of rules associated with
  a given firewall policy, walk through rules and find rules whose
  policy is the uuid of the policy.
- drop status in firewall policy which isn't defined in neutron API
- eliminated deprecated methods in neutron-spi

Change-Id: Ie6fac4202fadcff718d0d4960230eefe06852bc6
Signed-off-by: Isaku Yamahata <isaku.yamahata@intel.com>
Signed-off-by: Ritu Sood <ritu.sood@intel.com>
8 years agoyang model revise: neutron-L3.yang 35/35835/8
Isaku Yamahata [Fri, 4 Mar 2016 01:02:57 +0000 (17:02 -0800)]
yang model revise: neutron-L3.yang

This patch revises yang model for neutron-L3 and related codes.
- remove backpointer as interface-attributes
- pyang warning. missing key in leaf list
- remove deprecated methods in neutron spi
  If openstack provider needs to find a list of interfaces attached
  to a given neutron router, it walk through a list of ports to
  find a port whose device owner is router and device id is uuid
  of the router.

Change-Id: I245a880437369448933e9a41feb078a8baecc4d9
Signed-off-by: Isaku Yamahata <isaku.yamahata@intel.com>
Signed-off-by: Ritu Sood <ritu.sood@intel.com>
8 years agoyang model revise: neutron-portsecurity.yang 35/39235/4
Isaku Yamahata [Wed, 18 May 2016 19:44:36 +0000 (12:44 -0700)]
yang model revise: neutron-portsecurity.yang

This patch eliminates pyyang warning. unused import.

Change-Id: I9629a7ac5c97d8239b6cbfcea134f6e1b84ecd3b
Signed-off-by: Isaku Yamahata <isaku.yamahata@intel.com>
8 years agoyang model revise: neutron-ports.yang 39/35839/9
Isaku Yamahata [Fri, 4 Mar 2016 06:34:16 +0000 (22:34 -0800)]
yang model revise: neutron-ports.yang

This patch revises yang model for neutron ports
- type string -> yang:mac-address
- type string -> ip-prefix-or-address
- drop binding-profile which is part of neutron-portbinding.yang
- key for fixed-ips (should be both subnet-id and ip-address)
- eliminate deprecated methods in spi

Change-Id: Idcefd0ab82a9b39ab8b1cdfb7fed92100f65001a
Signed-off-by: Isaku Yamahata <isaku.yamahata@intel.com>
Signed-off-by: Ritu Sood <ritu.sood@intel.com>
8 years agoyang model revise: neutron-subnets.yang 40/35840/8
Isaku Yamahata [Fri, 4 Mar 2016 06:34:26 +0000 (22:34 -0800)]
yang model revise: neutron-subnets.yang

This patch revises neutron-subnet yang model and related codes.
- updates type. string -> inet:ip-address
- removes deprecated SPI methods
- removes backpointers in subnets. ports in subnet

Change-Id: Ie85dcd526db72b308c24b345fd6c1036e04b2d82
Signed-off-by: Isaku Yamahata <isaku.yamahata@intel.com>
Signed-off-by: Ritu Sood <ritu.sood@intel.com>
8 years agoyang model revise: neutron-network.yang 34/39234/4
Isaku Yamahata [Mon, 9 May 2016 21:19:30 +0000 (14:19 -0700)]
yang model revise: neutron-network.yang

This patch revises neutron network model.
This patch drops deprecated methods in neutron spi.

Change-Id: Ib8a6ba9928f504dc4567ec2e08a8aac4387f38dd
Signed-off-by: Isaku Yamahata <isaku.yamahata@intel.com>
8 years agoyang model revise: adds util methods and common types 33/39233/4
Isaku Yamahata [Wed, 18 May 2016 06:28:42 +0000 (23:28 -0700)]
yang model revise: adds util methods and common types

This patch is a preparation for yang model clean up to introduce
to utility methods and common type, ip-prefix-or-address.

Change-Id: Idb566523a2f66899c558fb12c7a8e76d7d330be0
Signed-off-by: Isaku Yamahata <isaku.yamahata@intel.com>
8 years agoBug 3902 : Local variables to be declared final. 19/39819/3
Abbas Pareedkunju [Fri, 3 Jun 2016 06:31:52 +0000 (12:01 +0530)]
Bug 3902 : Local variables to be declared final.

This patch is to declare the local variables to final in transcriber module.
The bug 3902 reported for 4 local variables which are not declared final.
Running eclipse source Clean Up utility against the rule for Variable Declaration
listed the chunk of variables can be declared final.

Change-Id: Ied71645f2434d9827be370dadf1b4400d773b595
Signed-off-by: Abbas Pareedkunju <abbas.pareedkunju@tcs.com>
8 years agoFix for Bug 3902 : Removal of the Unused imports from neutron. 32/39632/6
Abbas Pareedkunju [Tue, 31 May 2016 08:35:59 +0000 (14:05 +0530)]
Fix for Bug 3902 : Removal of the Unused imports from neutron.

This patch is specific to the removal of the Unused imports.

Change-Id: I336751e75103f0ed28f9f0e36014a43c1ba66db8
Signed-off-by: Abbas Pareedkunju <abbas.pareedkunju@tcs.com>
8 years agoYang models for OpenStack Neutron SFC APIs. 48/38748/4
Anil Vishnoi [Thu, 12 May 2016 02:34:54 +0000 (19:34 -0700)]
Yang models for OpenStack Neutron SFC APIs.

Patch has the yang models for OpenStack Neutron Service Function
Chaining API. These models are based on the OpenStack SFC flow
classifier and port grouping APIs. Following URL contains the list
of OpenStack SFC APIs exposed by networking-sfc project:

References:
http://docs.openstack.org/developer/networking-sfc/api.html
https://github.com/openstack/networking-sfc/blob/master/networking_sfc/extensions/sfc.py
https://github.com/openstack/networking-sfc/blob/master/networking_sfc/extensions/flowclassifier.py

Change-Id: I5c1a20d18b34df5850af7ad13529da4a3f1ba767
Signed-off-by: Anil Vishnoi <vishnoianil@gmail.com>
8 years agoBug 5842 - enable neutron northbound Maven site 96/38396/3
Isaku Yamahata [Thu, 5 May 2016 00:52:24 +0000 (17:52 -0700)]
Bug 5842 - enable neutron northbound Maven site

This patch enables neutron northbound maven site to catch up the trends.
https://nexus.opendaylight.org/content/sites/site/org.opendaylight.odlparent/boron/maven-site.html
https://meetings.opendaylight.org/opendaylight-meeting/2016/tws/opendaylight-meeting-tws.2016-04-18-17.04.html

Change-Id: Ibc15272641e7eec368726e4d5ac57b9ec3315b3b
Signed-off-by: Isaku Yamahata <isaku.yamahata@intel.com>
8 years agoBug 5831 - build: check style error 63/38363/1
Isaku Yamahata [Tue, 3 May 2016 22:06:06 +0000 (15:06 -0700)]
Bug 5831 - build: check style error

This patch catches up for changes of odlparent checkstyle.
The checkset of 3b8a0b31dbe283fe37218dae2b997dd293283752 in odlparent
changed headerLocation of checkstyle from LISENCE.txt to
EPL-LICENSE.regexp.txt
https://maven.apache.org/plugins/maven-checkstyle-plugin/checkstyle-mojo.html#headerLocation
It causes the following error.
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:2.16:check (default) on project project-neutron-parent: Failed during checkstyle execution: Failed during checkstyle configuration: unable to read /home/yamahata/openstack/odl/odl/upstream/neutron-maven-upload/parent/target/checkstyle-checker.xml - unable to parse configuration stream - Property ${checkstyle.header.file} has not been set -> [Help 1]

This patch removes the special configuration for neutron northbound so that
it uses odlparent config.

Change-Id: Ib499f2ce0b25a11c2dc73b716a69c78f057f70cf
Signed-off-by: Isaku Yamahata <isaku.yamahata@intel.com>
8 years agoMerge "Use AAAShiroFilter as TokenAuthFilter was deprecated in Be"
Isaku Yamahata [Thu, 21 Apr 2016 19:43:09 +0000 (19:43 +0000)]
Merge "Use AAAShiroFilter as TokenAuthFilter was deprecated in Be"

8 years agoUse AAAShiroFilter as TokenAuthFilter was deprecated in Be 35/37935/2
Ryan Goulding [Wed, 20 Apr 2016 19:40:19 +0000 (15:40 -0400)]
Use AAAShiroFilter as TokenAuthFilter was deprecated in Be

Use the correct shiro filter for neutron endpoints.  TokenAuthFilter was
deprecated from the AAA in Beryllium with this commit:

https://git.opendaylight.org/gerrit/#/c/30677/

AAAShiroFilter is the javax.servlet.Filter that replaces TokenAuthFilter,
and provides additional Realm plugins for the AAA framework.

Change-Id: I7daae17a784037f90b9e814f1bc42fee9a596e00
Signed-off-by: Ryan Goulding <ryandgoulding@gmail.com>
8 years agoAdding Yang Model for Openstack Host Configuration 67/36767/3
Ritu Sood [Thu, 24 Mar 2016 21:49:02 +0000 (14:49 -0700)]
Adding Yang Model for Openstack Host Configuration

Adding YANG module to define host configurations that is used
in specifying the physical host type and configuration
for host system. Examples of host type are network node,
compute node, etc. Example for configuration is a Json string
like {'supported_vnic_types': 'VNIC_NORMAL', 'vif_type':
'VIF_TYPE_VHOST_USER', â€¦.} etc. This information is read
and populated by networking-odl in agent_db in Neutron and
is used by Openstack Neutron scheduler. Supports features
like Port binding and Router scheduling.

Change-Id: I630e6d88f1b1beb6d5e442ccddf6a5d7137a5a51
Signed-off-by: Ritu Sood <ritu.sood@intel.com>
8 years agoMerge "Bug 4815 - Server error with transaction chain failed"
Isaku Yamahata [Tue, 19 Apr 2016 07:42:08 +0000 (07:42 +0000)]
Merge "Bug 4815 - Server error with transaction chain failed"

8 years agoBug 4815 - Server error with transaction chain failed 77/31577/7
Isaku Yamahata [Thu, 17 Dec 2015 23:34:41 +0000 (15:34 -0800)]
Bug 4815 - Server error with transaction chain failed

Depending on condition, neutron northbound returns Server Error 500
with the following exception. This is because the retry logic
in AbstractNeutronInterface is not correct.
Transaction chain can't be used after transaction aborted. So this patch
moves up the retry logic and re-create transaction on transaction abort.

> 2015-12-16 15:15:16,429 | ERROR | neutron/networks | ContainerResponse                | 47 - com.sun.jersey.jersey-server - 1.17.0 | The RuntimeException could not be mapped to a response, re-throwing to the HTTP container
> java.lang.IllegalStateException: Transaction chain has failed
>         at org.opendaylight.controller.sal.core.spi.data.AbstractSnapshotBackedTransactionChain$Shutdown.getSnapshot(AbstractSnapshotBackedTransactionChain.java:93)
>         at org.opendaylight.controller.sal.core.spi.data.AbstractSnapshotBackedTransactionChain.getSnapshot(AbstractSnapshotBackedTransactionChain.java:113)
>         at org.opendaylight.controller.sal.core.spi.data.AbstractSnapshotBackedTransactionChain.newWriteOnlyTransaction(AbstractSnapshotBackedTransactionChain.java:158)
>         at org.opendaylight.controller.cluster.datastore.LocalTransactionChain.newWriteOnlyTransaction(LocalTransactionChain.java:76)
>         at org.opendaylight.controller.cluster.datastore.AbstractTransactionContextFactory.createLocalTransactionContext(AbstractTransactionContextFactory.java:209)
>         at org.opendaylight.controller.cluster.datastore.AbstractTransactionContextFactory.maybeCreateLocalTransactionContext(AbstractTransactionContextFactory.java:58)
>         at org.opendaylight.controller.cluster.datastore.AbstractTransactionContextFactory.onFindPrimaryShardSuccess(AbstractTransactionContextFactory.java:73)
>         at org.opendaylight.controller.cluster.datastore.AbstractTransactionContextFactory.newTransactionContextWrapper(AbstractTransactionContextFactory.java:99)
>         at org.opendaylight.controller.cluster.datastore.TransactionProxy.getContextWrapper(TransactionProxy.java:317)
>         at org.opendaylight.controller.cluster.datastore.TransactionProxy.getContextWrapper(TransactionProxy.java:308)
>         at org.opendaylight.controller.cluster.datastore.TransactionProxy.merge(TransactionProxy.java:159)
>         at org.opendaylight.controller.cluster.databroker.AbstractDOMBrokerWriteTransaction.merge(AbstractDOMBrokerWriteTransaction.java:95)
>         at org.opendaylight.controller.md.sal.binding.impl.BindingDOMWriteTransactionAdapter.ensureParentsByMerge(BindingDOMWriteTransactionAdapter.java:67)
>         at org.opendaylight.controller.md.sal.binding.impl.AbstractWriteTransaction.put(AbstractWriteTransaction.java:41)
>         at org.opendaylight.neutron.transcriber.AbstractNeutronInterface.updateMd(AbstractNeutronInterface.java:177)
>         at org.opendaylight.neutron.transcriber.AbstractNeutronInterface.addMd(AbstractNeutronInterface.java:151)
>         at org.opendaylight.neutron.transcriber.AbstractNeutronInterface.add(AbstractNeutronInterface.java:360)
>         at org.opendaylight.neutron.transcriber.AbstractNeutronInterface$8.action(AbstractNeutronInterface.java:370)
>         at org.opendaylight.neutron.transcriber.AbstractNeutronInterface$8.action(AbstractNeutronInterface.java:367)
>         at org.opendaylight.neutron.transcriber.AbstractNeutronInterface.chainWrapper1(AbstractNeutronInterface.java:94)
>         at org.opendaylight.neutron.transcriber.AbstractNeutronInterface.add(AbstractNeutronInterface.java:366)
>         at org.opendaylight.neutron.northbound.api.AbstractNeutronNorthboundIAware.create(AbstractNeutronNorthboundIAware.java:94)[235:org.opendaylight.neutron.northbound-api:0.6.0.SNAPSHOT]
>         at org.opendaylight.neutron.northbound.api.NeutronNetworksNorthbound.createNetworks(NeutronNetworksNorthbound.java:239)[235:org.opendaylight.neutron.northbound-api:0.6.0.SNAPSHOT]
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[:1.8.0_72-internal]
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[:1.8.0_72-internal]
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[:1.8.0_72-internal]
>         at java.lang.reflect.Method.invoke(Method.java:498)[:1.8.0_72-internal]
>         at com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60)[47:com.sun.jersey.jersey-server:1.17.0]
>         at com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$ResponseOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:205)[47:com.sun.jersey.jersey-server:1.17.0]
>         at com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75)[47:com.sun.jersey.jersey-server:1.17.0]
>         at com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:302)[47:com.sun.jersey.jersey-server:1.17.0]
>         at com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:108)[47:com.sun.jersey.jersey-server:1.17.0]
>         at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)[47:com.sun.jersey.jersey-server:1.17.0]
>         at com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84)[47:com.sun.jersey.jersey-server:1.17.0]
>         at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1511)[47:com.sun.jersey.jersey-server:1.17.0]
>         at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1442)[47:com.sun.jersey.jersey-server:1.17.0]
>         at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1391)[47:com.sun.jersey.jersey-server:1.17.0]
>         at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1381)[47:com.sun.jersey.jersey-server:1.17.0]
>         at com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:416)[174:com.sun.jersey.servlet:1.17.0]
>         at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:538)[174:com.sun.jersey.servlet:1.17.0]
>         at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:716)[174:com.sun.jersey.servlet:1.17.0]
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)[142:org.apache.geronimo.specs.geronimo-servlet_3.0_spec:1.0.0]
>         at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:684)[148:org.eclipse.jetty.aggregate.jetty-all-server:8.1.15.v20140411]
>         at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1496)[148:org.eclipse.jetty.aggregate.jetty-all-server:8.1.15.v20140411]
>         at org.eclipse.jetty.servlets.CrossOriginFilter.handle(CrossOriginFilter.java:247)[148:org.eclipse.jetty.aggregate.jetty-all-server:8.1.15.v20140411]
>         at org.eclipse.jetty.servlets.CrossOriginFilter.doFilter(CrossOriginFilter.java:210)[148:org.eclipse.jetty.aggregate.jetty-all-server:8.1.15.v20140411]
>         at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1467)[148:org.eclipse.jetty.aggregate.jetty-all-server:8.1.15.v20140411]
>         at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:501)[148:org.eclipse.jetty.aggregate.jetty-all-server:8.1.15.v20140411]
>         at org.ops4j.pax.web.service.jetty.internal.HttpServiceServletHandler.doHandle(HttpServiceServletHandler.java:69)[157:org.ops4j.pax.web.pax-web-jetty:3.1.4]
>         at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137)[148:org.eclipse.jetty.aggregate.jetty-all-server:8.1.15.v20140411]
>         at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:557)[148:org.eclipse.jetty.aggregate.jetty-all-server:8.1.15.v20140411]
>         at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231)[148:org.eclipse.jetty.aggregate.jetty-all-server:8.1.15.v20140411]
>         at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1086)[148:org.eclipse.jetty.aggregate.jetty-all-server:8.1.15.v20140411]
>         at org.ops4j.pax.web.service.jetty.internal.HttpServiceContext.doHandle(HttpServiceContext.java:240)[157:org.ops4j.pax.web.pax-web-jetty:3.1.4]
>         at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:429)[148:org.eclipse.jetty.aggregate.jetty-all-server:8.1.15.v20140411]
>         at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193)[148:org.eclipse.jetty.aggregate.jetty-all-server:8.1.15.v20140411]
>         at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1020)[148:org.eclipse.jetty.aggregate.jetty-all-server:8.1.15.v20140411]
>         at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)[148:org.eclipse.jetty.aggregate.jetty-all-server:8.1.15.v20140411]
>         at org.ops4j.pax.web.service.jetty.internal.JettyServerHandlerCollection.handle(JettyServerHandlerCollection.java:75)[157:org.ops4j.pax.web.pax-web-jetty:3.1.4]
>         at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)[148:org.eclipse.jetty.aggregate.jetty-all-server:8.1.15.v20140411]
>         at org.eclipse.jetty.server.Server.handle(Server.java:366)[148:org.eclipse.jetty.aggregate.jetty-all-server:8.1.15.v20140411]
>         at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:494)[148:org.eclipse.jetty.aggregate.jetty-all-server:8.1.15.v20140411]
>         at org.eclipse.jetty.server.AbstractHttpConnection.content(AbstractHttpConnection.java:982)[148:org.eclipse.jetty.aggregate.jetty-all-server:8.1.15.v20140411]
>         at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.content(AbstractHttpConnection.java:1043)[148:org.eclipse.jetty.aggregate.jetty-all-server:8.1.15.v20140411]
>         at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:865)[148:org.eclipse.jetty.aggregate.jetty-all-server:8.1.15.v20140411]
>         at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:240)[148:org.eclipse.jetty.aggregate.jetty-all-server:8.1.15.v20140411]
>         at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82)[148:org.eclipse.jetty.aggregate.jetty-all-server:8.1.15.v20140411]
>         at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:696)[148:org.eclipse.jetty.aggregate.jetty-all-server:8.1.15.v20140411]
>         at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:53)[148:org.eclipse.jetty.aggregate.jetty-all-server:8.1.15.v20140411]
>         at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608)[148:org.eclipse.jetty.aggregate.jetty-all-server:8.1.15.v20140411]
>         at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543)[148:org.eclipse.jetty.aggregate.jetty-all-server:8.1.15.v20140411]
>         at java.lang.Thread.run(Thread.java:745)[:1.8.0_72-internal]
>         at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1086)[148:org.eclipse.jetty.aggregate.jetty-all-server:8.1.15.v20140411]
>         at org.ops4j.pax.web.service.jetty.internal.HttpServiceContext.doHandle(HttpServiceContext.java:240)[157:org.ops4j.pax.web.pax-web-jetty:3.1.4]
>         at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:429)[148:org.eclipse.jetty.aggregate.jetty-all-server:8.1.15.v20140411]
>         at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193)[148:org.eclipse.jetty.aggregate.jetty-all-server:8.1.15.v20140411]
>         at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1020)[148:org.eclipse.jetty.aggregate.jetty-all-server:8.1.15.v20140411]
>         at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)[148:org.eclipse.jetty.aggregate.jetty-all-server:8.1.15.v20140411]
>         at org.ops4j.pax.web.service.jetty.internal.JettyServerHandlerCollection.handle(JettyServerHandlerCollection.java:75)[157:org.ops4j.pax.web.pax-web-jetty:3.1.4]
>         at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)[148:org.eclipse.jetty.aggregate.jetty-all-server:8.1.15.v20140411]
>         at org.eclipse.jetty.server.Server.handle(Server.java:366)[148:org.eclipse.jetty.aggregate.jetty-all-server:8.1.15.v20140411]
>         at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:494)[148:org.eclipse.jetty.aggregate.jetty-all-server:8.1.15.v20140411]
>         at org.eclipse.jetty.server.AbstractHttpConnection.content(AbstractHttpConnection.java:982)[148:org.eclipse.jetty.aggregate.jetty-all-server:8.1.15.v20140411]
>         at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.content(AbstractHttpConnection.java:1043)[148:org.eclipse.jetty.aggregate.jetty-all-server:8.1.15.v20140411]
>         at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:865)[148:org.eclipse.jetty.aggregate.jetty-all-server:8.1.15.v20140411]
>         at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:240)[148:org.eclipse.jetty.aggregate.jetty-all-server:8.1.15.v20140411]
>         at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82)[148:org.eclipse.jetty.aggregate.jetty-all-server:8.1.15.v20140411]
>         at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:696)[148:org.eclipse.jetty.aggregate.jetty-all-server:8.1.15.v20140411]
>         at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:53)[148:org.eclipse.jetty.aggregate.jetty-all-server:8.1.15.v20140411]
>         at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608)[148:org.eclipse.jetty.aggregate.jetty-all-server:8.1.15.v20140411]
>         at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543)[148:org.eclipse.jetty.aggregate.jetty-all-server:8.1.15.v20140411]
>         at java.lang.Thread.run(Thread.java:745)[:1.8.0_72-internal]

Change-Id: I3b6127bc9c395360a5bf408402734279015def0d
Signed-off-by: Isaku Yamahata <isaku.yamahata@intel.com>
8 years agoAdd dependency on javax.validation validation-api 56/37556/2
Ryan Goulding [Wed, 13 Apr 2016 15:35:36 +0000 (11:35 -0400)]
Add dependency on javax.validation validation-api

In order to upgrade to org.eclipse.persistence to 2.6.0+ in odlparent,
downstream consumers must include the dependency on javax.validation
validation-api version 1.1.0.Final as described here:

http://stackoverflow.com/questions/28568154/
how-to-get-eclipselink-2-6-0-m3-working-with-jersey-1-18-3

The work to upgrade odlparent's moxy version is included in this patch:
https://git.opendaylight.org/gerrit/#/c/37541/

Change-Id: I808f90066189852300e38df6b50daf55d5c3aab2
Signed-off-by: Ryan Goulding <ryandgoulding@gmail.com>
8 years agoMerge "Bug 5478 - northbound: improve 404 check on update/delete"
Isaku Yamahata [Tue, 22 Mar 2016 22:37:17 +0000 (22:37 +0000)]
Merge "Bug 5478 - northbound: improve 404 check on update/delete"

8 years agoMerge "ITNeutronE2E: refactor test_fetch"
Isaku Yamahata [Tue, 22 Mar 2016 13:59:32 +0000 (13:59 +0000)]
Merge "ITNeutronE2E: refactor test_fetch"

8 years agoITNeutronE2E: refactor test_fetch 09/36509/2
Isaku Yamahata [Mon, 21 Mar 2016 17:32:25 +0000 (10:32 -0700)]
ITNeutronE2E: refactor test_fetch

refactor test_fetch method.

Change-Id: I009968c1342a94cf6bd0ed40fe0c9b006b97c5cd
Signed-off-by: Isaku Yamahata <isaku.yamahata@intel.com>
8 years agoMerge "NeutronSecurityRuleInterface: remove nonsense code"
Isaku Yamahata [Mon, 21 Mar 2016 21:21:43 +0000 (21:21 +0000)]
Merge "NeutronSecurityRuleInterface: remove nonsense code"

8 years agoMerge "NeutronSubnetInterface: remove non sense code"
Isaku Yamahata [Mon, 21 Mar 2016 21:21:12 +0000 (21:21 +0000)]
Merge "NeutronSubnetInterface: remove non sense code"

8 years agoMerge "NeutronLoadBalancerPoolInterface: remove unused static final variables"
Isaku Yamahata [Mon, 21 Mar 2016 21:20:53 +0000 (21:20 +0000)]
Merge "NeutronLoadBalancerPoolInterface: remove unused static final variables"

8 years agoBug 5478 - northbound: improve 404 check on update/delete 67/36467/3
Isaku Yamahata [Fri, 18 Mar 2016 19:22:48 +0000 (12:22 -0700)]
Bug 5478 - northbound: improve 404 check on update/delete

canDelete should not be called on deletion on non-exist resource. Instead,
it should return 404 immediately without calling I*Aware.
This patch improves 404 check by adds missing 404 check by checking
return value on update and delete with a bit clean up.

Change-Id: Ia4fe068540022f687d942204f3b243ccbcbac578
Signed-off-by: Isaku Yamahata <isaku.yamahata@intel.com>
8 years agoMerge "Do not deploy the karaf artifact"
Isaku Yamahata [Sat, 19 Mar 2016 16:24:56 +0000 (16:24 +0000)]
Merge "Do not deploy the karaf artifact"

8 years agoNeutronLoadBalancerPoolInterface: remove unused static final variables 65/36465/1
Isaku Yamahata [Fri, 18 Mar 2016 18:53:37 +0000 (11:53 -0700)]
NeutronLoadBalancerPoolInterface: remove unused static final variables

Change-Id: I31e4effccd59c0a6f9a08a452ce2411231d590df
Signed-off-by: Isaku Yamahata <isaku.yamahata@intel.com>
8 years agoNeutronSubnetInterface: remove non sense code 63/36463/1
Isaku Yamahata [Fri, 18 Mar 2016 18:47:45 +0000 (11:47 -0700)]
NeutronSubnetInterface: remove non sense code

addSubnet and removeSubnet methods carries legacy code
which doesn't have any effect.
This patch Removes them and simplifies the code

Change-Id: I30d7f71336f9b7a99690235a7474e2fda67b8315
Signed-off-by: Isaku Yamahata <isaku.yamahata@intel.com>
8 years agoNeutronSecurityRuleInterface: remove nonsense code 64/36464/1
Isaku Yamahata [Fri, 18 Mar 2016 18:34:15 +0000 (11:34 -0700)]
NeutronSecurityRuleInterface: remove nonsense code

updateSecGroupRuleInSecurityGroup and removeSecGroupRuleFromSecurityGroup
have no effect any more. They modifies variables no one else refers to.
There is no point to carry those methods.
So this patch removes those methods and simplify related code.

Change-Id: I378b8ce72b2d064940a5f345d1b55e60dd9981ae
Signed-off-by: Isaku Yamahata <isaku.yamahata@intel.com>
8 years agoDo not deploy the karaf artifact 57/36357/2
Thanh Ha [Wed, 16 Mar 2016 22:38:11 +0000 (18:38 -0400)]
Do not deploy the karaf artifact

The karaf artifact is only used for testing. It does not need to be
released to the world.

Change-Id: Ic1ff344fa606666c08ec6c75e89984c535454bf3
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
8 years agoUse controller.mdsal.version when appropriate 29/36229/1
Mike Kolesnik [Tue, 15 Mar 2016 06:33:21 +0000 (08:33 +0200)]
Use controller.mdsal.version when appropriate

Use the property controller.mdsal.version when looking for mdsal
artifacts from org.opendaylight.controller.

Otherwise, it's confusing since mdsal.version actually referrs to
artifacts from org.opendaylight.mdsal.

Change-Id: I9571969998a04a0fdae65eb61ffab414b45ee60d
Signed-off-by: Mike Kolesnik <mkolesni@redhat.com>
8 years agoBug 4550 - always rebuild security group rule in security group 57/33957/5
Isaku Yamahata [Wed, 3 Feb 2016 10:02:33 +0000 (02:02 -0800)]
Bug 4550 - always rebuild security group rule in security group

The change set of 906836c289a7e4c3d33669d90515d77e75cfb6d,
the effort transparent neutron northbound api, caused not to update
security group rule in security group.
So always rebuild rules in NeutronSecurityGroup and keep
security group rule in security group of yang model empty list.

openstack service provider that uses MD-SAL should not use
security group rules in security rule. But it should listen to
data change notification on security group rules.

Change-Id: I7da2e23d9c45549d2f5d138dfea148e36bd8061b
Signed-off-by: Isaku Yamahata <isaku.yamahata@intel.com>
8 years agoMerge "Bug 5431: Fixing bug & adding new tests for code coverage"
Isaku Yamahata [Thu, 10 Mar 2016 23:37:25 +0000 (23:37 +0000)]
Merge "Bug 5431: Fixing bug & adding new tests for code coverage"

8 years agoMerge "Added PortSecurity attribute support"
Isaku Yamahata [Wed, 9 Mar 2016 10:10:51 +0000 (10:10 +0000)]
Merge "Added PortSecurity attribute support"

8 years agoMerge "Bug 4354 -fromMd() doesn't convert tenant_id to neutron object"
Isaku Yamahata [Wed, 9 Mar 2016 10:02:04 +0000 (10:02 +0000)]
Merge "Bug 4354 -fromMd() doesn't convert tenant_id to neutron object"

8 years agoMerge "Bug 5431 - Fixing bug & adding new tests for VPN files"
Isaku Yamahata [Wed, 9 Mar 2016 10:00:59 +0000 (10:00 +0000)]
Merge "Bug 5431 - Fixing bug & adding new tests for VPN files"

8 years agoMerge "Bug 5431 - Fixing bug & adding new tests for LB files"
Isaku Yamahata [Wed, 9 Mar 2016 10:00:19 +0000 (10:00 +0000)]
Merge "Bug 5431 - Fixing bug & adding new tests for LB files"

8 years agoAdded PortSecurity attribute support 68/34868/5
Dileep [Wed, 17 Feb 2016 14:12:39 +0000 (06:12 -0800)]
Added PortSecurity attribute support

Added portsecurity extension as augmentation for backward compatibility
Refer - http://developer.openstack.org/api-ref-networking-v2-ext.html

Change-Id: I75523702f6b1e83f192587396e3d103e507872d3
Signed-off-by: Dileep <dileep.ranganathan@intel.com>
8 years agoBug 4354 -fromMd() doesn't convert tenant_id to neutron object 17/35517/2
Ritu Sood [Sat, 27 Feb 2016 06:03:27 +0000 (22:03 -0800)]
Bug 4354 -fromMd() doesn't convert tenant_id to neutron object

L2 Gateway and L2 Gateway connection doesn't convert
tenant_id to neutron object properly. Adding a test case
to improve coverage. Fixed a test case to use proper
UUID format.

Change-Id: I92518fbffe5ee01c68c2bea79cb7299330737f4a
Signed-off-by: Ritu Sood <ritu.sood@intel.com>
8 years agoBug 5431: Fixing bug & adding new tests for code coverage 16/35516/2
Ritu Sood [Sat, 27 Feb 2016 04:43:08 +0000 (20:43 -0800)]
Bug 5431: Fixing bug & adding new tests for code coverage

Fixing parameter type in @GET function in
some NN API and adding new tests for NN API
files. Increased code coverage ~ 20% for these files

Change-Id: I63a871b7fc0270e325da0d03ef991c5aaa6f8843
Signed-off-by: Ritu Sood <ritu.sood@intel.com>
8 years agoBug 5431 - Fixing bug & adding new tests for VPN files 10/35510/2
Ritu Sood [Sat, 27 Feb 2016 02:05:59 +0000 (18:05 -0800)]
Bug 5431 - Fixing bug & adding new tests for VPN files

Fixing parameter type in @GET function in IPSEC
Site Connection and VPN NN API adding new tests
VPN files.
Increases code coverage ~20% for these files

Change-Id: I7061735fec84bedc1bae210dcfa4bc7b5df464c0
Signed-off-by: Ritu Sood <ritu.sood@intel.com>
8 years agoBug 5431 - Fixing bug & adding new tests for LB files 97/35497/2
Ritu Sood [Fri, 26 Feb 2016 03:20:46 +0000 (19:20 -0800)]
Bug 5431 - Fixing bug & adding new tests for LB files

Fixing wrong parameter type in @GET function in
LB NN API and adding new tests for LB
files. Increased code coverage ~ 20% for these files

Change-Id: I4a5c373fc199c868655f6fef6be581cef761d24a
Signed-off-by: Ritu Sood <ritu.sood@intel.com>
8 years agoBug 5431 - Fixing bug & adding new tests for firewall file 91/35491/2
Ritu Sood [Fri, 26 Feb 2016 01:55:46 +0000 (17:55 -0800)]
Bug 5431 - Fixing bug & adding new tests for firewall file

Fixing parameter type in @GET function in
firewall_policy NN API adding new tests for firewall
files. Increased code coverage ~ 20% for these files

Change-Id: Ic73601e99d91d6e67b7db7852c5e1f07974b300b
Signed-off-by: Ritu Sood <ritu.sood@intel.com>
8 years agoAdding new test cases for Security Group and rules API 31/35431/2
Ritu Sood [Thu, 25 Feb 2016 04:03:26 +0000 (20:03 -0800)]
Adding new test cases for Security Group and rules API

Adding a helper function to iterate over the JSON
string used during create to extract key values
pairs and then invoke GET with query with that
key value pair. Updated security group and security
rule tests to call this new tests. ~15% Code coverage
improvement with these new tests for the two files.

Change-Id: Ib9a8878a49feb0d897f8d67b50ca2f2429dc8341
Signed-off-by: Ritu Sood <ritu.sood@intel.com>
8 years agoMerge "Bug 5210 - GET/DELETE L2GatewayConnection with optional portId"
Isaku Yamahata [Fri, 4 Mar 2016 23:14:43 +0000 (23:14 +0000)]
Merge "Bug 5210 - GET/DELETE L2GatewayConnection with optional portId"

8 years agoMerge "maven version requirement is 3.1.1"
Isaku Yamahata [Fri, 4 Mar 2016 23:14:33 +0000 (23:14 +0000)]
Merge "maven version requirement is 3.1.1"

8 years agoBug 4944 - Fixing a QueryParam name typo 29/32429/7
Ritu Sood [Mon, 11 Jan 2016 20:39:11 +0000 (12:39 -0800)]
Bug 4944 - Fixing a QueryParam name typo

QueryParam  string is wrongly called shared when it
should be admin_state_up. Added test for checking
response of a query in a collection and added
testcase for reproducing the bug. Changeset
445690e94dd990ad6d117b4d7c86e95b8bf9392b
in stable/beryllium fixes the same issue.

Change-Id: I2e5a40ed392d57d9f1d61696910ad3613cdb206e
Signed-off-by: Ritu Sood <ritu.sood@intel.com>