3083 Commits

Author SHA1 Message Date
Sho SHIMIZU
c4ae4d5896 Catch up with the latest API to fix the build error in #7156
Change-Id: Ia51be04f9f5ed5381e524a405944bf3a67f0c034
2016-02-20 01:14:53 +00:00
Jihwan Kim
1f53627d99 [ONOS-3558] Define interfaces for supporting a AtomicLongMap
Change-Id: I7c03d3d4e9c501fbf0f9d8d28dcc43875e0987ab
2016-02-19 23:46:22 +00:00
HIGUCHI Yuta
8652389c96 ONOS-3841 Only listen to Config change event
Change-Id: I1e9965240ce210240328c0fdb78f8ea529a341a7
2016-02-19 22:47:44 +00:00
Konstantinos Kanonakis
317a7de66f Fixed issue in MeterManager.java
- Added check in pushMeterMetrics method to delete Meter only when it is in the PENDING_REMOVE state
- Minor change: Corrected description in MeterId.java to indicate that MeterIds are unique only within a device

Change-Id: I40e8a0cfaa93884b026e899e9c879e22133ba63b
2016-02-19 21:12:01 +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
Saurav Das
9d6c86bec6 Adding eth masking in match
Change-Id: I95e0ee66b1c6c139de7672f9bc04871fd0ead6d7
2016-02-19 19:25:34 +00:00
Jonathan Hart
81d73102c3 Calculate IGMP checksum and use more reasonble max response time.
Also made IGMP properties configurable at runtime.

Change-Id: I98b40a43a0c17b7bf21f1bd622032c64d7434214
2016-02-19 19:14:10 +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
Thomas Vachuska
84922b3b42 Creating an abstract device provider base.
Change-Id: I67b7e18676fba6388c0b317ea84ed7cab041d324
2016-02-19 18:50:32 +00:00
Claudine Chiu
5951bdaf3d ONOS-3931: BasicDeviceConfig to allow configuration of DeviceKeyId
Change-Id: I75d37709f19913f3382fa7614291e5a837ecf1a1
2016-02-19 04:08:06 +00:00
HIGUCHI Yuta
ca2208dfaf ONOS-3841 fix for deferred Subject issue
Change-Id: I0901757054b5263bca8ed5d4c38dc595529e3c45
2016-02-18 23:40:38 +00:00
HIGUCHI Yuta
315179abe2 Workaround for old compiler
- Was failing on eclise built-in compiler

Change-Id: Ifd76449d0c1054876e447603aa3aff982c3a5e52
2016-02-18 22:54:23 +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
HIGUCHI Yuta
6acdfd0381 ONOS-3996 shorter warn log message
- Print only number of failed values at WARN level
- Details can still be observed if log level set to DEBUG

Change-Id: I0964df33c2b0638bcb460949826956672999181d
2016-02-18 19:14:48 +00:00
Murat Parlakisik
dc17f7bd28 Shared system timer and executor services - monitoring
Change-Id: Ieaa889447dbcb78e4d27fe7409fae463177372b8
2016-02-18 18:53:47 +00:00
Charles Chan
5270ed0088 CORD-512 Support vSG <-> vRouter default route
- Support multiple subnets per port. getIpPort() will only return the first non-/32 and non-/0 subnet
    /32 is used as vSG subnet
    /0 is used as default gateway
- Support multiple L3 unicast group on a single port
    Change the way to generate the group ID and group key
- Special case for 0.0.0.0 host. Push a /0 to IP table instead of /32
- Implement vRouterConfig
    Put VR MAC to TMAC table of all leaves when config added
        When processEthDst see PortNumber.ANY in key, match ETH_DST only
- For OFDPA, wipe existing instruction before sending to controller
    So packet that misses L3 unicast table won't be sent to controller twice
- For SpringOpenTTP, pop VLAN before sending to controller
- Move several constant definitions to SegmentRoutingService
- Add minimum priority for IP rules such that /0 won't collide with zero priority default rules
- Update the config sample
    Use VLAN=-1 for hosts
    Add example for default route

Change-Id: Id751697ce36a7e5c13b3859350ff21b585c38525
2016-02-18 17:30:19 +00:00
alshabib
1aa5814ec1 support addition and removal of mcast sinks
vlan mcast rules are now optional

Change-Id: Icb7022089a6e139970040d8cdea97df0cdc8dc7c
2016-02-18 14:53:04 +00:00
Shashikanth VH
98a88ab78e Exception fix.
Change-Id: I238bc6f1e27c8f5211bd542b70a167014d9dc8a3
2016-02-18 09:19:25 +00:00
jingjing zhang
8056acdbe5 Add ONU and OLT device type
Change-Id: I6b53ce7c69ee810c0af931dc4122b350b9d2819c
2016-02-18 09:10:56 +00:00
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
1992daf66a Fix bug: Prevent a resource with the existing ID from being registered
This resolves a part of issues found in ONOS-3827

Change-Id: I429a84b2dad7300501758f8b842dbb653e38d13b
2016-02-18 04:53:37 +00:00
Sho SHIMIZU
7d54d9cb1c Reduce the number of accesses to consistent map
Stop accessing the consistent map when the resource is discrete.
Now, access to the consistent map happens only when the resource
is continuous.

Change-Id: Ic1cb1d94d32a2097dfca891e1d2de7fdc5d4c00a
2016-02-18 04:52:51 +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
Madan Jampani
1172da7883 Set max number of copycat transport server threads to 4
Change-Id: I20c662fdfcabd86b547c7b699b5f97ce3d912a41
2016-02-17 18:40:36 -08:00
Madan Jampani
28a6974239 Remove redundant thenApply call in TransactionCoordiantor
Change-Id: I96d8a06ddef7b1bd9068a589bfa780e82c5dd556
2016-02-17 18:36:59 -08:00
Madan Jampani
3ac20f985c Set number of copycat log compactor threads to 1
Change-Id: If8bc3e2ae17757d564355e4ef51d6b2f398d4bbd
2016-02-17 18:35:26 -08:00
Madan Jampani
1c9b4e9f71 Fix NPE in StoragePartition
Change-Id: Ibd71260381d79304243ae7448ff4b2155483dd5a
2016-02-17 18:33:11 -08:00
Madan Jampani
6c17718e0d Fix potential deadlock in CopycatTransport
Change-Id: Ic8ac913c25dcc68b66ec96767a60d44340c89568
2016-02-17 18:31:08 -08:00
Madan Jampani
f5c38a7f7c Change netty reply timeout to 2s and run a periodic cleanup task to timeout outstanding requests
Change-Id: Ie0381b9371bfd8a3d680872bfc5dce54a19aaca2
2016-02-17 18:26:31 -08:00
Aaron Kruglikov
f3d2f492e1 Fixing pom dependencies.
Change-Id: I35ceeb799b7fe92b2d39cd747ef55a4e4dd86678
2016-02-18 01:23:49 +00:00
Ray Milkey
cef96061c4 Removed Deprecated tag on necessary constructor
Change-Id: Ia4791d6880e3b4a20b4ecdcc10b2ba6555846f39
2016-02-17 23:35:04 +00:00
Aaron Kruglikov
1b72738fa3 Migrating netty messaging into netty messaging manager.
Change-Id: I971db195c9dc155cdf76850f0427ef9b9210113c
2016-02-17 19:44:20 +00:00
Madan Jampani
86cb2438e4 Using latest atomix release candidate + Updates to CopycatTransport
Change-Id: I960af428ff733ee7467024811e3b3470e951ecb7
2016-02-17 11:20:58 -08:00
Michele Santuari
3ea539086a fix egress packet treatment ONOS-3467
Change-Id: Ia88568d0ed8f1a982479e5212495923d55238d7b
2016-02-17 16:03:43 +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
5fab6e5071 Stop using explicit Optional#get()
Change-Id: Ifd14b02fad398d9a84c95328fcd0e8367d63cf33
2016-02-17 01:22:04 +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
sangyun-han
f7fe7637b0 [ONOS-418] GossipLinkStore: make configurable - add setter of initialDelaySec and periodSec.
Change-Id: I5286572bf74403677ad332de8d745e79aa12ddb2
2016-02-17 00:53:16 +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
Madan Jampani
7efc8dd152 Use a ScheduleExecutorService in CopycatTransportService instead of creating a new thread per connection
Change-Id: Ic075209093e89e2502fb750d1a79509d6fcccc19
2016-02-16 23:37:18 +00:00
Ray Milkey
ea125327d7 Document releases APIs were deprecated in
Change-Id: I240ce9155fd6aee0200350e1b04d13ebfb89b3c1
2016-02-16 23:35:42 +00:00