3538 Commits

Author SHA1 Message Date
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
Brian O'Connor
11ff870f7a Fixing add intent commands.
Use empty treatment if there are not explicit modifications.

Change-Id: I9062c592859adcaf3c9bb17f81de83f2778005de
2015-04-29 19:37:19 -07:00
Thomas Vachuska
889648c910 Added an adapter.
Change-Id: Iac04d196099e72ddbb1d5b29ecb6bc0f1e0f5c18
2015-04-30 00:17:44 +00:00
Bri Prebilic Cole
2efc715cc1 ONOS-1722 - GUI -- QuickHelp unit tests written, minor other user input precautions added.
Change-Id: Ifeec1a014bc0dd72026295f2331c8fe5416330fd
2015-04-29 15:47:23 -07: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
Charles M.C. Chan
41aff9fb4a Pass the selector/treatment set by CLI to the HostToHostIntent
NOTE:
During PathIntent compilation, the ethSrc and ethDst in the selector will be overridden by the MAC of the end-points.
Also, an output action will be appended to the treatment.

Change-Id: Ie2e621b91203a49237e7466b919abedceb3e697d
2015-04-30 00:41:04 +08:00
Sho SHIMIZU
15c38006e4 Remove "public" from TrafficSelector definition to follow our convention
Change-Id: Ie6146c66bf1585970ef884bc6615d030510d5a87
2015-04-29 15:54:31 +00:00
Charles M.C. Chan
2d89eca55b Add auto-completer for add-host-intent command (ONOS-1756)
Change-Id: I6a3c34ef8c9829b2361d6ea96e94b9d7cc830db8
2015-04-29 21:32:17 +08: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
Bri Prebilic Cole
ef09190ab2 ONOS-1724 - GUI -- svgUnit tests written. WIP topoToolbar unit tests written. Firing key presses programmatically investigated.
Change-Id: Ifff05859ebfebcee513d7fa8c42b52dc62f48f97
2015-04-29 00:22:00 +00:00
sangho
f22fb40d9b Pushes flow rules to the control switch when the switch is connected and available.
Change-Id: I7cc03a44e21b9dd67d40139ceea7a9b44201d7a8
2015-04-28 23:59:45 +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
Thomas Vachuska
96a303c9ae Fixing a defect in onos-install, which polluted the ~/.m2/repository.
Change-Id: I4fe928831404411292f6879f059aae49b7bcfcf9
2015-04-28 16:04:50 -07:00
Thomas Vachuska
2bb4863214 Fixed a defect in topology view handler where listeners were being removed prematurely.
Change-Id: I48e2a719be726e557ecf57759799ae63e4ac122f
2015-04-28 14:40:42 -07:00
Thomas Vachuska
9b171c5d97 Fixing onos-setup-karaf to always generate tablets.json and cluster.json config files without having to specify 'clean' option.
Change-Id: I23b4d86fb5bdfd5e93a0d7fa8e18de8ecdbc2bee
2015-04-28 21:39:36 +00:00
Sho SHIMIZU
b35ed36918 Avoid unnecessary empty list instantiation
Change-Id: I128485be4e0d7d3400741855e4519f441cfb34c5
2015-04-28 20:17:51 +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
Thomas Vachuska
3b84c86b7e Providing a work-around for a bug in the gossip stores, which prevents annotations from sticking initially.
Change-Id: I791a0bb3747865604f4d7edba5978a49312ebf7b
2015-04-28 19:56:09 +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
d1f17ac953 Fixing onos-build-selective to warp into the $ONOS_ROOT directory as a first thing.
Change-Id: Ic953978f1b6add6909bde2fef2fddd8471f97bf3
2015-04-28 19:46:48 +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
Jonathan Hart
9de692c2f7 LLDPLinkProvider: don't bother logging for PORT_STATS_UPDATED events
Change-Id: I76de409d03ffed45f2e4de7c9fadb383d1764614
2015-04-28 17:58:10 +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
ea56028efd Implement a class representing frequency
This resolves ONOS-1769

Change-Id: Ia4d0da59aec79bafdf7686dfad1f1952f94cefc7
2015-04-28 17:50:44 +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
Bri Prebilic Cole
6ed04eb27f ONOS-1721 - GUI -- Websocket Service unit tests written, topo nav glyph added, other minor improvements.
Change-Id: I8199024e884d8538cd7c7d891d4fb4c81541150d
2015-04-28 17:48:52 +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
Brian O'Connor
9d7ef16825 Adding */docs/* to onos-build-selective.exclude
fixes ONOS-1779

Change-Id: I8dbb8d05fa5d529a9fc4dedf806968e1ae1256d5
2015-04-27 17:02:11 -07:00
Ray Milkey
a05fd20b79 Unit tests for some uncovered Intent types
Change-Id: I9ddd0a4f8d12222b6f5c6bc2d127d6082bc0649d
2015-04-27 22:45:38 +00:00
Thomas Vachuska
3ad8d4b181 Moving he version of archetypes to 1.4-SNAPSHOT in preparation for release with the onos-maven-plugin.
Change-Id: I129d3c08c48c58b10afcb6d1c62b7ed09b23a966
2015-04-27 15:41:50 -07:00
sangho
666cd6dfc3 ONOS-1521 : Supports Leaf-Spine topology (tested with 4 x 4 )
- Supports ECMPNotSupportedInTransitRouter option
- Adds Leaf-Spine config file
- Removes the temporary NetworkConfigHanlder class
- Removes the grouphandler dependency
- Removes the grouphandler app
Change-Id: I8c70e81bfb4062e251b25c0fa23ef2c92419a75c
2015-04-27 19:53:42 +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
sangho
20eff1dfb5 ONOS-1438: Improved the routing rule population process for link add and failure; computes the routes changed from the link changes and populates the rules only for the routes.
Change-Id: Id4dbd80da37b333f2c19bc97333472dc8031481b
2015-04-27 18:27:15 +00:00
Thomas Vachuska
6b3312694d Moved jdvue utility from ONOS-tools repo into onos repo.
Change-Id: I0bc1cef80541075c800c5309cb642a244a79fa0b
2015-04-27 11:12:32 -07:00
Charles M.C. Chan
7b8a921763 Bugfix: matching IP address without ethType will result in OFPT_ERROR_MSG (type=OFPET_BAD_MATCH, code=OFPBMC_BAD_PREREQ)
Change-Id: I4edc82cdc920b7c92048119c61b70bbce704cbf6
2015-04-26 21:44:32 +00:00
Charles M.C. Chan
9148d2d15d Bugfix for gerrit #3377
NDP packets, especially NS/NA packets, are not resolved correctly in my previous commit #3377.
As a result, the IPv6 addresses of normal hosts are not recorded by HostLocationProvider.

Change-Id: Id44485902d9b593c2a8aa376e405f548774203d2
2015-04-26 21:43:54 +00:00
Thomas Vachuska
0f6d0b81cf Adding IDEA settings for import.
Change-Id: I9a8f2f28f694898eada9a5dec55941f96d436bfc
2015-04-26 21:43:22 +00:00
Charles M.C. Chan
956cb69f5e ONOS-1414: Fix phantom hosts
- Refactor HostLocationProvider
- Ignore multicast packets other than NDP

Change-Id: I6b66becbc30a6a7e83f1da53fb46cf9c073fc86c
2015-04-27 03:07:52 +08:00
Bri Prebilic Cole
cdc188d147 ONOS-1281, ONOS-1747 - GUI -- Flows table created; version updated.
Change-Id: I06477793d6a1943ed90825f5103c8f6f4e962b70
2015-04-24 16:40:23 -07:00
Jon Hall
6b687cda89 Test application for counters and sets
Application to expose some of the distributed primitives to the cli for
system tests.

Change-Id: I275c8fb6790135c6150658ca3bb5ce356ea735a7
2015-04-24 22:29:17 +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
andrew@onlab.us
88d228291a Ignore PORT_STATS_UPDATED from topology metrics
Change-Id: I40d796c668700fdb0bf220eb02f2001deb77a4c2
2015-04-24 16:22:36 +00: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