11722 Commits

Author SHA1 Message Date
Carmelo Cascone
65cd9e3e17 Bumped version of p4c in p4 tools script
Needed to fix bug seen when compiling spgw.p4

Change-Id: I2f6d06bdd7755e0819c8f1dc91d3746f922089cb
2018-01-09 21:12:42 +00:00
Thomas Vachuska
d5d506a776 Cleaned-up the net-smoke scenario to tolerate failures of independent steps.
Change-Id: I4a60b2d6da7a0af1b22817e5937d4f58383d0388
2018-01-09 10:00:15 -08:00
ONOS Jenkins User
45d340c839 Starting snapshot 1.13.0-SNAPSHOT 2018-01-09 01:56:13 +00:00
ONOS Jenkins User
32ebb5add8 Tagging 1.13.0-b8 1.13.0-b8 2018-01-09 01:54:28 +00:00
Thomas Vachuska
d75684aa58 Setting dispatcher to null to pre-empt potential for duplicate
invocations of showdownNow method.

Change-Id: I492e18a38979fa8772039b0e0bac32d6146a2041
2018-01-09 00:54:40 +00:00
Thomas Vachuska
71026b2d0a Swapping the default flow rule store to be the ECM-based implementation.
Change-Id: I6dd706ea1bc9135f79dccc9e2d587f82153c62c0
2018-01-09 00:51:07 +00:00
daniel park
6ed460a0c2 Fix to deal with exception cases in case of OpenstackNetworkEvent.
Change-Id: I3a1d3c5a6f8ac5822d6f0eb62d5164ecea3c51a3
2018-01-08 06:31:18 +00:00
Charles Chan
f7ce50997d Fix typo
Change-Id: I9587cf5f33be542a2bf147d686ad8a8b913a4991
2018-01-06 17:57:27 -08:00
Andreas Pantelopoulos
20474e05bd Pseudowire support for leaf-spine
- Added pw support for pseudowires containing leaf and spine switches as endpoints.
- Inject empty pw config if it is not found for the first time
- Minor refactoring such as more log messages and fixing missing javadoc

Change-Id: Ib57d39cfa36fcd48c01b5781c7445a3f1ffcfbda
2018-01-07 01:56:03 +00:00
Carmelo Cascone
47a853baad ONOS-6680 Clean up implementation of gRPC controller
Change-Id: If84172d0a2dd64090557542af8ae12920260229f
2018-01-05 23:14:37 +00:00
Laszlo Papp
c893b27a2c Do not send group stats request if unsupported
Change-Id: I1f0665dd9badfc5d29cea49c3fca48688ca77bc0
2018-01-05 23:13:44 +00:00
Pier Luigi
256d92ba2c [ONOS-7208] Improves policer with rate type
Change-Id: Idf20fce19bfc071193f55609d3bb7297d2dee479
2018-01-05 23:13:23 +00:00
Pier Luigi
bdcd967260 Implements policer-meter-mapping [ONOS-5867]
Changes
- Adds Policer config behavior and its implementation
- Implements id mapping
- Adds tests for OpenFlowPolicerConfig
- Adds free id api to MeterService and MeterStore
- Improves test for MeterStore

Change-Id: Ibb47375430e253131d9d9c8a60e61023ee6c8225
2018-01-05 23:12:28 +00:00
Ray Milkey
41b5302f93 Sonar suggestions - file name and constants
- moved class files into a directory that complies with Java naming conventions
- extracted a duplicated string literal into a constant

Change-Id: I3d0b1378746ee1c7a3d4e541e9d09943886de312
2018-01-05 23:06:19 +00:00
Yuta HIGUCHI
74f9816e6c use maven to resolve offline karaf
Change-Id: I675f991599017f529252633578c26eaa0216689b
2018-01-05 13:11:48 -08:00
Ray Milkey
0be0f863e3 Update buck version
Change-Id: Ica021b3d48830e3072c4a8084bb2a2f2aaf92937
2018-01-05 11:47:05 -08:00
Ray Milkey
6c0c4ed3bd Move Felix SCR bnd back to version 1.4.1
- this change was causing the ONOS OSGI buck plugin to generate bad jar files

Change-Id: I0ebe6c58b79ca7bfef5136996ac9ed5c26a6f7e9
2018-01-05 10:43:32 -08:00
Ray Milkey
1e99eb44e7 Make sure buck is up to date first
Change-Id: Ia9427a8d62b676658dd0ab44e51e767334d21363
2018-01-05 10:34:32 -08:00
Charles Chan
50443e8717 Ignore irrelevant events in SegmentRoutingManager and DhcpRelayManager
Change-Id: If2ec29d6eea07a187e42bd2fda32de17245a7520
2018-01-04 18:36:14 +00:00
Keesjan Karsten
8539f088f2 Mininet gRPC switch startup reachability check
Just a small change to make sure the gRPC port of simple_switch_grpc
is actually opened after startup, before ONOS gets the netcfg to try
to connect to the switch. Otherwise ONOS will receive a TCP RST from
the still closed port and the connection fails, rendering the switch
devices unavailable. Also included a timeout for port opening.

Change-Id: I1338a4ba24a14be57717f636e684c91c4cb12a7c
2018-01-04 16:08:15 +00:00
Ray Milkey
c29f74827d Revert "Bump up buck version"
This reverts commit e743babd01c5cbfc3f580a4c77993bc7047d0846.

Change-Id: Ida34fc6fb6faba624b93b9b01a98e9f5d2bb4d33
2017-12-22 19:22:05 +00:00
Ray Milkey
5d4d2901c0 Revert "use maven to resolve offline karaf"
This reverts commit 7236befb4f42c47795e5294a1d8e74322af2b191.

Change-Id: I38a4a03a16140cf57659a3fd8dada90d54ef2894
2017-12-22 19:21:51 +00:00
Andreas Gilbert
5e95961d49 [ONOS-7333] adapted REST API for bitwise match on TCP/UDP/SCTP source/destination port (flow)
Change-Id: I7f79b22135fbb1663b7757e098ee91f088e243a4
2017-12-22 16:29:24 +00:00
Yuta HIGUCHI
7236befb4f use maven to resolve offline karaf
Change-Id: I4db1c8a7e0bf326335504094cc12fa0c045e83bc
2017-12-21 20:53:43 +00:00
Jordan Halterman
153dbd5b7f Ensure TCP_NODELAY is properly configured on Netty channels
Change-Id: I21ba4f048d609a56ceff4b4ae2cb0c02e6d57bf2
2017-12-21 20:21:51 +00:00
Ray Milkey
e743babd01 Bump up buck version
Change-Id: Iaf0a7c12661525741f929fa5d643e485ed33684f
2017-12-21 10:04:10 -08:00
jaegonkim
47b1b4abd7 [ONOS-7281] Using slow protocol destination mac address (01:80:C2:00:00:0E), and supporting port description in ONOS LLDP
Change-Id: I98dfbad436da0b689a2ac89665ee3298c32b61e8
2017-12-21 17:26:39 +00:00
Yuta HIGUCHI
d8119809da wipe-out command does not need to inherit ClusterListCommand
Change-Id: I62c1971c15eca59b84d143051d77e8673ef9075c
2017-12-21 16:24:04 +00:00
Yuta HIGUCHI
6d9e18a79d align karaf related component version
Change-Id: Ia3aa1dd448afe65fdb55fdaefd39e9c7210a5109
2017-12-21 16:23:44 +00:00
Yuta HIGUCHI
6771ef6348 use maven instead of vicci for offline karaf
- pom.xml to create offline karaf tarballs
- download offline karaf tarball from maven to benefit from CDN
   buck's MavenUrlDecoder currently has issue handling non-jar type
   in maven coordinate

Change-Id: Id25e286ec87426814002ed6d8cca6e66a4b80110
2017-12-21 16:23:44 +00:00
Yuta HIGUCHI
1ba1e96268 use upstream artifacts
Change-Id: I7762dc82f8e6d1e7db11546b8c1bc50d310d2ec6
2017-12-21 16:23:44 +00:00
Yi Tseng
c6844f56ce Refactor fabric.p4 and pipeliner
- Rename constants, some control blocks may share same action
 - Remove unused match keys from ACL table
 - Better style for constant file
 - Ignore unsupported match from objective

Change-Id: I6472426d2a2607581c6fa7479ad40d7090a7d660
2017-12-21 08:42:52 +00:00
Jordan Halterman
cbbdb8c441 Add test scenario for crashing all nodes in sequence
Change-Id: Idd3c87ff8155a3c2b612b0447428e0af7d78a756
2017-12-21 03:37:54 +00:00
Alex Yashchuk
4caa8e82d3 Xpliant ONOS driver support added
Change-Id: I3691a1d6035a8f7d8727b8bded70339e3df0dd94
2017-12-21 02:57:07 +00:00
Jordan Halterman
464145dcc5 Increase default primitive operation timeout to 15 seconds
Change-Id: Ib2662d0af1a7d50fc93c9b9111d78e21f5a2e1aa
2017-12-21 01:32:09 +00:00
Frank Wang
222262fc50 bug fixes: clean data in p4runtime mirror while deactivating p4runtime driver
Change-Id: Ia60ea78623da9c4a3813780405433f621f195a1f
2017-12-20 21:56:33 +00:00
Carmelo Cascone
d66150733a ONOS-7330 Added ONOS-P4 VM build script
Builds and OVA from scratch with the most updated tools in one command.
The build process is based on Vagrant.

Change-Id: I633d99092946f99e877f0c97631a4f99c5b1f37e
2017-12-20 21:56:02 +00:00
Charles Chan
c550f2e335 Only remove TMAC flow when it is the last port within the same VLAN if TMAC doesn't support in_port matching
Change-Id: Iafb72153eddd126c5598960a46130c50ddfe3cbd
2017-12-20 11:26:11 -08:00
Saurav Das
41890dbf3c Adding a few checks in SR to ignore link events for links
that should not be allowed.

Change-Id: I3e4042e20de899f426f508d8307808c48325a18d
2017-12-20 18:38:40 +00:00
Jordan Halterman
a1ccbc36fe Convert leadership events directly to mastership events to avoid inconsistencies when building RoleInfo from underlying leadership store
Change-Id: Idfc2b58bb0d90f2a775b02d998ad24b65f076f0b
2017-12-20 18:32:31 +00:00
Jordan Halterman
f9f5563a87 [ONOS-7332] Ensure DEVICE_ADDED events are not skipped after device creation on a non-master node
Change-Id: I9a6ee21833d89db16fab6b13bb946746e381d36c
2017-12-20 18:32:27 +00:00
Laszlo Papp
edadbe2574 Do not send table stats request if unsupported
Change-Id: Ia66447aad1eeb0a01577215e4c5985526dadd274
2017-12-20 09:33:44 +00:00
Sean Condon
c45ede5f1c Fix NPE in Microsemi Driver
Change-Id: I1f9357f589769ce5fb835b95b31379a514116a6a
2017-12-20 09:31:48 +00:00
Charles Chan
479337514b Dual-homing probing improvements
(1) Active probing mechanism in the following two scenarios
    (1-1) Probe all ports on the pair device within the same vlan (excluding the pair port) when the 1st location of a host is learnt
    (1-2) Probe again when a device/port goes down and comes up again
    * Introduce HostLocationProvingService
        - DISCOVER mode: discover potential new locations
        - VERIFY mode: verify old locations
    * Can be enabled/disabled via component config
    * Improve HostHandlerTest to test the probing behavior

(2) Fix an issue that redirection flow doesn't get installed after device re-connects

(3) Temporarily fix a race condition in HostHandler by adding a little bit delay

Change-Id: I33d3fe94a6ca491a88b8e06f65bef11447ead0bf
2017-12-19 16:25:59 -08:00
Jonathan Hart
19e428b42f Add automatic driver resolution for voltha devices
Change-Id: Iebc244d3ac09d40c1f6d8314921b9a56e69888dc
2017-12-19 19:20:43 +00:00
Murat Parlakisik
dda4edd4a1 Adding Ami's french translation for LION
Change-Id: I4b940e3c99ea0065234ab7e083e7b115b123741c
2017-12-19 19:08:07 +00:00
Ray Milkey
780bb9bd26 Enable buck rabbit MQ app unit tests
Change-Id: I03aa0047c9543457d718f2f82bf316ba6f209e7f
2017-12-19 17:58:54 +00:00
Ray Milkey
b68bbbc5ac Sonar suggestion - use a secure random number generator
Change-Id: I28075845555bcbc384a49e07353b3192c413b8f7
2017-12-19 17:58:54 +00:00
Ray Milkey
9922d5cd64 Sonar suggestions - comparison logic
- make members private
- use Integer.compare()
- use and operation to be sure both pointers are not null in if comparisons
  in compare() method

Change-Id: Iab9da32a28a49bc258ab5f600feff5c155c59a91
2017-12-19 17:58:54 +00:00
Yi Tseng
68ef26bdd0
Remove unnecessary warning from DHCP6 relay handler
Change-Id: Id596dd86d405245100e37e5127728d79a57856fc
2017-12-18 17:10:00 -08:00