255 Commits

Author SHA1 Message Date
Ray Milkey
69ec87142c Move routing from incubator to a separate app
Change-Id: I961d10af99c572b1f8d9b3d37c6f52dd04422007
2017-08-10 10:55:01 -07:00
Mohammad Shahid
4c30ea3979 Adding EVPN App code
Change-Id: Id3b2192f56f054cadcd8384092245b8757a781a9
2017-08-10 17:29:26 +00:00
Jonathan Hart
e9c0c6e49e Remove dependencies from EVPN route system on unicast route system.
The route system is moving to an app, so EVPN code in the incubator
can't depend on it. I implemented an EvpnRouteTableId to remove this
dependency.

Change-Id: Id9af9fc0e0c680add1e061d0628ffdbd2a23dbde
2017-08-10 00:16:15 +00:00
Mohammad Shahid
aa7c123251 Adding route subsystem code to support EVPN
Change-Id: I5d9715af8e2a9474892267c97cd4763f12be4816
2017-08-09 22:28:54 +00:00
Ray Milkey
b65d7844e2 ONOS-6887 Move neighbour classes from incubator to core
Change-Id: I5fa70253b833838566a3527d8938e04be4274210
2017-08-06 19:46:25 -07: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
Ray Milkey
e56c34d941 Move ComponentService from incubator into core
Change-Id: I23f22fde87f689d2ff54888b43139f32c3d182f0
2017-08-04 03:08:30 +00:00
Charles Chan
4f365737b0 Implement route-store command
An easy way to quickly check the running route store implementation

Change-Id: I24830976ddbf772ba47eb4d322357909be6677fd
2017-08-01 22:27:38 +00:00
Andrea Campanella
75ef9f5c51 [ONOS-6844] inject ports via net-cfg
Change-Id: I3052e8b43fd26960b111200d6e506fd91e1f01fd
2017-08-01 22:00:30 +00:00
Ray Milkey
64677e99d9 Starting snapshot 1.11.0-SNAPSHOT 2017-08-01 10:48:08 -07:00
Ray Milkey
17463db855 Tagging 1.11.0-b3 2017-08-01 10:46:24 -07:00
Yi Tseng
7a38f9a35b [CORD-1434][CORD-1112] DHCP relay manager
Change-Id: I2e4d8fc8e85ed66b33ac517660ee72a1c0183597
2017-07-21 03:06:06 +00:00
Ray Milkey
64313cbc83 Starting snapshot 1.11.0-SNAPSHOT 2017-07-20 15:46:52 -07:00
Ray Milkey
7e28519e5f Tagging 1.11.0-b2 2017-07-20 15:45:28 -07:00
Ray Milkey
f14cc6d3c2 Fix SNAPSHOT version string
Change-Id: I090c1998e5a117c10263b7a6abbffc624beb4074
2017-06-28 16:36:27 +00:00
Ray Milkey
7463193198 Starting snapshot 1.11-SNAPSHOT 2017-06-23 16:46:27 -07:00
Jonathan Hart
89ef158917 Remove deprecated RouteService APIs.
The goal is to clean up the interfaces a little bit in preparation for
a major RouteService refactoring that is coming.

Change-Id: Ifbde9a507dd0dc3cddcd7fa1c02c426dad386e5f
2017-06-21 22:46:08 +00:00
Harold Huang
222c6ecc57 [ONOS-6549] (vNet) Balance role commands for virtual netwrok
Change-Id: Iadf22cd735bed0b055ada5542be8b1d2edb8188e
2017-06-16 15:01:54 +00:00
Harold Huang
e86d35fb56 [ONOS-6627] Revise adding and removing packet processor for virtual network
At present, we have to use requestPackets to trigger adding packet processor for virtual network and use cancelPackets to trigger removing the packet process for the virtual network.
But if we call cancelPackets more then one time in the deactivate() method when the application is deactivated, if will throw a NullPoint exception.

Furthermore, if a user does not requestPackets() in the application, the packet processor will never be added.
It may be a confusing trouble for a tenant user.
As a result, I think the packet processor should be created when the virtual network is added and be removed when no virtual network exists.

Soultions:
Listen to the network event to add and remove packet processor for virtual network.

Change-Id: I583d453219bef2f271b4a1e96f9869a28b4f0250
2017-06-16 05:14:22 +00:00
Harold Huang
bee92f62f7 [ONOS-6616] Revise VirtualPacketContext and DefaultVirtualPacketProvider
The constructor of VirtualPacketContext needs a parameter of DefaultVirtualPacketProvider type.
It is not flexible for us to use another packet provider to replace the default virtual packet provider.

To improve the code flexibility, I think it is better for us to use an interface type parameter in a method.

It alse seems redundant to use emit() method of DefaultVirtualPacketProvider in devirtualizeContext().
Thus, I think it will be more efficient to use core PacketService in VirtualPacketContext
when triger send() method.

Some other bugs are fixed.

Change-Id: I161a8929dc4e5a1d2ad716bc5da8b0b6f84340a9
2017-06-15 15:17:40 +00:00
Ray Milkey
65b9c0695c clarify which release APIs were deprecated in
Change-Id: I1e036aaae500b0468b5b900031ebf6746da782f5
2017-06-06 19:59:42 +00:00
Charles Chan
cd06c69b69 Extend host structures to store multiple locations
Also update host location format in CLI and REST API

Change-Id: I0fbd655f642627dd3eb8a2925f83a3ee016fe4aa
2017-05-29 18:19:19 +00:00
yoonseon
d6ba9a685e [ONOS-5648] skeleton code for VirtualMeterProvider
Changes.
1. Default Virtual Meter Provider is added

Change-Id: Idf5fa26b3dfb2bf76d18f215a36ce9fe85f63311
2017-05-24 22:07:44 +00:00
Jonathan Hart
10dbafd9ca Carry information about source ONOS node in each route.
Change-Id: I4877a048771935e3dbe310272e0b82c77b8678af
2017-05-24 20:14:38 +00:00
Yoonseon Han
356c37130d [ONOS-6467] (vNet) Deprecate tunnel operations
We plan to remove tunnel operations which augmented through
virtual intent.
As one of efforts to redesign vNet Intent Service, we'll deprecate
those tunnel operations.

Change-Id: I029ceda320b7c02068ab2ebbfe43b26dd2efa66e
2017-05-23 17:13:06 +00:00
Yoonseon Han
a578d76b0f [ONOS-6395] (vNet) Defining mastership service
Defines the interface for mastership service for virtual networks.
This service is needed to achieve HA and load balancing.

Change-Id: I5b68511c114ebd818429f4f6eb622dff95dd8630
2017-05-18 12:13:22 -07:00
Harold Huang
3fcf743537 [ONOS-6473] Refactor getPhysicalDevices method in VirtualNetworkService
Change-Id: I3f4549f3ea630283d72a1df1e59f24f33df1b672
2017-05-17 19:02:30 +00:00
Ray Milkey
048bf9af15 Remove deprecated API from the Interface class
Change-Id: Id25d58a74cf5511e964b24b3de5eba80da74104d
2017-05-17 17:12:33 +00:00
Ray Milkey
7639bf953a Remove deprecated API from virtual network flow rule store
Change-Id: I3de9a1bf56d87f0c95843f61ccc3f8f2e37d1c5b
2017-05-17 17:00:45 +00:00
Ray Milkey
08b03a9ec8 Starting snapshot 1.11.0-SNAPSHOT
Change-Id: I5aa84e241545dace6192243c0079924ddf899404
2017-05-15 18:40:20 +00:00
Yoonseon Han
9e04379a87 [ONOS-5919] (vCore) separate Intent store
Change-Id: I3b5b67d7286dafdf11bf3d8d4acafb59a3034e22
2017-05-15 18:17:20 +00:00
Yoonseon Han
ffcc32f3bd (vNet) fix:introduce virtual network service adapter
Introduced virtual network servic (and amdin) service adapter as
a effort to refactor the test codes.

Change-Id: I4c809d90a76a9d8d636610ac6d5308693e2ab204
2017-05-09 20:42:00 +00:00
Andrea Campanella
65f9eb929f ONOS-4380 Refactor AlarmId and Alarm construction and update
Change-Id: I0117afda723ba27aadb1db306f7ce15b666f102d
2017-05-08 21:57:10 +00:00
Ray Milkey
8fd28c7b80 Starting snapshot 1.10.0-SNAPSHOT 2017-05-02 14:37:34 -07:00
Ray Milkey
f0099022d2 Tagging 1.10.0-rc1 2017-05-02 14:35:27 -07:00
Yoonseon Han
c8089db9fa [ONOS-6179] Virtual Network Packet Propagation Issue
There is a problem that the packet request from virtual network
is not relay to real packet service because
VirtualNetworkPacketService cannot process requestPacket()
properly.
Moreover, the installed flow rules from vNet are not syncronized
with the physical rules.

Change-Id: I20c3e1fbb7668f563fafcb3a9d6a7d80ffba55fd
2017-04-18 22:26:51 +00:00
Jonathan Hart
f702168f1e Enhance the RouteEvent to notify listeners of alternative viable routes.
Traditionally the route event only notified listeners of the best selected
route for a given prefix, but some listeners are interested in all resolved
routes for the prefix.

CORD-905

Change-Id: Ia3e1e3a8e3e825ba894e6835e0860c3ed698d29b
2017-04-11 00:03:29 +00:00
Hyunsun Moon
ffaeac375e Fixed Maven build failure
Change-Id: I40aabf5ac0f9b51432fe670cd90b614b2b893691
2017-04-05 18:40:48 +00:00
Jian Li
8877d3c768 Bugfix: Fix unit test error caused by unreferenced OSGI package
Change-Id: I7c5452a57d2a56a2862e6e4d96e4873fe80f7ae6
2017-04-03 16:44:11 +00:00
Harold Huang
4a6521161d fix: (vNet) listener registry initialization issue
Problem:
1. Listener registry is only initialized in the addListener method.
It will cause NullPointerException in the EventSink's proces method.

Solutions:
1. Initialize the listener in the constructor.

Change-Id: I1eae5f2d52166b04f3e028d22b41414319f75b51
2017-03-31 19:06:03 +00:00
Yoonseon Han
b14461bf48 fix: (vNet) class load issues for OSGi bundle.
Problem.
1. Inside incubator package, class loader can't search classes defined
   in the other bundles such as onos-core

Solution
1. Added a method to return bundle context, and obtain class loader.

Change-Id: If5ee4cb1a5b9ef5ab7d7e3bbc70408ea8257baea
2017-03-30 23:06:07 +00:00
Thomas Vachuska
0932ac5e56 Adding support for GUI TopologyView to visualize port packet stats as an alternative to port byte stats.
Change-Id: I323840c4fe98009759646eed0c4c66fa2bad0e61
2017-03-30 20:51:23 +00:00
Yi Tseng
fa394defdc Fix for ONOS-5175. GroupId refactoring.
Science DefaultGroupId was deprecated, remove it from ONOS

Change-Id: I82394e58ec1ba10c37492ed77546e233de9f934f
2017-03-24 21:13:57 +00:00
Jonathan Hart
f2e7a34ae8 Carry original route in ResolvedRoute object.
The original route may have information of interest to consumers, such
as the route source or VRF information.

Change-Id: I32df752c92e235423694b13d4ff239a38bae5a50
2017-03-22 20:23:45 +00:00
Charles Chan
92ca94dab0 Carry next hop VLAN in the resolved route
Also improve routes command to better display IPv6 routes

Change-Id: I72e78fc2a7ed19322c3b4281c7b93e19484f551e
2017-03-22 20:15:33 +00:00
Jonathan Hart
96c146bde5 Refactor route subsystem to support multiple routes for each prefix.
This resulted in a substantial refatoring of the route subsystem, including
some minor external API changes. The interface between the manager and the
store has been changed to deal with multiple routes per prefix. The distributed
route store has been updated to be able to distribute route table information.
The route subsystem no longer stores next hop information in the route store.
This information is already available from the host store so the routes system
simply fetches it from there.

Change-Id: I7657b3efb6dcb76afa6f17c931f154a970a16528
2017-03-22 20:15:07 +00:00
Claudine Chiu
465a2605af ONOS-5682 Trigger DeviceEvent when virtual device or port is added/updated/removed
Change-Id: I4f9b62551c4106c5dd8d2ccc977a09e4e8c93a43
2017-03-21 00:27:08 +00:00
Charles Chan
b3b09cd7a7 Allow interface service to provide all interface that contain given IP
Change-Id: Ic6bc02585ed66e598505b65e7d4f29828dac36a1
2017-03-16 20:28:07 +00:00
yoonseon
86bebed7ca [ONOS-5936] (vCore) Virtual FlowObjective Manager and Store
Changes
1. FlowObjective manager for virtual network is added
2. VirtualFlowObjective store is added
3. SimpleVirtualFlowObjectiveStore is implementation
4. Unit tests are added

Change-Id: I18ff1d440d1f85ca96fff36a33a8b67566031e2c
2017-03-09 04:45:22 +00:00