54 Commits

Author SHA1 Message Date
Yuta HIGUCHI
fbd9ae9cdf Various small fixes
Change-Id: I83802169d0d968f7b88d4be2cedba74b15fdd7da
2018-01-25 22:17:25 +00:00
Ray Milkey
d4439e67ea Sonar suggestion - don't lock on a potentially shared Object
Long values can be pooled and result in unwanted locking dependencies.
Created a specific unshared lock object.

Change-Id: Icd0035b5d27d564c9ac2f477eff9382b51d06edf
2018-01-16 21:10:19 +00:00
Ray Milkey
facf286f9c ONOS-6886 Move interface classes from incubator to core
Change-Id: Iaae4d98279e4b77fc3f0b5a63d547921f93aeb46
2017-08-06 16:38:19 -07:00
Brian O'Connor
a09fe5b0b7 Updating Copyright line to Open Networking Foundation
Change-Id: Icba96d7f39a065b53f34a6aeb71afd1f7d51f774
2017-08-03 21:12:30 -07:00
Jonathan Hart
60e7f51a09 Moved registering routing configs out of the RoutingConfigImpl
Change-Id: Ib2e7bcfd7a84ee3dc8a285265ca4599e99744531
2017-06-07 17:40:35 +00:00
Charles Chan
c6d227e242 Implement an option in CPRM to reprogram the flows when device reconnecting
Also remove unused AsyncDeviceFetcher in FibInstaller

Change-Id: I52e778a51854efd6bfe47c56569efa5c27d7c7fb
2017-03-06 23:52:43 +00:00
Jonathan Hart
bb782be9f7 Move reactive-routing-specific config and classes out of common routing bundle
Change-Id: I463e5225337bfaa0ec85285658dbbabc8059f209
2017-02-24 18:10:58 +00:00
Jonathan Hart
249b4cf639 Extend ControlPlaneRedirect (vRouter) to allow multiple redirects
CORD-787

Change-Id: I9e5a6f74b7239eb0dcb42b52e562698ce415debc
2017-02-24 18:10:34 +00:00
Jonathan Hart
a7a24cf4db Add Config for configuration multiple routers.
Deprecate old single router config.

CORD-786

Change-Id: Iab48be10f7f9d77939842ab00d2bd4be2b2ca0f5
2017-02-09 23:49:29 +00:00
Jonathan Hart
f4bd048b05 Make vRouter components into separate apps.
This allows us to leverage the ONOS app subsystem for selecting which
components to load.

CORD-710

Change-Id: Ibd7c4c1afd2caa137b44c085e7b6b5b4a1082521
2017-02-03 00:54:27 +00:00
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
Luca Prete
83bac3473c ONOS-5629: Enable encapsulation in SDN-IP
Change-Id: I4c3dbe877fd009302938b228fc9af40225d75329
2017-01-11 18:08:00 +00:00
Jonathan Hart
c9e36c5e16 Remove deprecated routing classes in preparation for refactoring
Change-Id: Ia2a16432be93197907113ab2962804485fad5fdb
2017-01-09 09:06:47 -08:00
Jonathan Hart
888eaa0dca Remove old and unused Router code (incl. tests).
Added deprecated tags to a bunch of other objects that will be removed in a
future release

Change-Id: Iee80a260951070c1f280aa1a7755f06349aacb4f
2016-07-07 17:40:39 +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
92ca5d3d59 Move PIM and Reactive routing to new route service.
Also remove old static router, fix CLI commands

Change-Id: Ice1ded45b272ff93d9cdbf0f8def7b6bff9a681c
2016-04-19 15:34:45 +00:00
Jonathan Hart
1ad75f24db Modified BGP and FPM route sources to push to new route service.
Also created an adapter to adapt the new interface to the old one for
backwards compatibilty with existing FIB components.

Change-Id: If8eb2220d9e4e69af135a8f9469ffda567ed4448
2016-04-18 17:06:16 +00:00
Ray Milkey
bee35092d6 Fix javadoc warnings
Change-Id: Iff748bf6a5b6653b515059506bb2d4f09d3c9878
2016-04-13 00:10:48 +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
Pingping Lin
9a445c8882 move the reactive routing to new config subsystem
Change-Id: I3e570138afb800c5bd7dbef872cbf9044732fa49
2016-04-08 15:04:47 +00:00
Luca Prete
8f2a3ce293 Adding VLAN to PeerConnectivityManager
Change-Id: I695087c108dc4d9d2da61992019d8fa3d08c61c1
2016-03-31 17:07:50 +00:00
Jonathan Hart
9eb45bbf5c Add config validation for vRouter and PIM configs
Change-Id: I97ddf4f745a19df6998b15ae47ebde5aa5f46238
2016-03-03 00:59:04 +00:00
Ray Milkey
c94e8bca35 Remove methods deprecated in Drake from RoutingConfigurationService API
Change-Id: Ib9f65f8cff9bc0a763b0000fff1996c4404fac39
2016-02-23 02:02:16 +00:00
Sho SHIMIZU
ef7e290e20 Make use of Optional more idiomatic
Change-Id: I42b3261169e7cb8408f46c5831f72115f77fd779
2016-02-17 00:38:48 +00:00
Jonathan Hart
883fd378cc Added interfaces configuration to allow vRouter to be selective about what
interfaces to use.

Change-Id: I4eb069760df0995d9e831e024ddbc0493bccce0b
2016-02-11 01:14:00 +00:00
Jonathan Hart
33b81f2967 Move TestIntentServiceHelper to routing-api bundle
Change-Id: I4c476cb89400e2eb14e0fc5f3db96c2886708244
2016-02-06 00:54:15 +00:00
Jonathan Hart
de15e1cd40 Remove references to SDN-IP from components that have been generalized.
Change-Id: Ib22d5abe8feddb805f803baa74085f079ca5f536
2016-02-03 19:49:10 +00:00
Jonathan Hart
ea49238329 Control plane redirect for OSPF traffic
Change-Id: I1d31bceadce6f67070a14afaaebdeab07d16f40a
2016-01-14 18:39:08 +00:00
Jonathan Hart
3930f6351c FPM component that can decode routes from Quagga's FIB push interface.
Change-Id: I57bfd9273b81c8d368a59a3acea53486cb4acfc1
2016-01-13 19:08:16 +00:00
Jonathan Hart
6344f5745d Implemented control plane redirect for control traffic.
Modified SoftRouterPipeline to support new flow objectives.

Change-Id: Ia93bc927832444ba1f7cf20b276e4866789c9d30
2016-01-12 12:50:46 -08:00
Jonathan Hart
365335e2de [Falcon] Componentize IntentSynchronizer and SdnIpFib.
Change-Id: Ic384ce00572ae1e4bbf94b4de814cea3499d3828
2015-12-17 22:13:33 +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
papazois
7d39a74a13 [GEANT] Add/remove-bgp-speaker/peer commands.
Change-Id: Iad8001095cc81be0c34c976adfa32ef9c7eff685
2015-11-12 02:22:43 +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
Charles Chan
d4db3abe8d [ONOS-641] Update RouteEntryTest and RouterTest to include IPv6 as well
Change-Id: I51aad28cc830074597a2a8eea252ca61f6b06586
2015-09-25 19:22:10 +00:00
Jonathan Hart
46080b6834 Remove all address bindings code from Host subsystem.
This has been superseded by the InterfaceService.

Change-Id: I8aae4cfe00752a84e545a1030c199aea8b59da38
2015-09-21 20:57:13 +00:00
Jonathan Hart
a86254889a Add optional 'name' field in BGP speaker config
Change-Id: If6f4567cd1a7c29b0424cc84bef050efe392544c
2015-09-08 23:55:25 +00:00
Thomas Vachuska
0a400ead8e Adding ability for Config to be backed by generic JsonNode, i.e. either ObjectNode or ArrayNode.
Change-Id: I5f9ec423cd5f23f61c97a57073d9d11071c47997
2015-09-04 21:24:06 +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
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
660189944d Add BGP configuration to config subsystem.
Change-Id: I77a5a7922387935f2142c3e74358c5498717a046
2015-08-07 14:51:36 +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
Marc De Leenheer
48a91f77cb Inject and remove static routes.
Change-Id: I8be1414978fd0b5dfb7186aeb86d100087502748
2015-06-10 02:41:22 +00:00
Sho SHIMIZU
3310a34163 Remove "public" to follow our convention
Change-Id: Ic5fa8744cbcb4c704780c8467ae0f31fce3327ce
2015-05-13 23:44:57 +00:00
Thomas Vachuska
e10f56b8b0 Fixing javadocs.
Change-Id: I9e6b3d7eb08d17d4ad450277a1279f6aaefd4640
2015-04-15 18:20:08 -07:00
Ray Milkey
34c959066d ONOS-533 Fix copyrights
- Any files created in 2014 and modified in 2015 got a copyright of
  2014-2015
- Used canonical form of 2014-2015 to be inclusive of extra years.
  Some files had 2014,2015

Change-Id: If9a133618873e4000b8f10299bde7c870eb1fbd5
2015-04-15 17:41:07 +00:00
Pingping Lin
c9e16bfa1d add a virtual gateway for reactive routing
There is no physical gateway in SDN network.
  However a host needs a gateway when it tries to communicate with a remote host.
  So we designed a virtual gateway for SDN network.
  The virtual gateway can have multiple IP addresses.
  Each IP address is used as the default gateway address of an IP prefix.
  We only configure one MAC address to the virtual gateway.
  You can choose any MAC address from the BGP speakers as the virtual gateway MAC address.
  We configure this MAC address staticly in the sdnip.json configuration file.

Change-Id: I2a72bef797fc55d25bb5473e8fca624ad659e1d1
2015-04-15 16:31:14 +00:00
Pingping Lin
e28ae4c801 sdn-ip reactive routing
This module can handle 3 cases:
   (1) one host wants to talk to another host, both two hosts are in SDN network.
   (2) one host in SDN network wants to talk to another host in Internet.
   (3) one host from Internet wants to talk to another host in SDN network.
   In all cases, we use MultiPointToSinglePointIntent.

Change-Id: I80dd954bd608e52b45b993f3c27e67636a7105d9
2015-04-07 12:31:07 -07:00
Pavlin Radoslavov
87dd930f2e Use a cleaner mechanism to test whether an IP address or prefix
is IPv4 or IPv6.

Change-Id: Ia88f76be87a30573a50eeeedb78d98713ac1ae27
2015-03-10 13:53:24 -07:00