3083 Commits

Author SHA1 Message Date
Brian O'Connor
6d8e317182 Added error count for IntentData (ONOS-1060)
Change-Id: Ida6313603c15fb6c1c1793c298206587b370a13e
2015-05-01 12:48:15 -07:00
Brian O'Connor
a6c9b5cff2 Updating IntentCleanup to check for stalled *_REQ and *ING intents.
Change-Id: Ibe06ee99463bb8230acf9751da4fb1012859b0ea
2015-05-01 12:48:15 -07:00
Simon Hunt
a0ddb02bd6 GUI -- Rename UIMessageHandlerTwo => UIMessageHandler. Also, make bindHandlers() private.
Change-Id: Id36e220c1285b88b8b4db0e106ef063bd8b9bfd1
2015-05-01 09:53:01 -07:00
Simon Hunt
8ea1f51324 GUI -- Deleted deprecated UIMessageHandler.
Change-Id: Ia26853b6cb1198b232edd4e8f0cfffa8ad92dd55
2015-05-01 09:38:55 -07:00
Madan Jampani
9bd1f15b03 ONOS-1798: More appropriate method name + better pre-condition checks
Change-Id: I5d277967c22b9db48097288ea072cbc4d1c5a2a8
2015-05-01 14:23:57 +00:00
Simon Hunt
d2747a0d1e GUI -- Huge Refactoring of server-side message handlers (Part Two).
--- Well, it compiles, and seems to work, with the cursory testing I've done...

Change-Id: I0e59657c134e109850e4770766083370dfd9fdc2
2015-04-30 22:41:31 -07:00
Sho SHIMIZU
198558a1a0 Remove RES definition as potential use case is unknow right now
Change-Id: I6d7d44598755632dbe5d069bc0de3e740e7ccc17
2015-05-01 05:36:27 +00:00
Sho SHIMIZU
eb350267ac Add missing test class for OchSignal
Change-Id: I2cbd0365c31e7328bea8f11b8d2dfc7bdeb79f21
2015-05-01 05:36:05 +00:00
Sho SHIMIZU
c5ade712bd Add Javadoc for IndexedLambda
Change-Id: I28c822ce196ede8681dbca78f4e9cc05e6fa2e17
2015-05-01 05:35:51 +00:00
Jonathan Hart
c3af35a9b7 Add static factory method to create ConnectPoints from strings.
Change-Id: I743b4a4fb433ad07cf6f2cbed3da7b6e19a74ebb
2015-04-30 22:20:29 -07:00
Sho SHIMIZU
91210a7135 Define Lambda interface representing wavelength and implementations
Two Lambda implementations are defined.
- IndexedLambda
- OchSignal

Change-Id: I36763390f61abd9f861e76edab63f558ae97e8a2
2015-05-01 02:01:56 +00:00
Madan Jampani
1af8e137e3 Fix balance-masters functionality in the new LeadershipService based device mastership store
Change-Id: I9f64d514cee7d5a5383fd4c2fa30a8616c97785c
2015-05-01 00:34:45 +00:00
Marc De Leenheer
4b18a23ccf Make device store aware of optical ports (ONOS-1794).
Change-Id: Ia70855e391e22e1ab22bae73deb38fe9dbb90884
2015-04-30 23:09:21 +00:00
Sho SHIMIZU
014c33ac50 Pull out enums from OchPort
The following enums are pulled out
- SignalType (renamed to OduSignalType)
- GridType
- ChannelSpacing

Change-Id: Id30e582df9c3c2c5e239df57499ffe9436dd6237
2015-04-30 15:26:05 -07:00
Simon Hunt
44aa2f8de4 GUI -- Refactoring of server-side message handlers (Part One).
Change-Id: I895cef0545f7ba4b78a2adfa2bad9d889ca0104a
2015-04-30 22:12:51 +00:00
Madan Jampani
2096b93208 Fixes a NPE that occurs when device mastership is not immediately decided
Change-Id: I170974bf9e70cef5d7e73ecf31901879d858ddf7
2015-04-30 21:38:15 +00:00
Brian O'Connor
a27ada7826 NPE protection for purge requests (ONOS-1463)
Change-Id: I02732ed83aaaf5c760fdb96899696177415ebd23
2015-04-30 18:35:13 +00:00
Sho SHIMIZU
dee7871c43 Registier Frequency to Kryo
Change-Id: I4e91c4f48197ed2aa46d6458e1f397eea3468b8f
2015-04-30 18:11:13 +00:00
Thomas Vachuska
866b46a5be Reworked the dependency on default drivers. Driver manager must NOT depend on these.
Instead, it is ok for the flow manager to have a dependency on the drivers and go fully active/dormant when the default drivers arrive/depart.
Removed inclusion of the onos-drivers bundle as part of the onos-openflow app as this caused an unwanted dependency.

Change-Id: I614290277d1621c8243c0c19e5d79273f2168016
2015-04-30 17:47:18 +00:00
Thomas Vachuska
3ccb9eb11c Added some protection again UiExtensions that return null inclusion streams.
Change-Id: I18545627da38f4c19fc8316d7fd07df44c5c608f
2015-04-30 15:53:14 +00:00
Brian O'Connor
3c58e96920 Adding IntentCleanup as a component.
Listens for CORRUPT intent events and periodically polls for CORRUPT intents.

Change-Id: I29d8dbe14b46522815dc13e969f259f68b690855
2015-04-30 03:44:11 +00:00
Marc De Leenheer
bb382356c2 Generic ROADM port models and descriptions
Change-Id: I053d61c7a057d6298b7990373448df28b3aaa5a5
2015-04-30 03:35:16 +00:00
Sho SHIMIZU
ab39283aba Remove unnecessary object creation when calculating hashCode()
Change-Id: Idbfec9d076a294fc6123ac209f6d1a955baf407e
2015-04-30 03:13:12 +00:00
Srikanth Vavilapalli
f5b234a486 Segment Routing refactor with flow objectives
Change-Id: I0b87f89bb8b18522b9d38bdf5e96f55485b6f1e3
2015-04-30 03:06:02 +00:00
Thomas Vachuska
75aaa675fb OpenFlowRuleProvider is now configurable with respect to flowPollFrequency.
Change-Id: I3a559a9cd65df1ae56d80017696452788fc08d91
2015-04-30 03:01:17 +00:00
Thomas Vachuska
889648c910 Added an adapter.
Change-Id: Iac04d196099e72ddbb1d5b29ecb6bc0f1e0f5c18
2015-04-30 00:17:44 +00:00
Madan Jampani
5756c35469 Trivial logging change
Change-Id: I8166b5cb886c16b30ad28886a000525ab2059943

Enabling Raft based device mastership store

Change-Id: Ide4dc559aa241ec2f3fa587701f6f32ba6856218
2015-04-29 14:45:05 -07:00
Ayaka Koshibe
3a3215674d Added a builder for TransactionContexts
Change-Id: I22b467ed0b1e691f3df4ccc5e414b8f4c3bf18f4
2015-04-29 13:59:42 -07:00
Ayaka Koshibe
2c6b7efa87 Fix for NPE in entry removal updates.
Reference: ONOS-1785

Change-Id: I146e6cbb39b2fdc36cec3e2df1b883f578f0200a
2015-04-29 19:09:34 +00:00
Sho SHIMIZU
15c38006e4 Remove "public" from TrafficSelector definition to follow our convention
Change-Id: Ie6146c66bf1585970ef884bc6615d030510d5a87
2015-04-29 15:54:31 +00:00
Madan Jampani
ed1b7fc3e6 Moving to the latest stable copycat SNAPSHOT version.
Change-Id: Ibc0f2a4f0e09d887f96cd83bc67d29072b9764d2
2015-04-29 05:15:28 +00:00
Sho SHIMIZU
fbc80e5348 Pull out inner-classes from Criteria to be independent classes
Make constructors of sub-types of Criterion package private for
limiting instantiation only from static factory methods in Criteria

Change-Id: I1fb1e9d003288a778a49e758549a92b66bf3cfdf
2015-04-29 00:44:59 +00:00
sangho
864a9db291 Pushes the flow rules also when devices are available (with DEVICE_AVAILABLLITY_CHANGED event).
Change-Id: Ia92df8c5da5828a9db2492e93a42bfd9a5136d25
2015-04-28 23:25:21 +00:00
Brian O'Connor
f0c5a052a5 Initial implementation of CORRUPT state (ONOS-1060)
- Added CORRUPT state to state machine and event type
- Simplified phases using new request field
- Improved null-safety by using Optionals

Change-Id: I1d576b719765b5664aef73477ee04593e8acc4fd
2015-04-28 20:17:42 +00:00
Sho SHIMIZU
0c3c076b52 Inherit resources from a high level intent when creating a FlowRuleIntent
Make constructor without resources argument deprecated

Change-Id: I400cedfb2ec5f8ec3217e4729d95b075ceb0b025
2015-04-28 19:55:52 +00:00
Thomas Vachuska
5d4a58dafa Adding a proper clean-up step for unit test file system artifacts.
Change-Id: Ia602b2359f290c4327611dc092bbcdaf28c144a2
2015-04-28 11:40:05 -07:00
Marc De Leenheer
de47caab1f Configurable extraneous flow rules
Change-Id: I216605743d5a8814a366a030290614d840657444
2015-04-28 17:59:01 +00:00
Sho SHIMIZU
d91c4b02cb Correct indent
2 spaces and 4 spaces were mixed up, then changes to 4 spaces.

Change-Id: I4e41189a97604a75e783d3b948d2693c257a21f4
2015-04-28 17:54:46 +00:00
Sho SHIMIZU
2de9449f07 Inherit network resource information from a high level intent
This patch fixes ONOS-1677

Change-Id: I37d8742eb1a03b56d1e47d30d9342546ab42d23b
2015-04-28 17:49:38 +00:00
Charles M.C. Chan
2184de1e7f ONOS-1756: Improve CLI auto completers
- Add more ICMP types and codes
- Add completer for --icmp6Type
- Add completer for --icmp6Code
- Add completer for --extHdr
    It is a multiValued option.
    For example, the following command will match an IPv6 packet with both fragment and routing extension header:
    add-point-intent --ethType IPV6 --extHdr FRAG --extHdr ROUTING
    NOTE: OVS 2.3.1 does not support OFPXMC_OFB_IPV6_EXTHDR match field yet.
- Change parameter of TrafficSelector.matchIPv6ExthdrFlags() from int to short since that field is 9 bits only

Change-Id: I55944399f3985f2cc09330a726f21983de273341
2015-04-28 17:47:22 +00:00
Ray Milkey
a05fd20b79 Unit tests for some uncovered Intent types
Change-Id: I9ddd0a4f8d12222b6f5c6bc2d127d6082bc0649d
2015-04-27 22:45:38 +00:00
Ayaka Koshibe
0d886fcaf6 Fixes/improvements:
- Leaders command uses candidateBoard keys when using -c (list candidates)
   option.
 - Bug fix for lock retry

Change-Id: I42730a85b720fc5023b9b07bef153d975c95d4df
2015-04-27 19:39:55 +00:00
Simon Hunt
20e1679390 ONOS-1477 - GUI -- Added glyphs to nav menu.
Change-Id: Ifacd5d389bdc2bb5adc61182b8329de9e2557af2
2015-04-24 14:29:39 -07:00
Simon Hunt
38c2b6a2b0 ONOS-1478 - GUI -- Segment navigation menu into categories.
Change-Id: I54bddcada1541ebf2926a6536e4c14bb8a1d3a66
2015-04-24 13:02:14 -07:00
Saurav Das
bd7f742d85 Adding Device Listiner to BgpRouter so that filtering rules are sent to the
driver only after the device is available.

Change-Id: I377402b87cee6c02c087efbcc4f0cff4f19e1ca3
2015-04-24 01:59:11 +00:00
Thomas Vachuska
62f04a47f6 ONOS-1731 Fixed app gossip store & manager to deal with staggered app load on startup.
Change-Id: Ie88f5659646c11b906a63204f97083b6deb64adb
2015-04-24 01:09:13 +00:00
Thomas Vachuska
8b91f4f82b GUI -- Added category to the UiView abstraction.
Change-Id: I55fff4d242e8d6b8d8ce3d25e8f9355dc0ef976a
2015-04-23 17:55:36 -07:00
Simon Hunt
1002cd8e9a GUI -- Added UiViewHidden subclass of UiView to allow for views that do not have an entry in the navigation panel.
- Added placeholder "flow" view.

Change-Id: I3a969d16baf608b132c10cfc7f154d0ce51c765e
2015-04-23 21:54:50 +00:00
Saurav Das
3d03826578 Fixes bug where driver gets initialized only when device is available.
More explict handling of versatile forwarding flows in corsa driver.
Moving TunnelConnectivityManager to use flowObjectives instead of flowRules.

Change-Id: If43023f30a6e7a028dfdefbe1ffbcc710a1c7be3
2015-04-23 21:50:42 +00:00
Jonathan Hart
f11412694c DistibutedClusterStore: use notifyDelegate to prevent NPE
Change-Id: I56b981355b02face3a5bb09d2ca2e2bd29f7c715
2015-04-23 11:27:07 -07:00