2917 Commits

Author SHA1 Message Date
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
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
fc98177d07 Updates to ConsistentMap and LeaderElector state machines
Change-Id: I7734b253a56fef7300a8a094a3cfc8c1b45c2453
2016-02-16 21:13:49 +00:00
Sho SHIMIZU
171a9380a2 Refactor: extract the same procedures
Change-Id: If28960f4e9fddc3276091fd04e2b624e6168dc5c
2016-02-16 17:36:31 +00:00
Madan Jampani
7e55c66aca StorageManager with associated new primitive builders
Change-Id: Ic5d7048cda5ea5e7e86df2d2390c16eea850cd83
2016-02-15 21:18:21 -08:00
Madan Jampani
2f9cc71264 Copycat transport enhancements
Change-Id: I50e9eb0f419b2aa10deff6d54f58649688788faa
2016-02-16 04:17:55 +00: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
900392463c Reduce the nubmer of access to consistent map for performance
Change-Id: Ia57edfca4e0b5f264e181ed5bbaef74ebb46724a
2016-02-12 01:42:27 +00:00
Madan Jampani
10666e5a31 Fix registration order in kryo
Change-Id: I051124ecb7bb55276c253af18f0c47df4a68c875
2016-02-12 01:06:45 +00:00
Sho SHIMIZU
0e1a47635f Add precondition check to guarantee non-null
Change-Id: I2691fb980ee57befce14a870a2a9f7317e06ea18
2016-02-11 23:00:14 +00:00
Jonathan Hart
1d00639523 Move multicast CLI commands into the core with the core mcast system.
Change-Id: If442803cf530cfeb949e7fbce34f74db082f30c1
2016-02-11 22:54:20 +00:00
Sho SHIMIZU
f17ae287a4 Refactor: Move logic for continuous resource to another method
Change-Id: I04136c933398891bf347f14874e93825ce3f2e33
2016-02-11 21:44:35 +00:00
Sho SHIMIZU
3163a64dbf Remove an unnecessary blank line
Change-Id: Ia17602bd8c1a0507aeca26ac212e6be322f61a5d
2016-02-11 21:41:47 +00:00
Sho SHIMIZU
a6a6fd3886 Fast path in the resource store for discrete resource
Change-Id: I179376f8a6b43b1f2867212b2456c17b9b5602f5
2016-02-11 21:16:38 +00:00
Sho SHIMIZU
b08d58635c Refactor: Rename Resource#isTypeOf() to isSubTypeOf()
Change-Id: I83eed95d53ecc06cd14695cae22bd4e71646040a
2016-02-11 12:46:25 -08:00