controller.git
10 years agoAdded MD-SAL statistics-manager to dependendy in pom.xml 12/3112/1
Anil Vishnoi [Tue, 26 Nov 2013 19:28:17 +0000 (00:58 +0530)]
Added MD-SAL statistics-manager to dependendy in pom.xml

Change-Id: I5bfed655b9db48161f862488a29ba363ef515d1d
Signed-off-by: Anil Vishnoi <avishnoi@in.ibm.com>
10 years agoMerge "Fixed quote issue in flow-types.yang and table-types.yang"
Giovanni Meo [Tue, 26 Nov 2013 19:54:36 +0000 (19:54 +0000)]
Merge "Fixed quote issue in flow-types.yang and table-types.yang"

10 years agoFixed quote issue in flow-types.yang and table-types.yang 09/3109/1
Ed Warnicke [Tue, 26 Nov 2013 19:11:02 +0000 (11:11 -0800)]
Fixed quote issue in flow-types.yang and table-types.yang

This should resolve the errors on startup:

2013-11-26 07:49:17.846 PST [Start Level Event Dispatcher] ERROR o.o.y.y.p.util.ParserListenerUtils - Syntax error in module opendaylight-table-types at line 7: missing '"'.
2013-11-26 07:49:17.856 PST [Start Level Event Dispatcher] ERROR o.o.y.y.p.util.ParserListenerUtils - Syntax error in module opendaylight-flow-types at line 7: missing '"'

Change-Id: I93511100e323c920bc65576576d082d535516717
Signed-off-by: Ed Warnicke <eaw@cisco.com>
10 years agoMerge "Added transaction parameter in Port RPC"
Ed Warnicke [Tue, 26 Nov 2013 17:46:09 +0000 (17:46 +0000)]
Merge "Added transaction parameter in Port RPC"

10 years agoMerge "Fix bug 153: change the key container-config to ContainerConfig in the contain...
Giovanni Meo [Tue, 26 Nov 2013 15:55:15 +0000 (15:55 +0000)]
Merge "Fix bug 153: change the key container-config to ContainerConfig in the container manager module"

10 years agoMerge changes I0f752636,Idd154499,Ic35fa3e8
Ed Warnicke [Tue, 26 Nov 2013 14:35:34 +0000 (14:35 +0000)]
Merge changes I0f752636,Idd154499,Ic35fa3e8

* changes:
  Updated xml generated by get netconf operation to conform to yang schema in config-api
  Add logback as a default config module.
  Fix logging of yang parsing problems in yang-parser-impl

10 years agoMerge "Queue yang model"
Ed Warnicke [Tue, 26 Nov 2013 14:30:22 +0000 (14:30 +0000)]
Merge "Queue yang model"

10 years agoMerge "Better exception message in persister. Split information about missing capabil...
Ed Warnicke [Tue, 26 Nov 2013 14:23:32 +0000 (14:23 +0000)]
Merge "Better exception message in persister. Split information about missing capabilities into log message, and exception that only contains missing capabilities."

10 years agoMerge "Fixed default configuration to not reference unused capabilities"
Ed Warnicke [Tue, 26 Nov 2013 14:06:32 +0000 (14:06 +0000)]
Merge "Fixed default configuration to not reference unused capabilities"

10 years agoMerge "Update context-instance xpath format according to latest changes in config...
Ed Warnicke [Tue, 26 Nov 2013 14:06:16 +0000 (14:06 +0000)]
Merge "Update context-instance xpath format according to latest changes in config-api yang."

10 years agoMerge "Null data from XML"
Ed Warnicke [Tue, 26 Nov 2013 14:04:46 +0000 (14:04 +0000)]
Merge "Null data from XML"

10 years agoMerge changes I50218f21,I6bc2631b
Ed Warnicke [Tue, 26 Nov 2013 14:03:22 +0000 (14:03 +0000)]
Merge changes I50218f21,I6bc2631b

* changes:
  Serialization to Json improvement
  Union type processing added to JsonMapper

10 years agoMerge "Bug 164"
Ed Warnicke [Tue, 26 Nov 2013 14:02:25 +0000 (14:02 +0000)]
Merge "Bug 164"

10 years agoFixed default configuration to not reference unused capabilities 99/3099/1
Tony Tkacik [Tue, 26 Nov 2013 13:46:09 +0000 (14:46 +0100)]
Fixed default configuration to not reference unused capabilities

Change-Id: I72a072d4b0d6540df44f67bcc3e339b93d83dca6
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
10 years agoBetter exception message in persister. 98/3098/1
Tomas Olvecky [Tue, 26 Nov 2013 13:39:46 +0000 (14:39 +0100)]
Better exception message in persister.
Split information about missing capabilities into log message, and exception that only contains missing capabilities.

Change-Id: I5673542d14b3b8cd3ea4bcb6e0166566e9a105b8
Signed-off-by: Tomas Olvecky <tolvecky@cisco.com>
10 years agoAdded transaction parameter in Port RPC 95/3095/1
HemaTG [Tue, 26 Nov 2013 11:48:41 +0000 (17:18 +0530)]
Added transaction parameter in Port RPC

Signed-off-by: HemaTG <hema.gopalkrishnan@ericsson.com>
Change-Id: Ia3e36463955690d338436c15c6ff9410b4e4c94a

10 years agoSerialization to Json improvement 94/3094/1
msunal [Tue, 26 Nov 2013 11:41:10 +0000 (12:41 +0100)]
Serialization to Json improvement

- During serialization of List and LeafList is not get parent from composite node
but he is added as a parameter

Change-Id: I50218f2132eb571c3faf103f7914e2f49f735bf6
Signed-off-by: Martin Sunal <msunal@cisco.com>
10 years agoMerge "HostTracker hosts DB key scheme implementation"
Giovanni Meo [Tue, 26 Nov 2013 11:37:38 +0000 (11:37 +0000)]
Merge "HostTracker hosts DB key scheme implementation"

10 years agoUpdated xml generated by get netconf operation to conform to yang schema in config-api 89/3089/3
Maros Marsalek [Tue, 26 Nov 2013 09:15:54 +0000 (10:15 +0100)]
Updated xml generated by get netconf operation to conform to yang schema in config-api

Change-Id: I0f7526369840eb83fdd83aba2459365ccbd9fd16
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
10 years agoFixed two-phase commit bug when change originated in DOM Broker 66/3066/2
Tony Tkacik [Mon, 25 Nov 2013 15:58:53 +0000 (16:58 +0100)]
Fixed two-phase commit bug when change originated in DOM Broker

  - DataServiceConnector is now tracking all opened transaction
    in order to prevent creating loop if transaction was
    already forwarded from other broker (DataServiceConnector
    is not publishing it back).
  - Added logging to TwoPhase Commit and Transaction
    forwarding
  - Fixed some warnings regarding wildcards in generics.

Change-Id: I6e3169f20ac84222ed0837735c3ddd95115db38a
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
10 years agoAdded configuration options to MD-SAL 53/2853/13
Tony Tkacik [Tue, 19 Nov 2013 07:27:07 +0000 (08:27 +0100)]
Added configuration options to MD-SAL

   Added default configuration to distribution
   which wires MD-SAL components together.

   Support for configuring wiring of following services:
     - Binding Aware Broker
        - Binding Aware Notification Service
        - Binding Aware Data Broker Service
        - Mapping service
     - Binding Independent Broker
     - Data Store

   Default configuration wires BA Broker, BA Notification service
   BA Data Broker and BI Broker together.

   BA Broker requires now BI Broker to be loaded in order to
   provide datastore functionality right from the beginning.

   Updated integration tests, added new test cases for BA to BI
   integration

Change-Id: I7776bb9b2ed75bd5589757633c17f2466b86a04c
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
10 years agoMerge changes I4ba7cf7d,Ia3e319ee
Ed Warnicke [Mon, 25 Nov 2013 17:48:58 +0000 (17:48 +0000)]
Merge changes I4ba7cf7d,Ia3e319ee

* changes:
  Allow multiple services provided from same namespace parsed from netconf message
  Fix no response from netconf server if no operation is available to handle message.

10 years agoUpdate context-instance xpath format according to latest changes in config-api yang. 56/3056/7
Maros Marsalek [Mon, 25 Nov 2013 10:25:34 +0000 (11:25 +0100)]
Update context-instance xpath format according to latest changes in config-api yang.

Change-Id: I7b432ecf4703617899e5e945e900a54ec479d342
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
10 years agoQueue yang model 60/3060/1
usha [Mon, 25 Nov 2013 12:19:23 +0000 (17:49 +0530)]
Queue yang model

Signed-off-by: usha <usha.m.s@ericsson.com>
Change-Id: If80f902ced0b053b197263462cce57c753c78608

10 years agoBug 164 59/3059/2
msunal [Mon, 25 Nov 2013 12:14:57 +0000 (13:14 +0100)]
Bug 164

- if URI has bad format then error status 400 is returned
- corrected xtend conventions: triple equals for null

Change-Id: Idfa58e21942506b7483ca6ecf19aedfd1c1de827
Signed-off-by: Martin Sunal <msunal@cisco.com>
10 years agoHostTracker hosts DB key scheme implementation 17/2817/9
Deepak [Mon, 18 Nov 2013 10:19:47 +0000 (15:49 +0530)]
HostTracker hosts DB key scheme implementation

Requirements :-

i) IP only scheme for hosttracker hosts db key is by default supported.
ii) IP + MAC scheme for hosttracker hosts db key addition.
iii) Only one scheme at a time will be active. The configuration is
controller by the setting hosttracker.keyscheme in config.ini. By default
it has a value of zero which indicates IP only scheme.
The value 1 can be set for choosing IP+MAC scheme.

Changes done :-

i) Marker interface named IHostId is used for the implementation.
ii) IPHostId and IPMacHostId are the classes which implement the marker
interface.
iii) All the hostttracker apis have been aligned to the new key using the
marker interface IHostId as the key.
iv) Version of the hosttracker and it's dependent bundles like
arphandler,loadbalancer,static routing etc.. have been bumped up.
v) HostIdFactory has been provided to create the keys based on the scheme
the user is using.

Tests done :-

i) pingall has worked.
ii) NB APIs of hosttracker.

Made distribution changes which were needed and other pom changes as well.
Integration test for hosttracker has been fixed with the right version.
Other module integration test failures and review comments have been taken
care off.
Host DB Key classes have been serialized.

Change-Id: I328a1b6d3702d5268832f0e3ea6ee47122f20205
Signed-off-by: Deepak <dudapudi@in.ibm.com>
10 years agoNull data from XML 53/3053/1
Jozef Gloncak [Mon, 25 Nov 2013 09:42:58 +0000 (10:42 +0100)]
Null data from XML

In case of reading data from XMl to Composite node following rule was
added:
- XML with opening and closing tag without data is mapped to single node
  with empty string
  (e. g. <foo></foo> -> single node with empty string)
- XML with only closing tag is mapped to single node with null value (e.
  g. <foo /> -> single node with null value)

Change-Id: I17ba4387949dd3cfe943999829dbcc63a29fbac8
Signed-off-by: Jozef Gloncak <jgloncak@cisco.com>
10 years agoUnion type processing added to JsonMapper 92/2992/5
Jozef Gloncak [Fri, 22 Nov 2013 09:00:19 +0000 (10:00 +0100)]
Union type processing added to JsonMapper

if data type according to schema is union then data from single node are validated as follows:
- if simple node value is null -> [null] is written to JSON
- if simple node value is number and union yang contains one of number types ->
  number is written to JSON
- if simple node value si true or false and union yang contains BooleanType ->
  true or false is written to JSON
- other cases are written to JSON as string (inside "")

Change-Id: I6bc2631bc9b018e9497464fac4efbc5abc726882
Signed-off-by: Jozef Gloncak <jgloncak@cisco.com>
10 years agoMerge "Add prefixes to type attribute in generated xml from netconf Add support for...
Ed Warnicke [Mon, 25 Nov 2013 09:42:51 +0000 (09:42 +0000)]
Merge "Add prefixes to type attribute in generated xml from netconf Add support for parsing prefixed type attributes from incomming xml to netconf"

10 years agoMerge changes Ia09a1107,I2c30f3b6
Ed Warnicke [Mon, 25 Nov 2013 09:42:21 +0000 (09:42 +0000)]
Merge changes Ia09a1107,I2c30f3b6

* changes:
  Change type of service-ref grouping to service-type-ref from leafref.
  Fix config-netconf-connector needed for interacting with yuma's yangcli.

10 years agoMerge "Fixed YangStore exception thrown at startup"
Ed Warnicke [Mon, 25 Nov 2013 09:40:50 +0000 (09:40 +0000)]
Merge "Fixed YangStore exception thrown at startup"

10 years agoMerge "TableFeatures Update,correcting InstanceIdentifier"
Ed Warnicke [Mon, 25 Nov 2013 08:46:51 +0000 (08:46 +0000)]
Merge "TableFeatures Update,correcting InstanceIdentifier"

10 years agoMD-SAL Statistics Manager- types and capabilities in group-features model is bitmap... 33/3033/1
Anil Vishnoi [Sat, 23 Nov 2013 15:09:07 +0000 (20:39 +0530)]
MD-SAL Statistics Manager- types and capabilities in group-features model is bitmap, so changed to bitmap from enum

Change-Id: I71cdc43f2919a8950052aa7334a135c79fb5b748
Signed-off-by: Anil Vishnoi <avishnoi@in.ibm.com>
10 years agoMerge "Fix NPE in FlowProgrammerService in openflow plugin"
Andrew Kim [Sat, 23 Nov 2013 01:44:16 +0000 (01:44 +0000)]
Merge "Fix NPE in FlowProgrammerService in openflow plugin"

10 years agoMerge "Adding another constructor to ContainerFlowConfig to take dlVlan. Being an...
Alessandro Boch [Fri, 22 Nov 2013 23:31:32 +0000 (23:31 +0000)]
Merge "Adding another constructor to ContainerFlowConfig to take dlVlan. Being an immutable object, there is no other way to set the Vlan (other than via NB Serialization)"

10 years agoAdding another constructor to ContainerFlowConfig to take dlVlan. 21/3021/1
Madhu Venugopal [Fri, 22 Nov 2013 21:24:15 +0000 (13:24 -0800)]
Adding another constructor to ContainerFlowConfig to take dlVlan.
Being an immutable object, there is no other way to set the Vlan (other than via NB Serialization)

Change-Id: Ie26c5b9770275095152484f90f61722418db6991
Signed-off-by: Madhu Venugopal <mavenugo@gmail.com>
10 years agoAdd logback as a default config module. 01/3001/2
Tomas Olvecky [Fri, 22 Nov 2013 13:40:17 +0000 (14:40 +0100)]
Add logback as a default config module.

Change-Id: Idd15449925dc20cfc731d97ee8cef5c42a5a4d80
Signed-off-by: Tomas Olvecky <tolvecky@cisco.com>
10 years agoFix logging of yang parsing problems in yang-parser-impl 08/3008/2
Tomas Olvecky [Fri, 22 Nov 2013 14:47:17 +0000 (15:47 +0100)]
Fix logging of yang parsing problems in yang-parser-impl

Change-Id: Ic35fa3e85c0bb12b0b342e570e2c440161be3923
Signed-off-by: Tomas Olvecky <tolvecky@cisco.com>
10 years agoAllow multiple services provided from same namespace parsed from netconf message 02/3002/1
Maros Marsalek [Fri, 22 Nov 2013 13:42:38 +0000 (14:42 +0100)]
Allow multiple services provided from same namespace parsed from netconf message

Change-Id: I4ba7cf7d3e728be447066abc3a3c9f871faba954
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
10 years agoMerge "1. Fixed not sending of events to the node that created the routing table...
Giovanni Meo [Fri, 22 Nov 2013 13:26:18 +0000 (13:26 +0000)]
Merge "1. Fixed not sending of events to the node that created the routing table entry 2. Deprecated listener pattern and introduced the WB pattern based on code review 3. Included some documentation and logging package 4. Modified/Added unit test case"

10 years agoFix no response from netconf server if no operation is available to handle message. 00/3000/1
Maros Marsalek [Fri, 22 Nov 2013 13:08:30 +0000 (14:08 +0100)]
Fix no response from netconf server if no operation is available to handle message.

Change-Id: Ia3e319ee6b9d224a92def7652ed50f4ae7021b4a
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
10 years agoTableFeatures Update,correcting InstanceIdentifier 99/2999/1
Gaurav Bhagwani [Fri, 22 Nov 2013 12:39:43 +0000 (18:09 +0530)]
TableFeatures Update,correcting InstanceIdentifier

Signed-off-by: Gaurav Bhagwani <gaurav.bhagwani@ericsson.com>
Change-Id: I3722482a52a8b26cd48474838d21bf3ecc22a580

10 years agoMerge "MD-SAL Statistics Manager -Added group-id to group-statistics API"
Ed Warnicke [Fri, 22 Nov 2013 11:59:14 +0000 (11:59 +0000)]
Merge "MD-SAL Statistics Manager -Added group-id to group-statistics API"

10 years agoAdd prefixes to type attribute in generated xml from netconf 89/2989/4
Maros Marsalek [Thu, 21 Nov 2013 16:50:31 +0000 (17:50 +0100)]
Add prefixes to type attribute in generated xml from netconf
Add support for parsing prefixed type attributes from incomming xml to netconf

Prefixed type attribute conforms to config api defined in yang

Change-Id: I4516ddb97d3fcfaab50f3402edb4a6e1bd6505cf
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
10 years ago1. Fixed not sending of events to the node that created the routing table entry 73/2973/2
Basheeruddin Ahmed [Fri, 22 Nov 2013 03:32:17 +0000 (19:32 -0800)]
1. Fixed not sending of events to the node that created the routing table entry
2. Deprecated listener pattern and introduced the WB pattern based on code review
3. Included some documentation and logging package
4. Modified/Added unit test case

Change-Id: I1273b4c3a87180bae90419e3bdf55dca640cd899
Signed-off-by: Basheeruddin Ahmed <syedbahm@cisco.com>
10 years agoMD-SAL Statistics Manager -Added group-id to group-statistics API 67/2967/1
Anil Vishnoi [Thu, 21 Nov 2013 20:23:39 +0000 (01:53 +0530)]
MD-SAL Statistics Manager -Added group-id to group-statistics API

Change-Id: I42c09be836922c403a3dc874eea740cc707958a7
Signed-off-by: Anil Vishnoi <avishnoi@in.ibm.com>
10 years agoChange type of service-ref grouping to service-type-ref from leafref. 59/2959/2
Tomas Olvecky [Thu, 21 Nov 2013 16:07:26 +0000 (17:07 +0100)]
Change type of service-ref grouping to service-type-ref from leafref.

Also fix bug in config-netconf-connector where edit strategy was in global scope.

Change-Id: Ia09a11078c87ffa4c6fa8de34f0b69b438b6c50e
Signed-off-by: Tomas Olvecky <tolvecky@cisco.com>
10 years agoFix config-netconf-connector needed for interacting with yuma's yangcli. 41/2941/2
Tomas Olvecky [Thu, 21 Nov 2013 12:29:09 +0000 (13:29 +0100)]
Fix config-netconf-connector needed for interacting with yuma's yangcli.

Mitigate issue when yuma is sending services/service/type with a prefix that is not referenced anywhere - it will be ignored.
When issuing edit-config with merge strategy, populate services as they appear in get-config.

Change-Id: I2c30f3b626fc25cfd3b46225d5f1c24109d655b7
Signed-off-by: Tomas Olvecky <tolvecky@cisco.com>
10 years agoMerge "Fixed NPE in MD-FRM."
Giovanni Meo [Thu, 21 Nov 2013 12:15:09 +0000 (12:15 +0000)]
Merge "Fixed NPE in MD-FRM."

10 years agoFixed YangStore exception thrown at startup 39/2939/1
Maros Marsalek [Thu, 21 Nov 2013 08:15:17 +0000 (09:15 +0100)]
Fixed YangStore exception thrown at startup

Fixed a bug in yang store service that caused cache to be updated at illegal state

Change-Id: I567bb245af6577a53a52d003a14b74c9edc5850d
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
10 years agoFixed NPE in MD-FRM. 36/2936/1
Ed Warnicke [Thu, 21 Nov 2013 11:45:27 +0000 (03:45 -0800)]
Fixed NPE in MD-FRM.

There was an uninitialized ConcurrentMap.  Initialized it.

Change-Id: I1bc5c4959806c020b630b4a5da3e3a9c311850f5
Signed-off-by: Ed Warnicke <eaw@cisco.com>
10 years agoMerge "Added flags for flow removed event"
Ed Warnicke [Thu, 21 Nov 2013 09:30:59 +0000 (09:30 +0000)]
Merge "Added flags for flow removed event"

10 years agoMerge "Ganymed ChannelManager hack for subsystem command, functionality for subsystem...
Ed Warnicke [Wed, 20 Nov 2013 23:54:14 +0000 (23:54 +0000)]
Merge "Ganymed ChannelManager hack for subsystem command, functionality for subsystem added - tabulators replaced"

10 years agoResponse for PUT and POST operations 21/2921/1
msunal [Wed, 20 Nov 2013 16:49:08 +0000 (17:49 +0100)]
Response for PUT and POST operations

- added response as is written in http://tools.ietf.org/html/draft-bierman-netconf-restconf-02#page-37
- tests

Change-Id: Ice0a698f08b7512ea7ee29c1a534bff068e3b6bd
Signed-off-by: Martin Sunal <msunal@cisco.com>
10 years agoFix NPE in FlowProgrammerService in openflow plugin 20/2920/1
Alessandro Boch [Wed, 20 Nov 2013 16:23:50 +0000 (08:23 -0800)]
Fix NPE in FlowProgrammerService in openflow plugin

- In default container have installed flows matching on input port.
  When creating the first container, default container flows are removed.
  On switch notification about flow removal, a NPE is hit in FlowProgrammerService
  because of the assumption the newly created container already has ports assigned.

Change-Id: I645684f9bc47ea26d1fe9f45383343354fb3df6a
Signed-off-by: Alessandro Boch <aboch@cisco.com>
10 years agoMerge "tests for empty leaf, namespace changing, multi simple node"
Ed Warnicke [Wed, 20 Nov 2013 16:07:25 +0000 (16:07 +0000)]
Merge "tests for empty leaf, namespace changing, multi simple node"

10 years agoMerge "Added config SI for io.netty.util.Timer and config module wrapper for HashedWh...
Ed Warnicke [Wed, 20 Nov 2013 16:06:34 +0000 (16:06 +0000)]
Merge "Added config SI for io.netty.util.Timer and config module wrapper for HashedWheelTimer, moved netty's config SIs into netty-config-api. Added and fixed dependencies to distribution pom.xml."

10 years agoMerge "Dispose HashedWheelTimer instances properly in netconf client and server"
Ed Warnicke [Wed, 20 Nov 2013 16:05:11 +0000 (16:05 +0000)]
Merge "Dispose HashedWheelTimer instances properly in netconf client and server"

10 years agoDispose HashedWheelTimer instances properly in netconf client and server 98/2898/2
Maros Marsalek [Wed, 20 Nov 2013 09:46:49 +0000 (10:46 +0100)]
Dispose HashedWheelTimer instances properly in netconf client and server

Prevents resource leak exception from netty

Change-Id: I1c12806382ee5d5edf394c2ad5f81c5b0f282fdd
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
10 years agotests for empty leaf, namespace changing, multi simple node 09/2909/2
Jozef Gloncak [Wed, 20 Nov 2013 12:26:53 +0000 (13:26 +0100)]
tests for empty leaf, namespace changing, multi simple node

following tests were added
- N elements in leaf list are red as N simple node instances
- Json [null] value is translated to simple node with null value
- for composite node for which were updated namespaces of its childs
  can't be namespaces changed again

Change-Id: Ibfb28b1b6fdaff49a7cf38531b058f8b0a79c524
Signed-off-by: Jozef Gloncak <jgloncak@cisco.com>
10 years agoAdded flags for flow removed event 08/2808/4
Deepthi V V [Mon, 18 Nov 2013 06:04:34 +0000 (11:34 +0530)]
Added flags for flow removed event

Signed-off-by: Deepthi V V <deepthi.v.v@ericsson.com>
Change-Id: I4765c5620f6a49fb55a993b80e1132fe73e15326

10 years agoFix bug 153: change the key container-config to ContainerConfig in the container... 08/2908/1
Baohua Yang [Wed, 20 Nov 2013 13:06:30 +0000 (21:06 +0800)]
Fix bug 153: change the key container-config to ContainerConfig in the container manager module

Change-Id: Iaa9e7cf3d67363197b09440d52b887df8fd28f51
Signed-off-by: Baohua Yang <baohyang@cn.ibm.com>
10 years agoDo not re-register config instances to OSGi service registry if old instance is reused. 03/2903/1
Tomas Olvecky [Wed, 20 Nov 2013 12:06:58 +0000 (13:06 +0100)]
Do not re-register config instances to OSGi service registry if old instance is reused.

Keep old OSGi service registration when reusing old instance. Also move @Deprecated flag in ModuleInternalTransactionalInfo where it belongs.

Change-Id: I1e6f75f9ac225dd6149e24adb3713e2b2ed8dc50
Signed-off-by: Tomas Olvecky <tolvecky@cisco.com>
10 years agoAdded config SI for io.netty.util.Timer and config module wrapper for HashedWheelTime... 90/2890/2
Milos Fabian [Tue, 19 Nov 2013 15:14:03 +0000 (16:14 +0100)]
Added config SI for io.netty.util.Timer and config module wrapper for HashedWheelTimer, moved netty's config SIs into netty-config-api.
Added and fixed dependencies to distribution pom.xml.

Change-Id: Iea5fc62c44b92ebb45348f8115c7b3aae8f85cb9
Signed-off-by: Milos Fabian <milfabia@cisco.com>
10 years agoAdd threadpool bundles to distribution. 95/2895/1
Tomas Olvecky [Mon, 18 Nov 2013 17:45:53 +0000 (18:45 +0100)]
Add threadpool bundles to distribution.

Change-Id: I51c8a312e8ff895201778e4e6ddbdde893bc7e4b
Signed-off-by: Tomas Olvecky <tolvecky@cisco.com>
10 years agoMerge "Add blacklist capability to yang-store-impl."
Ed Warnicke [Wed, 20 Nov 2013 09:50:37 +0000 (09:50 +0000)]
Merge "Add blacklist capability to yang-store-impl."

10 years agoBind raw TCP netconf server to all network interfaces. 43/2843/2
Tomas Olvecky [Mon, 18 Nov 2013 18:14:47 +0000 (19:14 +0100)]
Bind raw TCP netconf server to all network interfaces.

Change-Id: I178300b9284f55f674beea6fc6528aa24e68a78c
Signed-off-by: Tomas Olvecky <tolvecky@cisco.com>
10 years agoAdd blacklist capability to yang-store-impl. 80/2880/2
Tomas Olvecky [Tue, 19 Nov 2013 17:13:07 +0000 (18:13 +0100)]
Add blacklist capability to yang-store-impl.

Add blacklist to overcome yuma problems when parsing buggy yang files in md-sal.

Change-Id: Iaf222ac627317a48619beadaebb2a16073edac9d
Signed-off-by: Tomas Olvecky <tolvecky@cisco.com>
10 years agoGanymed ChannelManager hack for subsystem command, functionality for subsystem added 69/2869/3
Martin Bobak [Tue, 19 Nov 2013 14:25:31 +0000 (15:25 +0100)]
Ganymed ChannelManager hack for subsystem command, functionality for subsystem added
- tabulators replaced

Change-Id: I3c8f38c2417c716ef89d6c31dba87c8e72bf61a9
Signed-off-by: Martin Bobak <mbobak@cisco.com>
10 years agoMerge "Ganymed ChannelManager hack for subsystem command"
Ed Warnicke [Tue, 19 Nov 2013 20:07:20 +0000 (20:07 +0000)]
Merge "Ganymed ChannelManager hack for subsystem command"

10 years agoMerge "AbstractConfigTest - exposed BundleContext and ServiceRegistration mock."
Ed Warnicke [Tue, 19 Nov 2013 19:34:22 +0000 (19:34 +0000)]
Merge "AbstractConfigTest - exposed BundleContext and ServiceRegistration mock."

10 years agoMerge "Fixed quotation mark in action-types.yang"
Ed Warnicke [Tue, 19 Nov 2013 19:23:40 +0000 (19:23 +0000)]
Merge "Fixed quotation mark in action-types.yang"

10 years agoMerge changes Ibc19654a,I17a345ea,Id0377e20
Ed Warnicke [Tue, 19 Nov 2013 19:05:58 +0000 (19:05 +0000)]
Merge changes Ibc19654a,I17a345ea,Id0377e20

* changes:
  test of namespace suplement (from xml)
  test of namespace supplement
  Xml -> Composite node test

10 years agoMerge "Json to composite node test"
Ed Warnicke [Tue, 19 Nov 2013 18:02:53 +0000 (18:02 +0000)]
Merge "Json to composite node test"

10 years agoFix for Bug 144, Bug 147, 148 - improved codec 81/2781/13
Tony Tkacik [Fri, 15 Nov 2013 14:43:43 +0000 (15:43 +0100)]
Fix for Bug 144, Bug 147, 148 - improved codec

  - Added defensive locking mechanism to class generation code
  - Provider's and Consumer's crossing boundatories between
    brokers are blocked util their YANG schema is ready and processed.
  - Added set of APIs to make generated codec contracts and interactions
    more explicit.
  - Extracted augmentation serialization / deserialization to sepparate
    generated codec (one codec per augmentation type).
  - Fixed NPE

Change-Id: I299924e911f63aba1fdeca3debeb8cc80f66f5ac
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
10 years agotest of namespace suplement (from xml) 64/2864/2
Jozef Gloncak [Tue, 19 Nov 2013 10:44:23 +0000 (11:44 +0100)]
test of namespace suplement (from xml)

Change-Id: Ibc19654ab3decb6d9eb6a093cf0a00304503690b
Signed-off-by: Jozef Gloncak <jgloncak@cisco.com>
10 years agotest of namespace supplement 57/2857/2
Jozef Gloncak [Tue, 19 Nov 2013 08:47:40 +0000 (09:47 +0100)]
test of namespace supplement

test suplement of namespace when data are red from json file. to obtain
correct namespace the corresponding yang file is loaded and to supplement
it to composite node the method createConfigurationData of RestconfImpl
class is used

Change-Id: I17a345eabe1d4b9e5fd86693a96b6bfdceda25f2
Signed-off-by: Jozef Gloncak <jgloncak@cisco.com>
10 years agoXml -> Composite node test 24/2824/3
Jozef Gloncak [Mon, 18 Nov 2013 13:25:14 +0000 (14:25 +0100)]
Xml -> Composite node test

Test for empty xml elements (for leaf, leaf list), for container(list)
which contains as subnodes leaf, leaflist, container, list.

Change-Id: Id0377e20b77761ad7af15cacc641459483ecef8b
Signed-off-by: Jozef Gloncak <jgloncak@cisco.com>
10 years agoJson to composite node test 13/2813/3
Jozef Gloncak [Mon, 18 Nov 2013 09:12:32 +0000 (10:12 +0100)]
Json to composite node test

contains tests for:
- elements leaf, leaf list, list, container under list or container
- json top level elements check
- check of read empty simple data like leaf, leaf list

Change-Id: I6826cb32415fc135eb7f966f7325c5d15e21ac1a
Signed-off-by: Jozef Gloncak <jgloncak@cisco.com>
10 years agoMerge "bug 152"
Ed Warnicke [Tue, 19 Nov 2013 14:24:18 +0000 (14:24 +0000)]
Merge "bug 152"

10 years agoGanymed ChannelManager hack for subsystem command 68/2868/1
Martin Bobak [Tue, 19 Nov 2013 14:22:31 +0000 (15:22 +0100)]
Ganymed ChannelManager hack for subsystem command

Change-Id: I6b5cf9af81e154f8fb2de35c3dad0d0aa2f09822
Signed-off-by: Martin Bobak <mbobak@cisco.com>
10 years agoMerge "fix of Bug 149"
Ed Warnicke [Tue, 19 Nov 2013 14:16:32 +0000 (14:16 +0000)]
Merge "fix of Bug 149"

10 years agoMerge "added own XML to Composite node translation"
Ed Warnicke [Tue, 19 Nov 2013 14:14:58 +0000 (14:14 +0000)]
Merge "added own XML to Composite node translation"

10 years agoMerge "fix of Bug 145"
Ed Warnicke [Tue, 19 Nov 2013 14:08:00 +0000 (14:08 +0000)]
Merge "fix of Bug 145"

10 years agoID's are made in sync with openflow specification. Flow/Group/Table/Port/Queue/Meter... 58/2858/4
Prasanna Huddar [Tue, 19 Nov 2013 09:07:23 +0000 (14:37 +0530)]
ID's are made in sync with openflow specification. Flow/Group/Table/Port/Queue/Meter all Id's where string. The Spec points to uint32. So all ID have been moved to uint32 type.

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

10 years agofix of Bug 145 16/2816/2
msunal [Mon, 18 Nov 2013 10:05:35 +0000 (11:05 +0100)]
fix of Bug 145

- https://bugs.opendaylight.org/show_bug.cgi?id=145
- Broker service is tracked by ServiceTracker

Change-Id: I32358e13fa5b356ed77b842c96127a51c29bc018
Signed-off-by: Martin Sunal <msunal@cisco.com>
10 years agoAbstractConfigTest - exposed BundleContext and ServiceRegistration mock. 56/2856/1
Milos Fabian [Tue, 19 Nov 2013 08:36:27 +0000 (09:36 +0100)]
AbstractConfigTest - exposed BundleContext and ServiceRegistration mock.

Change-Id: I4dbd9d62b40cd8ee07b4f2d415ff8fb1ad114e7a
Signed-off-by: Milos Fabian <milfabia@cisco.com>
10 years agoFixed quotation mark in action-types.yang 55/2855/1
Tony Tkacik [Tue, 19 Nov 2013 08:12:53 +0000 (09:12 +0100)]
Fixed quotation mark in action-types.yang

Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
Change-Id: Ia38841cfd8b090112d0a46a3403aefd0d5137c29

10 years agobug 152 47/2847/1
David Bainbridge [Mon, 18 Nov 2013 22:38:17 +0000 (14:38 -0800)]
bug 152

add a null check when setting delgates, as when implementations are unregistered, registrations are closed, the delegate is set to null. this was causing a null pointer exception.

Change-Id: Ib37937cee768ba03c61154cc227316d6aef69cb8
Signed-off-by: David Bainbridge <dbainbri@ciena.com>
10 years agoExposed components of Binding Aware MD-SAL via config subsystem. 44/2844/3
Tony Tkacik [Mon, 18 Nov 2013 18:23:39 +0000 (19:23 +0100)]
Exposed components of Binding Aware MD-SAL via config subsystem.

Change-Id: Ie4b4533c8e4f996644f8cd75af7d5afe6fe15dfc
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
10 years agoMerge "moved forwardingrulesmnaager to mdsal directory"
Ed Warnicke [Mon, 18 Nov 2013 17:33:56 +0000 (17:33 +0000)]
Merge "moved forwardingrulesmnaager to mdsal directory"

10 years agomoved forwardingrulesmnaager to mdsal directory 15/2815/3
Prasanna Huddar [Mon, 18 Nov 2013 09:57:58 +0000 (15:27 +0530)]
moved forwardingrulesmnaager to mdsal directory

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

10 years agoMerge "changed the pom.xml to include proper integration test"
Giovanni Meo [Mon, 18 Nov 2013 16:38:36 +0000 (16:38 +0000)]
Merge "changed the pom.xml to include proper integration test"

10 years agofix of Bug 149 34/2834/1
msunal [Mon, 18 Nov 2013 16:05:40 +0000 (17:05 +0100)]
fix of Bug 149

- added missing providers

Change-Id: I2024ddc371b8e079e770c8e7700c9124ddb411b0
Signed-off-by: Martin Sunal <msunal@cisco.com>
10 years agoadded own XML to Composite node translation 25/2825/2
msunal [Mon, 18 Nov 2013 13:55:07 +0000 (14:55 +0100)]
added own XML to Composite node translation

- JsonReader is used for translation of XML to CompositeNode.
It creates CompositeNode and its structure with CompositeNodeWrapper and SimpleNodeWrapper
implementations. It allows to add namespaces after translation.

Change-Id: Ib0d8fef54befe791f53901785688c2dc2bd5bb8a
Signed-off-by: Martin Sunal <msunal@cisco.com>
10 years agoBugfix generated method in Abstract ModuleFactory template. 28/2828/2
Tomas Olvecky [Mon, 18 Nov 2013 14:53:04 +0000 (15:53 +0100)]
Bugfix generated method in Abstract ModuleFactory template.

Fix generated ModuleFactory#isModuleImplementingServiceInterface: Use isAssignableFrom instead of equality check when
testing if possibly super class provided as a parameter can be used instead of possibly more concrete class of implemented
service interface.

Change-Id: Iee32402facd8ea3fb7ff4a030ca3bdb51d810af0
Signed-off-by: Tomas Olvecky <tolvecky@cisco.com>
10 years agochanged the pom.xml to include proper integration test 55/2755/3
Basheeruddin Ahmed [Thu, 14 Nov 2013 20:03:54 +0000 (12:03 -0800)]
changed the pom.xml to include proper integration test

Change-Id: I644e3c66ca16979dbb1a3f0b50e3ae9729265a03
Signed-off-by: Basheeruddin Ahmed <syedbahm@cisco.com>
10 years agoMerge "Small fix to make Eclipse happy"
Giovanni Meo [Mon, 18 Nov 2013 08:55:52 +0000 (08:55 +0000)]
Merge "Small fix to make Eclipse happy"

10 years agoMerge "MD-SAL Statistics Manager - Temporary disabling (config=true) state for stats...
Ed Warnicke [Mon, 18 Nov 2013 08:32:25 +0000 (08:32 +0000)]
Merge "MD-SAL Statistics Manager - Temporary disabling (config=true) state for stats model"

10 years agoSmall fix to make Eclipse happy 06/2806/1
Ed Warnicke [Mon, 18 Nov 2013 02:27:09 +0000 (20:27 -0600)]
Small fix to make Eclipse happy

Change-Id: I2d6304f9fa1e14fd8b7e782dc7ca0a9140321ac5
Signed-off-by: Ed Warnicke <eaw@cisco.com>