2917 Commits

Author SHA1 Message Date
Sho SHIMIZU
446fdf09e9 Cosmetics: Rearrange the method definitino order
Change-Id: I978ea1cdf04ad0f4984de35a509b2020378d1c2c
2016-02-11 12:33:05 -08:00
Jonathan Hart
56151262f8 Roll back resource API changes that triggered a bug in the Java compiler
Change-Id: I9e6891fe156148692e59476cb2bec6defb1f9a70
2016-02-11 20:18:21 +00:00
Sho SHIMIZU
6f74730e84 Improve the performance of ResourceManager#getAvailableResources()
By removing an extra map access in ConsistentResourceStore#isAvailable()

This patch mitigates the issue of ONOS-3869

Change-Id: Ief231f5532c34719c150855afe0ea69fc6b478f1
2016-02-11 19:34:25 +00:00
Madan Jampani
e14a09c5dc Implementation for StorageAdmin and PartitionAdmin APIs
Change-Id: I48cbfae6f410425294196884cdb2ce4705fa2c3d
2016-02-11 19:15:31 +00:00
Sho SHIMIZU
fc64ffe4d5 Refactor: change method parameter type of ResourceStore#release()
Use ResourceAllocation as parameter of ResourceStore#release()

Change-Id: I1833b9b23985cd42820093633591fa21daf2f98e
2016-02-11 17:47:32 +00:00
Madan Jampani
538be7420f Refactored primitive builders to consolidate methods into the base DistributedPrimitiveBuilder
Change-Id: I9a24117b41d1feeb5cf460c6adfa484aabcbb8c1
2016-02-11 06:00:52 +00:00
Aaron Kruglikov
e241189e4b Fix for multiple metrics issues
Change-Id: Ie534d5130278df504eda99e30df1eb2c3e7a43da
2016-02-11 05:09:54 +00:00
Sho SHIMIZU
84515f36cc Use lower bound wildcard for API to be more flexible
Change-Id: Ia6bcec5afb2e872b55bae4bbd9139ad35ce01284
2016-02-11 02:38:20 +00:00
Ray Milkey
15551272ca Fix NPE when setting strict if there are no links present
Change-Id: Ic43d8807d5d2a86a3f716214c7fcf5a00f1e9477
2016-02-11 02:33:46 +00:00
Thomas Vachuska
e3ea9a4c17 Fixing javadocs
Change-Id: I8e7f6451876c6733bf33667face30b32e5378c99
2016-02-11 01:56:41 +00:00
Sho SHIMIZU
3547d5b156 Remove obsolete ToDo comment
Change-Id: I6343d0dc528eef5e2446eea6c9f370dcaf6ed7e9
2016-02-11 01:25:41 +00:00
Charles Chan
cb13d12979 Expose cookie information in packet context
Change-Id: I7f2cb331a19aeca1a578aade6488a6480d15496c
2016-02-11 01:14:49 +00:00
Jian Li
230ce4fdba Fix incorrect description of getPreviousStatistic method
Change-Id: I803ca5ee86e4a605c06916687d55a37059fe2ad2
2016-02-10 21:51:00 +00:00
Madan Jampani
74da78b62b AsyncConsistentMap methods for supporting transactional updates
Change-Id: Iaeb0aa0abf9f52d514a2c040598599a5b8a55ee8
2016-02-10 21:48:12 +00:00
Aaron Kruglikov
1110b2cee6 Setting up monitoring of cluster communcation service
Change-Id: I771b23db6920b26b592abc5d5156e9d77cde4f00
2016-02-10 21:47:48 +00:00
Brian Stanke
ca93d9aaef ONOS-3655 - This Device key subsystem update adds the implementation of the
DeviceKeyManager and the distributed device key store.

Change-Id: I32544040590b31a59e20f3375fca453a117f940c
2016-02-10 21:45:57 +00:00
Sho SHIMIZU
7b32697856 Simplify method names by removing redundancy
Change-Id: I36df7e23792f7004dfae823a8700f6c887ea1efd
2016-02-10 21:36:33 +00:00
Sho SHIMIZU
69420fe49c Preserve the original order when registering/unregistering
Change-Id: Id112f7027454132f00ca45b4254aa3f5c2e7b094
2016-02-10 20:07:40 +00:00
Sho SHIMIZU
72f81b1830 Use ResourceId when unregistering resources instead of Resource
Change-Id: Ib3d1c611ad9eb4491693ea10ee50ea0123f20ee2
2016-02-10 20:06:50 +00:00
Sho SHIMIZU
82bfe99aa8 Fix comment
Change-Id: I69fdec826b1578777020759f5f4144d4057db1d9
2016-02-10 18:25:45 +00:00
Madan Jampani
9254501814 Fast path in transaction manager for single update scenarios
Change-Id: Ia0ad61aabf5c35fbfadc5b127662edb497bcc9c0
2016-02-10 07:55:53 +00:00
Sho SHIMIZU
49fff75f7d Avoid creating an instance when calling resource()
Change-Id: I0d831cc51199bce0e0dc2b7bb1b5bc2df9fbf90b
2016-02-10 03:00:17 +00:00
Sho SHIMIZU
9c02f3af02 Hide underlying components from public use
- Remove components() method from Resource
- Add isTypeOf() method to Resource

Change-Id: I390eb6057fc7e2c3e93eb2a18d161f661ad6c180
2016-02-10 02:59:33 +00:00
Jian Li
8bac5766c9 Not allow to assign values to appId and cookie at the same time
With current implementation, flow id can be either assigned by
fromApp method or withCookie method. This misleads the end-user
to properly instantiate a new flow rule. This commit restricts the
flow id assignment which does not allow to assign cookie and
appId at the same time.

Change-Id: I8d7e27517c7ef636d427c3d8b8f9cc267fcb0702
2016-02-10 01:58:43 +00:00
Sho SHIMIZU
2fbc33c1bf Fix the compilation error introduced by be394c8
Change-Id: I9104d91541f0f2fcd8476264772a920b59626003
2016-02-09 14:04:30 -08:00
Naoki Shiota
be394c82ba bug fix: ResourceManager#unregisterResources only unregisters given resources and didn't unregister descendants (ONOS-3827).
Change-Id: I48956234553053e2a54834129b5f10357ca116ea
2016-02-09 21:41:51 +00:00
Rimon Ashkenazy
8ebfff047b Add OTN device and ports
Change-Id: I18f3376d1466077e95d7324a27a660302f0123b3
2016-02-09 20:36:40 +00:00
Sho SHIMIZU
dd3750cf01 Use ResourceId or DiscreteResourceId when specifying a resource
Change-Id: I4e29558ec649510c8d08bb5e5f8ed10c189252e5
2016-02-09 20:32:50 +00:00
Jonathan Hart
07eb041136 Implemented REST API for multicast RIB.
Change-Id: I5de6fe0aae412083597113e355ba0e8c984be5f1
2016-02-09 18:02:35 +00:00
Shashikanth VH
387a1cad9d null dereference fix.
Change-Id: I98b6226fea3f457fef11c65c092453ffa881b59e
2016-02-09 20:35:35 +05:30
Andrea Campanella
fe1d473f97 Dropping log level of device not having driver for default provider to DEBUG
Change-Id: I79d14ec87ffe24f71407e10f9beb5438c41ac54b
2016-02-09 07:41:18 +00:00
Simon Hunt
3da1a1827d Fix incorrect method prerequisite checks in NetworkConfigManager.
Change-Id: I460190952a4493544cf94dd0e2cec70ad1292ecb
2016-02-09 01:20:37 +00:00
Andrea Campanella
b8d3f3dfcb Adding device information to log of default driver providers
Change-Id: Ie25f6aee76e9ef72052570177dcf2f4a6da8edf4
2016-02-08 15:31:09 -08:00
Madan Jampani
cadd70bd6e Refactor transaction support in preparation for migration to latest APIs
- Added a explicit transaction id type
 - cli command now just returns the identifiers of in-progress transactions
 - Removed redriveTransactions until a better alternative is provided
 - Removed DatabaseUpdate and replaced its usage with MapUpdate

Change-Id: Ic4a14967072068834510cd8459fd2a6790e456ef
2016-02-08 23:29:02 +00:00
Andrea Campanella
e427390195 Logging information about device not being driver programmable instead of throwing exception
Change-Id: I1d64e83ca0cabc9378bcaf19badddbba584128f8
2016-02-08 22:28:42 +00:00
Naoki Shiota
bbc7ead126 Fixed a bug that optical intent compilers never release resources reserved during compilation.
Removed tempoary code from optical app (ONOS-2129).

Change-Id: Iee0343964f886196922469eaabe4a72c3f404888
2016-02-08 18:39:39 +00:00
Marc De Leenheer
6215fbcf60 Fix bug in OchSignal toString
Change-Id: Ice411f3ea2ed3b3a89069993752427f4298d4134
2016-02-08 18:38:24 +00:00
Ray Milkey
cd6ab18c8c Unit tests for NetworkCongifLinksProvider
Also fixed a few bugs in the provider that were turned up by the new tests.

Change-Id: Icafc945251b4d35ac3f285302af150c0a4d646d6
2016-02-08 18:37:31 +00:00
Michele Santuari
0ff59c27e4 fix on VLAN intent encapsulation ONOS-3467
Change-Id: Ia0a72d13a551fd4183531d35c04ca19d87b85280
2016-02-06 00:58:01 +00:00
Jonathan Hart
b68919e831 Catch and print Errors as well as exceptions in CoreEventDispatcher
Change-Id: I8c41404aba26ad9c09b9b1bdc2e31b8350b1924c
2016-02-05 23:47:40 +00:00
Madan Jampani
c27b6b2deb Fix files with windows line endings + Add checkstyle rule to catch this issue
Change-Id: Ic1905f2121c5c2ab66259f7f531c1e36fe58e9d4
2016-02-05 19:51:54 +00:00
Andrea Campanella
5b240530a0 ONOS-3759 Packet fallback driver provider
Change-Id: I8d526f66200b68d21aad3bd88575f6021d10c9a1
2016-02-05 19:46:47 +00:00
Charles Chan
023a898881 Passing current and previous config value in NetworkConfigEvent
Change-Id: I4ed16f17b5fc991594d1b83b6c0ffca7aa2130fa
2016-02-04 22:04:40 +00:00
Andrea Campanella
6ee7392adb ONOS-3759 Group default provider
Change-Id: I318c8036a1836d13f57187bfd28464c740e09f08
2016-02-04 19:34:49 +00:00
Madan Jampani
e17d3284ec Adds abstract distributed primitive builder + Refactored AtomicCounter and AtomicValue builder to make use of it.
Change-Id: I56cef62673fabc54ca29634c27e4ff1f41ba6a88
2016-02-04 17:43:50 +00:00
Madan Jampani
15b8ef5bec PartitionManager + StoragePartition{Service,Client} implementation classes
Change-Id: I2125c5678c760e9ed9fc856d1f9ba2ac4e4a3496
2016-02-04 16:09:27 +00:00
Ray Milkey
520750607a Fix NPE when a criterion does not specify a type
Change-Id: I79a115308d703ccec9e9c147df42a6a0a5b8d6dd
2016-02-04 02:07:16 +00:00
Madan Jampani
1f0202cff6 Ignoring atomix unit tests until the spinning issue is debugged
Change-Id: Ib78d41caa0c54b71490b76d46d8b397a94d010e0
2016-02-03 23:06:53 +00:00
Madan Jampani
1beb60c575 Refactor set and value builders to remove reference to DatabaseManager
Change-Id: Ia6d012af0766d117ec1baac8652056818b17c8bf
2016-02-03 22:15:02 +00:00
Ray Milkey
b7f0f64dcc ONOS-3460 - Link provider that enforces strict configuration
This provider uses the "links" configuration of the network
config and only allows discovery of links that are in
the config.

Refactoring will be done in a subsequent patch set - the DiscoveryContext and
LinkDiscovery classes are duplicates, they need to be refactored so the
LLDP provider and the Network Config provider can share them.

Change-Id: I4de12fc1c4ffa05e3cac7767b8a31f48ba379f6c
2016-02-03 21:22:12 +00:00