controller.git
10 years agoMerge "Updated sal-netconf-connector mountpoint integration"
Ed Warnicke [Mon, 11 Nov 2013 12:31:13 +0000 (12:31 +0000)]
Merge "Updated sal-netconf-connector mountpoint integration"

10 years agoMerge "Unified Two Phase Commit implementation, fixed BA to BI connection"
Ed Warnicke [Mon, 11 Nov 2013 12:30:54 +0000 (12:30 +0000)]
Merge "Unified Two Phase Commit implementation, fixed BA to BI connection"

10 years agoMerge "Added inventory-manager to the distribution."
Giovanni Meo [Mon, 11 Nov 2013 11:43:44 +0000 (11:43 +0000)]
Merge "Added inventory-manager to the distribution."

10 years agoMerge "Clear the receive buffer when message parser throws exceptions. Don't terminat...
Giovanni Meo [Mon, 11 Nov 2013 11:15:08 +0000 (11:15 +0000)]
Merge "Clear the receive buffer when message parser throws exceptions. Don't terminate the connection when message parser throws exceptions. Send Features Request msg if not done so."

10 years agoMerge "creating a default subnet"
Giovanni Meo [Mon, 11 Nov 2013 09:50:24 +0000 (09:50 +0000)]
Merge "creating a default subnet"

10 years agoUpdated sal-netconf-connector mountpoint integration 92/2592/3
Tony Tkacik [Sun, 10 Nov 2013 06:16:03 +0000 (07:16 +0100)]
Updated sal-netconf-connector mountpoint integration

  - Updated sal-netconf-connector mountpoint integration, added
    end-to-end test container from restconf to netconf to config
    subsystem.

Change-Id: I7bd5e415fb6ac383ac131ef8e3124d91f7dfca1f
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
10 years agoUnified Two Phase Commit implementation, fixed BA to BI connection 91/2591/3
Tony Tkacik [Sun, 10 Nov 2013 21:45:44 +0000 (22:45 +0100)]
Unified Two Phase Commit implementation, fixed BA to BI connection

  - Unified implementation of Two Phase Commit, Data Reading by abstract
    sal-common-impl.

  - Updated implementation of BA to BI connector to do schema-aware
    serialization / deserialization.

Change-Id: Ibcfa2c4d96e4fa72f1b2499483a2752f62db8b50
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
10 years agoAdded inventory-manager to the distribution. 75/2575/1
Ed Warnicke [Sun, 10 Nov 2013 02:52:33 +0000 (20:52 -0600)]
Added inventory-manager to the distribution.

Change-Id: Ibc92bac57690d5c5bf3ec2682e98576ff95920f3
Signed-off-by: Ed Warnicke <eaw@cisco.com>
10 years agoUpdated MountPoint implementation 72/2572/3
Tony Tkacik [Sat, 9 Nov 2013 19:00:28 +0000 (20:00 +0100)]
Updated MountPoint implementation

  - Fixed bug in AbstractDataReadRouter

Change-Id: Ie00387f57328ed5c0e8130e4456be8c1e9f0456d
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
10 years agoRemoving sysouts and adding log statments 73/2473/2
Abhishek Kumar [Thu, 7 Nov 2013 01:45:42 +0000 (17:45 -0800)]
Removing sysouts and adding log statments

Change-Id: I0d3fcc67eb2e4dada0c0daf954e42e638e555577
Signed-off-by: Abhishek Kumar <abhishk2@cisco.com>
10 years agoAdding copyright notice 72/2472/2
Abhishek Kumar [Thu, 7 Nov 2013 00:18:07 +0000 (16:18 -0800)]
Adding copyright notice

Change-Id: Idcb951db8f2020fe73e4094a8ef3c38169ddb117
Signed-off-by: Abhishek Kumar <abhishk2@cisco.com>
10 years agoClear the receive buffer when message parser throws exceptions. Don't terminate the... 70/2570/1
Jason Ye [Sat, 9 Nov 2013 05:18:08 +0000 (21:18 -0800)]
Clear the receive buffer when message parser throws exceptions. Don't terminate the connection when message parser throws exceptions. Send Features Request msg if not done so.

Change-Id: I80264520ea545c529dab3b4e685e4442818cb52d
Signed-off-by: Jason Ye <yisye@cisco.com>
10 years agoMerge "Bump versions of config-subsystem and netconf-subsystem to 0.2.3-SNAPSHOT...
Ed Warnicke [Fri, 8 Nov 2013 21:02:48 +0000 (21:02 +0000)]
Merge "Bump versions of config-subsystem and netconf-subsystem to 0.2.3-SNAPSHOT. Remove ConfigProvider."

10 years agoMerge "Updating ZeroMQ connector implementation. Its a work inprogress. The current...
Ed Warnicke [Fri, 8 Nov 2013 20:55:05 +0000 (20:55 +0000)]
Merge "Updating ZeroMQ connector implementation. Its a work inprogress. The current implementation only handles announcement and rpc routing for global servies. Notification and Identity based routing will be added. Details about the implementation would be available at https://wiki.opendaylight.org/view/Zeromq_connector"

10 years agoClusteredDataStoreManager unit tests 65/2565/1
Moiz Raja [Wed, 6 Nov 2013 23:38:13 +0000 (15:38 -0800)]
ClusteredDataStoreManager unit tests

Change-Id: Id4ff1766d133d1e7468486b93a75722ae40730f8
Signed-off-by: Moiz Raja <moraja@cisco.com>
10 years agoUpdating ZeroMQ connector implementation. Its a work inprogress. The current implemen... 67/2467/2
Abhishek Kumar [Wed, 6 Nov 2013 22:57:57 +0000 (14:57 -0800)]
Updating ZeroMQ connector implementation. Its a work inprogress. The current implementation only handles announcement and rpc routing for global servies. Notification and Identity based routing will be added. Details about the implementation would be available at https://wiki.opendaylight.org/view/Zeromq_connector

Signed-off-by: Abhishek Kumar <abhishk2@cisco.com>
Change-Id: I218fa7a99cfe4bce94f5959b47d835a88cb76b92

10 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"

10 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>
10 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>
10 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>
10 years agoMerge "Added threadpool config tests."
Ed Warnicke [Fri, 8 Nov 2013 15:30:33 +0000 (15:30 +0000)]
Merge "Added threadpool config tests."

10 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"

10 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"

10 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>
10 years agoBump versions of config-subsystem and netconf-subsystem to 0.2.3-SNAPSHOT. 54/2554/1
Maros Marsalek [Fri, 8 Nov 2013 12:15:23 +0000 (13:15 +0100)]
Bump versions of config-subsystem and netconf-subsystem to 0.2.3-SNAPSHOT.
Remove ConfigProvider.

Change-Id: I6d578f5c3b934456cf37a0893e816cfc8d6340f1
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
10 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>
10 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>
10 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>
10 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."

10 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"

10 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."

10 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"

10 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."

10 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."

10 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."

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

10 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>
10 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>
10 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>
10 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>
10 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>
10 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>
10 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>
10 years agocreating a default subnet 25/2525/1
Colin Dixon [Thu, 7 Nov 2013 20:27:16 +0000 (14:27 -0600)]
creating a default subnet

This changes how SwitchManager handles subnets so that when there are
no configured subents, it returns a default subnet that spans all ports
in the network and spans all IP addresses, i.e., 0.0.0.0/0.

This makes it so that HostTracker will discover all hosts by default
instead of only discovering hosts in configured subents. This, in turn,
makes SimpleForwarding forward traffic correctly without any
configuration.

Change-Id: Ice31b6035b970dd69fc69df3d9560b4aac41630d
Signed-off-by: Colin Dixon <ckd@us.ibm.com>
10 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>
10 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>
10 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."

10 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"

10 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>
10 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>
10 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"

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

10 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>
10 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

10 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>
10 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>
10 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"

10 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"

10 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."

10 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"

10 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>
10 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>
10 years agoMerge "Ganymed patch fix"
Giovanni Meo [Thu, 7 Nov 2013 11:15:56 +0000 (11:15 +0000)]
Merge "Ganymed patch fix"

10 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."

10 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>
10 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."

10 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>
10 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>
10 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>
10 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>
10 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>
10 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>
10 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>
10 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>
10 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>
10 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>
10 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>
10 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>
10 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>
10 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>
10 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>
10 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>
10 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>
10 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>
10 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>
10 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>
10 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>
10 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>
10 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>
10 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>
10 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>
10 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>
10 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>
10 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>
10 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>
10 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>
10 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>
10 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>
10 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>
10 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>