1812 Commits

Author SHA1 Message Date
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
Sho SHIMIZU
f1fa96ccb5 Implement toString in OpticalConnectivityIntent
Change-Id: I0035c8cdd9f909af24a47b0db04d306c33aa8c44
2015-04-23 17:17:37 +09:00
Ayaka Koshibe
4a3c239665 some fixes to check for stale locks and active members
Change-Id: Ia3fc4ab8406dadcecc5d718e905a951f77a807cf
2015-04-23 06:52:59 +00:00
Thomas Vachuska
ca540c39d4 Fixing javadocs.
Change-Id: Idd845ac2cb2ac2739735c384bd8f096fb975210c
2015-04-22 21:24:19 -07:00
jcc
3d4e14a72b FlowRule private extension refactor.
1.merge private flow into regular flowrule subsystem.no mirror code any
more.no change flowrule api.
2.define a rich-data-type to carry private flow.
3.modify OpenFlowRuleProvider.class to support for 3rd party private
flow.i don't know whether is suitable.because this class name is
relative with open flow protocal.
4.fix some junit test bug caused by modification of FlowRule interface.

Change-Id: I6c54d1e97f231a75bd1b416f0893e0379613d7ce
2015-04-23 04:11:34 +00:00
Jonathan Hart
17d0045c99 Upgrade packet requests to use flow objectives API.
Addressed a few issues found while using the flow objectives across a cluster:
 * Flow objectives should be installable from any node, not just the master.
   Therefore we need to ensure all nodes initialize a driver for each switch.
 * We no longer store a list of objectives that are waiting for the switch
   to arrive. If the we don't know about the switch yet we'll try a few times
   over a few seconds to find it, but after that we'll give up and report an
   error to the client.
 * Default drivers need to be available when the FlowObjectiveManager starts
   up, otherwise it is common to get flow objective requests before any
   drivers have been loaded.

Change-Id: I1c2ea6a223232402c31e8139729e4b6251ab8b0f
2015-04-23 00:16:29 +00:00
Saurav Das
3ea46622c8 Removing dependency on lower level drivers for the BGPRouter application.
Also a couple of bug fixes

Change-Id: I8f2ec58ed3403ae03cf7c068dabb30ae4272ff85
2015-04-22 14:08:43 -07:00
Thomas Vachuska
6cba495a6f ONOS-1736 - Modified PacketManager to register packet request flows using the core app id, instead of the requesting app id. This is to prevent packet request flows from vanishing when app removes all its flows. This is a provisional fix until packet requests allow removal via reference counting or a similar tracking strategy.
Change-Id: Ib0e53ae8c6b5ae030a9c17a34407a5897027127b
2015-04-22 12:38:22 -07:00
Thomas Vachuska
db320abb9b ONOS-1736 - Moved log.warn for property reset to be emitted only when the property itself is not known; it will not be emitted when the component is not known.
Change-Id: Ib0ae105336c2fb2bcddfcf2c8a69ff6a2c501a59
2015-04-22 09:03:33 -07:00
alshabib
d17abc2e93 Refactored driver to use new FlowRule api.
Deprecated transition with table types and added api for transition with table ids.

Change-Id: Ifcf2d87d16810666d992e4d9f5ddca3d0da460be
2015-04-21 18:27:28 -07:00
Thomas Vachuska
b52a014a46 GUI -- Added ability to display port names in the devices view detail.
Change-Id: Iffaf3b46099f868b7245fe0c7819d13e5bff76d3
2015-04-22 00:56:43 +00:00
Ayaka Koshibe
93451b4ddb Do not remove the topic from the CandidateMap even when the list of candidates
is empty. This makes the implementation and logic simpler and more consistent.

Change-Id: Ib55c5b9a020e147784cdf6156da2c47e70a3a6c2
2015-04-22 00:19:00 +00:00
alshabib
f6ea9e624b Implemented a globally unique next id generator in FlowObjectStore
Change-Id: Ib98b2996e1ebcca56ad816ea94f25d838c5f4d44
2015-04-21 17:08:26 -07:00
alshabib
08d9898714 FlowRule api no longer uses TableTypes. Existing usages are converted to
integer representations via Type.ordinal() call

Change-Id: Ie2a26c5ced166e12f0e1ea22e39cd5195455a1ad
2015-04-21 23:52:19 +00:00
wei wei
a668122db1 Java-doc improvement
Change-Id: I9737cd0e636d94a829c8c79440654c8fe1b55e36
2015-04-21 23:27:38 +00:00
Thomas Vachuska
daaa42d455 Fixed device subsystem behaviour where auxiliary provider prevented emitting device availability change events.
Change-Id: Iaed6359598ff87d5706e10eb9d905ed0883617d9
2015-04-21 23:25:06 +00:00
Sho SHIMIZU
1b46a97482 Inherits the constraints of the higher level intent
Fix ONOS-1247

Change-Id: I8a110bd3cee296f726a63fd1034b5a8f7dc7f0b3
2015-04-21 17:12:45 +00:00
wei wei
89ddc320e9 Generic Tunnel Subsystem (ONOS-1276) and L1/L0 (OTN/ROADM)extensions (ONOS-676):
1)Initial Work for ONOS-676: OTN/ROADM (L1/L0 NE) support in ONOS by extending the device/port modeling;
  - extending device type to include L1 OTN NEs;
  - extending port type to include ODUCLT port(T-port), OCH-port(L-port), OMS-port (WDM-port);
  - more standard annotations related to OTN/ROADMs support will come from PCEP provider as well as TL1 providers;
2)Intial Work for ONOS-1276: generic Tunnel subsystem in ONOS for both packet (L3/L2) networks and optical (L1/L0) networks
  - supporting PCEP framework, which is capable of interacting with the PCEP provider;
  - supporting any other kind of tunnel provider;
  - each Tunnel is associated with at least two Labels (abstracted logical entity/Id for virtualization of physical port);
  - same type of Tunnels can be formed as a reachablity graph for other services and NB applications use;

Change-Id: I29af495f90e179e2c5d8753b76e02889a3b4355b
2015-04-21 17:11:34 +00:00
Thomas Vachuska
ce9808a43a Javadoc clean-up and apps -s command clean-up.
Change-Id: I6a4859fd05edb17a02333e4d68496d54589b586b
2015-04-21 09:33:26 -07:00
Thomas Vachuska
19f1229a34 ONOS-1647 Removed persistency option for packet requests store.
Change-Id: I762673b1a10aefe1cb5e50fd0c3a05479a1a65c6
2015-04-21 16:00:11 +00:00
alshabib
db7740788c Introduced a builder for flowrules and deprecated the old flowrule constructors.
Change-Id: I4bf6e102c67c2effd0d8b65538fcf3a8a1db69e1
2015-04-21 15:00:49 +00:00
Madan Jampani
0d03d60dfa ONOS-1673: Fail fast when DatabaseManager does not start up cleanly
Change-Id: I9fcc1c85bb4169681b20df08d69ac8fdcc9d5ddc
2015-04-21 03:50:11 +00:00