controller.git
10 years agoFive more Equals/HashCode/StringBuilder replacements 52/352/1
Ed Warnicke [Wed, 15 May 2013 16:14:48 +0000 (11:14 -0500)]
Five more Equals/HashCode/StringBuilder replacements

I'm intentionally breaking these up into small groups so they can
be reasonably reviewed, rather than one giant group that can't.
Contributes to fixing bug 20.

Third in the set.

Change-Id: If8008c7e9db88022edd50fbc36f82cd32cdb6bad
Signed-off-by: Ed Warnicke <eaw@cisco.com>
10 years agoFive more Equals/HashCode/StringBuilder replacements 51/351/1
Ed Warnicke [Wed, 15 May 2013 16:11:56 +0000 (11:11 -0500)]
Five more Equals/HashCode/StringBuilder replacements

I'm intentionally breaking these up into small groups so they can
be reasonably reviewed, rather than one giant group that can't.
Contributes to fixing bug 20.

Second in the set.

Change-Id: I5bf19c2bdf33bfde391f30867b27f433fc971a30
Signed-off-by: Ed Warnicke <eaw@cisco.com>
10 years agoFive more Equals/HashCode/StringBuilder replacements 50/350/1
Ed Warnicke [Wed, 15 May 2013 16:05:14 +0000 (11:05 -0500)]
Five more Equals/HashCode/StringBuilder replacements

I'm intentionally breaking these up into small groups so they can
be reasonably reviewed, rather than one giant group that can't.
Contributes to fixing bug 20.

Change-Id: I8fb7e4ce544a15fd0b819dcffe978e2af990fe52
Signed-off-by: Ed Warnicke <eaw@cisco.com>
10 years agoReplace EqualsBuilder and HashCodeBuilder in transient member case. 49/349/1
Ed Warnicke [Wed, 15 May 2013 15:55:16 +0000 (10:55 -0500)]
Replace EqualsBuilder and HashCodeBuilder in transient member case.

This partially addresses bug 20, and provides the example of the
case where we have transient member.  I'm breaking it out
so that the transient member case can be reviewed simply.

Change-Id: Ic05c3d6daa7e9412e195578336ed95a5d71671d8
Signed-off-by: Ed Warnicke <eaw@cisco.com>
10 years agoMerge "Fixed generation of Transfer Objects;"
Giovanni Meo [Wed, 15 May 2013 14:12:07 +0000 (14:12 +0000)]
Merge "Fixed generation of Transfer Objects;"

10 years agoMerge "Removed unused private variable containerAwareRegistration and unused import "
Giovanni Meo [Wed, 15 May 2013 13:59:25 +0000 (13:59 +0000)]
Merge "Removed unused private variable containerAwareRegistration and unused import "

10 years agoMerge "Removed unused private variable containerAwareRegistration - please review...
Giovanni Meo [Wed, 15 May 2013 13:57:37 +0000 (13:57 +0000)]
Merge "Removed unused private variable containerAwareRegistration - please review this change"

10 years agoFixed generation of Transfer Objects; 45/345/1
lsedlak [Wed, 15 May 2013 10:56:08 +0000 (12:56 +0200)]
Fixed generation of Transfer Objects;

Fiexed bad generating of parametrized constructors when constructor had
more than two parameters;

Fixed generation of hashCode, equals and toString when
GeneratedTransferObject had not specified equals, hashCode and toString
properties;

Added capability to generate setters if property has flag isReadOnly set
to false.
Parameters which contains flag isReadOnly == false will not apear as
parameters in generated constructor;

Fixed generation of subdirs from package when used generateToFile with
File as parent directory;

Signed-off-by: Lukas Sedlak <lsedlak@cisco.com>
10 years agoRemoved unused private variable containerAwareRegistration and unused 44/344/1
Natarajan P [Wed, 15 May 2013 07:18:02 +0000 (12:48 +0530)]
Removed unused private variable containerAwareRegistration and unused
import

Change-Id: I6b3bd2a85d66f73408a90a3adfe114216df94743
Signed-off-by: Natarajan P<natp@cisco.com>
10 years agoReplace EqualsBuilder, HashBuilder, ReflectionToString 42/342/2
Ed Warnicke [Wed, 15 May 2013 00:33:18 +0000 (19:33 -0500)]
Replace EqualsBuilder, HashBuilder, ReflectionToString

In one file, as a test case, replace the EqualsBuilder,
HashiCodeBuilder, and ReflectionToString
with code generated by Eclipse. This is a
very partial fix for bug 20 (more work to be done).

Change-Id: I21cbcb0abf1a22f6a644884e966af953a2a9da14
Signed-off-by: Ed Warnicke <eaw@cisco.com>
10 years agoRemoved unused private variable containerAwareRegistration - please 43/343/1
Natarajan P [Tue, 14 May 2013 17:36:26 +0000 (23:06 +0530)]
Removed unused private variable containerAwareRegistration - please
review this change

Change-Id: I4c6e16dcc3fe08ff44f2ad225238391165b1fcd9
Signed-off-by: Natarajan P<natp@cisco.com>
10 years agoMerge "Session invalidation is done after the custom error handling"
Giovanni Meo [Tue, 14 May 2013 15:22:16 +0000 (15:22 +0000)]
Merge "Session invalidation is done after the custom error handling"

10 years agoSession invalidation is done after the custom error handling 41/341/1
Madhu Venugopal [Tue, 14 May 2013 15:07:10 +0000 (08:07 -0700)]
Session invalidation is done after the custom error handling

Signed-off-by: Madhu Venugopal <vmadhu@cisco.com>
10 years agoRemove 'model' from package names in yang-model-parser-impl. 40/340/1
Martin Vitez [Tue, 14 May 2013 14:11:27 +0000 (16:11 +0200)]
Remove 'model' from package names in yang-model-parser-impl.

Signed-off-by: Martin Vitez <mvitez@cisco.com>
10 years agoFixed relative/absolute yang files directory resolving. 39/339/1
Martin Vitez [Tue, 14 May 2013 11:05:16 +0000 (13:05 +0200)]
Fixed relative/absolute yang files directory resolving.

Signed-off-by: Martin Vitez <mvitez@cisco.com>
10 years agoMerge "Refactored yang-maven-plugin."
Giovanni Meo [Tue, 14 May 2013 08:49:43 +0000 (08:49 +0000)]
Merge "Refactored yang-maven-plugin."

10 years agoMerge "new LinkedList() mostly redundant with Arrays.asList()"
Ed Warnicke [Mon, 13 May 2013 22:16:39 +0000 (22:16 +0000)]
Merge "new LinkedList() mostly redundant with Arrays.asList()"

10 years agoMerge "Logging improvements to improve efficiency - specifically in critical path...
Alessandro Boch [Mon, 13 May 2013 21:46:42 +0000 (21:46 +0000)]
Merge "Logging improvements to improve efficiency - specifically in critical path. Signed-off-by: Madhavan Kasthurirangan <mkasthur@cisco.com>"

10 years agoLogging improvements to improve efficiency - specifically in critical path. 38/338/1
Madhavan Kasthurirangan [Mon, 13 May 2013 21:29:21 +0000 (14:29 -0700)]
Logging improvements to improve efficiency - specifically in critical path.
Signed-off-by: Madhavan Kasthurirangan <mkasthur@cisco.com>
10 years agoFix single node in visual topology 37/337/1
Andrew Kim [Mon, 13 May 2013 19:14:03 +0000 (12:14 -0700)]
Fix single node in visual topology

When staging a node from the cache, forgot to update the adjacencies correctly.

Signed-off-by: Andrew Kim <andrekim@cisco.com>
10 years agoMerge "- Discard discovery packet if the ingress port is down - SwitchManager osgi...
Madhu Venugopal [Mon, 13 May 2013 18:17:50 +0000 (18:17 +0000)]
Merge "- Discard discovery packet if the ingress port is down - SwitchManager osgi cmds are useful tools for debugging. But the input node id currently has to be in long format. Change it to take node id string. Example: pncs "OF|00:01:44:03:a7:7a:54:e0" Signed-off-by: Jason Ye <yisye@cisco.com>"

10 years agoRefactored yang-maven-plugin. 36/336/1
Martin Vitez [Mon, 13 May 2013 15:11:53 +0000 (17:11 +0200)]
Refactored yang-maven-plugin.

Signed-off-by: Martin Vitez <mvitez@cisco.com>
10 years ago- Discard discovery packet if the ingress port is down 35/335/1
Jason Ye [Sun, 12 May 2013 19:09:52 +0000 (12:09 -0700)]
- Discard discovery packet if the ingress port is down
- SwitchManager osgi cmds are useful tools for debugging. But the input node id currently has to be in long format. Change it to take node id string. Example: pncs "OF|00:01:44:03:a7:7a:54:e0"
Signed-off-by: Jason Ye <yisye@cisco.com>
10 years agonew LinkedList() mostly redundant with Arrays.asList() 33/333/1
Rob Sherwood [Sat, 11 May 2013 16:05:37 +0000 (09:05 -0700)]
new LinkedList() mostly redundant with Arrays.asList()

General code clean up.

You get a ArrayList by default and that's the right thing in most
places.  This commit removes a bunch of missing Java generic warnings
and shouldn't affect any code.

Change-Id: I777cdf6a3fd1f2c883aac188d544ebc5a4420f55
Signed-off-by: Rob Sherwood <Rob.Sherwood@bigswitch.com>
10 years agoRemoved unused imports 27/327/1
Natarajan P [Fri, 10 May 2013 09:56:04 +0000 (15:26 +0530)]
Removed unused imports

Change-Id: Ief3f6879e3e4ed9cb743a699a8614fff4d5d9a59
Signed-off-by: Natarajan <natp@cisco.com>
10 years agoCorrect NodeConnetor insertion for edgeMap. 26/326/1
Madhavan Kasthurirangan [Thu, 9 May 2013 16:40:39 +0000 (09:40 -0700)]
Correct NodeConnetor insertion for edgeMap.
Signed-off-by: Madhavan Kasthurirangan <mkasthur@cisco.com>
10 years agoAuthorization fixes for Northbound bundles 24/324/1
Sapan Shah [Thu, 9 May 2013 01:20:30 +0000 (18:20 -0700)]
Authorization fixes for Northbound bundles

Signed-off-by: Sapan Shah <sapshah@cisco.com>
10 years agoFix user changing their password 23/323/1
Andrew Kim [Wed, 8 May 2013 22:57:51 +0000 (15:57 -0700)]
Fix user changing their password

Wrong user was being sent to change the password (it was the session user).

Signed-off-by: Andrew Kim <andrekim@cisco.com>
10 years agoAdding plugin stub: 91/291/3
Kalvin Hom [Fri, 3 May 2013 22:33:06 +0000 (15:33 -0700)]
Adding plugin stub:
FlowProgrammerService

Change-Id: Ia5a09a1dfc1547b4016296473e7751f0a23ccf50
Signed-off-by: Kalvin Hom <kahom@cisco.com>
10 years agoMerge "- Added osgi cmds to enable/disable LLDP snooping on each individual node...
Giovanni Meo [Wed, 8 May 2013 10:29:57 +0000 (10:29 +0000)]
Merge "- Added osgi cmds to enable/disable LLDP snooping on each individual node connector - Fixed TopologyManager nodeConnectorsDB which should only contain ISL ports"

10 years agoMerge "Fixed augment schema path resolving."
Giovanni Meo [Wed, 8 May 2013 10:28:52 +0000 (10:28 +0000)]
Merge "Fixed augment schema path resolving."

10 years agoMerge "Fix NPE and enhance flows table"
Giovanni Meo [Wed, 8 May 2013 10:26:23 +0000 (10:26 +0000)]
Merge "Fix NPE and enhance flows table"

10 years ago- Added osgi cmds to enable/disable LLDP snooping on each individual node connector 19/319/1
Jason Ye [Wed, 8 May 2013 06:12:01 +0000 (23:12 -0700)]
- Added osgi cmds to enable/disable LLDP snooping on each individual node connector
- Fixed TopologyManager nodeConnectorsDB which should only contain ISL ports

Signed-off-by: Jason Ye <yisye@cisco.com>
10 years agoSanity check missing in Description Stats Converter constructor 18/318/1
Alessandro Boch [Wed, 8 May 2013 02:05:10 +0000 (19:05 -0700)]
Sanity check missing in Description Stats Converter constructor

Signed-off-by: Alessandro Boch <aboch@cisco.com>
10 years agoFix NPE and enhance flows table 17/317/1
Andrew Kim [Wed, 8 May 2013 01:37:45 +0000 (18:37 -0700)]
Fix NPE and enhance flows table

NPE in devices web caused loop in JS
Added ingress port to flows table

Signed-off-by: Andrew Kim <andrekim@cisco.com>
10 years agoMerge "Prevent stub and integrationtest plugins to go into the distribution of openda...
Kalvin Hom [Tue, 7 May 2013 17:58:49 +0000 (17:58 +0000)]
Merge "Prevent stub and integrationtest plugins to go into the distribution of opendaylight"

10 years agoFixed augment schema path resolving. 16/316/1
Martin Vitez [Tue, 7 May 2013 14:05:24 +0000 (16:05 +0200)]
Fixed augment schema path resolving.

Signed-off-by: Martin Vitez <mvitez@cisco.com>
10 years agoAdded support for implements and extends of GeneratedType; 14/314/1
lsedlak [Tue, 7 May 2013 11:11:59 +0000 (13:11 +0200)]
Added support for implements and extends of GeneratedType;

Added functionality to store List of implementing Generation Types into
GeneratedType and GeneratedTypeBuilder;
Added functionality to store Extending Transfer Object for
GeneratedTransferObject and GeneratedTOBuilder;

Fixed:
DataNodeIterator no longer returns augmented containers, lists, leafs
and leaflists - only non augmented module schema tree;
Added findDataSchemaNode for given SchemaPath into SchemaContextUtil;

Signed-off-by: Lukas Sedlak <lsedlak@cisco.com>
10 years agoMerge "Primitive support to save the topology coordinates and cleanup of some unused...
Giovanni Meo [Tue, 7 May 2013 10:36:37 +0000 (10:36 +0000)]
Merge "Primitive support to save the topology coordinates and cleanup of some unused tiering code"

10 years agoMerge "Setting the auto refresh rate for flows and ports based on the number of flows...
Giovanni Meo [Tue, 7 May 2013 10:34:34 +0000 (10:34 +0000)]
Merge "Setting the auto refresh rate for flows and ports based on the number of flows and ports."

10 years agoPrimitive support to save the topology coordinates and cleanup of some unused tiering... 13/313/1
Madhu Venugopal [Tue, 7 May 2013 10:04:14 +0000 (03:04 -0700)]
Primitive support to save the topology coordinates and cleanup of some unused tiering code

Change-Id: Ibe9ae8ab560533cc7215f3d35b1875265fbe54a6
Signed-off-by: Madhu Venugopal <vmadhu@cisco.com>
10 years agoMerge "protocol plugin stub node type changed to STUB Modified integration test to...
Giovanni Meo [Tue, 7 May 2013 08:18:43 +0000 (08:18 +0000)]
Merge "protocol plugin stub node type changed to STUB Modified integration test to use STUB type nodes."

10 years agoUser manager to properly handle authenticated users with no authorization 12/312/1
Alessandro Boch [Tue, 7 May 2013 05:57:10 +0000 (22:57 -0700)]
User manager to properly handle authenticated users with no authorization

Signed-off-by: Alessandro Boch <aboch@cisco.com>
10 years agoSetting the auto refresh rate for flows and ports based on the number of flows and... 11/311/1
lakshya [Tue, 7 May 2013 05:32:32 +0000 (22:32 -0700)]
Setting the auto refresh rate for flows and ports based on the number of flows and ports.

Change-Id: I5d52330405d4471b1177c104280aa5b7b5161ebf
Signed-off-by: lakshya <lakshya@cisco.com>
10 years agoPrevent stub and integrationtest plugins to go into the distribution 15/315/1
Giovanni Meo [Tue, 7 May 2013 01:40:06 +0000 (03:40 +0200)]
Prevent stub and integrationtest plugins to go into the distribution
of opendaylight

Fixed a spelling error in the switchmanager api bundle and provided a
logback.xml needed for integration test of switchmanager.

Change-Id: I370b3df056d3d178e1a58d14c8493b2fe527a702
Signed-off-by: Giovanni Meo <gmeo@cisco.com>
10 years agoAdd generic container logic to web bundles 10/310/1
Andrew Kim [Tue, 7 May 2013 01:21:11 +0000 (18:21 -0700)]
Add generic container logic to web bundles

Signed-off-by: Andrew Kim <andrekim@cisco.com>
10 years agoMerge "Add LLDP retry count to config.ini"
Alessandro Boch [Tue, 7 May 2013 00:31:37 +0000 (00:31 +0000)]
Merge "Add LLDP retry count to config.ini"

10 years agoAdd LLDP retry count to config.ini 09/309/1
Jason Ye [Tue, 7 May 2013 00:13:25 +0000 (17:13 -0700)]
Add LLDP retry count to config.ini

Signed-off-by: Jason Ye <yisye@cisco.com>
10 years agoprotocol plugin stub node type 08/308/1
Kalvin Hom [Mon, 6 May 2013 23:11:01 +0000 (16:11 -0700)]
protocol plugin stub node type
changed to STUB
Modified integration test to use STUB type nodes.

Change-Id: Ic6c23457400f4bbf0b6898c5238a7580ffd649ee
Signed-off-by: Kalvin Hom <kahom@cisco.com>
10 years agoFix in ForwardingRulesManager async path 06/306/1
Alessandro Boch [Mon, 6 May 2013 22:38:06 +0000 (15:38 -0700)]
Fix in ForwardingRulesManager async path

- Fix in modifyOrAddFlowEntryAsync() path
- Protecting concurrent modification to nodeFlows entries through synchronized methods for now

Signed-off-by: Alessandro Boch <aboch@cisco.com>
10 years agoChange to update node properties 04/304/2
Alessandro Boch [Mon, 6 May 2013 19:42:24 +0000 (12:42 -0700)]
Change to update node properties

- inventoryServiceShim to trigger node description update
- Inventory Service to accept node properties updates for known nodes only
- Inventory Service to publish only effective node properties update and on default container only
- Minor changes to the Property classes toString() methods
- Removed toString() overridden method in UpdateType as default toString() which prints the enum name is self explicative and serves better in logs
Signed-off-by: Alessandro Boch <aboch@cisco.com>
10 years agoFixed problem with incorrect subnet validation with container flow 01/301/2
Asad Ahmed [Mon, 6 May 2013 17:47:04 +0000 (10:47 -0700)]
Fixed problem with incorrect subnet validation with container flow
Also added unit test cases to verify the validation

Change-Id: Ica257f6065d1d4180fccf0e878f188e71dbc21e4
Signed-off-by: Asad Ahmed <asaahmed@cisco.com>
10 years agoAuthorization failures return 403 with cookie populated. This forces the user to... 99/299/2
Madhu Venugopal [Mon, 6 May 2013 18:15:51 +0000 (11:15 -0700)]
Authorization failures return 403 with cookie populated. This forces the user to clear the cache
before reauthenticating. Added a custom 403 page with session invalidated.

Change-Id: I68d724a9ac9c6920f9d3eda5a54bba7d731542fc
Signed-off-by: Madhu Venugopal <vmadhu@cisco.com>
10 years agoLogging enhancement related to Packet 03/303/1
Madhavan Kasthurirangan [Mon, 6 May 2013 18:38:07 +0000 (11:38 -0700)]
Logging enhancement related to Packet
Signed-off-by: Madhavan Kasthurirangan <mkasthur@cisco.com>
10 years agoMerge "API 2 Documentation for opendaylight.controller.usermanager"
Giovanni Meo [Mon, 6 May 2013 13:48:30 +0000 (13:48 +0000)]
Merge "API 2 Documentation for opendaylight.controller.usermanager"

10 years agoAdded line number to error messages. 97/297/2
Martin Vitez [Mon, 6 May 2013 07:12:46 +0000 (09:12 +0200)]
Added line number to error messages.

Change-Id: I180438f8e617ca910b16d524576e88650d966bbd
Signed-off-by: Martin Vitez <mvitez@cisco.com>
10 years agoMerge "Updated POM files and versions to SNAPSHOT"
Giovanni Meo [Mon, 6 May 2013 12:40:44 +0000 (12:40 +0000)]
Merge "Updated POM files and versions to SNAPSHOT"

10 years agoAPI 2 Documentation for opendaylight.controller.usermanager 98/298/1
Maurice Qureshi [Mon, 6 May 2013 07:52:19 +0000 (00:52 -0700)]
API 2 Documentation for opendaylight.controller.usermanager

Signed-off-by: Maurice Qureshi <maquresh@cisco.com>
10 years agoMerge "Add password edit and verify"
Madhu Venugopal [Mon, 6 May 2013 04:32:13 +0000 (04:32 +0000)]
Merge "Add password edit and verify"

10 years agoAdd password edit and verify 96/296/1
Andrew Kim [Sat, 4 May 2013 00:01:26 +0000 (17:01 -0700)]
Add password edit and verify

Add feature to edit and verify password.

Minor fix in devices where NPE caused a JS infinite loop.

Signed-off-by: Andrew Kim <andrekim@cisco.com>
10 years agoAs part of performance enhancements, Topology updates are now batched as much as... 95/295/1
Jason Ye [Fri, 3 May 2013 22:51:45 +0000 (15:51 -0700)]
As part of performance enhancements, Topology updates are now batched as much as possible. This will effectively reduce the number of Routing updates to the listeners.
Signed-off-by: Jason Ye <yisye@cisco.com>
10 years agoChanged sal version to 0.5.0-SNAPSHOT 83/283/6
taochang [Thu, 2 May 2013 20:06:29 +0000 (13:06 -0700)]
Changed sal version to 0.5.0-SNAPSHOT
Moved switchmanager.integrationteststub into protoco_plugins.stub
Removed non-source code files.
Added integration test for switchmanager bundle

Change-Id: I2dd2cbffe9e30224dcf2e03b3f11da465baec09f
Signed-off-by: taochang <taochang@cisco.com>
10 years agoUpdated POM files and versions to SNAPSHOT 90/290/3
Tony Tkacik [Fri, 3 May 2013 13:45:49 +0000 (15:45 +0200)]
Updated POM files and versions to SNAPSHOT

Change-Id: I28b16eb8811d928440a18eb2e16df9253cc92562
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
10 years agoMerge "Adding integration tests for clustering service. Added to pom file for sonar...
Giovanni Meo [Fri, 3 May 2013 15:20:42 +0000 (15:20 +0000)]
Merge "Adding integration tests for clustering service. Added to pom file for sonar integration."

10 years agoMerge "Change HostTracker.IntegrationTest to use clustering.stub instead of services...
Giovanni Meo [Fri, 3 May 2013 15:16:00 +0000 (15:16 +0000)]
Merge "Change HostTracker.IntegrationTest to use clustering.stub instead of services-implementation."

10 years agoMerge "Bug fix for ForwardingRulesManager: addFlow and addFlowAsync are reversed."
Alessandro Boch [Fri, 3 May 2013 13:59:01 +0000 (13:59 +0000)]
Merge "Bug fix for ForwardingRulesManager: addFlow and addFlowAsync are reversed."

10 years agoBug fix for ForwardingRulesManager: 89/289/1
Kalvin Hom [Fri, 3 May 2013 02:14:17 +0000 (19:14 -0700)]
Bug fix for ForwardingRulesManager:
addFlow and addFlowAsync are
reversed.

https://bugs.opendaylight.org/show_bug.cgi?id=16

Change-Id: If119f64e637401ea022b092af44192bdef3db986
Signed-off-by: Kalvin Hom <kahom@cisco.com>
10 years agoAdding integration tests for clustering service. 85/285/5
Patrick Chu [Thu, 2 May 2013 20:54:39 +0000 (13:54 -0700)]
Adding integration tests for clustering service.
Added to pom file for sonar integration.

Change-Id: I69555941a1d8aa7487090793aed946c1711dfe67
Signed-off-by: Patrick Chu <patrichu@cisco.com>
10 years agoFix Device Port Status 88/288/1
Andrew Kim [Fri, 3 May 2013 00:22:09 +0000 (17:22 -0700)]
Fix Device Port Status

Signed-off-by: Andrew Kim <andrekim@cisco.com>
10 years agoChange HostTracker.IntegrationTest 87/287/2
Kalvin Hom [Thu, 2 May 2013 22:45:30 +0000 (15:45 -0700)]
Change HostTracker.IntegrationTest
to use clustering.stub instead
of services-implementation.

Fixed typos for jacoco.exec

Change-Id: Ie699afad7c7c109b517db592c99a20606c8dc867
Signed-off-by: Kalvin Hom <kahom@cisco.com>
10 years agoedgeUpdate API enhancement and related changes. 84/284/1
Madhavan Kasthurirangan [Thu, 2 May 2013 20:44:52 +0000 (13:44 -0700)]
edgeUpdate API enhancement and related changes.
Signed-off-by: Madhavan Kasthurirangan <mkasthur@cisco.com>
10 years agoMerge "Added generate To File for specified directory."
Giovanni Meo [Thu, 2 May 2013 13:51:38 +0000 (13:51 +0000)]
Merge "Added generate To File for specified directory."

10 years agoMerge "Implemented module dependency sort, that returns modules in order in which...
Giovanni Meo [Thu, 2 May 2013 13:48:11 +0000 (13:48 +0000)]
Merge "Implemented module dependency sort, that returns modules in order in which they should be processed. If module A imports module B, sort returns ordered list [B,A]."

10 years agoAdded generate To File for specified directory. 82/282/1
lsedlak [Thu, 2 May 2013 13:06:12 +0000 (15:06 +0200)]
Added generate To File for specified directory.

Added overloading method generateToFile with File as input parameter and
List of Files as result;
Removed unused import in BaseTypeProvider test and BaseYangTypes;

Changed binding-generator, yang and sal maven pom files to use java 1.7;

Signed-off-by: Lukas Sedlak <lsedlak@cisco.com>
10 years agoImplemented module dependency sort, that returns modules in order in which they shoul... 80/280/2
Maros Marsalek [Tue, 30 Apr 2013 13:03:20 +0000 (15:03 +0200)]
Implemented module dependency sort, that returns modules in order in which they should be processed.
If module A imports module B, sort returns ordered list [B,A].

Implemented utility topological sort that is used by module dependency sort.
Implemented tests for both topological sort and module sort.

Removed circular dependencies from test yang files.

Change-Id: Id6230a8448b27f80146dc74bf2a8a948523408d3
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
10 years agoFixed parsing of unknown nodes for identity statemens. 81/281/1
Martin Vitez [Thu, 2 May 2013 09:23:07 +0000 (11:23 +0200)]
Fixed parsing of unknown nodes for identity statemens.

Signed-off-by: Martin Vitez <mvitez@cisco.com>
10 years agoMerge "Added reserved port descriptions to comments matching them to the OF Spec...
Giovanni Meo [Thu, 2 May 2013 08:43:01 +0000 (08:43 +0000)]
Merge "Added reserved port descriptions to comments matching them to the OF Spec in NodeConnector.java and fixed a couple of comment typos"

10 years agoMerge "pom changes for FRM integration tests; added integrationtest bundle with a...
Giovanni Meo [Thu, 2 May 2013 08:41:46 +0000 (08:41 +0000)]
Merge "pom changes for FRM integration tests; added integrationtest bundle with a small simple test"

10 years agoAdded reserved port descriptions to comments matching them to the OF Spec in NodeConn... 79/279/1
Brent Salisbury [Thu, 2 May 2013 07:57:31 +0000 (03:57 -0400)]
Added reserved port descriptions to comments matching them to the OF Spec in NodeConnector.java and fixed a couple of comment typos

Signed-off-by: Brent Salisbury <brent.salisbury@gmail.com>
10 years agopom changes for FRM integration 77/277/7
Kalvin Hom [Wed, 1 May 2013 20:24:40 +0000 (13:24 -0700)]
pom changes for FRM integration
tests;
added integrationtest bundle with
a small simple test

Change-Id: I1c0591286cb8cea4dcb1ff72f02d2d3a25ba922d
Signed-off-by: Kalvin Hom <kahom@cisco.com>
10 years ago- Add flow and port stats polling intervals in config.ini 78/278/1
Jason Ye [Wed, 1 May 2013 22:43:12 +0000 (15:43 -0700)]
- Add flow and port stats polling intervals in config.ini
- Add DESC stats polling interval in CONFIG.ini and thru OSGI cmd
- When the switch port is changed to admin down or the link is changed to down state, the switch sends port_status msg with OFPPR_MODIFY type. The existing logic is to map OFPPR_MODIFY to UpdateType.CHANGED. But we should exam the Config state and Link state fields within the port_status packet. If they are "down", we should fire an UpdateType.REMOVED event instead and remove both edges associated with the port.

Signed-off-by: Jason Ye <yisye@cisco.com>
10 years agoMerge "Description: - Made changes in devices.web bundle and sal.core.Config - files...
Giovanni Meo [Wed, 1 May 2013 20:06:39 +0000 (20:06 +0000)]
Merge "Description: - Made changes in devices.web bundle and sal.core.Config - files changed for this: pages.js, Devices.java and Config.java - changes seen in the diff in StatusJsonBean.java are purely sun xml style coding    \ related - Port status is correctly shown as "Up" or "Down".  In case the port status cannot  \ be determined, it will be displayed as "Undefined""

10 years agoMerge "Hide production nodes in visual topology"
Giovanni Meo [Wed, 1 May 2013 20:05:21 +0000 (20:05 +0000)]
Merge "Hide production nodes in visual topology"

10 years agoMerge "Javadoc for controller.web Change-Id: Ie687bbb842391bf94f7c23a3c58833cf53a2e438"
Giovanni Meo [Wed, 1 May 2013 20:00:12 +0000 (20:00 +0000)]
Merge "Javadoc for controller.web Change-Id: Ie687bbb842391bf94f7c23a3c58833cf53a2e438"

10 years agoDescription: 76/276/1
dibhatia [Wed, 1 May 2013 19:27:39 +0000 (12:27 -0700)]
Description:
- Made changes in devices.web bundle and sal.core.Config
- files changed for this: pages.js, Devices.java and Config.java
- changes seen in the diff in StatusJsonBean.java are purely sun xml style coding    \
related
- Port status is correctly shown as "Up" or "Down".  In case the port status cannot  \
be determined, it will be displayed as "Undefined"

Change-Id: I15f4281fb0a00c466942d7c4effab6fe4d25a7b9
Signed-off-by: dibhatia <dibhatia@cisco.com>
10 years agoMerge "Update comments for JavaDoc Added comments for the followings interfaces:...
Alessandro Boch [Wed, 1 May 2013 18:01:43 +0000 (18:01 +0000)]
Merge "Update comments for JavaDoc Added comments for the followings interfaces: IForwardingStaticRouting, IRouting. Removed the method saveConfig() from IForwardingStaticRouting since it is not a public method and is only use privately."

10 years agoHide production nodes in visual topology 75/275/1
Andrew Kim [Wed, 1 May 2013 17:17:20 +0000 (10:17 -0700)]
Hide production nodes in visual topology

At least for now, we don't want to display production nodes within the visual topology.

However, if there are production nodes, then the user can still view them using the
northbound interface.

Signed-off-by: Andrew Kim <andrekim@cisco.com>
10 years agoUI Flow configuration fix 74/274/1
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>
10 years agoUpdate comments for JavaDoc 73/273/1
Chi-Vien Ly [Wed, 1 May 2013 04:43:15 +0000 (21:43 -0700)]
Update comments for JavaDoc
Added comments for the followings interfaces: IForwardingStaticRouting, IRouting.
Removed the method saveConfig() from IForwardingStaticRouting since it is not a public method and is only use privately.

Change-Id: I15e15916287fe05a02e31536e064fb78c827c26a
Signed-off-by: Chi-Vien Ly <chivly@cisco.com>
10 years agoJavadoc for controller.web 71/271/1
Pramila Singh [Tue, 30 Apr 2013 20:41:06 +0000 (13:41 -0700)]
Javadoc for controller.web
Change-Id: Ie687bbb842391bf94f7c23a3c58833cf53a2e438

Signed-off-by: Pramila Singh <pramisin@cisco.com>
10 years agochanging directory structure to fix errors 69/269/1
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>
10 years agoExpanded UnknownSchemaNode implementation, refactored java source code generation. 68/268/1
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>
10 years agoFixed NPE in maven-yang-plugin 67/267/1
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>
10 years agoAdded Maven plugin for generation SAL APIs from YANG 65/265/2
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>
10 years agoAdded generation of Transfer Objects from Type Definitions. 63/263/4
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>
10 years agoResubmitted with source code synchronized. Added integration test for hosttracker... 64/264/3
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>
10 years ago- Application is no longer blocked when programming hundreds of flows. The Barrier... 66/266/1
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>
10 years agoFixed SchemaPath resolution for base YANG types. 60/260/2
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>
10 years agoMerge "Convert various result into Status Signed-off-by: Jason Ye <yisye@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>"

10 years agoConvert various result into Status 62/262/1
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>