Alessandro Boch [Wed, 1 May 2013 16:44:38 +0000 (09:44 -0700)]
UI Flow configuration fix
ISSUE: Flows configured through UI do not honor selected actions
Signed-off-by: Alessandro Boch <aboch@cisco.com>
Colin Dixon [Tue, 30 Apr 2013 19:40:42 +0000 (14:40 -0500)]
changing directory structure to fix errors
Change-Id: I6df95b0274b7df5cf4737a02607707c555ffb1df
Signed-off-by: Colin Dixon <ckd@us.ibm.com>
Martin Vitez [Tue, 30 Apr 2013 14:02:15 +0000 (16:02 +0200)]
Expanded UnknownSchemaNode implementation, refactored java source code generation.
Signed-off-by: Martin Vitez <mvitez@cisco.com>
Tony Tkacik [Tue, 30 Apr 2013 13:41:43 +0000 (15:41 +0200)]
Fixed NPE in maven-yang-plugin
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
Tony Tkacik [Mon, 29 Apr 2013 20:24:09 +0000 (22:24 +0200)]
Added Maven plugin for generation SAL APIs from YANG
Added sample project.
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
Lukas Sedlak [Mon, 29 Apr 2013 16:29:30 +0000 (18:29 +0200)]
Added generation of Transfer Objects from Type Definitions.
Extended functionality of Type provider to resolve Type Definitions in schema context as GeneratedTransfeObjects with proper package names and
class names;
Updated generateTypes in BindingGeneratorImpl to generate also Transfer Objects from Type Definitions;
Added BindingGeneratorUtil to replace functionality of CodeGeneratorHelper;
Modified EnumerationBuilderImpl - changed visibility from package protected to public due to need for generation of stand alone enums;
Refactored GeneratorUtil with use of BindingGeneratorUtil methods;
Fixed bug in where SchemaPath was incorectly generated for yang types in yang-model-util project;
Changed YangModelParser API - removed parseYangModel method and changed parseYangModels param from vararg String to List of Files and from vararg InputStream to List of Input Streams;
Modified YangToSourcesMojoj and GenerateSourcesTest in maven-yang-plugin due to change in YangModelParser API;
Modified YangToSourcesPluginTest due to change in YangModelParser API;
Modified Demo in binding-model-demo due to change in YangModelParser API;
Modified GeneratedTypesTest in binding-generator-impl -> changed load of yang files due to change in YangModelParser API;
Added comment generation for interface and class definition in binding-java-api-generator -> GeneratorUtil;
Change-Id: Id1be574e10f7f80d1badfbdec2bcc4a98564fee5
Signed-off-by: Lukas Sedlak <lsedlak@cisco.com>
taochang [Mon, 29 Apr 2013 17:20:23 +0000 (10:20 -0700)]
Resubmitted with source code synchronized. Added integration test for hosttracker, split switchmanager
into api and implementation bundles.
Change-Id: I04d5d89562316cafa89a5ee46e08eb724733711a
Signed-off-by: taochang <taochang@cisco.com>
Jason Ye [Mon, 29 Apr 2013 21:15:27 +0000 (14:15 -0700)]
- Application is no longer blocked when programming hundreds of flows. The Barrier message is now sent asynchronously.
- Waiting for Barrier reply is still blocked in low level plugin, but it's per switch basis.
Signed-off-by: Jason Ye <yisye@cisco.com>
Martin Vitez [Fri, 26 Apr 2013 09:42:59 +0000 (11:42 +0200)]
Fixed SchemaPath resolution for base YANG types.
Refactored refine statement parsing.
Change-Id: Ic00b86c611f1f56b69d9e09bf197d9ddb79da145
Signed-off-by: Martin Vitez <mvitez@cisco.com>
Alessandro Boch [Fri, 26 Apr 2013 17:26:03 +0000 (17:26 +0000)]
Merge "Convert various result into Status Signed-off-by: Jason Ye <yisye@cisco.com>"
Jason Ye [Fri, 26 Apr 2013 17:18:21 +0000 (10:18 -0700)]
Convert various result into Status
Signed-off-by: Jason Ye <yisye@cisco.com>
Giovanni Meo [Fri, 26 Apr 2013 15:10:47 +0000 (15:10 +0000)]
Merge "Gen Type and Generated TO builders moved to Util project."
Giovanni Meo [Fri, 26 Apr 2013 14:55:12 +0000 (14:55 +0000)]
Merge "Added support for annotations in generated APIs."
Giovanni Meo [Fri, 26 Apr 2013 14:27:58 +0000 (14:27 +0000)]
Merge "Fixed bugs in parsing enumeration, augment, identity. Refactored SchemaPath construction for int, uint, decimal64, string and union types."
Giovanni Meo [Fri, 26 Apr 2013 14:19:46 +0000 (14:19 +0000)]
Merge "Yang validation moved to validator package and validation listener refactored. Added validations for yang statements according to RFC-6020 (section 6 and 7). Added new tests for statement validation and utility classes created."
Giovanni Meo [Fri, 26 Apr 2013 13:36:58 +0000 (13:36 +0000)]
Merge "Adding tests for clustering services. Removed first slash for infinispan-config.xml path so tests can run."
lsedlak [Fri, 26 Apr 2013 11:56:21 +0000 (13:56 +0200)]
Gen Type and Generated TO builders moved to Util project.
GeneratedType and Generated Transfer Object builders moved from
binding-generator-impl project to binding-generator-util project;
Added test cases for testing annotations over methods and properties;
Signed-off-by: Lukas Sedlak <lsedlak@cisco.com>
Jason Ye [Thu, 25 Apr 2013 23:21:52 +0000 (23:21 +0000)]
Merge "ForwardingRulesManager to expose async flow api"
Alessandro Boch [Thu, 25 Apr 2013 23:11:48 +0000 (16:11 -0700)]
ForwardingRulesManager to expose async flow api
Signed-off-by: Alessandro Boch <aboch@cisco.com>
Chi-Vien Ly [Thu, 25 Apr 2013 23:06:35 +0000 (23:06 +0000)]
Merge "Add the Shutdown Handler. It gets executed when OS sends SIGTERM signal to JVM"
Jason Ye [Thu, 25 Apr 2013 22:06:56 +0000 (22:06 +0000)]
Merge "Logging and Code clean-up for protocol_plugins.core Change-Id: Ia34dd373ba16d7a70be0440d7f076e7dab02ffdd"
Alessandro Boch [Thu, 25 Apr 2013 22:06:14 +0000 (22:06 +0000)]
Merge "In the case when sync msg failed, the returned error msg is listened by both sync msg worker thread and FlowProgrammerService. For sync msg error, FlowProgrammerService should skip the error since it'll be handled by sync msg worker thread. Signed-off-by: Jason Ye <yisye@cisco.com>"
Pramila Singh [Thu, 25 Apr 2013 21:57:42 +0000 (14:57 -0700)]
Logging and Code clean-up for protocol_plugins.core
Change-Id: Ia34dd373ba16d7a70be0440d7f076e7dab02ffdd
Signed-off-by: Pramila Singh <pramisin@cisco.com>
Jason Ye [Thu, 25 Apr 2013 21:50:23 +0000 (14:50 -0700)]
In the case when sync msg failed, the returned error msg is listened by both sync msg worker thread and FlowProgrammerService. For sync msg error, FlowProgrammerService should skip the error since it'll be handled by sync msg worker thread.
Signed-off-by: Jason Ye <yisye@cisco.com>
Alessandro Boch [Thu, 25 Apr 2013 21:25:42 +0000 (21:25 +0000)]
Merge "Update JS library"
Andrew Kim [Sun, 21 Apr 2013 23:39:24 +0000 (16:39 -0700)]
Update JS library
Signed-off-by: Andrew Kim <andrekim@cisco.com>
Asad Ahmed [Tue, 23 Apr 2013 23:17:32 +0000 (16:17 -0700)]
Logging cleanup for Statistics
Change-Id: I2a3c8823c0775f4021912bd225b543581f9327ee
Signed-off-by: Asad Ahmed <asaahmed@cisco.com>
Maurice Qureshi [Thu, 25 Apr 2013 17:13:09 +0000 (10:13 -0700)]
Add the Shutdown Handler. It gets executed when OS sends SIGTERM signal to JVM
Signed-off-by: Maurice Qureshi <maquresh@cisco.com>
lsedlak [Thu, 25 Apr 2013 15:39:25 +0000 (17:39 +0200)]
Added support for annotations in generated APIs.
Added AnnotationType and AnnotationTypeBuilder into binding-model-api;
Modified GeneratedTransferObject -> now extending from GeneratedType -
implementation modified accordingly;
Added getAnnotations property into: Enumeration, GeneratedType,
GeneratedTransferObject and MethodSignature interfaces;
Added addAnnotation method into EnumBuilder, GeneratedPropertyBuilder,
GeneratedTOBuilder, GeneratedTypeBuilder, MethodSignatureBuilder;
Added implementation of AnnotationType into all builder implementations
in binding-generator-impl project part;
Added AnnotationTypeTest into binding-generator-impl;
Package name in src/test/java for binding-generator-impl changed to
org.opendaylight.controller.sal.binding.generator.impl to
test package protected classes;
In binding-java-api-generator CompositeKeyGenerator renamed to
ClassCodeGenerator;
Added implementation to write annotations for interface and class *.java
files;
Added support methods for annotations to Generator Util class;
Signed-off-by: Lukas Sedlak <lsedlak@cisco.com>
Martin Vitez [Thu, 25 Apr 2013 11:54:16 +0000 (13:54 +0200)]
Fixed bugs in parsing enumeration, augment, identity.
Refactored SchemaPath construction for int, uint, decimal64, string and union types.
Signed-off-by: Martin Vitez <mvitez@cisco.com>
Maros Marsalek [Thu, 18 Apr 2013 10:32:54 +0000 (12:32 +0200)]
Yang validation moved to validator package and validation listener refactored.
Added validations for yang statements according to RFC-6020 (section 6 and 7).
Added new tests for statement validation and utility classes created.
This is only initial validation performed on every yang file without any context
from other yang files.
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
Patrick Chu [Thu, 25 Apr 2013 07:02:57 +0000 (00:02 -0700)]
Adding tests for clustering services. Removed first slash for
infinispan-config.xml path so tests can run.
Change-Id: Id1ac6575e0d504a39427c45dfbe44ce1ba321c86
Signed-off-by: Patrick Chu <patrichu@cisco.com>
Jason Ye [Thu, 25 Apr 2013 01:57:10 +0000 (18:57 -0700)]
When plugin receives error msg from the switch regarding a flow message sent to the switch earlier, it will report the error thru SAL to notify upper FMs/applications. A request id associated with the offending message is also passed along.
Signed-off-by: Jason Ye <yisye@cisco.com>
Alessandro Boch [Thu, 25 Apr 2013 01:09:09 +0000 (18:09 -0700)]
Revisit Exception handling in BitBufferHelper and Packet
- Added BufferException and PacketException
- Revisit exception handling in BitBufferhelper
- Other minor code style changes
Change-Id: I2b97560708fb1adb557852a524e2a8d3da6a5d73
Signed-off-by: Alessandro Boch <aboch@cisco.com>
Jason Ye [Wed, 24 Apr 2013 16:55:27 +0000 (09:55 -0700)]
- Plugin sends Barrier msg every 100 async msgs (configurable thru config.ini: of.barrierMessagePriorCount)
- SAL/plugin provide service to send Barrier message on demand. FM/application should invoke it explictly for sync purpose.
- LLDP interval is set to 5 mins (configurable thru config.ini: of.discoveryInterval)
- LLDP timeout is set to 1 min (configurable thru config.ini: of.discoveryTimeout). Retry 2 times.
- Switch liveness timeout is set to 60.5 sec (configurable thru config.ini: of.switchLivenessTimeout)
- SAL generates Request ID and passes it down to the plugin (IPluginInFlowProgrammerService: addFlowAsync(Node node, Flow flow, long rid), modifyFlowAsync(), deleteFlowAsync())
- STATS_REPLY timeout is configurable now thru config.ini of.messageResponseTimer
- Same priority messages are in FIFO manner
- Fix invalid ChassisID in LLDP packet
- Debugging messages
- Code style formatting
Signed-off-by: Jason Ye <yisye@cisco.com>
Giovanni Meo [Wed, 24 Apr 2013 16:05:22 +0000 (16:05 +0000)]
Merge "Implemented YANG identityref type parsing. Refactored augmentation parsing. Added tests."
Giovanni Meo [Wed, 24 Apr 2013 16:02:49 +0000 (16:02 +0000)]
Merge "Fixed validation bug of YANG import statement"
Giovanni Meo [Wed, 24 Apr 2013 16:01:56 +0000 (16:01 +0000)]
Merge "Updated YANG lexer to support unknown statements"
Martin Vitez [Wed, 24 Apr 2013 15:34:56 +0000 (17:34 +0200)]
Implemented YANG identityref type parsing.
Refactored augmentation parsing. Added tests.
Signed-off-by: Martin Vitez <mvitez@cisco.com>
Tony Tkacik [Wed, 24 Apr 2013 14:47:13 +0000 (16:47 +0200)]
Fixed validation bug of YANG import statement
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
Tony Tkacik [Wed, 24 Apr 2013 14:11:51 +0000 (16:11 +0200)]
Updated YANG lexer to support unknown statements
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
Martin Vitez [Wed, 24 Apr 2013 06:33:45 +0000 (08:33 +0200)]
Implemented refine statement parsing.
Implemented choice statement parsing.
Implemented anyxml statement parsing.
Added EmptyType. Added more tests. Fixed bugs.
Signed-off-by: Martin Vitez <mvitez@cisco.com>
Alessandro Boch [Wed, 24 Apr 2013 00:31:27 +0000 (00:31 +0000)]
Merge "Fixing ForwardingRulesManager code that got lost in a previous merge"
Kalvin Hom [Tue, 23 Apr 2013 23:20:33 +0000 (16:20 -0700)]
Fixing ForwardingRulesManager code that
got lost in a previous merge
Change-Id: I3e3ba4e69e3082b6980a42101d54c3af834a99cb
Signed-off-by: Kalvin Hom <kahom@cisco.com>
Madhavan Kasthurirangan [Tue, 23 Apr 2013 20:58:09 +0000 (13:58 -0700)]
Logging related enhancements.
Signed-off-by: Madhavan Kasthurirangan <mkasthur@cisco.com>
Giovanni Meo [Tue, 23 Apr 2013 19:11:10 +0000 (19:11 +0000)]
Merge "fixing warnings"
Colin Dixon [Thu, 11 Apr 2013 22:26:37 +0000 (15:26 -0700)]
fixing warnings
Change-Id: Iae2f073fb9733d0b1bdedd2aa05815fc25063e9a
Signed-off-by: Colin Dixon <ckd@us.ibm.com>
Kalvin Hom [Mon, 22 Apr 2013 19:02:04 +0000 (12:02 -0700)]
Fixed some dependencies for
StatisticsManager.integrationtest
Change-Id: I8228827c21966ef885fd2cf103326139e8f65858
Signed-off-by: Kalvin Hom <kahom@cisco.com>
Kalvin Hom [Mon, 22 Apr 2013 18:47:02 +0000 (11:47 -0700)]
Split ForwardingRulesManager into
API and Implementation Bundles
Change-Id: I8137aedbbcefe3ed8f17b032cf81830d39f96e32
Signed-off-by: Kalvin Hom <kahom@cisco.com>
lsedlak [Tue, 23 Apr 2013 13:48:53 +0000 (15:48 +0200)]
Added capability to resolve Enumeration type definitions;
Added ReferencedTypeImpl for resolving of referenced enumeration types;
Modified GeneratedTypeBuilder for setting correct package name for
enumeration types defined as inner enums in Generated Types;
Modified EnumBuilder added extends of Type interface in
binding-model-api;
Added test case for resolving of Leaf Enumeration in GeneratedTypesTest;
Modified BindingGeneratorImpl accordingly:
Added Implementation to resolve Enumeration type,
The Schema Tree traversal methods removed - replaced by
DataNodeIterator,
Refactored TypeProviderImpl - resolving of leafrefs now through
SchemaContextUtil methods;
Chenged package name in code-generator-demo to
org.opendaylight.controller.yang;
Added DataNodeIterator and SchemaContextUtil into yang-model-util
Fixed Raw TypeDefinition in ExtendedType implementation;
Fixed SchemaPath setting in EnumerationType implementation - added two
parametric constructors that contains SchemaPath parameter;
Updated parseTypeBody method in YangModelBuilderUtil in
yang-model-parser-impl - added Enumeration constructor call with schema
path parameter;
Fixed constructor with XPath parameter visbility in Leafref
implementation;
Added extension of AugmentationTarget for ChoiceNode in yang-model-api;
Signed-off-by: Lukas Sedlak <lsedlak@cisco.com>
lsedlak [Tue, 23 Apr 2013 09:46:08 +0000 (11:46 +0200)]
Fixed organization and contact reference in yang test files.
Signed-off-by: Lukas Sedlak <lsedlak@cisco.com>
lsedlak [Wed, 17 Apr 2013 14:21:26 +0000 (16:21 +0200)]
Fixed implementation of TypeProviderImpl for Leafref resolving.
Since the modification of resolving of inner type definitions as
ExtendedTypes there had to be done minor modifications in
javaTypeForSchemaDefinitionType and baseTypeForExtendedType methods.
Also the SchemaPath no longer contains the module name as first element
so the module name is now retrieved directly from SchemaContext
via findModuleByNamespace method;
Added findModuleByName and findModuleByNamespace into SchemaContext in
yang-model-api;
Added implementation of findModuleByName and findModuleByNamespace for
private implementation of SchemaContextImpl in YangModelParserImpl;
Fixed possible resource leak in resolveModuleBuildersFromStreams in
YangModelBuilderImpl - implemented loadStreams and closeStreams methods;
Added implementation of test case for resolving of leafrefs and leafref
types from multiple modules;
Fixed wrong constructor call of Leafref Type Definition in parseTypeBody
method in YangModelBuilderUtil;
Fixed resolving of SchemaPath for Type statement in
YangModelParserListenerImpl;
Change-Id: I6a037a746562d856d12ea71d3fb095e902e1c204
Signed-off-by: Lukas Sedlak <lsedlak@cisco.com>
Giovanni Meo [Tue, 23 Apr 2013 10:22:25 +0000 (12:22 +0200)]
Fix yet another breakage on m2e import, due to introduction of another
unknown to m2e maven plugin.
Change-Id: I63a32c632546ff7c86f329a809a515349380f611
Signed-off-by: Giovanni Meo <gmeo@cisco.com>
Giovanni Meo [Tue, 23 Apr 2013 07:25:48 +0000 (07:25 +0000)]
Merge "FRM logging improvements"
Giovanni Meo [Mon, 22 Apr 2013 21:02:13 +0000 (21:02 +0000)]
Merge "reformatting packet creation to be more readable"
Asad Ahmed [Sat, 20 Apr 2013 03:14:25 +0000 (20:14 -0700)]
FRM logging improvements
Change-Id: I5f5a4878e0c85cd5aa637b16010f82575a9a509a
Signed-off-by: Asad Ahmed <asaahmed@cisco.com>
Colin Dixon [Sat, 20 Apr 2013 20:46:36 +0000 (13:46 -0700)]
reformatting packet creation to be more readable
Change-Id: I1c22139c45b61530faf5a1a5891ff507deda28ff
Signed-off-by: Colin Dixon <ckd@us.ibm.com>
lsedlak [Tue, 16 Apr 2013 12:01:13 +0000 (14:01 +0200)]
Fixed bug in generating of package names in BindingGeneratorImpl;
Added test files into src/test/resources/leafref-test-models for testing
of resolution of leafrefs in yang models;
Change-Id: I910da64133715efda02023781ba829ae4d12ad02
Signed-off-by: Lukas Sedlak <lsedlak@cisco.com>
Anilkumar Vishnoi [Sat, 20 Apr 2013 14:56:26 +0000 (20:26 +0530)]
Fixed UDP traffic load balancing
Signed-off-by: Anilkumar Vishnoi <avishnoi@in.ibm.com>
Giovanni Meo [Mon, 22 Apr 2013 19:55:14 +0000 (19:55 +0000)]
Merge "Mavenified generation of ANTLR YANG parser"
Maurice Qureshi [Fri, 19 Apr 2013 19:14:02 +0000 (12:14 -0700)]
Redirecting Caught and Uncaught Exceptions to OSGI Console and Log File
The existing mechanism int the Controller allows the exceptions to be printed only
the console. This applies to both caught and uncaught exception. If the console
buffer is not too large and gets overwritten or gets cleared, there is no way for
the user to know what exceptions occurred. This commit implements a new mechanism
by which both types of exceptions will get printed on the console as well as logged
to the file.
Signed-off-by: Maurice Qureshi <maquresh@cisco.com>
Maros Marsalek [Tue, 16 Apr 2013 15:05:00 +0000 (17:05 +0200)]
Added Yang validator.
Initial implementation committed that validates Module and Submodule statements.
It also validates a few additional yang statements e.g. revision, import.
Rules that must be obeyed are documented in code as javadoc.
Added tests to test implemented rules.
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
Kalvin Hom [Fri, 12 Apr 2013 23:32:32 +0000 (16:32 -0700)]
Added protocol_plugins.stub that implements
IPluginInReadService
Modified statisticsmanager structure so that
api and implementation are separate modules.
Added Integration test for statisticsmanager
Modified pom.xml for sonar integration test
inclusion. When going to the Statistics
Manager unit test, should also show
integration percentage. If Sonar's integration
widget is enabled, should also see coverage on
dashboard.
Change-Id: I3a2901eb41528008e1d2beb6f0f1f1a88392abf3
Signed-off-by: Kalvin Hom <kahom@cisco.com>
Tony Tkacik [Mon, 22 Apr 2013 12:34:55 +0000 (14:34 +0200)]
Mavenified generation of ANTLR YANG parser
Added ANTLR sources for YANG parser and lexer,
Added antlr4-maven-plugin configuration and lifecycle
mappings for the Eclipse.
Removed original sources of YANG parser and lexer.
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
Alessandro Boch [Fri, 19 Apr 2013 02:15:54 +0000 (02:15 +0000)]
Merge "Refactor frontend JS"
Andrew Kim [Tue, 16 Apr 2013 22:35:12 +0000 (15:35 -0700)]
Refactor frontend JS
Refactored one.js into lib.js and open.js. lib.js contains all the common library functions
one.js and other page.js can use. open.js is the core engine that runs the web UI.
Frontend is now extensible by automatically including lib.js and overriding default JS engine.
Use spaces instead of tabs.
Change-Id: Ia6678a81a23266c6d0e1c1d56c6cec547f792487
Signed-off-by: Andrew Kim <andrekim@cisco.com>
Jason Ye [Fri, 19 Apr 2013 01:07:07 +0000 (01:07 +0000)]
Merge "Topology Service related enhancement and Style changes. Signed-off-by: Madhavan Kasthurirangan <mkasthur@cisco.com>"
Giovanni Meo [Fri, 19 Apr 2013 00:43:06 +0000 (00:43 +0000)]
Merge "- Added the username/password criteria in usermanager - Relaxed the criteria for nodename/gateway name in devices"
Madhavan Kasthurirangan [Fri, 19 Apr 2013 00:37:22 +0000 (17:37 -0700)]
Topology Service related enhancement and Style changes.
Signed-off-by: Madhavan Kasthurirangan <mkasthur@cisco.com>
Jason Ye [Thu, 18 Apr 2013 23:01:30 +0000 (23:01 +0000)]
Merge "Controller to listen to expired flow removal message - Added plugin-to-FM async notification path for Flow Programmer so that functional modules can receive notification of flow removal sent by switch - On flow programming phase, instruct switch to notify controller about flow removal only if hard or idle timeout is set - Have FRM listen to flow removal message so that it updates the sw view of installed flows and the static flow config installation status accordingly - Changed equals logic in MatchField as a null mask object for net address is equivalent to a /32 (or /128) bitmask - Removed strict dependencies in SAL Activator. SAL services startup should not depend on external services - Enforced the sun_doding_style.xml in newly added or modified files Change-Id: Ifc913ceef87aac0b4694bcd7c47f29d5cb10c6ed Signed-off-by: Alessandro Boch <aboch@cisco.com>"
Alessandro Boch [Thu, 18 Apr 2013 01:48:44 +0000 (18:48 -0700)]
Controller to listen to expired flow removal message
- Added plugin-to-FM async notification path for Flow Programmer so that functional modules can receive notification of flow removal sent by switch
- On flow programming phase, instruct switch to notify controller about flow removal only if hard or idle timeout is set
- Have FRM listen to flow removal message so that it updates the sw view of installed flows and the static flow config installation status accordingly
- Changed equals logic in MatchField as a null mask object for net address is equivalent to a /32 (or /128) bitmask
- Removed strict dependencies in SAL Activator. SAL services startup should not depend on external services
- Enforced the sun_doding_style.xml in newly added or modified files
Change-Id: Ifc913ceef87aac0b4694bcd7c47f29d5cb10c6ed
Signed-off-by: Alessandro Boch <aboch@cisco.com>
dibhatia [Thu, 18 Apr 2013 19:55:33 +0000 (12:55 -0700)]
- Added the username/password criteria in usermanager
- Relaxed the criteria for nodename/gateway name in devices
Change-Id: Id476f2d99e7dbaf285df761ff7e756d3d592cce3
Signed-off-by: dibhatia <dibhatia@cisco.com>
Giovanni Meo [Thu, 18 Apr 2013 05:37:51 +0000 (05:37 +0000)]
Merge "Refactored YANG types resolving."
Jason Ye [Wed, 17 Apr 2013 23:16:56 +0000 (23:16 +0000)]
Merge "Improve Vendor Extension Error Handling. Signed-off-by: Madhavan Kasthurirangan <mkasthur@cisco.com>"
Madhavan Kasthurirangan [Wed, 17 Apr 2013 19:15:39 +0000 (12:15 -0700)]
Improve Vendor Extension Error Handling.
Signed-off-by: Madhavan Kasthurirangan <mkasthur@cisco.com>
Martin Vitez [Tue, 16 Apr 2013 08:43:34 +0000 (10:43 +0200)]
Refactored YANG types resolving.
Fixed YANG union type parsing. Refactored code after PMD check.
Fixed organization statement in test files.
Signed-off-by: Martin Vitez <mvitez@cisco.com>
Giovanni Meo [Wed, 17 Apr 2013 06:10:11 +0000 (06:10 +0000)]
Merge "Fixed bug in HostTracker.retrieveCache() where incorrect variable is being checked for null."
Giovanni Meo [Wed, 17 Apr 2013 05:55:47 +0000 (05:55 +0000)]
Merge "Added javadoc to maven-yang-plugin."
Giovanni Meo [Wed, 17 Apr 2013 05:47:16 +0000 (05:47 +0000)]
Merge "Removed forgotten references to yang-to-sources test jar in maven-yang-plugin integration tests. Replaced with reference to maven-yang test jar (new name for yang-to-sources)."
Jason Ye [Tue, 16 Apr 2013 21:29:52 +0000 (14:29 -0700)]
- Added OSGI cmd to display TLS configuration
- Added null pointer checks and more debug msgs
Signed-off-by: Jason Ye <yisye@cisco.com>
Kalvin Hom [Tue, 16 Apr 2013 22:45:30 +0000 (15:45 -0700)]
Fixed bug in HostTracker.retrieveCache()
where incorrect variable is being checked
for null.
https://bugs.opendaylight.org/show_bug.cgi?id=10
Change-Id: I1559b61fbceec69835d9f16c055172a005789c28
Signed-off-by: Kalvin Hom <kahom@cisco.com>
Jason Ye [Tue, 16 Apr 2013 21:05:50 +0000 (21:05 +0000)]
Merge "Fix Logging for Topology Manager"
Pramila Singh [Tue, 16 Apr 2013 20:54:43 +0000 (13:54 -0700)]
Fix Logging for Topology Manager
Signed-off-by: Pramila Singh <pramisin@cisco.com>
Madhavan Kasthurirangan [Tue, 16 Apr 2013 19:47:07 +0000 (12:47 -0700)]
Fix comments in Path.java. Also, Max Throughput dijkstra modification.
Signed-off-by: Madhavan Kasthurirangan <mkasthur@cisco.com>
Maros Marsalek [Mon, 15 Apr 2013 12:12:42 +0000 (14:12 +0200)]
Added javadoc to maven-yang-plugin.
Documentation can be generated using mvn site command.
Useful information about goals and cofiguration is located under
Project Reports / Plugin Documentation in generated docs.
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
Maros Marsalek [Mon, 15 Apr 2013 10:23:34 +0000 (12:23 +0200)]
Removed forgotten references to yang-to-sources test jar in maven-yang-plugin integration tests.
Replaced with reference to maven-yang test jar (new name for yang-to-sources).
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
Lukas Sedlak [Thu, 11 Apr 2013 21:47:40 +0000 (14:47 -0700)]
Update the API generation code and code generation sample
Fixed bug in generation of package names.
Change-Id: I8314f44ddf08aceb29b0ccccbb81d2c0eaf54d1d
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
Martin Vitez [Mon, 8 Apr 2013 08:31:04 +0000 (10:31 +0200)]
YANG model parser refactoring
-fix YANG types constraints resolving
-added tests
-removed unused test files
Signed-off-by: Martin Vitez <mvitez@cisco.com>
Maros Marsalek [Thu, 11 Apr 2013 06:37:23 +0000 (08:37 +0200)]
Renamed yang-to-sources-plugin to maven-yang-plugin.
Updated all references in tests.
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
Alessandro Boch [Sat, 13 Apr 2013 01:44:15 +0000 (01:44 +0000)]
Merge "Moving a recently added trim() call in SwitchHandler after Null check."
Madhu Venugopal [Sat, 13 Apr 2013 01:36:35 +0000 (18:36 -0700)]
Moving a recently added trim() call in SwitchHandler after Null check.
Change-Id: Ib7f5787d612b0cca2b04383e684b6d91401ebb73
Signed-off-by: Madhu Venugopal <vmadhu@cisco.com>
Giovanni Meo [Thu, 11 Apr 2013 17:27:58 +0000 (19:27 +0200)]
Fix issue seen with enunciate plugin when importing in eclipse the
project with m2e
Change-Id: I3607d969ac8235dd3dff965c207c9ff7509f0ad6
Signed-off-by: Giovanni Meo <gmeo@cisco.com>
Alessandro Boch [Fri, 12 Apr 2013 23:25:23 +0000 (23:25 +0000)]
Merge "- Add stop() method in IMessageReadWrite for proper clean up when connection is closed. - Be able to handle whitespace in TLS config lines Signed-off-by: Jason Ye <yisye@cisco.com>"
Jason Ye [Fri, 12 Apr 2013 23:08:25 +0000 (16:08 -0700)]
- Add stop() method in IMessageReadWrite for proper clean up when connection is closed.
- Be able to handle whitespace in TLS config lines
Signed-off-by: Jason Ye <yisye@cisco.com>
Venkatraghavan Sankarasubbu [Fri, 12 Apr 2013 22:54:17 +0000 (15:54 -0700)]
Changing NB API authentication/authorization to use Tomcat Valve.
Affected modules
1. Flow Programmer
2. Host Tracker
3. Static Roting
4. Statistics
5. Subnets
6. Switch Manager
7. Topology
8. Loadbalancer
Change-Id: I94267ed1878c49b9615e956aa816473361ded8f2
Signed-off-by: Venkatraghavan Sankarasubbu <vensanka@cisco.com>
Alessandro Boch [Fri, 12 Apr 2013 20:40:59 +0000 (13:40 -0700)]
ISSUE: Topology does not show Node description as learned by the OFA
Signed-off-by: Alessandro Boch <aboch@cisco.com>
Andrew Kim [Fri, 12 Apr 2013 19:24:05 +0000 (12:24 -0700)]
Fix stale cached links in visual topology
Links weren't properly updated everytime there was a topology state change.
Change-Id: Ia65e02009aa7da65bbedb3d8ed8e72e8de433791
Signed-off-by: Andrew Kim <andrekim@cisco.com>
Andrew Kim [Fri, 12 Apr 2013 19:08:02 +0000 (12:08 -0700)]
Fix disappearing nodes
Minor fix in jit.js, this bug was only seen in Webkit-based browsers such as Chrome/Chromium
Change-Id: Ied1b2c68ce98d7d6b9385b9c2f3f56cf34ba8fed
Signed-off-by: Andrew Kim <andrekim@cisco.com>
Jason Ye [Thu, 11 Apr 2013 21:53:07 +0000 (14:53 -0700)]
- If a port is already under OF control and then hw LLDP transmit is enabled on it, controller should discard the hw LLDP packet.
- When we change the name of the Production switch, stale entries should be removed.
- Added Backend APIs to add/delete/get user link configs
- Northbound REST APIs to GET/POST/DELETE user link configs
- Endpoint connected as Production Switch to OF port. If the system-name TLV exists in the hw LLDP packet, it should be used for display.
- Some misc osgi debugging commands.
Signed-off-by: Jason Ye <yisye@cisco.com>
Yevgeny Khodorkovsky [Thu, 11 Apr 2013 20:55:34 +0000 (13:55 -0700)]
Enable sal.core.Node to be an XML root element
Change-Id: Iec1d94864a33e7e175c5180d84c1f8b5c2ccc641
Signed-off-by: Yevgeny Khodorkovsky <ykhodork@cisco.com>