controller.git
7 years agoMerge "Initial implementation of the ClusteredDataStore"
Ed Warnicke [Fri, 8 Nov 2013 19:36:19 +0000 (19:36 +0000)]
Merge "Initial implementation of the ClusteredDataStore"

7 years agoConvert neutron northbound classes to unix line delimiters 64/2564/1
Ryan Moats [Fri, 8 Nov 2013 17:42:23 +0000 (11:42 -0600)]
Convert neutron northbound classes to unix line delimiters

Replace original Windows line delimiters.

Change-Id: I4dada1270d6d0e656a5b899ef8337c545c57c7ea
Signed-off-by: Ryan Moats <rmoats@us.ibm.com>
7 years agoConvert neutron implementation classes to unix line delimiters 63/2563/1
Ryan Moats [Fri, 8 Nov 2013 17:40:19 +0000 (11:40 -0600)]
Convert neutron implementation classes to unix line delimiters

Replace original windows line delimiters.

Change-Id: Icbae06e51f774e788e82683f65fd1d9641102be0
Signed-off-by: Ryan Moats <rmoats@us.ibm.com>
7 years agoConvert neutron service base classes to unix line delimiters. 62/2562/1
Ryan Moats [Fri, 8 Nov 2013 17:37:21 +0000 (11:37 -0600)]
Convert neutron service base classes to unix line delimiters.

Replace original windows line delimiters in base classes.

Change-Id: I5d50ddf17604a640028bb40a0e8e8129bed67111
Signed-off-by: Ryan Moats <rmoats@us.ibm.com>
7 years agoMerge "Added threadpool config tests."
Ed Warnicke [Fri, 8 Nov 2013 15:30:33 +0000 (15:30 +0000)]
Merge "Added threadpool config tests."

7 years agoMerge "Improved translation from XML to Json"
Ed Warnicke [Fri, 8 Nov 2013 15:28:52 +0000 (15:28 +0000)]
Merge "Improved translation from XML to Json"

7 years agoMerge "Fixed RESTCONF integration, added IT skeleton"
Ed Warnicke [Fri, 8 Nov 2013 15:26:19 +0000 (15:26 +0000)]
Merge "Fixed RESTCONF integration, added IT skeleton"

7 years agoImproved translation from XML to Json 56/2556/1
msunal [Fri, 8 Nov 2013 14:37:41 +0000 (15:37 +0100)]
Improved translation from XML to Json

- Fixed bugs in translation

Change-Id: I68bfea382ab46f69e7c34b161ce7f972060b33e4
Signed-off-by: Martin Sunal <msunal@cisco.com>
7 years ago-SNAPSHOT added to exificent version 52/2552/1
Martin Bobak [Fri, 8 Nov 2013 13:20:42 +0000 (14:20 +0100)]
-SNAPSHOT added to exificent version

Change-Id: Ice82eeaea6f4904594aaf6d9544a02597cd95435
Signed-off-by: Martin Bobak <mbobak@cisco.com>
7 years agoAdded threadpool config tests. 51/2551/1
Milos Fabian [Fri, 8 Nov 2013 12:58:31 +0000 (13:58 +0100)]
Added threadpool config tests.

Change-Id: I7664c762b3c6e63085a4b73a92ba871e856e21c6
Signed-off-by: Milos Fabian <milfabia@cisco.com>
7 years agoFixed RESTCONF integration, added IT skeleton 29/2529/2
Tony Tkacik [Fri, 8 Nov 2013 00:37:56 +0000 (01:37 +0100)]
Fixed RESTCONF integration, added IT skeleton

Change-Id: I5fa91649afd6568362f5cc69dfbc142b0b95bd0c
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
7 years agoMerge "Added config wrapper for netty's NioEventLoopGroup."
Ed Warnicke [Fri, 8 Nov 2013 11:10:45 +0000 (11:10 +0000)]
Merge "Added config wrapper for netty's NioEventLoopGroup."

7 years agoMerge "Fix for incorrect request assumption in Update Neutron Port op"
Ed Warnicke [Fri, 8 Nov 2013 11:01:26 +0000 (11:01 +0000)]
Merge "Fix for incorrect request assumption in Update Neutron Port op"

7 years agoMerge "Fix for bug 136 and bug 137."
Ed Warnicke [Fri, 8 Nov 2013 10:59:07 +0000 (10:59 +0000)]
Merge "Fix for bug 136 and bug 137."

7 years agoMerge "- Added exi capability utilities, handlers and necessary modifications - Exi...
Ed Warnicke [Fri, 8 Nov 2013 10:57:06 +0000 (10:57 +0000)]
Merge "- Added exi capability utilities, handlers and necessary modifications - Exi parameters decomposition - Introduced HandlerManipulator class in netconf-api to be used for   handlers management on channel pipeline - Exi encoding/decoding test added - exi returns NetconfMessage - added DOM attributes - exi encode decode test to expect NetconfMessage instead of Document - XmlElement.getName() returns localName first and tagName if localName not present, incorporated notes from Robert - NetconfSession implements all common methods - added copyright where needed - ProtocolMessageEncoder/Decoder stored in session and replaced with Exi   enc/dec - exi encoder/decoder interface become comaptible with   ProtocoleMessageEncoder/Decoder and no longer needs to be taken care of   this handlers - created thirdParty bundle for exi - incorporation of Maros's notes"

7 years agoMerge "Test of conversing of yang + xml files to json 2."
Ed Warnicke [Fri, 8 Nov 2013 10:47:40 +0000 (10:47 +0000)]
Merge "Test of conversing of yang + xml files to json 2."

7 years agoMerge "Unified implementations of BrokerService Proxies which are provided to Consume...
Ed Warnicke [Fri, 8 Nov 2013 10:46:25 +0000 (10:46 +0000)]
Merge "Unified implementations of BrokerService Proxies which are provided to Consumers/Producers."

7 years agoMerge "Change fix for default module's dependency resolver creation into two steps."
Ed Warnicke [Fri, 8 Nov 2013 10:41:53 +0000 (10:41 +0000)]
Merge "Change fix for default module's dependency resolver creation into two steps."

7 years agoMerge "Added trasaction capabilities."
Ed Warnicke [Fri, 8 Nov 2013 10:41:22 +0000 (10:41 +0000)]
Merge "Added trasaction capabilities."

7 years ago- Added exi capability utilities, handlers and necessary modifications 07/2407/12
Martin Bobak [Wed, 30 Oct 2013 10:19:12 +0000 (11:19 +0100)]
- Added exi capability utilities, handlers and necessary modifications
- Exi parameters decomposition
- Introduced HandlerManipulator class in netconf-api to be used for
  handlers management on channel pipeline
- Exi encoding/decoding test added
- exi returns NetconfMessage
- added DOM attributes
- exi encode decode test to expect NetconfMessage instead of Document
- XmlElement.getName() returns localName first and tagName if localName not present, incorporated notes from Robert
- NetconfSession implements all common methods
- added copyright where needed
- ProtocolMessageEncoder/Decoder stored in session and replaced with Exi
  enc/dec
- exi encoder/decoder interface become comaptible with
  ProtocoleMessageEncoder/Decoder and no longer needs to be taken care of
  this handlers
- created thirdParty bundle for exi
- incorporation of Maros's notes

Author:    Martin Bobak <mbobak@cisco.com>
Signed-off-by: Martin Bobak <mbobak@cisco.com>
Change-Id: If9f20cef34ec05495eb212f6a584dd65a401dc0a
Signed-off-by: Martin Bobak <mbobak@cisco.com>
7 years agoAdded config wrapper for netty's NioEventLoopGroup. 40/2540/3
Maros Marsalek [Fri, 8 Nov 2013 08:26:53 +0000 (09:26 +0100)]
Added config wrapper for netty's NioEventLoopGroup.

NioEventLoopGroup should be reused by dispatchers based on netty e.g. netconf-impl's dispatcher.

Change-Id: I7a0b985fd9ce57d4a0916d1843138da4236771ca
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
7 years agoTest of conversing of yang + xml files to json 2. 42/2542/1
Jozef Gloncak [Fri, 8 Nov 2013 09:21:29 +0000 (10:21 +0100)]
Test of conversing of yang + xml files to json 2.

Test was broken to two test. First one uses regular expression. Second one
uses JsonReader class.

Change-Id: Iaeae471c9e93b873b37236926197dec439ea3611
Signed-off-by: Jozef Gloncak <jgloncak@cisco.com>
7 years agoFix for incorrect request assumption in Update Neutron Port op 34/2534/1
Ryan Moats [Fri, 8 Nov 2013 04:49:15 +0000 (22:49 -0600)]
Fix for incorrect request assumption in Update Neutron Port op

Neutron Port update code incorrectly assumed that request body
would always include fixed_ip information.  Bracket fixed_ip
adjustment code with proper test.

Change-Id: Icee6b594869e5cba74c0ef339fc0fe7a4d7c671a
Signed-off-by: Ryan Moats <rmoats@us.ibm.com>
7 years agoFix for bug 136 and bug 137. 33/2533/1
Baohua Yang [Fri, 8 Nov 2013 04:16:09 +0000 (12:16 +0800)]
Fix for bug 136 and bug 137.

Change-Id: I3b8aa0006f2cd342e2ca87abf67cd964e8390f52
Signed-off-by: Baohua Yang <baohyang@cn.ibm.com>
7 years agoUnified implementations of BrokerService Proxies which are provided to Consumers... 28/2528/1
Tony Tkacik [Fri, 8 Nov 2013 00:29:42 +0000 (01:29 +0100)]
Unified implementations of BrokerService Proxies which are provided to Consumers/Producers.

    - Added AbstractBrokerServiceProxy which is Autocloseable,
      and specific for each provider.

      This proxy is convenience wrapper, which keeps track of all
      object listeners retrieved from proxied service,
      so when proxy is closed (deregistered) all registrations
      are also removed.

    - Added concrete implementations of AbstractBrokerServiceProxy
      for Data*Services, Notification*Services and SchemaService
    - Updated implementation of SchemaService to provide notifications
      when new bundle with model is loaded.

Change-Id: I92b67dcb7f376fcf05ea41213aac719c7a3e902e
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
7 years agoFixing a couple of NPE in the newly added Connection Manager UI. 26/2526/2
Madhu Venugopal [Thu, 7 Nov 2013 23:05:46 +0000 (15:05 -0800)]
Fixing a couple of NPE in the newly added Connection Manager UI.

Change-Id: Ib0904df810b5dbab8e8642d2650d58b63d28bec1
Signed-off-by: Madhu Venugopal <mavenugo@gmail.com>
7 years agoInitial implementation of the ClusteredDataStore 70/2470/4
Moiz Raja [Wed, 6 Nov 2013 23:38:13 +0000 (15:38 -0800)]
Initial implementation of the ClusteredDataStore

Please review and see if this implementation is headed in the right direction.
At this point this is mostly unit testing. This should give an idea of what the code intends to do.

The ClusteredDataStore is dependent on IClusterGlobalServices and provides a simple pass through mechanism.

Change-Id: I2ab628a40fa8a44ae85be3ad678717ae139faa59
Signed-off-by: Moiz Raja <moraja@cisco.com>
7 years agoRefactor to remove empty catch exception. 49/2449/4
Ryan Moats [Wed, 6 Nov 2013 16:45:07 +0000 (10:45 -0600)]
Refactor to remove empty catch exception.

Initializing a subnet object included an empty catch exception.
Refactor to return a boolean from this method so that exception
is reflected to calling methods, which can then take appropriate
action.

Change-Id: Ia6f3188064677de9035508994d864373915db0f1
Signed-off-by: Ryan Moats <rmoats@us.ibm.com>
7 years agoMerge "Add checkstyle rule EqualHashCode that ensures that those methods are implemen...
Giovanni Meo [Thu, 7 Nov 2013 16:33:37 +0000 (16:33 +0000)]
Merge "Add checkstyle rule EqualHashCode that ensures that those methods are implemented together, and not just one of them."

7 years agoMerge "Added DELETE support for Bridge and Port resources"
Giovanni Meo [Thu, 7 Nov 2013 16:34:55 +0000 (16:34 +0000)]
Merge "Added DELETE support for Bridge and Port resources"

7 years agoChange fix for default module's dependency resolver creation into two steps. 15/2515/1
Tomas Olvecky [Thu, 7 Nov 2013 16:24:20 +0000 (17:24 +0100)]
Change fix for default module's dependency resolver creation into two steps.

Call dependencyResolverManager.getOrCreate in scope of creating default modules. Add check to
putConfigBeanToJMXAndInternalMaps so that identifier of module and dependency resolver must match.
Remove deprecated method from DependencyResolverImpl. DependencyResolver interface now extends
Identifiable<ModuleIdentifier>

Change-Id: I04207882b6501e71ac4e0fc321fb7932ebb747fb
Signed-off-by: Tomas Olvecky <tolvecky@cisco.com>
7 years agoAdd checkstyle rule EqualHashCode that ensures that those methods are 89/2489/2
Alissa Bonas [Thu, 7 Nov 2013 11:43:50 +0000 (13:43 +0200)]
Add checkstyle rule EqualHashCode that ensures that those methods are
implemented together, and not just one of them.

Change-Id: Ie565d97208200487d2c9e4d43ec2c94df730d097
Signed-off-by: Alissa Bonas <abonas@redhat.com>
7 years agoMerge "Updated AbstractDataModification to also implement DataChange"
Ed Warnicke [Thu, 7 Nov 2013 14:53:12 +0000 (14:53 +0000)]
Merge "Updated AbstractDataModification to also implement DataChange"

7 years agoMerge "SSH netty handler"
Giovanni Meo [Thu, 7 Nov 2013 15:38:56 +0000 (15:38 +0000)]
Merge "SSH netty handler"

7 years agoAdded DELETE support for Bridge and Port resources 12/2512/1
Madhu Venugopal [Thu, 7 Nov 2013 15:04:38 +0000 (07:04 -0800)]
Added DELETE support for Bridge and Port resources

Change-Id: Ica167c669115706c5b5b916134c7ec4c168c9253
Signed-off-by: Madhu Venugopal <mavenugo@gmail.com>
7 years agoAdded trasaction capabilities. 10/2510/1
Prasanna Huddar [Thu, 7 Nov 2013 13:40:57 +0000 (19:10 +0530)]
Added trasaction capabilities.

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

7 years agoUpdated AbstractDataModification to also implement DataChange 09/2509/1
Tony Tkacik [Thu, 7 Nov 2013 14:28:27 +0000 (15:28 +0100)]
Updated AbstractDataModification to also implement DataChange

  - AbstractDataModification now creates DataChange in the background
    during the creation of diff.
    This DataChange is easier for Commit Handlers to read
    and do processing based on more granular changes.

Change-Id: Id0e41c444afa415c804922d0c87650dd50c555f7
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
7 years agoSSH netty handler 03/2503/2
Robert Gallas [Thu, 7 Nov 2013 14:04:53 +0000 (15:04 +0100)]
SSH netty handler

Added Netty SSH handler and
underlying virtual socket infrasctructure

Change-Id: I119494835e61820d23789125b70bb70c1299ae31
Signed-off-by: Robert Gallas <rgallas@cisco.com>
7 years agoMerge "Bug:129 Connection Manager Dashlet"
Giovanni Meo [Thu, 7 Nov 2013 14:10:26 +0000 (14:10 +0000)]
Merge "Bug:129 Connection Manager Dashlet"

7 years agoMerge "Added Inventory Reader for SwitchManager"
Ed Warnicke [Thu, 7 Nov 2013 14:02:52 +0000 (14:02 +0000)]
Merge "Added Inventory Reader for SwitchManager"

7 years agoMerge "Added configuration modules and closeable wrappers for FixedThreadPool, Flexib...
Ed Warnicke [Thu, 7 Nov 2013 14:06:41 +0000 (14:06 +0000)]
Merge "Added configuration modules and closeable wrappers for FixedThreadPool, FlexibleThreadPool, NamingThreadPool, ScheduledThreadPool and NamingThreadFactory."

7 years agoMerge "Unification of broker concepts implementations"
Ed Warnicke [Thu, 7 Nov 2013 14:06:23 +0000 (14:06 +0000)]
Merge "Unification of broker concepts implementations"

7 years agoAdded Inventory Reader for SwitchManager 93/2493/1
Tony Tkacik [Thu, 7 Nov 2013 12:46:09 +0000 (13:46 +0100)]
Added Inventory Reader for SwitchManager

  - Inventory Reader is runtime data reader, which delegates
    all state retrievals to the SwitchManager.

Change-Id: If6482b32948a166c45cb110f9ac915ce87a5e668
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
7 years agoAdded configuration modules and closeable wrappers for FixedThreadPool, FlexibleThrea... 01/2501/1
Milos Fabian [Thu, 7 Nov 2013 08:41:42 +0000 (09:41 +0100)]
Added configuration modules and closeable wrappers for FixedThreadPool, FlexibleThreadPool, NamingThreadPool, ScheduledThreadPool and NamingThreadFactory.

Change-Id: I6d4b84662c4b6f418c84e0dd9f026f45ad2c8201
Signed-off-by: Milos Fabian <milfabia@cisco.com>
7 years agoMerge "Ganymed patch fix"
Giovanni Meo [Thu, 7 Nov 2013 11:15:56 +0000 (11:15 +0000)]
Merge "Ganymed patch fix"

7 years agoMerge "Added AsyncEvenBus and EventBus configuration modules implementations. Added...
Ed Warnicke [Thu, 7 Nov 2013 11:14:43 +0000 (11:14 +0000)]
Merge "Added AsyncEvenBus and EventBus configuration modules implementations. Added EventBus and AsyncEventBus closeable wrappers."

7 years agoUnification of broker concepts implementations 47/2447/4
Tony Tkacik [Sun, 3 Nov 2013 19:37:46 +0000 (20:37 +0100)]
Unification of broker concepts implementations

  - Introduced AbstractDataReadRouter into sal-common-impl
    which deals with data read routing.

  - AbstractDataReadRouter is then used inside sal-binding-broker
    to route reads between binding aware components

    and inside sal-dom-broker to route reads inside a mount point
    or between binding independent components.

    Extracted Rpc Routing logic from BrokerImpl.xtend and moved it to
    separate class, which is used in the broker (global context)
    and also in the mount-points (nested subsystems).

Change-Id: I7eaaddafe9f4dcb2ca6d25090246dfd51940b2d7
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
7 years agoMerge "Added MD-SAL Topology Reader for reading and accessing AD-SAL topology."
Ed Warnicke [Thu, 7 Nov 2013 11:10:49 +0000 (11:10 +0000)]
Merge "Added MD-SAL Topology Reader for reading and accessing AD-SAL topology."

7 years agoAdded AsyncEvenBus and EventBus configuration modules implementations. Added EventBus... 45/2445/4
Milos Fabian [Wed, 6 Nov 2013 10:23:52 +0000 (11:23 +0100)]
Added AsyncEvenBus and EventBus configuration modules implementations. Added EventBus and AsyncEventBus closeable wrappers.

Change-Id: I21c4f2217fa876770c4ecdfa1c6a36778a00cbf0
Signed-off-by: Milos Fabian <milfabia@cisco.com>
7 years agoAdded MD-SAL Topology Reader for reading and accessing AD-SAL topology. 83/2483/1
Tony Tkacik [Thu, 7 Nov 2013 10:40:48 +0000 (11:40 +0100)]
Added MD-SAL Topology Reader for reading and accessing AD-SAL topology.

Change-Id: I7441c0f148cc891e552bd673c41902ad4f5ecd54
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
7 years agoSubnet gw can be configured w/o name 69/2469/3
Alessandro Boch [Wed, 6 Nov 2013 22:30:36 +0000 (14:30 -0800)]
Subnet gw can be configured w/o name

Change-Id: I11b58948005e3ecf7068ac5b70926cb3f1fce36d
Signed-off-by: Alessandro Boch <aboch@cisco.com>
7 years agoThreadpool APIs and thread-related configuration service interfaces. 90/2390/3
Milos Fabian [Tue, 5 Nov 2013 13:42:30 +0000 (14:42 +0100)]
Threadpool APIs and thread-related configuration service interfaces.

EventBusServiceInterface - Service representing an event bus. The service acts as message router between event producers and event consumers.
ScheduledThredPoolServiceInterface - An extension of the simple pool of threads able to schedule work to be executed at some point in time.
ThreadFactoryServiceInterface - Service representing a ThreadFactory instance. It is directly useful in Java world,
where various library pieces need to create threads and you may want to inject a customized thread implementation.
ThreadPoolServiceInterface - Representing a simple pool of threads able to execute work.

Change-Id: I4bb9c3fb118f317816ee24c7edaa292f8780ae32
Signed-off-by: Milos Fabian <milfabia@cisco.com>
7 years agoTest of conversion of yang + xml file to json 76/2476/2
Jozef Gloncak [Thu, 7 Nov 2013 08:14:49 +0000 (09:14 +0100)]
Test of conversion of yang + xml file to json

Change-Id: I24447e25ffc245d6557a8aedf9b32302a00ad385
Signed-off-by: Jozef Gloncak <jgloncak@cisco.com>
7 years agoMake default strategy for edit-config netconf operation MERGE in config-persister... 46/2446/3
Maros Marsalek [Wed, 6 Nov 2013 15:24:32 +0000 (16:24 +0100)]
Make default strategy for edit-config netconf operation MERGE in config-persister-impl

Replace strategy, deletes default modules

Change-Id: Ie6e09dbdeb12aa4201af09852d4a4c6eee4e29a2
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
7 years agoConvert to SAL Property instances. 57/2357/2
Jozef Gloncak [Mon, 4 Nov 2013 14:04:54 +0000 (15:04 +0100)]
Convert to SAL Property instances.

Converts from FlowCapableNodeConnector to instances of SAL Property class.
Conversion for Bandwidth, Name, MacAddress are included.

Change-Id: I8d05eb3f75d421b6fc4491128cfb2b7c3cc57bc6
Signed-off-by: Jozef Gloncak <jgloncak@cisco.com>
7 years agoGanymed patch fix 82/2482/1
Robert Gallas [Thu, 7 Nov 2013 10:12:02 +0000 (11:12 +0100)]
Ganymed patch fix

Fixed missing java.net.socket import in ch.ethz.ssh2.Connection.java

Change-Id: Idc748894cd7bf30675e35083da1a35e5ff435b31
Signed-off-by: Robert Gallas <rgallas@cisco.com>
7 years agoAdded Compatibility for Switch Manager and Topology Manager 75/2375/6
Tony Tkacik [Tue, 5 Nov 2013 07:05:13 +0000 (08:05 +0100)]
Added Compatibility for Switch Manager and Topology Manager

  - Created model-topology under controller for easier
    retrieval of topology models (baseline model is ietf draft
    and is present in YANGTools git).
  - Added aggregate topology view
  - Added mapping to inventory

Change-Id: I26d73415bd19478984908d34d77a476a7a842c9f
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
7 years agoAdd checkstyle rule to prevent empty statements (;) 48/2448/2
Alissa Bonas [Wed, 6 Nov 2013 16:21:19 +0000 (18:21 +0200)]
Add checkstyle rule to prevent empty statements (;)

Change-Id: Id8b34fde64988326cf6cab494019f99d2d61cbc5
Signed-off-by: Alissa Bonas <abonas@redhat.com>
7 years agoGanymed library patch 75/2475/2
Robert Gallas [Thu, 7 Nov 2013 07:13:31 +0000 (08:13 +0100)]
Ganymed library patch

SSH client patch of Ganymed library to accept
to accept precreated socket.

Change-Id: Icbccba360e9a86be41cc65a04f1e7aca8c4bffca
Signed-off-by: Robert Gallas <rgallas@cisco.com>
7 years agoGanymed SSH library provisioning 60/2360/5
Robert Gallas [Mon, 4 Nov 2013 14:42:24 +0000 (15:42 +0100)]
Ganymed SSH library provisioning

Creation of Ganymed OSGI wrapper bundle
Updated pom.xml in relevant projects
Enforcing Ganymed version 261

Change-Id: I2615f074aa463e49e18a30ef4824b7d09dc87876
Signed-off-by: Robert Gallas <rgallas@cisco.com>
7 years agoFix {} vs. %s mixup 62/2462/1
Robert Varga [Wed, 6 Nov 2013 21:42:13 +0000 (22:42 +0100)]
Fix {} vs. %s mixup

Change-Id: I8aa3d3600c977d7836d0aea8c0d5af30dfcb2004
Signed-off-by: Robert Varga <robert.varga@pantheon.sk>
7 years agoCreate mvn profile for integrationtests 35/2435/5
Alissa Bonas [Wed, 6 Nov 2013 11:49:52 +0000 (13:49 +0200)]
Create mvn profile for integrationtests

Change-Id: I119cb15f184523201cb190f2dfe8b0639995f704
Signed-off-by: Alissa Bonas <abonas@redhat.com>
7 years agoUpdated ZeroMQ implementation 27/2227/5
Tony Tkacik [Mon, 28 Oct 2013 18:30:40 +0000 (19:30 +0100)]
Updated ZeroMQ implementation

ZeroMQ implementation listens for rpc service implementations
on one controller node and when new implementation is registered
on controller it announces it via message bus.

The receivers of announcement registers itself as the implementation
of the same service in that node, and delegates actual processing
via message bus to originating controller instance.

This allows for deployment where one controller has a bundle
which provides service A, and other which has bundle which
only consumes service A to cooperate.

Change-Id: If5a2220e05858693db6297a7592893a09021e97d
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
7 years agoBug:129 Connection Manager Dashlet 27/2327/2
Andrew Kim [Sun, 3 Nov 2013 04:32:00 +0000 (23:32 -0500)]
Bug:129 Connection Manager Dashlet

First iteration of the Connection Manager dashlet

Change-Id: I50fa52d23704f55a3991f7dbc23450783a7ac494
Signed-off-by: Andrew Kim <andrekim@cisco.com>
7 years agoModify HostTracker to be able to interact with multiple host finders 25/2425/4
Jason Ye [Wed, 6 Nov 2013 06:48:01 +0000 (22:48 -0800)]
Modify HostTracker to be able to interact with multiple host finders

Change-Id: If5b8e0cc2c2ae40dd20f4e9622006b9539b605ed
Signed-off-by: Jason Ye <yisye@cisco.com>
7 years agoFixed bug with groupRef and meterRef in group and meter models. 30/2430/2
Tony Tkacik [Wed, 6 Nov 2013 10:16:01 +0000 (11:16 +0100)]
Fixed bug with groupRef and meterRef in group and meter models.

Change-Id: I4f6bf451ea8b7b554c407d4988b45375e71bd7a1
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
7 years agoAdded listener for rpc registrations. 73/2173/6
Tony Tkacik [Fri, 25 Oct 2013 18:21:47 +0000 (20:21 +0200)]
Added listener for rpc registrations.

Change-Id: I17d4fbcee58b15b2bc34c83f8dce4495f995292d
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
7 years agoAdded skeletons for ZeroMQ APIs for Binding Aware ZeroMQ Connector 15/2115/6
Tony Tkacik [Wed, 23 Oct 2013 17:54:35 +0000 (19:54 +0200)]
Added skeletons for ZeroMQ APIs for Binding Aware ZeroMQ Connector

Change-Id: I92c91af2c23d9f9d351a16b9d200e02d6ede2f52
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
7 years agoFix configuration for default modules 34/2434/3
Maros Marsalek [Wed, 6 Nov 2013 11:44:48 +0000 (12:44 +0100)]
Fix configuration for default modules

Automatically add default modules to jmx, even if they do not use dependencyResolverFactory

Change-Id: I4c1129e02ba6243c3209899a3fba05e6b43055cc
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
7 years agoAdd UM API to modify local user 71/2371/5
Alessandro Boch [Tue, 5 Nov 2013 00:10:12 +0000 (16:10 -0800)]
Add UM API to modify local user

Change-Id: I6494b30a6375294f63b51762f55ad2398aa3ac29
Signed-off-by: Alessandro Boch <aboch@cisco.com>
7 years agoAdded Model-Driven Inventory Provider for Flow-Capable Node. 62/2362/6
Tony Tkacik [Mon, 4 Nov 2013 15:08:51 +0000 (16:08 +0100)]
Added Model-Driven Inventory Provider for Flow-Capable Node.

Change-Id: I3b33837d3898404caebce052ac8b997219aed430
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
7 years agoFixed dependencies for yang-jmx-generator-plugin 29/2429/2
Maros Marsalek [Wed, 6 Nov 2013 09:24:29 +0000 (10:24 +0100)]
Fixed dependencies for yang-jmx-generator-plugin

Change-Id: Iabe3d1354f59a4bb53b94179234784572d7fa6ae
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
7 years agoInitial commit for the ClusteredDataStore 10/2410/8
Moiz Raja [Tue, 5 Nov 2013 20:18:43 +0000 (12:18 -0800)]
Initial commit for the ClusteredDataStore

The ClusteredDataStore provides a mechanism for the MD-SAL Broker to share data across a cluster. It can be used by other components/services as well to share data.

The ClusteredDataStore will use the ClusteringServices interface to create a cache and read/write data to it.

This only includes the structure of the project.

Moved clustered data store within md-sal

Change-Id: I37b24c8a91e6dc69815566bc0acd6dde561cbc29
Signed-off-by: Moiz Raja <moraja@cisco.com>
7 years agoCompleted the missing configuration parameters in NetworkConfiguration Northbound... 42/2442/2
Madhu Venugopal [Wed, 6 Nov 2013 13:49:52 +0000 (05:49 -0800)]
Completed the missing configuration parameters in NetworkConfiguration Northbound APIs for addBridge and addPort

Change-Id: Ie92c90f61aa04fa2a18c7f4b68a8daea1819b1f0
Signed-off-by: Madhu Venugopal <mavenugo@gmail.com>
7 years agoAltering ARPHandler and SimpleBroadcastHandler to forward traffic immediately. 13/2413/3
Colin Dixon [Tue, 5 Nov 2013 02:30:42 +0000 (20:30 -0600)]
Altering ARPHandler and SimpleBroadcastHandler to forward traffic immediately.

This change modifies how ARPHandler handles punted IPv4 packets so that
they are immediately forwarded if the destination is known. This allows
for the first ARP response to come back to the requestor.

Change-Id: I278762c4048cb169bb9513e7237cac562bdc40ca
Signed-off-by: Colin Dixon <ckd@us.ibm.com>
7 years agoAdded an extra validation check so that 09/2409/3
Asad Ahmed [Tue, 5 Nov 2013 19:37:40 +0000 (11:37 -0800)]
Added an extra validation check so that
the gateway mask cannot be 0 or 32

Change-Id: I78a4174c7800fcca7bdd95d03a520db5db01983d
Signed-off-by: Asad Ahmed <asaahmed@cisco.com>
7 years agoDisabled yang-jmx-generator-plugin until we can figure out the Nexus issue with it. 17/2417/2
Ed Warnicke [Wed, 6 Nov 2013 00:18:14 +0000 (18:18 -0600)]
Disabled yang-jmx-generator-plugin until we can figure out the Nexus issue with it.

yang-jmx-generator-plugin suddenly, and with no code changes whatsoever, began
having build issues.  It turns out that there is some slippery nexus issue
that is causing difficulties.  Debugging currently, this should unblock
us until a solution can be found.

Change-Id: I842152c1e0d5d1c6922722fc3c2dc41d9e19990f
Signed-off-by: Ed Warnicke <eaw@cisco.com>
7 years agoAdd checkstyle rule UpperEll and fix all code accordingly. 35/2335/3
Alissa Bonas [Sun, 3 Nov 2013 13:21:31 +0000 (15:21 +0200)]
Add checkstyle rule UpperEll and fix all code accordingly.

UpperEll rule ensures that numbers of type long
are defined with a capital "L" in the end instead of "l"
for a better readability - per java language specification
recommendation.

Change-Id: I068c32d4aaed0980bee1d93cfeec511e72bad2f1
Signed-off-by: Alissa Bonas <abonas@redhat.com>
7 years agoImproved exception handling thrown by client threads in ConcurrentClientsTest 51/2351/3
Maros Marsalek [Mon, 4 Nov 2013 09:14:02 +0000 (10:14 +0100)]
Improved exception handling thrown by client threads in ConcurrentClientsTest

Change-Id: Iabb655c4bf6f03e80c7822cbbc19e79d8f1db30e
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
7 years agoNetconfClientDispatcher moved to constructor arguments in NetconfClient 79/2379/3
Maros Marsalek [Tue, 5 Nov 2013 09:19:58 +0000 (10:19 +0100)]
NetconfClientDispatcher moved to constructor arguments in NetconfClient
This way NioEventLoopGroup instance can be reused by multiple clients.

Dispatcher created in NetconfCLient's constructor spawned an instance of NioEventLoopGroup (in AbstractDispatcher in bgpcep repo).
Instance of NioEventLoopGroup spawns new threads and with multiple concurrent clients system could get out of resources e.g. Too many open files, Unable to create new native thread.

Change-Id: I7dffed243d62ea0be4786d067a16d4e58ab1530c
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
7 years agoAdded serializer/deserializer for JSON/XML 63/2363/5
msunal [Tue, 5 Nov 2013 14:45:55 +0000 (15:45 +0100)]
Added serializer/deserializer for JSON/XML

- exceptions are translated to rest call response with state code 400 or 500
- imporoved singleton pattern
- tests
- added providers for serialization/deserialization of JSON/XML
- supported rest methods: readData, invokeRpc

Change-Id: I3a888fc1ad9c0ae2364d050e5c67875f9e075337
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
Signed-off-by: Martin Sunal <msunal@cisco.com>
7 years agoChanging the file names from run.sh/run.bat to runsanity.sh/runsanity.bat to make... 43/2343/2
Madhu Venugopal [Mon, 4 Nov 2013 03:42:18 +0000 (22:42 -0500)]
Changing the file names from run.sh/run.bat to runsanity.sh/runsanity.bat to make it explicit.
A lot of human errors were made due to the identical name to the run.sh under target.

Change-Id: Ic8289d22ba3dd7fec004a9421eac3fbd978fc5fb
Signed-off-by: Madhu Venugopal <mavenugo@gmail.com>
7 years agoRemoved import related warnings from most of YANG Models 59/2359/5
Tony Tkacik [Mon, 4 Nov 2013 14:27:22 +0000 (15:27 +0100)]
Removed import related warnings from most of YANG Models

  - Added revision-date statement to YANG models,
  - Added reusable grouping to inventory model, used this grouping
    in service models.

Change-Id: I78bfc3f97c5f58d755922839a6dfab07a2968ea0
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
7 years agoEnabling vlan in flow spec in backend 22/2322/4
Alessandro Boch [Fri, 1 Nov 2013 18:17:05 +0000 (11:17 -0700)]
Enabling vlan in flow spec in backend

Change-Id: Idfc779b7f0b6b583b96566b1b0aeb321feb394d1
Signed-off-by: Alessandro Boch <aboch@cisco.com>
7 years agoAdded reuse support to MD-SAL for config subsystem 55/2355/3
Tony Tkacik [Mon, 4 Nov 2013 12:32:51 +0000 (13:32 +0100)]
Added reuse support to MD-SAL for config subsystem

Change-Id: I8a61b1d689feab71b750781a398756a2cd0d2547
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
7 years agoFixed typo in node-inventory model. 53/2353/2
Tony Tkacik [Mon, 4 Nov 2013 11:51:14 +0000 (12:51 +0100)]
Fixed typo in node-inventory model.

Change-Id: I0b37e36a86ae4651971d9cc4cc93f90cd5224c2e
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
7 years agoSwitched to using the single group repo from nexus.opendaylight.org 13/2313/2
Ed Warnicke [Fri, 1 Nov 2013 05:48:25 +0000 (22:48 -0700)]
Switched to using the single group repo from nexus.opendaylight.org

Change-Id: I3b82b11d1017a0d35f4bd78b3f7d524dbbd6085d
Signed-off-by: Ed Warnicke <eaw@cisco.com>
7 years agoRefactor if/else with dead branch to explain corner case better 39/2339/2
Ryan Moats [Sun, 3 Nov 2013 15:47:24 +0000 (09:47 -0600)]
Refactor if/else with dead branch to explain corner case better

Change allocating address from subnet pool path to split the pool
in the main branch rather than the else and explain what happens
if the pool as a single address with a comment.

Change-Id: I3e910aecc2b251da419fc5d8055c2a9ccd975563
Signed-off-by: Ryan Moats <rmoats@us.ibm.com>
7 years agoAdd missing options to run.bat 12/2312/4
Prasanth Pallamreddy [Fri, 1 Nov 2013 05:04:58 +0000 (22:04 -0700)]
Add missing options to run.bat

  - Enhance run.bat to support same options as run.sh

Change-Id: I16518e6a9fa8fd1f330b5f01a1f3a72d70e8e442
Signed-off-by: Prasanth Pallamreddy <ppallamr@cisco.com>
7 years agoBug 73: Thread safety in FRM 06/2306/2
Alessandro Boch [Thu, 31 Oct 2013 19:46:15 +0000 (12:46 -0700)]
Bug 73: Thread safety in FRM

- Have nodeFlows and groupFlows non cluster caches
- Update the two above indirectly on every installedSwView cache update (local or remote)
- Have the update be performed by the FRM event thread only so that all the updates are streamlined

Change-Id: Ie5fa6ebee9433058d4028cff51ed1369ebd7b2a2
Signed-off-by: Alessandro Boch <aboch@cisco.com>
7 years agoCannot delete static flow through northbound 10/2310/2
Alessandro Boch [Fri, 1 Nov 2013 00:06:43 +0000 (17:06 -0700)]
Cannot delete static flow through northbound

- Removed wrong annotation in flowprogrammer.northbound

Change-Id: I81ad631a95c36567f29fb8cc8a2760783b0b437e
Signed-off-by: Alessandro Boch <aboch@cisco.com>
7 years agoAdded field getters to class ICMP 58/2358/2
Noam Mor [Mon, 4 Nov 2013 14:22:33 +0000 (16:22 +0200)]
Added field getters to class ICMP

Change-Id: I436082be38ae00a1825b2cf83a607786f69cfb72
Signed-off-by: Noam Mor <noam.mor@contextream.com>
7 years agoFix star import and enable checkstyle rule to prevent it. 07/2307/2
Alissa Bonas [Thu, 31 Oct 2013 15:58:16 +0000 (17:58 +0200)]
Fix star import and enable checkstyle rule to prevent it.

Change-Id: I62a1b8e3e85c2575939c3710524a98c91227648d
Signed-off-by: Alissa Bonas <abonas@redhat.com>
7 years agoMake topomanager members protected instead of package protected 98/2198/4
Alissa Bonas [Sun, 27 Oct 2013 19:24:13 +0000 (21:24 +0200)]
Make topomanager members protected instead of package protected

Change-Id: I258c5d4df8314091abc8e76f1dc4918358c2f2c3
Signed-off-by: Alissa Bonas <abonas@redhat.com>
7 years agoHandle conflicting types in BundleScanner 80/2280/4
Prasanth Pallamreddy [Wed, 30 Oct 2013 19:34:03 +0000 (12:34 -0700)]
Handle conflicting types in BundleScanner

  - Change precedence order for JAXB types
  - Add a validation check to report conflicting types
  - Add exclude capability to explicitly exclude types

Change-Id: I734be4ea72100d59ddc02d26072abad2dc5b0e9e
Signed-off-by: Prasanth Pallamreddy <ppallamr@cisco.com>
7 years agoEdit Static Flow from NB APIs 65/2265/6
Sapan Shah [Wed, 30 Oct 2013 00:22:59 +0000 (17:22 -0700)]
Edit Static Flow from NB APIs

Change-Id: I837a288755b7800abd8ccd76a35895eed82a4643
Signed-off-by: Sapan Shah <sapshah@cisco.com>
7 years agoMiscelanous fix for Eclipse users 84/2284/2
Giovanni Meo [Thu, 31 Oct 2013 11:34:29 +0000 (12:34 +0100)]
Miscelanous fix for Eclipse users

- Make sure the jacoco-maven-plugin is not contemplated by m2e in md-sal.
- Make sure the assembly target runs from the release pom project as
opposed to the distribution as it was done before.
- Silent warning from the module
org.opendaylight.yangtools.yang.parser.util.ModuleDependencySort they
don't seem at all warning rather simple advices

Change-Id: I379274caff84c29c1f815c14b1d8530ac689957d
Signed-off-by: Giovanni Meo <gmeo@cisco.com>
7 years agoBase integration of Binding Aware Broker with Config Subsystem 73/2273/5
Tony Tkacik [Wed, 30 Oct 2013 12:32:29 +0000 (13:32 +0100)]
Base integration of Binding Aware Broker with Config Subsystem

Binding Aware Broker is now initialized via config subsystem
as default module, not bundle activator, this allows for
configurable modules declare BindingAwareBroker and MD-SAL as
one of their dependencies.

MD-SAL is still also available via OSGI registry and provided
Activators.

Change-Id: I81315312b921fcc2317d93e5dcf001174d02b644
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
7 years agoEnable enunciate to produce Neutron Service NB API documentation. 01/2301/2
Ryan Moats [Thu, 31 Oct 2013 15:40:34 +0000 (10:40 -0500)]
Enable enunciate to produce Neutron Service NB API documentation.

POM lacked full enunciate config to produce documentation

Change-Id: I70bad9d9839f6f33a98e5203fc7a4029e2127e7c
Signed-off-by: Ryan Moats <rmoats@us.ibm.com>
7 years agoRefactor ClusterManagerTest to use correctly junit 12/2212/3
Alissa Bonas [Mon, 28 Oct 2013 10:26:36 +0000 (12:26 +0200)]
Refactor ClusterManagerTest to use correctly junit

Change-Id: Id3b71d21de5a5330e236aed9c05cc47dd257c566
Signed-off-by: Alissa Bonas <abonas@redhat.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.