3538 Commits

Author SHA1 Message Date
Yuta HIGUCHI
151cad848a Use TestHazelcastFactory
- Modified Hazelcast related tests to use TestHazelcastFactory.
  Hazelcast instances generated by it uses mocked network, which might resolve timing issue (ONOS-368).

  See: https://github.com/hazelcast/hazelcast/blob/master/hazelcast/src/test/java/com/hazelcast/test/TestHazelcastInstanceFactory.java

Change-Id: I18f1c2d855eebf679a4be97a53cea2c808acfd04
2015-02-05 18:12:38 +00:00
Kunihiro Ishiguro
f1bff5075a WIP: proxy NDP for IPv6.
ONOS-924

Need to implement test cases.

Change-Id: I86b0cb8c3c8d75f7276778e04c1a7166c9bb2f59
2015-02-05 08:58:39 +00:00
Yuta HIGUCHI
293ede0bcf Workaround for ambiguous isA method
- Eclipse complains isA() is ambiguous.
  'isA' method does exist in both EasyMock and hamcrest Matcher.

Change-Id: I6b98dbe1b4f1f0ce4fcbc2dcaded9b666fc19b33
2015-02-05 00:08:41 -08:00
Pavlin Radoslavov
d0fd841978 Implement some of the missing Selector and Match Conditions
Work toward ONOS-509

The following match conditions are added/implemented:
  - IN_PHY_PORT
  - IP_DSCP
  - IP_ECN
  - METADATA

Change-Id: I6f529ee90b2b9e0d5046f83c034e8be3faf86d8b
2015-02-05 05:44:00 +00:00
Thomas Vachuska
ebf5e54d44 ONOS-542 Added ability for app bundle to carry it's own artifacts, including feature repo. Fixed onos-package script. Added JSON output to CLI.
Change-Id: If4f2c774d3fc2d68c0a8e91b3084b99d7c75d927
2015-02-05 05:22:53 +00:00
Sho SHIMIZU
301dc8ed29 Mask files under core/store/trivial/data/ from git
Resolve ONOS-913

The directory is added to .gitignore

Change-Id: If70e4f96961bc49df6ef70f1dc5aa0d13c1fadfa
2015-02-05 05:11:23 +00:00
Yuta HIGUCHI
088e268b43 Fix fall back default version
Change-Id: Ic6cf20e71323e75b5a0359c99bc6206030f96a0d
2015-02-05 05:10:05 +00:00
sangho
5afd02ad09 ONOS-894 : Implemented GroupProvider
Change-Id: I2755abd433921a420ad545fcf6fef61e90a8b89f
2015-02-05 05:02:48 +00:00
sangho
8995ac580d ONOS-958: Add a Group action to TrafficTreatment subsystem.
Change-Id: I2a377508b9721ee96a5a52b0bb2ed3a960c982ce
2015-02-05 05:00:56 +00:00
Ray Milkey
540b2ce182 Make JSON codecs immutable
The contract for JSON codecs requires that they have no
local context.  Make them all immutable, and test that they
stay immutable.

Change-Id: Ia3930b844ede231940da05699f5f08605f946e0c
2015-02-05 04:59:22 +00:00
Pavlin Radoslavov
203189901e Renamed private method to avoid naming confusion
DefaultOpenFlowPacketContext.inport() -> pktinInPort()

There is a public method DefaultOpenFlowPacketContext.inPort()
and having another method called inport() is confusing.

Change-Id: I6b703eb640edab24fb0112bd2019395eeb3d8421
2015-02-05 04:54:51 +00:00
Simon Hunt
24077f15ff GUI -- Refactored (condensed) the Topo Event Service.
Change-Id: I58ecac5ed6fe91ae81a44097c3a48d564ccac4bb
2015-02-04 17:58:21 -08:00
Simon Hunt
1894d798d3 GUI -- Added handling of hosts and links. (Still WIP).
Change-Id: I0ad3b16d47b264b6812f732f220230a2ae92de02
2015-02-04 17:09:33 -08:00
Pavlin Radoslavov
f8a0f6c2e4 Fix for bug ONOS-959: BgpSessionManagerTest unit test failure
Previously, when checking the winning BGP routes, we expect-and-wait until
the size of the table with the winning routes has certain size, and
then we verify whether it contains a particular value.

This is error-prone and time-sensitive. For example, if we are testing
whether a particular route from one BGP peer is replaced with the
same route from another BGP peer, the test might fail because the
table size doesn't change.

Modified the unit test to expect-and-wait until the expected route
is received.

Also, fixed some of the paragraph tags in some of the Javadocs.

Change-Id: Ia96dc7c412e78bbc9279dd935dec6919096adeb3
2015-02-04 16:03:51 -08:00
Yuta HIGUCHI
f61665d730 Update jacoco version to 0.7.2
- It seems to have Java 8 related fixes:
  http://www.eclemma.org/jacoco/trunk/doc/changes.html

Change-Id: I5093ff1337fb074b4a6865c14887cb98c370ff1e
2015-02-04 12:31:14 -08:00
Yuta HIGUCHI
1cb9a52fb4 Fix for pom related error
Fix for following error:
[ERROR] Project requires an incorrect minimum version of Maven.
[ERROR] Either change plugin versions to those compatible with 3.0.0
[ERROR] or update the pom.xml to contain
[ERROR]     <prerequisites>
[ERROR]       <maven>3.0.1</maven>
[ERROR]     </prerequisites>

Change-Id: I0ba1530a97ab37ccfa1655e74ebbc11ebcf2a18f
2015-02-04 20:23:04 +00:00
Yuta HIGUCHI
ee839a6665 Remove duplicate dependency
- commons-configuration

Change-Id: I774180d2525497a52c2e730aebf2d5eb5fcf09f8
2015-02-04 19:58:31 +00:00
Ray Milkey
51365f3751 Fix Javadoc warning about IOException throws
Change-Id: I65d7b37da0a30a1f56640eec65a43f12e723f8f2
2015-02-04 11:24:22 -08:00
Jonathan Hart
ecaa8a8f29 Increase delay for time-based test which is failing a lot.
ONOS-867

Change-Id: I4e93f72ca6a07dba83bffc76f3cf2c09fa909c1f
2015-02-04 18:19:32 +00:00
Jonathan Hart
4f397e80d8 Explicitly disallow null values in the map
Change-Id: I3b8d287a534e85d9454ca261a8eb666c477c43c1
2015-02-04 09:10:41 -08:00
Jonathan Hart
9e817ec6dc Enable GossipIntentStore by default
Change-Id: I31e7fc590436b6d784b896b90776bc1fe348f7a5
2015-02-04 08:52:00 -08:00
sangho
87af81190e Added SpringOpenTTP switch driver (ONOS-822/ONOS-682).
Modified OpenFlpwRuleProvider to support FlowRule with multiple-table feature.

Change-Id: If95284077b96213593c5c1e3ab12900001bf49a2
2015-02-04 05:53:53 +00:00
Simon Hunt
51056590c1 GUI -- Refactoring updateNodes() to make the code more readable.
Change-Id: Ib375b5573a4670a67dd94a6532caf078be33beb0
2015-02-03 21:48:07 -08:00
Simon Hunt
78c10bf559 GUI -- Minor fixes to themed coloring of device icons.
Change-Id: I4084b7c640f70d43a57953749f11a78530620c17
2015-02-03 21:18:20 -08:00
Simon Hunt
5064c2223e GUI -- fixed broken unit tests.
Change-Id: I6563d9965d1d4fd47b0302b090f09431eb25a49a
2015-02-03 20:49:10 -08:00
Simon Hunt
ac4c6f732a GUI -- Migrating the add/update device functionality to the Topology View. (WIP)
- still a lot of work to do.

Change-Id: I0453b7e2ec20a8a8149fd9d6440a13a3d43fbfd6
2015-02-04 04:33:50 +00:00
Jonathan Hart
f910823cae Pulled internal event classes out of EventuallyConsistentMap class
for clarity.

Also switched to using Pair instead of my own Entry class for returning
entrySet().

Change-Id: I78d84f9fe931257d4ffe1d48c9d0de25f18c638f
2015-02-04 04:22:03 +00:00
Jonathan Hart
584d2f3c54 Unit tests for EventuallyConsistentMapImpl.
Most functionality is tested here, except for the anti-entropy code.

ONOS-859.

Change-Id: Ib9e83518f8a91d599364106bc0f7d869e62f5133
2015-02-03 19:34:54 -08:00
Bri Prebilic Cole
dee466269f GUI -- Icon service work:
- Changed color of check and xmark icons for dark and light themes.
- Only appends glyphs that don't have a "-" as the name.
- Wrote unit tests for new icons.

Change-Id: Ia21fa33673e3adcfd8717f899d226b0d24dfcc51
2015-02-04 01:08:00 +00:00
Srikanth Vavilapalli
45c27c8c62 ONOS-895: Group manager implementation
Change-Id: Ie183f722fa39012f8de056961715c325e2388e63
2015-02-04 01:01:07 +00:00
Srikanth Vavilapalli
0599d51603 ONOS-885: Group store interface definition and in-memory store implementation
Change-Id: I1125fbc23f1e58bcb8aaf5f67c02da610fa7ef25

ONOS-885: Group store interface definition and in-memory store implementation

Change-Id: Id3794bed63785e10ed86c0b5d90bf875d127224c
2015-02-04 01:00:00 +00:00
Ayaka Koshibe
8eddc0d5cf NullLinkProviders join network islands deterministically.
- Added configuration parameters for order of instances.
  - got rid of 'flicker' flag since it's redundant.

Reference: ONOS-890

Change-Id: I0217e17f2a55d85e0a1fc8f2b3ea8cb54cb87517
2015-02-03 23:47:31 +00:00
Ray Milkey
cb33a1350f ONOS-258 - provide feedback in CLI when creating an intent.
Change-Id: Ic8aceccb7cfa241648358e633b49a8ab4cc68537
2015-02-03 23:47:03 +00:00
Ray Milkey
f195b02624 Unit tests for applications REST APIs
Change-Id: I4e8360ca9b0ca9eafe1b226b648acfe2b0676caa
2015-02-03 23:30:29 +00:00
Sho SHIMIZU
3c01833353 Remove unnecessary Object declaration in type parameter
Change-Id: I466a2d43e9f9d3effd3860761a97855110b71781
2015-02-03 23:25:11 +00:00
Simon Hunt
7c8ab8ddae GUI -- Added "No Devices Connected" layer; (themed too).
Change-Id: I80e3cc20c426c9c9781ad73a891e0f2fe93594b9
2015-02-03 15:05:21 -08:00
Ray Milkey
19ffea35f8 ONOS-790 - REST APIs for paths
Change-Id: I5e08778e75c98c1156df7972af9897b52677d371
2015-02-03 21:10:39 +00:00
Bri Prebilic Cole
1dc32e64cd GUI -- Created new icon badges of up and down arrows for tables, and edited tests to account for new glyphs.
Change-Id: I609f45ad434b8a3f92ce605ba1a9056f9584b11f
2015-02-03 09:44:39 -08:00
Thomas Vachuska
0cd4de8425 Fixed a few javadoc warnings.
Change-Id: I554712727fdf0b68ea461bd8ab909022037da1cd
2015-02-03 09:17:08 -08:00
Pavlin Radoslavov
320e6c97f8 Implement some of the missing Selector and Match Conditions
Work toward ONOS-509

The following match conditions are added/implemented:
 - UDP_SRC, UDP_DST
 - SCTP_SRC, SCTP_DST
 - ICMPV4_TYPE, ICMPV4_CODE
 - IPV6_FLABEL
 - IPV6_ND_TARGET
 - IPV6_ND_SLL
 - IPV6_ND_TLL

Also:
 * Renamed method
     TrafficSelector.Builder.matchInport(PortNumber port)
   to
     TrafficSelector.Builder.matchInPort(PortNumber port)
   (for consistency with the corresponding method(s) elsewhere)
 * Reordered the code for some of the existing matching conditions
   to follow the order in the OpenFlow spec, so it is easier to
   cross-reference such code.
 * Added missing Javadoc
 * Added few more Criterion.Type values as per OpenFlow spec 1.5.0

Change-Id: I7fc1656f32d8a7280c67d7827e4aa84528b0eafc
2015-02-03 14:40:08 +00:00
Simon Hunt
45c9fe5402 GUI -- Updated 'simple' scenario, and minor enhancement to mock server.
Change-Id: I08b015ad81d5b356d63edaa779418a5445d24edf
2015-02-02 19:06:29 -08:00
Simon Hunt
27e153aeac GUI -- Fixed broken unit test, and amended case of color specs.
Change-Id: I0bd0fcc0139d264a56f8035a0a823a6aafb57ea5
2015-02-02 18:45:44 -08:00
Simon Hunt
a57d6815fe GUI -- Instance Colors tuned for dark theme.
Change-Id: I173fcf8c8683dbef148d0506e8a9436dc518e0b9
2015-02-02 18:34:04 -08:00
Bri Prebilic Cole
e4d5c6c6fd GUI -- Tables with the "onos-fixed-header" directive automatically resize to fit the window (as well as having a fixed header row with scrolling body).
Change-Id: I230a9577f9a83ab9342414054e64afa181f4f1e9
2015-02-03 01:00:46 +00:00
Sho SHIMIZU
aba9d009c9 Apply the naming convention to BatchOperationEntry
Resolve ONOS-889

Change-Id: I2001fabba138b9ff5be9a5943d3f020b4c38d195
2015-02-03 00:35:23 +00:00
Thomas Vachuska
0fb1c60fdf Replacing literal version with a symbolic one in features.xml
Change-Id: Ic06cfc7f49a1c4b6df57f90594e781843e3ac9d1
2015-02-02 23:24:28 +00:00
Yuta HIGUCHI
c7aa50719b typo fix
Change-Id: I2dbb24bcb20eca1049fc7520248a33477d460a64
2015-02-02 15:01:11 -08:00
Simon Hunt
b72b1191e7 GUI -- ThemeService: Unit tests for add/remove listeners.
Change-Id: I427398fa02c9d4b7c7dd892872a02e6faecf9121
2015-02-02 14:42:16 -08:00
Thomas Vachuska
90b453f11c ONOS-785 Adding distributed store for apps & app admin CLIs
Change-Id: Ia7639f3258fca2a18ba513f0c95de0ab8ea7ceee
2015-02-02 22:23:35 +00:00
Sho SHIMIZU
b269a4302f Delete line that is commented out
Change-Id: I89625bcc7944c9c341725049a56b2134298f8f02
2015-02-02 22:19:41 +00:00