controller.git
6 years agoMerge "Update to new version of the artifacts proposed by jenkins-controller-version...
Ed Warnicke [Wed, 22 Jan 2014 04:50:00 +0000 (04:50 +0000)]
Merge "Update to new version of the artifacts proposed by jenkins-controller-version-changes-11"

6 years agoMerge "Fix bug in hello message: module with more revisions."
Ed Warnicke [Wed, 22 Jan 2014 04:48:44 +0000 (04:48 +0000)]
Merge "Fix bug in hello message: module with more revisions."

6 years agoMerge "fix of Bug 314"
Ed Warnicke [Wed, 22 Jan 2014 04:46:53 +0000 (04:46 +0000)]
Merge "fix of Bug 314"

6 years agoMerge "Fix: removed tabs from yang files."
Ed Warnicke [Wed, 22 Jan 2014 04:46:37 +0000 (04:46 +0000)]
Merge "Fix: removed tabs from yang files."

6 years agoMerge "Tests for loading data with augmented schema nodes with equal names"
Ed Warnicke [Wed, 22 Jan 2014 04:12:29 +0000 (04:12 +0000)]
Merge "Tests for loading data with augmented schema nodes with equal names"

6 years agoMerge "Clean up unnecessary imports in 01-md-sal.xml ."
Ed Warnicke [Wed, 22 Jan 2014 04:09:20 +0000 (04:09 +0000)]
Merge "Clean up unnecessary imports in 01-md-sal.xml ."

6 years agoMerge "The config now is loaded only from the coordinator. The previous way of loadin...
Alessandro Boch [Wed, 22 Jan 2014 03:51:48 +0000 (03:51 +0000)]
Merge "The config now is loaded only from the coordinator. The previous way of loading the config only if empty had some side-effects."

6 years agoMerge "Migrate all artifact versions to dependencyManagement"
Alessandro Boch [Wed, 22 Jan 2014 03:51:28 +0000 (03:51 +0000)]
Merge "Migrate all artifact versions to dependencyManagement"

6 years agoMerge "InputStream for RSA file should not be static"
Ed Warnicke [Wed, 22 Jan 2014 02:46:01 +0000 (02:46 +0000)]
Merge "InputStream for RSA file should not be static"

6 years agoMerge "Changed codec for Identityref in JSON transformation"
Ed Warnicke [Wed, 22 Jan 2014 02:45:31 +0000 (02:45 +0000)]
Merge "Changed codec for Identityref in JSON transformation"

6 years agoMerge "OSGI version change to 5.0.0 in ganymed subproject"
Ed Warnicke [Wed, 22 Jan 2014 02:15:41 +0000 (02:15 +0000)]
Merge "OSGI version change to 5.0.0 in ganymed subproject"

6 years agoMerge "Enhancements to remote rpc server. Using zmq router-dealer bridge to make...
Ed Warnicke [Wed, 22 Jan 2014 02:14:43 +0000 (02:14 +0000)]
Merge "Enhancements to remote rpc server. Using zmq router-dealer bridge to make the server async. Enhancements to remote rpc client. Using zmq router-dealer bridge to make the client async. Added configuration for remote rpc in Configuration subsystem On Server startup reading of routingtable to populate remoterpcs was giving exception - fixed the same Client was not registered with Server and addRPCImplementation was failing - fixed the same ServerImpl was not getting registered as listener to RoutingTable hence announcement was not received on remote - fixed the same Patch 6: Some unit tests were intemittently hanging. ZMQ Test server was not gracefully shutting down."

6 years agoThe config now is loaded only from the coordinator. The previous way of loading 26/4526/3
Asad Ahmed [Tue, 21 Jan 2014 20:38:51 +0000 (12:38 -0800)]
The config now is loaded only from the coordinator. The previous way of loading
the config only if empty had some side-effects.

Change-Id: I4f1819c60b491a36e1c14a78ec376e2dfcee8583
Signed-off-by: Asad Ahmed <asaahmed@cisco.com>
6 years agoMerge "Bug fix for bug 328 https://bugs.opendaylight.org/show_bug.cgi?id=328#add_comment"
Alessandro Boch [Tue, 21 Jan 2014 22:36:34 +0000 (22:36 +0000)]
Merge "Bug fix for bug 328 https://bugs.opendaylight.org/show_bug.cgi?id=328#add_comment"

6 years agoBug fix for bug 328 93/4493/3
Dave Tucker [Tue, 21 Jan 2014 11:50:39 +0000 (11:50 +0000)]
Bug fix for bug 328
https://bugs.opendaylight.org/show_bug.cgi?id=328#add_comment

Casts node_id to long before instantiatiing an Node

Change-Id: I846bfe11cef49adeea65d9d2cce6a0d7444b93f5
Signed-off-by: Dave Tucker <dave.j.tucker@hp.com>
6 years agoMigrate all artifact versions to dependencyManagement 22/4522/1
Giovanni Meo [Tue, 21 Jan 2014 17:57:28 +0000 (18:57 +0100)]
Migrate all artifact versions to dependencyManagement

- Migrate all the artifacts to use dependencyManagement to centralize
the version changes in controller and make sure the dry-run for
release could actually rewrite those.

Change-Id: I510e4f15d6d75ec52d49835600338fa069a5a4f6
Signed-off-by: Giovanni Meo <gmeo@cisco.com>
6 years agoUpdate to new version of the artifacts proposed by jenkins-controller-version-changes-11 14/4514/1
jenkins-controller [Tue, 21 Jan 2014 17:43:33 +0000 (17:43 +0000)]
Update to new version of the artifacts proposed by jenkins-controller-version-changes-11

Change-Id: If1cdd56839fc0e15cb2c1fa946897b58d7bcfa37
Signed-off-by: jenkins-controller <jenkins-controller@opendaylight.org>
6 years agofix of Bug 314 54/4454/2
Martin Sunal [Mon, 20 Jan 2014 17:10:47 +0000 (18:10 +0100)]
fix of Bug 314

- corrected POST operation

Change-Id: Ia5cbf9dcf662c15dc8c25f0dada359e78091ee87
Signed-off-by: Martin Sunal <msunal@cisco.com>
6 years agoFix bug in hello message: module with more revisions. 05/4505/1
Tomas Olvecky [Tue, 21 Jan 2014 14:26:39 +0000 (15:26 +0100)]
Fix bug in hello message: module with more revisions.

When yang store discovers new yang files, it should keep all modules
provided by the parser. The old behavior was that only only one
module instance was chosen. This change results in hello message
containing all revisions of all modules.

Change-Id: I5f580042303573fb4fd2d592846763d46bbb1d66
Signed-off-by: Tomas Olvecky <tolvecky@cisco.com>
6 years agoTests for loading data with augmented schema nodes with equal names 95/4495/1
Jozef Gloncak [Tue, 21 Jan 2014 12:06:48 +0000 (13:06 +0100)]
Tests for loading data with augmented schema nodes with equal names

Tests loading and normalization of JSON and XML data to composite/simple node structure when
schema node structure contains several nodes with equal name which were
added through augmentation.

Change-Id: I18d00ace7b3f7a4bd3c757330024798cec890784
Signed-off-by: Jozef Gloncak <jgloncak@cisco.com>
6 years agoClean up unnecessary imports in 01-md-sal.xml . 91/4491/1
Tomas Olvecky [Tue, 21 Jan 2014 11:02:21 +0000 (12:02 +0100)]
Clean up unnecessary imports in 01-md-sal.xml .

Also remove unused import of ietf-inet-types in odl-sal-netconf-connector-cfg.yang .

Change-Id: I324cc6124bf3f6cc51f29436100ace559f6427b9
Signed-off-by: Tomas Olvecky <tolvecky@cisco.com>
6 years agoFixing a NullPointerException in Neutron Interface (Bug-323) 67/4367/3
Madhu Venugopal [Fri, 17 Jan 2014 23:58:30 +0000 (15:58 -0800)]
Fixing a NullPointerException in Neutron Interface (Bug-323)

Ideally, this condition should never occur. But there seems to be a consistency issue in the ML2 driver
which could potentially result in this condition. While we are addressing the root-cause in ODL ML2
driver, we should also patch our side of the interface as well to avoid failing for such conditions when
it is harmless for a few usecases.

Change-Id: Iff5fdb76b45280aba38607cdcf82715cb4338b05
Signed-off-by: Madhu Venugopal <mavenugo@gmail.com>
6 years agoInputStream for RSA file should not be static 49/4449/5
Martin Bobak [Mon, 20 Jan 2014 14:54:56 +0000 (15:54 +0100)]
InputStream for RSA file should not be static

- input stream is used in AuthProvider constructor
  and closed

Change-Id: I4c498062a6f76eb43a86a0c4a1e1648f8cee01a3
Signed-off-by: Martin Bobak <mbobak@cisco.com>
6 years agoEnhancements to remote rpc server. Using zmq router-dealer bridge to make the server... 86/3686/7
Abhishek Kumar [Thu, 12 Dec 2013 19:50:31 +0000 (11:50 -0800)]
Enhancements to remote rpc server. Using zmq router-dealer bridge to make the server async.
Enhancements to remote rpc client. Using zmq router-dealer bridge to make the client async.
Added configuration for remote rpc in Configuration subsystem
On Server startup reading of routingtable to populate remoterpcs was giving exception - fixed the same
Client was not registered with Server and addRPCImplementation was failing - fixed the same
ServerImpl was not getting registered as listener to RoutingTable hence announcement was not received on remote - fixed the same
Patch 6: Some unit tests were intemittently hanging. ZMQ Test server was not gracefully shutting down.

Change-Id: I6054443b39394f82258522205ccd4be470f597f0
Signed-off-by: Basheeruddin Ahmed <syedbahm@cisco.com>
Signed-off-by: Abhishek Kumar <abhishk2@cisco.com>
6 years agoMerge "Fix for Bugs 324"
Giovanni Meo [Mon, 20 Jan 2014 21:19:31 +0000 (21:19 +0000)]
Merge "Fix for Bugs 324"

6 years agoMerge "run.sh: fix -status command exit codes"
Ed Warnicke [Mon, 20 Jan 2014 21:13:31 +0000 (21:13 +0000)]
Merge "run.sh: fix -status command exit codes"

6 years agoMerge "Updated port-types yang file to adhere to pyang validation. OF Plugin review...
Ed Warnicke [Mon, 20 Jan 2014 15:56:52 +0000 (15:56 +0000)]
Merge "Updated port-types yang file to adhere to pyang validation. OF Plugin review: https://git.opendaylight.org/gerrit/#/c/4434/ Signed-off-by: Deepthi V V <deepthi.v.v@ericsson.com> Change-Id: I4e1d0dd355864d7ed3f6f9ce4251d20db40a5a05"

6 years agoFix: removed tabs from yang files. 51/4451/1
Milos Fabian [Mon, 20 Jan 2014 14:50:21 +0000 (15:50 +0100)]
Fix: removed tabs from yang files.

Signed-off-by: Milos Fabian <milfabia@cisco.com>
Change-Id: I1f6fcba1c5dfc3eddb53adc89950ed20795dddfb

6 years agoMerge "pyang fixes for table/meter types"
Ed Warnicke [Mon, 20 Jan 2014 13:50:02 +0000 (13:50 +0000)]
Merge "pyang fixes for table/meter types"

6 years agopyang fixes for table/meter types 37/4437/3
Prasanna Huddar [Mon, 20 Jan 2014 11:37:24 +0000 (17:07 +0530)]
pyang fixes for table/meter types

Signed-off-by: Prasanna Huddar <prasanna.huddar@ericsson.com>
Change-Id: I0a60d90b0859257e1c466f1a353aa57840f2072d

6 years agoChanged codec for Identityref in JSON transformation 38/4438/1
Martin Sunal [Mon, 20 Jan 2014 11:39:25 +0000 (12:39 +0100)]
Changed codec for Identityref in JSON transformation

- codec for Identityref which is used in JSON transformation can use mount point

Change-Id: Icdef737216f1d9a46cc7b40135b1b472d732caff
Signed-off-by: Martin Sunal <msunal@cisco.com>
6 years agoUpdated port-types yang file to adhere to pyang validation. 33/4433/2
Deepthi V V [Mon, 20 Jan 2014 10:39:54 +0000 (16:09 +0530)]
Updated port-types yang file to adhere to pyang validation.
OF Plugin review: https://git.opendaylight.org/gerrit/#/c/4434/
Signed-off-by: Deepthi V V <deepthi.v.v@ericsson.com>
Change-Id: I4e1d0dd355864d7ed3f6f9ce4251d20db40a5a05

6 years agoOSGI version change to 5.0.0 in ganymed subproject 26/4426/1
Robert Gallas [Mon, 20 Jan 2014 07:34:34 +0000 (08:34 +0100)]
OSGI version change to 5.0.0 in ganymed subproject

Change-Id: I11a43745e91ae4d9d39862120b457eb557574447
Signed-off-by: Robert Gallas <rgallas@cisco.com>
6 years agoFix for bug 288 16/4416/2
Anil Vishnoi [Sun, 19 Jan 2014 20:58:22 +0000 (02:28 +0530)]
Fix for  bug 288
https://bugs.opendaylight.org/show_bug.cgi?id=288

Change-Id: I44d5537c26060a1e49c164dc12f155a5bde61a43
Signed-off-by: Anil Vishnoi <avishnoi@in.ibm.com>
6 years agoFix for Bugs 324 10/4410/4
Ed Warnicke [Sun, 19 Jan 2014 19:26:44 +0000 (13:26 -0600)]
Fix for Bugs 324

Small fix to handle an NPE in TopologyMapping

Change-Id: I6040854ea281f501c62985b0a1fab709fda8c486
Signed-off-by: Ed Warnicke <eaw@cisco.com>
6 years agoUse version 0.6.0-SNAPSHOT of yangtools everywhere in controller. 98/4298/5
Tomas Olvecky [Thu, 16 Jan 2014 09:50:38 +0000 (10:50 +0100)]
Use version 0.6.0-SNAPSHOT of yangtools everywhere in controller.

As of yangtools commit f5e9689b95d945c22c7a38870681cab899326de9, all projects
in yangtools repo have version 0.6.0-SNAPSHOT. This commit bumps all
yangtools dependencies to this version.

Change-Id: I4aab7c67ee7ce99618a8935cb6b6fecc5688aace
Signed-off-by: Tomas Olvecky <tolvecky@cisco.com>
6 years agopyang fixes for base model type. changes do not affect plugin build 06/4406/2
Prasanna Huddar [Mon, 20 Jan 2014 03:49:24 +0000 (19:49 -0800)]
pyang fixes for base model type. changes do not affect plugin build

Signed-off-by: Prasanna Huddar <prasanna.huddar@ericsson.com>
Change-Id: I1828a86aa1b88467435c136fbb4882ecb409fbfc

6 years agopyang fixes for inventory and topology models 05/4405/2
Prasanna Huddar [Mon, 20 Jan 2014 03:43:39 +0000 (19:43 -0800)]
pyang fixes for inventory and topology models

Signed-off-by: Prasanna Huddar <prasanna.huddar@ericsson.com>
Change-Id: I0ef0e3a7a0ca96743d5c1d304b3a9f70714593c5

6 years agopyang fixes for service models 04/4404/2
Prasanna Huddar [Mon, 20 Jan 2014 03:38:47 +0000 (19:38 -0800)]
pyang fixes for service models

Signed-off-by: Prasanna Huddar <prasanna.huddar@ericsson.com>
Change-Id: I425794e060f352ccc3788c0123b1f50c832b89dc

6 years agopyang fixes for statistics module 02/4402/2
Prasanna Huddar [Mon, 20 Jan 2014 03:31:52 +0000 (19:31 -0800)]
pyang fixes for statistics module

Signed-off-by: Prasanna Huddar <prasanna.huddar@ericsson.com>
Change-Id: I7dd4c3c5bb5478abe02bf744a99163f9d76680f3

6 years agopyang error fixes for management models. 01/4401/3
Prasanna Huddar [Mon, 20 Jan 2014 03:25:38 +0000 (19:25 -0800)]
pyang error fixes for management models.
Error fixed:
   name should be same as module name.
   all warning removed.

Signed-off-by: Prasanna Huddar <prasanna.huddar@ericsson.com>
Change-Id: Ic2f510fb0a5618faaedfa396ff9e13be4f206c59

6 years agoDo not wait for non-existing modules 99/4399/1
Robert Varga [Sun, 19 Jan 2014 13:43:18 +0000 (14:43 +0100)]
Do not wait for non-existing modules

The two capabilities removed are exposed from bgpcep concepts, so md-sal
configuration should not depend on them.

Change-Id: Id59ebc9af525b6b13becf46e006183ef34f511e5
Signed-off-by: Robert Varga <rovarga@cisco.com>
6 years agorun.sh: fix -status command exit codes 79/4379/1
Chris Wright [Sun, 19 Jan 2014 07:37:05 +0000 (23:37 -0800)]
run.sh: fix -status command exit codes

Currently -status command exits with exit code 0 to represent both
'running' and 'not running' state when pidfile is found and -1 when
pidfile is not found (likely not running).  Overloading exit code 0 makes
wrapper scripts incapable of differentiating 'running' from 'not running.'
Make 0 == running, 1 == not running, and -1 likely not running.

Change-Id: Ic258ab34e03ae1777b00bab75d1cfe30bc6c90da
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
6 years agoMerge "Move protocol framework from BGPCEP project"
Ed Warnicke [Sat, 18 Jan 2014 20:00:25 +0000 (20:00 +0000)]
Merge "Move protocol framework from BGPCEP project"

6 years agoMerge "Fix thread safety issue with StartExi operation"
Ed Warnicke [Sat, 18 Jan 2014 19:10:44 +0000 (19:10 +0000)]
Merge "Fix thread safety issue with StartExi operation"

6 years agoMove protocol framework from BGPCEP project 15/4315/5
Robert Varga [Thu, 16 Jan 2014 10:58:29 +0000 (11:58 +0100)]
Move protocol framework from BGPCEP project

This moves the current parts of BGPCEP protocol framework into the
controller project, eliminating the circular dependency forced by
netconf being resident in this project.

Change-Id: I7c8457ebaec5c261217587d60a95a7b35e473d1e
Signed-off-by: Robert Varga <rovarga@cisco.com>
6 years agoRemove dependecies on bgpcep concepts/util 97/4297/7
Robert Varga [Thu, 16 Jan 2014 09:49:24 +0000 (10:49 +0100)]
Remove dependecies on bgpcep concepts/util

Change-Id: I2d1c1175ee06e77e0d6e3a31b98cd44843572bc6
Signed-off-by: Robert Varga <rovarga@cisco.com>
6 years agoMerge "Do not instantiate constant lists on each message"
Ed Warnicke [Sat, 18 Jan 2014 18:33:04 +0000 (18:33 +0000)]
Merge "Do not instantiate constant lists on each message"

6 years agoMerge "Switch to using yangtools version of mockito-configuration"
Ed Warnicke [Sat, 18 Jan 2014 18:32:37 +0000 (18:32 +0000)]
Merge "Switch to using yangtools version of mockito-configuration"

6 years agoMerge "Fixed NetconfDevice to store capability info."
Ed Warnicke [Sat, 18 Jan 2014 17:52:45 +0000 (17:52 +0000)]
Merge "Fixed NetconfDevice to store capability info."

6 years agoMerge "increased test coverage"
Ed Warnicke [Sat, 18 Jan 2014 17:50:19 +0000 (17:50 +0000)]
Merge "increased test coverage"

6 years agoMerge "Switch testing configuration for md-sal tests to xml."
Ed Warnicke [Sat, 18 Jan 2014 17:49:44 +0000 (17:49 +0000)]
Merge "Switch testing configuration for md-sal tests to xml."

6 years agoMerge "Add deprecated warning for plaintext configuration files in config persister"
Ed Warnicke [Sat, 18 Jan 2014 17:49:16 +0000 (17:49 +0000)]
Merge "Add deprecated warning for plaintext configuration files in config persister"

6 years agoMerge "Update ietf yang dependencies from rev130712 to rev131021."
Ed Warnicke [Sat, 18 Jan 2014 17:43:25 +0000 (17:43 +0000)]
Merge "Update ietf yang dependencies from rev130712 to rev131021."

6 years agoMerge "Rename initial config files from *.xml.conf to *.xml"
Ed Warnicke [Sat, 18 Jan 2014 17:43:11 +0000 (17:43 +0000)]
Merge "Rename initial config files from *.xml.conf to *.xml"

6 years agoMerge "removing the old FRM code"
Ed Warnicke [Sat, 18 Jan 2014 17:01:47 +0000 (17:01 +0000)]
Merge "removing the old FRM code"

6 years agoMerge "Refactor shutdown-impl: add parameter to RPC, remove secret validation and...
Ed Warnicke [Sat, 18 Jan 2014 17:01:03 +0000 (17:01 +0000)]
Merge "Refactor shutdown-impl: add parameter to RPC, remove secret validation and masking."

6 years agoMerge "Fix for Bug 3"
Ed Warnicke [Sat, 18 Jan 2014 16:58:20 +0000 (16:58 +0000)]
Merge "Fix for Bug 3"

6 years agoMerge "Config save support for networkconfiguration.neutron"
Alessandro Boch [Sat, 18 Jan 2014 16:40:36 +0000 (16:40 +0000)]
Merge "Config save support for networkconfiguration.neutron"

6 years agoFixed NetconfDevice to store capability info. 68/4168/6
Lukas Sedlak [Mon, 13 Jan 2014 09:30:52 +0000 (10:30 +0100)]
Fixed NetconfDevice to store capability info.

Implemented functionality into sal-netconf-connector to support of storing netconf device capabilities.
Added "connected" state into netconf-node-inventory.yang.

Signed-off-by: Lukas Sedlak <lsedlak@cisco.com>
Change-Id: I577cc8952d9530bb08d59d122bbd64f5da5b1466

6 years agoConfig save support for networkconfiguration.neutron 68/4368/1
Madhu Venugopal [Sat, 18 Jan 2014 00:22:47 +0000 (16:22 -0800)]
Config save support for networkconfiguration.neutron

With the ODL ML2 Integration, the REST APIs are uni-directional, hence a simple controller restart
results in synchronization issues between Openstack/CloudStack ML2 and ODL.

The solution that was agreed with Kyle, Ryan, Hugo & others is to add the config save support on the
ODL side which will effectively remove the inconsistency issues between Openstack / Cloudstack and ODL.

Change-Id: I9c5cb1a7d4acd0c147a3014da090770b231fd8d9
Signed-off-by: Madhu Venugopal <mavenugo@gmail.com>
6 years agoMerge "Add NB capability to save configuration"
Alessandro Boch [Fri, 17 Jan 2014 22:48:07 +0000 (22:48 +0000)]
Merge "Add NB capability to save configuration"

6 years agoMerge "Move connection manager dashlet to left bottom"
Andrew Kim [Fri, 17 Jan 2014 19:58:19 +0000 (19:58 +0000)]
Merge "Move connection manager dashlet to left bottom"

6 years agoAdd NB capability to save configuration 37/4337/3
Prasanth Pallamreddy [Fri, 17 Jan 2014 03:57:56 +0000 (19:57 -0800)]
Add NB capability to save configuration

Change-Id: If8d567aa8c95e39e2618ff2916ce707232d8a20b
Signed-off-by: Prasanth Pallamreddy <ppallamr@cisco.com>
6 years agoMove connection manager dashlet to left bottom 62/4362/1
Sapan Shah [Fri, 17 Jan 2014 18:10:33 +0000 (10:10 -0800)]
Move connection manager dashlet to left bottom

Change-Id: Ibc35a7e66693de06e31c57fd1fae6fb2771f4f8b
Signed-off-by: Sapan Shah <sapshah@cisco.com>
6 years agoMerge "Changed mount point URI decoding in restconf"
Ed Warnicke [Fri, 17 Jan 2014 17:44:41 +0000 (17:44 +0000)]
Merge "Changed mount point URI decoding in restconf"

6 years agoFix thread safety issue with StartExi operation 14/4314/3
Robert Varga [Thu, 16 Jan 2014 13:45:08 +0000 (14:45 +0100)]
Fix thread safety issue with StartExi operation

Change-Id: Iad5e211733bab4ecf278d0b862a5bc15fbc572fa
Signed-off-by: Robert Varga <rovarga@cisco.com>
6 years agoDo not instantiate constant lists on each message 96/4296/4
Robert Varga [Thu, 16 Jan 2014 09:23:19 +0000 (10:23 +0100)]
Do not instantiate constant lists on each message

These really are constats, so treat them as such

Change-Id: I850095e2e0aaab19f69b7d8bfc6ea734d1bd4877
Signed-off-by: Robert Varga <rovarga@cisco.com>
6 years agoSwitch to using yangtools version of mockito-configuration 19/4319/5
Robert Varga [Thu, 16 Jan 2014 15:51:42 +0000 (16:51 +0100)]
Switch to using yangtools version of mockito-configuration

This commit switches to use the artifact from yangtools repository
introduced in https://git.opendaylight.org/gerrit/#/c/4316/, completing
purge of bgpcep dependencies.

Change-Id: I000ddbb237a8a6c6cf9e9a44baa9a6dd93badc0f
Signed-off-by: Robert Varga <rovarga@cisco.com>
6 years agoChanged mount point URI decoding in restconf 25/4225/7
Jozef Gloncak [Fri, 17 Jan 2014 14:39:45 +0000 (15:39 +0100)]
Changed mount point URI decoding in restconf

- string "yang-ext:mount" in URI means mount point.
  After this string must be string in format moduleName:dataNode
  example:
  /rectconf/config/moduleName1:cont1/cont2/yang-ext:mount/moduleName2:cont3/cont4
     mount point path - moduleName1:cont1/cont2/
     path behind mount point - moduleName2:cont3/cont4

- refactoring of POST, PUT, GET, DELETE tests for status codes
- test for output of several modules to one xml and json file were added

Change-Id: I79bfaec1fab6ffd89295fb8461c167c0c85638ae
Signed-off-by: Martin Sunal <msunal@cisco.com>
Signed-off-by: Jozef Gloncak <jgloncak@cisco.com>
6 years agoincreased test coverage 91/4291/4
Martin Bobak [Thu, 16 Jan 2014 08:27:48 +0000 (09:27 +0100)]
increased test coverage

Change-Id: Ie7e465ad4843aa504e7e4c9455ed4b82b73f56b9
Signed-off-by: Martin Bobak <mbobak@cisco.com>
6 years agoFixed bug : 205 56/4356/1
Anil Vishnoi [Fri, 17 Jan 2014 13:27:23 +0000 (18:57 +0530)]
Fixed bug : 205
https://bugs.opendaylight.org/show_bug.cgi?id=205

Change-Id: Ifec5bf5c53b293d70645d534c46615f52d5b1c8e
Signed-off-by: Anil Vishnoi <avishnoi@in.ibm.com>
6 years agoSwitch testing configuration for md-sal tests to xml. 55/4355/1
Maros Marsalek [Fri, 17 Jan 2014 13:04:15 +0000 (14:04 +0100)]
Switch testing configuration for md-sal tests to xml.

+ Fix bug regarding leading/tailing whitespace in capability string unmarshalled from xml.

Change-Id: Ia0de5cbef33f521c5e99d6ffd91c9631b0192b53
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
6 years agoMerge "Fix flow installation state in UI"
Giovanni Meo [Fri, 17 Jan 2014 09:14:04 +0000 (09:14 +0000)]
Merge "Fix flow installation state in UI"

6 years agoMerge "In the method to get flow stats for a particular match, the match from the...
Giovanni Meo [Fri, 17 Jan 2014 09:07:00 +0000 (09:07 +0000)]
Merge "In the method to get flow stats for a particular match, the match from the stats can be null. Taking care of that in this commit."

6 years agoAdd deprecated warning for plaintext configuration files in config persister 17/4317/2
Maros Marsalek [Thu, 16 Jan 2014 15:31:59 +0000 (16:31 +0100)]
Add deprecated warning for plaintext configuration files in config persister

Plaintext config files will no longer be supported in future versions.
Only xml format for config files is fully supported.

Change-Id: Ia232163b3a85338b3ef16df4e5417e038bb33ee7
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
6 years agoFix flow installation state in UI 36/4336/1
Andrew Kim [Fri, 17 Jan 2014 01:04:56 +0000 (19:04 -0600)]
Fix flow installation state in UI

Change-Id: If78e196db0758768f9aab6e3d0bfa61d4002b860
Signed-off-by: Andrew Kim <andrekim@cisco.com>
6 years agoIn the method to get flow stats for a particular match, the match from the stats... 33/4333/1
Asad Ahmed [Thu, 16 Jan 2014 23:58:52 +0000 (15:58 -0800)]
In the method to get flow stats for a particular match, the match from the stats can be null.
Taking care of that in this commit.

Change-Id: If5aab0840f42ea662a7018695e04a93e6fa984ba
Signed-off-by: Asad Ahmed <asaahmed@cisco.com>
6 years agoBugFix: Rename Input Port to just Port in Add Span Port Modal. 32/4332/2
lakshya [Thu, 16 Jan 2014 21:42:26 +0000 (13:42 -0800)]
BugFix: Rename Input Port to just Port in Add Span Port Modal.

This fix just renames the input port dropdown on the Span Port Modal
to Port. Bug description says that "The port field for adding a span
port says "Input Port"  it should only say "Port" since a span port is
by definition an output port."

Change-Id: I2f123c5f81e8192bed7ec5bb9e74e2c262223938
Signed-off-by: lakshya <lakshya@cisco.com>
6 years agoAdded cache for YANG models downloaded from Netconf devices 31/4331/1
Tony Tkacik [Thu, 16 Jan 2014 18:44:35 +0000 (19:44 +0100)]
Added cache for YANG models downloaded from Netconf devices

Change-Id: I43653e3d42169ca578ec6daaab991a3eb03a5e85
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
6 years agoMerge "Added extended ietf-netconf-monitoring detection for Netconf devices"
Ed Warnicke [Thu, 16 Jan 2014 16:01:08 +0000 (16:01 +0000)]
Merge "Added extended ietf-netconf-monitoring detection for Netconf devices"

6 years agoUpdate ietf yang dependencies from rev130712 to rev131021. 99/4299/2
Tomas Olvecky [Thu, 16 Jan 2014 10:38:06 +0000 (11:38 +0100)]
Update ietf yang dependencies from rev130712 to rev131021.

Update yang and xtend files to use october's version of ietf yang files.

Change-Id: I1a7c6a67f973db03f4e846fd69a8beecbe7e9893
Signed-off-by: Tomas Olvecky <tolvecky@cisco.com>
6 years agoChanged sal-compatibility from Consumer to Provider 02/4302/2
Tony Tkacik [Thu, 16 Jan 2014 12:59:16 +0000 (13:59 +0100)]
Changed sal-compatibility from Consumer to Provider

sal-compatibility project uses DataProviderService
and registers commit handler thus it is
Provider contracts.

Change-Id: I6389167ae1727cc7f4d821bfc388c7bf978a4060
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
6 years agoremoving the old FRM code 06/4306/1
Prasanna Huddar [Thu, 16 Jan 2014 12:48:40 +0000 (18:18 +0530)]
removing the old FRM code

Signed-off-by: Prasanna Huddar <prasanna.huddar@ericsson.com>
Change-Id: I43c97b6b0e430f7085c81b855e343c9c7b8e60ce

6 years agoAdded extended ietf-netconf-monitoring detection for Netconf devices 05/4305/1
Tony Tkacik [Thu, 16 Jan 2014 12:38:47 +0000 (13:38 +0100)]
Added extended ietf-netconf-monitoring detection for Netconf devices

Change-Id: Id87084bd915eabc16b8bb6a74eee26f28c7d9652
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
6 years agoRevert commit bedd505. 00/4300/1
Tomas Olvecky [Thu, 16 Jan 2014 10:42:08 +0000 (11:42 +0100)]
Revert commit bedd505.

Revert adding ietf-topology bundle into yangstore's blacklist as this breaks bgpcep's distribution.

Change-Id: I13e19e79037dcdc2a9c4631d92d4543b14aae193
Signed-off-by: Tomas Olvecky <tolvecky@cisco.com>
6 years agoMerge "FRM should not remove a static flow config on async error report"
Jason Ye [Thu, 16 Jan 2014 00:47:26 +0000 (00:47 +0000)]
Merge "FRM should not remove a static flow config on async error report"

6 years agoMerge "Add missing headers to config, netconf subsystems"
Ed Warnicke [Wed, 15 Jan 2014 21:15:45 +0000 (21:15 +0000)]
Merge "Add missing headers to config, netconf subsystems"

6 years agoMerge "Add ietf-topology to yangstore blacklist."
Ed Warnicke [Wed, 15 Jan 2014 21:15:02 +0000 (21:15 +0000)]
Merge "Add ietf-topology to yangstore blacklist."

6 years agoMerge "Remove System.out from netconf tests"
Ed Warnicke [Wed, 15 Jan 2014 21:14:28 +0000 (21:14 +0000)]
Merge "Remove System.out from netconf tests"

6 years agoMerge "increased test coverage"
Ed Warnicke [Wed, 15 Jan 2014 21:13:36 +0000 (21:13 +0000)]
Merge "increased test coverage"

6 years agoMerge "Update to new version of ADSAL components and its dependencies proposed by...
Giovanni Meo [Wed, 15 Jan 2014 20:54:56 +0000 (20:54 +0000)]
Merge "Update to new version of ADSAL components and its dependencies proposed by jenkins-controller-version-changes-8"

6 years agoUpdate to new version of ADSAL components and its dependencies proposed by jenkins... 79/4279/1
Madhu Venugopal [Wed, 15 Jan 2014 20:22:47 +0000 (12:22 -0800)]
Update to new version of ADSAL components and its dependencies proposed by jenkins-controller-version-changes-8

By splitting the effort into 2 phases, it is more managable and easy to test.
After this commit, the ADSAL components and all the NSFs are uptodate with the dependency convergence.

Signed-off-by: Madhu Venugopal <mavenugo@gmail.com>
Change-Id: Ia8f0a0d2959f8f6ea61babe9c3f826d0950dcaf5

6 years agoFRM should not remove a static flow config on async error report 39/4239/2
Alessandro Boch [Tue, 14 Jan 2014 23:19:36 +0000 (15:19 -0800)]
FRM should not remove a static flow config on async error report

- Currently FRM is removing the affected static flow config on
  receiving a flow error event from the switch.
  The correct action is to modify the config status.
  The config removal was a temporary fix for the flow configuration across
  cluster (request served by another controller node) when this request was
  always sent asynchronously. Now it is no longer needed as FRM implements
  both the synch and async flow rewust across the cluster.

Change-Id: If2d473cd4688bdf83ecc0a0f5eb210b938157d29
Signed-off-by: Alessandro Boch <aboch@cisco.com>
6 years agoMerge "BugFix : Changes to get ping between two hosts to work"
Ed Warnicke [Wed, 15 Jan 2014 19:01:25 +0000 (19:01 +0000)]
Merge "BugFix : Changes to get ping between two hosts to work"

6 years agoFixed deployment of mount points (dynamic instances of MD-SAL) 74/4274/3
Tony Tkacik [Wed, 15 Jan 2014 13:36:35 +0000 (14:36 +0100)]
Fixed deployment of mount points (dynamic instances of MD-SAL)

  - Converted some xtend sources into Java classes
  - Added mount point deployer - service responsible for
    deploying dynamic instances of MD-SAL, which have
    separate context and could be created and retrieved via
    MountService.

Change-Id: I9c0798e2f5f0af647d97b22a2da2f6c46bf9b72d
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
6 years agoUpdated implementation of Netconf, fixed DOM Mountpoint 66/4266/2
Tony Tkacik [Wed, 15 Jan 2014 13:04:02 +0000 (14:04 +0100)]
Updated implementation of Netconf, fixed DOM Mountpoint

Change-Id: Ia0d4f92a65174e891a8111571ced24182d9f47c6
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
6 years agoRefactor shutdown-impl: add parameter to RPC, remove secret validation and masking. 75/4275/1
Tomas Olvecky [Wed, 15 Jan 2014 16:56:49 +0000 (17:56 +0100)]
Refactor shutdown-impl: add parameter to RPC, remove secret validation and masking.

Remove old secret as it does not work well with config-persister.
Add parameter maxWaitTime to shutdown RPC that specifies amount of time before
server is forcibly shut down.
Work around buggy yuma message sending xml element without inner text
node if blank value is specified.

Change-Id: Ief3fea74107349c5ff425ffdc184346981254bc4
Signed-off-by: Tomas Olvecky <tolvecky@cisco.com>
6 years agoAllow initial config xml files to start with xml header. 73/4273/1
Maros Marsalek [Wed, 15 Jan 2014 15:35:34 +0000 (16:35 +0100)]
Allow initial config xml files to start with xml header.

E.g.

<?xml version="1.0" encoding="UTF-8"?>
<!-- vi: set et smarttab sw=4 tabstop=4: -->

Change-Id: Ie6ce587d3d44b2b357b48616d0a596e332c65c98
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
6 years agoincreased test coverage 68/4268/2
Martin Bobak [Wed, 15 Jan 2014 13:46:41 +0000 (14:46 +0100)]
increased test coverage

Change-Id: I4f9f387a606a17724d2c835f6243cda14b9f4e0c
Signed-off-by: Martin Bobak <mbobak@cisco.com>

©2013 OpenDaylight, A Linux Foundation Collaborative Project. All Rights Reserved.
OpenDaylight is a registered trademark of The OpenDaylight Project, Inc.
Linux Foundation and OpenDaylight are registered trademarks of the Linux Foundation.
Linux is a registered trademark of Linus Torvalds.