HIGUCHI Yuta
8652389c96
ONOS-3841 Only listen to Config change event
...
Change-Id: I1e9965240ce210240328c0fdb78f8ea529a341a7
2016-02-19 22:47:44 +00:00
Thomas Vachuska
762c1bb971
Fixing broken build; breaking OpticalCircuitIntentCompiler in the process though.
...
Change-Id: Ice66be4bb23b90d2466ba1d029f29b5d7df0cfa4
2016-02-19 12:54:31 -08:00
Rimon Ashkenazy
f0699705ac
[ONOS-2476]: Circuit intent support for ODU Multiplexing
...
Change-Id: I37229e7107e38baf8416102598f27004ef319665
2016-02-19 20:20:29 +00:00
Jonathan Hart
00cdddaa60
Send PIM Join/Prune messages based on events from the McastService.
...
Also change Interface to return a list of addresses rather than a set
to allow applications to rely on the order of configuration
Change-Id: Ie7f62fee507639325ee0a77b8db4088dae34597e
2016-02-19 18:53:12 +00:00
Claudine Chiu
e014b3ad5a
ONOS-3931: move DeviceKey manager and store implementations from incubator to core
...
Change-Id: I2c26d7a4106be5b8f631b010cc7a167de957c9d2
2016-02-18 20:04:19 +00:00
Thomas Vachuska
708d3031de
Cleaning up javadocs.
...
Change-Id: I67a0600fc80f9d7b0859f2e0e7634579cab6cfbf
2016-02-18 19:41:42 +00:00
Murat Parlakisik
dc17f7bd28
Shared system timer and executor services - monitoring
...
Change-Id: Ieaa889447dbcb78e4d27fe7409fae463177372b8
2016-02-18 18:53:47 +00:00
Shashikanth VH
98a88ab78e
Exception fix.
...
Change-Id: I238bc6f1e27c8f5211bd542b70a167014d9dc8a3
2016-02-18 09:19:25 +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
Michele Santuari
3ea539086a
fix egress packet treatment ONOS-3467
...
Change-Id: Ia88568d0ed8f1a982479e5212495923d55238d7b
2016-02-17 16:03:43 +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
Sho SHIMIZU
ef7e290e20
Make use of Optional more idiomatic
...
Change-Id: I42b3261169e7cb8408f46c5831f72115f77fd779
2016-02-17 00:38:48 +00:00
Sho SHIMIZU
b08d58635c
Refactor: Rename Resource#isTypeOf() to isSubTypeOf()
...
Change-Id: I83eed95d53ecc06cd14695cae22bd4e71646040a
2016-02-11 12:46:25 -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
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
Sho SHIMIZU
84515f36cc
Use lower bound wildcard for API to be more flexible
...
Change-Id: Ia6bcec5afb2e872b55bae4bbd9139ad35ce01284
2016-02-11 02:38:20 +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
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
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
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
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
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
Andrea Campanella
6ee7392adb
ONOS-3759 Group default provider
...
Change-Id: I318c8036a1836d13f57187bfd28464c740e09f08
2016-02-04 19:34:49 +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
Thomas Vachuska
3afbc7f34a
Adding ability to project device, link and host model as alternate entities.
...
Change-Id: If23c018b024a3bbe693f0e66888c5f1707e3f66d
2016-02-02 22:43:22 +00:00
Sho SHIMIZU
2f26fb2682
Remove mutating methods in IntentData
...
Change-Id: I1d9ac694922f4a12b2d94a92b64be2c336c31ae3
2016-02-01 14:02:32 -08:00
Madan Jampani
620f70d03f
LeadershipStore updates:
...
- Now tracking leader and candidates for a topic using a single map.
- Using term numbers that are incremented by one every time a new leader is elected.
- Introduced a separate LeadershipStore to conform to the manager-store pattern
Change-Id: I1d03a6c5e8ff0e68ef0c1e3a6c2d425c4856e470
2016-01-30 23:14:12 -08:00
Sho SHIMIZU
83258ae504
Use more concrete type for return value
...
Same resources are not allowed for a parent and Set is more suitable than
Collection
Change-Id: Ib45179819d81376678bf8949864b12b5bd721085
2016-01-30 16:33:41 +00:00
Charles Chan
0c7c43b136
CORD-394 Purge group/flow store when device goes offline
...
Stage 1: (this commit)
Add a component config purgeOnDisconnection, which is false by default.
When set to true, GroupManager and FlowManager will purge groups/flows
associated with a device when the device goes offline.
Stage 2: (upcoming commit)
Enable these configs in SegmentRoutingManager
Clean up group related information in SegmentRountingManager
Change-Id: I46d047d690d4641e030f6cdd084ce16ac02d8919
2016-01-29 21:00:45 +00:00
Charles Chan
93fa727942
ONOS-3763 Change flow state to PENDING_ADD when retrying
...
Will emit a RULE_UPDATE event if the state is changed.
Update unit test accordingly.
Change-Id: Ie84778c62f52f15b7636d41db246814145e73f77
2016-01-29 19:29:24 +00:00
Sho SHIMIZU
460b97251b
Move static factory methods to the utility class
...
Change-Id: Icf458adf78f51823e4ffa31346595fa9716485bf
2016-01-28 13:43:21 -08:00
Sho SHIMIZU
763be92118
Avoid using fully qualified name
...
Change-Id: I273ccfe4bded393ec17128f485842c458cbffac4
2016-01-28 09:41:54 -08:00
Sho SHIMIZU
f95b96eaa3
Change the APIs to instantiate Resource and ResourceId
...
Now, DiscreteResource/DiscreteResourceId is provided by DiscreteFactory.
Similarly, ContinuousResource/ContinuousResourceId is provided by
ContinuousFactory. These factory instances can be obtained by static
factory method such as Resource.discrete(...) or Resource.continuous(...).
Change-Id: Ic94f7336c0e1f74cf2dddcac899de300362aff3e
2016-01-28 17:31:58 +00:00
Sho SHIMIZU
d978d9ac01
Move variable declarations out of the loop
...
Change-Id: I7d89e942e459e65838282f0c7dc9a1399c4af166
2016-01-28 08:57:48 -08:00
HIGUCHI Yuta
1d7c9cbe6d
ONOS-3732 Bandwidth resource registration using netcfg.
...
- Uses netcfg defined value as available resource if defined,
else uses port speed as available Bandwidth resource
Change-Id: I2dde9a9194025194ed8785b4608f064debab182b
2016-01-27 13:09:56 -08:00
Sho SHIMIZU
4a1e59f28e
Rename: use plural according to the returned type
...
Change-Id: I7db9ae2fda2f7240d69ad7dbd028ccc0ea8a8fd8
2016-01-27 03:57:51 +00:00
Ray Milkey
2693bdab3e
Add a builder for DefaultLink to hide multiplying constructors
...
Change-Id: Iaf073d07989c398a8f44541ffdb8dd93e5715162
2016-01-26 21:33:28 +00:00
Thomas Vachuska
5923b9a5c6
Fixed an NPE in DeviceManager provider service.
...
Change-Id: I9afc5e715ee88855384652dc81677b3de5b89300
2016-01-26 20:38:33 +00:00
Thomas Vachuska
bb062ecd45
Fixing a discrepancy in driver manager implementation.
...
Change-Id: I774a3ed26dc6d34d6bdc5834e8e38d4d1741c5ed
2016-01-26 18:55:59 +00:00