180 Commits

Author SHA1 Message Date
Jonathan Hart
470ed4fd26 Move the IntentSynchronizer out of the routing app into its own app
Change-Id: I05e84bce3853ea995b9921b96a2e6a3e8eddb689
2017-02-02 04:09:57 +00:00
Thomas Vachuska
d832fc5074 Ignoring unit tests for deprecated vnet implementation.
Also fixing checkstyle errors from prior merge.

Change-Id: Ib85b461f37ab92fcfe15907ddad9fd8a8d24d44f
2017-01-11 13:32:04 -08:00
Luca Prete
83bac3473c ONOS-5629: Enable encapsulation in SDN-IP
Change-Id: I4c3dbe877fd009302938b228fc9af40225d75329
2017-01-11 18:08:00 +00:00
Charles Chan
e4d131090a Carry previous next hop information in RouteEvent
Change-Id: Ib66a9191892c0e62b54fddcbfdc5645f305e9fcf
2016-11-09 18:51:06 +00:00
Charles Chan
8fe9f4ce6e Carry location of next hop in ResolvedRoute
Change-Id: I64ca6ecc5cfcffc3ed19621053b0ee266c4093ea
2016-11-09 17:03:52 +00:00
Sho SHIMIZU
8ebb04aacd Replace Stream#forEach() with Collection#forEach()
Change-Id: I2b261c3d91d345907b165bd61eb7b6c45011c247
2016-10-11 16:39:39 +00:00
Luca Prete
e4a5e1af17 ONOS-5236 - Adapt SDN-IP to the new intent framework APIs
Change-Id: I89b60602247a25a1879e4394a60c57d480881f74
2016-10-06 07:21:06 +00:00
Brian O'Connor
0a4e6742b8 Copyright update
Change-Id: I534d938da3820f6fb814aed3bb4a0855fa41ddd5
2016-09-16 06:48:34 +00:00
Jonathan Hart
a9e29550c0 Implemented SDN-IP/BgpRouter neighbour handling using NeighbourResolutionService
Change-Id: Ia7e3f18bd69d56cb2f46f815eaa2352533a54ed0
2016-09-14 15:32:38 +00:00
Jonathan Hart
3d8ff28774 Cleanups for SDN-IP
Change-Id: I2220992e01a0112faaf2ff8d507e012923cad5e9
2016-09-07 18:28:58 +00:00
Jonathan Hart
9e51ba5c37 SDN-IP: restrict egress port from ingress port list of MP2SP intent.
The MP2SP intent doesn't support having the egress port in the in ingress
port list.

Change-Id: I84471b9fce9c1dc072f3dce3d907ba86ba65a575
2016-08-19 21:26:15 +00:00
Sho SHIMIZU
891162b99f Remove API deprecated in Falcon
Change-Id: I80a8afbcd577a9cce174d3fc1e511b711d3c68d4
2016-06-16 07:46:02 +00:00
Luca Prete
d814e2172a Rename SDN-IP test file
Change-Id: I11eb979ab4bf003741e318e475a899f141f63027
2016-05-23 10:13:13 -07:00
Luca Prete
e9511515d1 ONOS-4534 Improve VLAN support in SDN-IP
Change-Id: Ib9cf64d8f896462ec18260c4371859f447e7c4de
2016-05-23 16:13:24 +00:00
Luca Prete
2705d66e80 ONOS-4403 Remove intents using appId when apps get deactivated.
Change-Id: Ieaea8aeff2f2c29287a3e2eea33654fa22d38c09
2016-05-06 16:28:00 -07:00
Jonathan Hart
de6e203207 Remove old config classes from routing bundle.
Change-Id: Ifc8ff03674c1cfb9e3cde86b9994b8362744840d
2016-04-20 22:06:11 +00:00
Jonathan Hart
a2eb9ffdde Adapt FIBs to new route interface
Change-Id: I8ac19ad578aac4607fd8319186b6568a21edc1fd
2016-04-18 17:21:36 +00:00
Brian O'Connor
5ab426f9ff Updating copyrights
New format: 'Copyright .year-present Open Networking Laboratory'

Change-Id: I1a9e58b355b775e75245ad875a2d7a4df3f03098
2016-04-09 01:20:21 -07:00
Luca Prete
8f2a3ce293 Adding VLAN to PeerConnectivityManager
Change-Id: I695087c108dc4d9d2da61992019d8fa3d08c61c1
2016-03-31 17:07:50 +00:00
Jonathan Hart
b14221c357 Add support for reconfiguring interfaces in SDN-IP.
Change-Id: I2ea85d85432e661c3cbdca5e5a8b16678a242369
2016-03-24 21:01:31 +00:00
Jonathan Hart
00cdddaa60 Send PIM Join/Prune messages based on events from the McastService.
Also change Interface to return a list of addresses rather than a set
to allow applications to rely on the order of configuration

Change-Id: Ie7f62fee507639325ee0a77b8db4088dae34597e
2016-02-19 18:53:12 +00:00
Jonathan Hart
33b81f2967 Move TestIntentServiceHelper to routing-api bundle
Change-Id: I4c476cb89400e2eb14e0fc5f3db96c2886708244
2016-02-06 00:54:15 +00:00
Jonathan Hart
ce3b28e9fa Moved sdnip.json config example to the reactive-routing app.
It's no longer relevant for SDN-IP and is misleading.

Change-Id: I29595af935b9618157b4ff24bad1fa060e98e268
2016-01-12 11:06:13 -08:00
Jonathan Hart
2bac2f2337 Move BGP speaker/peer commands to routing bundle
Change-Id: If19e2eaa9d23a0d27bd0e5d76b82d5bbd76e95c6
2016-01-07 07:44:14 -08:00
Jonathan Hart
6af92be680 Move IntentSynchronizer to routing bundle.
This allows it to be used separately from SDNIP.

Change-Id: I45358666aa32763cb4bcac8f1c0a4025c6b76863
2016-01-07 15:42:41 +00:00
Jonathan Hart
c22e847967 [Falcon] More flexible component choice for routing apps
Change-Id: I0b01f633332fa7f099d4b3ffe58d86141f3a040b
2016-01-05 19:10:42 -08:00
Jonathan Hart
365335e2de [Falcon] Componentize IntentSynchronizer and SdnIpFib.
Change-Id: Ic384ce00572ae1e4bbf94b4de814cea3499d3828
2015-12-17 22:13:33 +00:00
Ray Milkey
4fd3ceb3df [Falcon] fixes for Sonar Critical bugs
Change-Id: I0a63578727693a2517f3002bd4f4c391b6f44aea
2015-12-17 17:39:44 +00:00
Luca Prete
86ac7d158d Moving IntentUtils to intent package
Change-Id: I258c1d988e4bea4b79bdb0c2235e02fe5404ea52
2015-12-03 18:56:40 +00:00
Pingping Lin
92ca4915ba [ONOS-3410] Let sdn-ip support default route
Default route is an important and frequntly used feature in BGP.
For example, network operators want to reduce the size of the route table.

The current sdn-ip does not support this feature. So this patch is to
let sdn-ip support this feature.

Change-Id: Ibb5afe3711522468e4902da2e090370db71b29da
2015-11-25 13:33:49 -08:00
Luca Prete
3401a3fe14 Making the IntentSynchronizer constructor public, so that an executor service can be passed from outside.
Change-Id: If96bd4dfa90222db36061d3f493338217d82c2de
2015-11-19 11:43:37 -08:00
Brian O'Connor
e1fb43b0fc Changing equals in IntentUtils to return false if
intents are different classes.

This replaces the behavior where we throw a runtime exception.

Change-Id: I063621b683af186611b18f87c24e852e80c31977
2015-11-19 19:00:21 +00:00
Luca Prete
6a4b39d514 Adding support to compare mp2p intents in intentUtils.
Change-Id: I7e8404f093e105379de0b55076a03723ba678fe9
2015-11-18 17:05:22 -08:00
Pingping Lin
c07781f50f when deactivate sdn-ip, also delete all relative intents
Change-Id: I7a6bd64b5a9525dc49ca2b9353fcc45dc9a16288
2015-11-13 19:03:05 +00:00
Pier Luigi Ventre
b38243fa41 - Fix the SDNIP IPv6 flows installation in the switches
Change-Id: Ida3653a06e6f452c7a185fd3ead92d036abc32d8
2015-11-13 18:44:25 +00:00
papazois
7d39a74a13 [GEANT] Add/remove-bgp-speaker/peer commands.
Change-Id: Iad8001095cc81be0c34c976adfa32ef9c7eff685
2015-11-12 02:22:43 +00:00
Luca Prete
00043dbbf3 Making IntentSynchronizer more generic to be used with other classes. Deleting SDN-IP nomenclature.
Change-Id: I779a8dab82fea00fb0d261d63b598d863693e332
2015-11-04 15:55:16 +00:00
Jonathan Hart
08105be3e6 PeerConnectivityManager: recalculate peering intents on configuration change
Change-Id: I05944f995342b2351115a613e02ad3e2ed830eb4
2015-10-27 18:49:41 +00:00
Jonathan Hart
9a426f8ade Generalize IntentSynchronizer and separate reactive routing code
* IntentSynchronizer can now handle any intent rather than having use
   case specific APIs
 * IntentSynchronizer does not generate or store intents anymore, it only
   perform synchronization
 * SdnIpFib generates and manages the procative route-based intents
 * ReactiveRoutingFib generates and manages the reactive intents
 * Unit tests have been tightned up to only test single components, rather
   than multiple components together
 * PeerConnectivityManager uses meaningful keys when creating intents

Change-Id: I4bb036ec8d056f43ece46f7dfc71d5e5a136b77d
2015-10-05 16:06:56 +00:00
Sho SHIMIZU
6cfc02d953 Use dianmond operator
Change-Id: I551dd9443b10ef17832f74a554486b7605e9866a
2015-09-11 18:53:17 +00:00
Ray Milkey
9b36d81ce3 Javadoc fixes
Change-Id: Id23ed2d576b2222194153be9d043ca5acafe67ae
2015-09-09 23:54:01 +00:00
Jonathan Hart
a86254889a Add optional 'name' field in BGP speaker config
Change-Id: If6f4567cd1a7c29b0424cc84bef050efe392544c
2015-09-08 23:55:25 +00:00
Jonathan Hart
4cb3988138 Moved ProxyArp, SDN-IP and BgpRouter to use new config format.
The new config format is based on the new network configuration subsystem.

Includes a few config fixes to NetworkConfigLoader and InterfaceManager.

Change-Id: Id7f766736decb7afb6b63c2731d3baba9fc7c764
2015-08-28 21:23:22 +00:00
Hyunsun Moon
cf732fb688 ONOS-2711 Replaced short to TpPort for tcp/udp ports
Change-Id: Ibf0474b5369d11d377fd33cf5ab48083cbca3308
2015-08-25 16:10:35 +00:00
Jonathan Hart
96c5a4ab2f ONOS-2513 Fix entire MP2SP intent failing on partial connectivity loss
* Added PartialFailureContraint to MP2SP intent to allow partial connectivity.
   This means the intent remains installed as long as at least one ingress point
   can reach the egress point.
 * Intents with this constraint are recompiled on ObjectiveTracker triggers
   even if not in FAILED state
 * MP2SP intent compiler can compute a partial tree if constraint is set
 * ObjectiveTracker recompiles intents on any link event
 * SDN-IP MP2SP intents now use PartialFailureConstraint

Ported from onos-1.2 branch.

Change-Id: I32eaa198fae1dfba021d9251c8f855573f0e1d7d
2015-08-13 17:38:55 +00:00
Jonathan Hart
e30fcda4cf Fix for SDN-IP installing wrong point-to-point intents.
Fixes ONOS-2514.

Ported from onos-1.2 branch.

Change-Id: I0d3d6012daa8dd2a45707a58cf6e745314f6dc24
(cherry picked from commit 0c763e9b064eac86d866b8fdfea25baec104324e)
2015-08-11 17:48:16 +00:00
Jonathan Hart
2a9ea49521 Fix bug where SDN-IP installs more intents than needed
Ported from onos-1.2 branch.

Change-Id: Ic085d5033105e0c688369a71de077c7541d26dbf
(cherry picked from commit 1258f86b564be76771c5cd6e1f807c4bc529168a)
2015-07-30 23:29:37 +00:00
Sho SHIMIZU
fe89d3ac3a Simplify the statement
Change-Id: Ie9b46c6c3f04322751109adc5896bb51c848a18a
2015-07-01 02:16:43 +00:00
Pingping Lin
8a524718cb paths should from bgp peer connect points for Internet-to-local traffic
Change-Id: I04c7f5b8efc9279ee3e15fb27435a2201cccb5f1
2015-06-25 20:32:46 +00:00
Jonathan Hart
75c470a9f4 Fix for logic error in SDN-IP.
Change-Id: Idf1f8713a3d61972f5585dcf307db44a6677aa46
2015-05-22 17:55:27 +00:00