1497 Commits

Author SHA1 Message Date
Claudine Chiu
31ad527ec2 ONOS-3931: move "org.onosproject.incubator.net.key" to "org.onosproject.net.key"
Change-Id: I90da894317583ce8d6cfb238e933ff28ad2c83ca
2016-02-18 08:46:33 +00:00
Sho SHIMIZU
7332fe4add Add method to get available resources filtered by its type
Change-Id: I034bdcf4e9a399af6c68c7ed7f53185bba9b2e27
2016-02-18 08:42:37 +00:00
Sho SHIMIZU
caa2f7b910 Refactor Resoruce/ResourceId sub-types
isTypeOf() and isSubTypeOf() of Resource is delegated to ResourceId

Change-Id: Ief39f4967b8fb43ec0cb35dbd44bd2a7dde93680
2016-02-17 20:31:04 -08:00
Sho SHIMIZU
e5930cc85f Fix bug of Resource#isSubTypeOf() and improve unit test coverage
Change-Id: I5488c1065a8f83abb110ad67276c30eb719ccd01
2016-02-18 04:21:20 +00:00
Jonathan Hart
3a8896b506 Clean up a few SSM-translate things, incl config validation
Change-Id: I5308fd8a73088ea6a522f22642ee834ac8a7a446
2016-02-17 20:01:14 -08:00
Sho SHIMIZU
74ac9010f8 Add a method to get resource type name: simpleTypeName()
last() is removed as the new method takes over its role

Change-Id: Id3737529787da5d5bb513355cdbc443f2b7b17e2
2016-02-18 03:51:26 +00:00
Sho SHIMIZU
e571d44497 Split one single test file into multiple files
Change-Id: I699bd3df001eab704afc4aaa8b8a5514e4b175f8
2016-02-17 01:55:31 +00:00
Sho SHIMIZU
f08cb4c0e0 Define valueAs() to get the enclosed value and remove volume()
volume() is replaced by valueAs()

Change-Id: I3dbcbd6a0b8fcd28f0064272fe1fa6d7259e0a87
2016-02-17 01:20:22 +00:00
Thomas Vachuska
800a7a496a Simplifying the use-model of AbstractDriverLoader.
Change-Id: Iaf19ce92c7e153b5477340abb8e7650d8434ca86

Simplifying the use-model of AbstractDriverLoader.

Change-Id: Iaf19ce92c7e153b5477340abb8e7650d8434ca86
2016-02-17 01:09:36 +00:00
Sho SHIMIZU
ef7e290e20 Make use of Optional more idiomatic
Change-Id: I42b3261169e7cb8408f46c5831f72115f77fd779
2016-02-17 00:38:48 +00:00
Sho SHIMIZU
003ed3273e Add a method to check the type of resource
Change-Id: If4b44688c0a93a43dfa9a4c2cb77c52599159751
2016-02-17 00:37:09 +00:00
Sho SHIMIZU
36ef79f97d Simplify expression and statement
Change-Id: I66cc2bee3a929108c7b4451b3d64c9aac4dcf5d6
2016-02-17 00:16:48 +00:00
Ray Milkey
ea125327d7 Document releases APIs were deprecated in
Change-Id: I240ce9155fd6aee0200350e1b04d13ebfb89b3c1
2016-02-16 23:35:42 +00:00
Ray Milkey
cc6310fc9c Unit test for default partition class
Also added javadocs to DefaultPartition constructors

Change-Id: I4ba37800d61b82fabc60fd5a226850d3a3536913
2016-02-16 14:43:27 -08:00
Madan Jampani
39fff107c4 Method name refactor in DistributedPrimitive + Builder for AsyncLeaderElector
Change-Id: I59be6e66665c0b12d02106bd5c722e9fa38dd7a1
2016-02-15 03:49:12 +00:00
Sho SHIMIZU
37a038b4dd Update Javadoc
Change-Id: Ieefd3650c1f11875d22602174a7bdf9537acf0d6
2016-02-12 18:28:41 -08:00
Brian Stanke
9bf8d7c9b7 ONOS-3655 - Adding username and password support into the device key subsystem.
Change-Id: I196984479126ae3776093a0bded4b3c820a3eab8
2016-02-12 20:06:46 +00:00
Sho SHIMIZU
0e1a47635f Add precondition check to guarantee non-null
Change-Id: I2691fb980ee57befce14a870a2a9f7317e06ea18
2016-02-11 23:00:14 +00:00
Sho SHIMIZU
3163a64dbf Remove an unnecessary blank line
Change-Id: Ia17602bd8c1a0507aeca26ac212e6be322f61a5d
2016-02-11 21:41:47 +00:00
Sho SHIMIZU
b08d58635c Refactor: Rename Resource#isTypeOf() to isSubTypeOf()
Change-Id: I83eed95d53ecc06cd14695cae22bd4e71646040a
2016-02-11 12:46:25 -08:00
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
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
Sho SHIMIZU
84515f36cc Use lower bound wildcard for API to be more flexible
Change-Id: Ia6bcec5afb2e872b55bae4bbd9139ad35ce01284
2016-02-11 02:38:20 +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
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
72f81b1830 Use ResourceId when unregistering resources instead of Resource
Change-Id: Ib3d1c611ad9eb4491693ea10ee50ea0123f20ee2
2016-02-10 20:06:50 +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
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
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
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
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
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
Thomas Vachuska
c4ee7372c5 Adding first fallback provider for flow rule subsystem.
Fixing onos-check-apps.

Change-Id: Ic8c2bac4403bb7a49813826262706e857932b6c0
2016-02-03 04:51:57 +00:00