544 Commits

Author SHA1 Message Date
Charles Chan
16631de5bc Address comments in gerrit 20328
Create a new class XconnecEndpoint to cover both physical port and load balancer
Also change the CLI load balancer identifier to "LB:"

Change-Id: I0b4cd6e474d8b21468d87fcadd9280fdf7d6aafa
2019-03-31 17:08:26 -07:00
Charles Chan
7e6d51747d Address comments in gerrit 20327
Change-Id: Icadd58a401d32362a826b5ac33bdffec15ca8169
2019-03-31 17:08:26 -07:00
pier
cc6ca77d9d Extends XConnectManager
- Listens for L2LbEvent
- Leverages a cache to wait l2lb nextid

Includes a small change in the L2LbService interface

Change-Id: Id545e2228dde013620b4b415d1d2619027ef15d2
2019-03-31 17:08:26 -07:00
Charles Chan
5f48a74b63 Implement L2 load balancer support in XConnectManager
Change-Id: Ib310a1dde72db38abb60273ce66b5f72768bf4ca
2019-03-31 17:08:26 -07:00
Charles Chan
0f7897f917 Route is not populated correctly when next hop moves
When the next hop moves from [1A,1B] to [1A],
there should be a route on 1B pointing to 1A via spines

Change-Id: I817414fb4e9edf29357fdb5e55675537ff5f0cac
(cherry picked from commit 53eae194a8b66287855483359309597e8df2efa9)
2019-03-15 22:28:09 +00:00
Charles Chan
64a1c8e76e Offload packet processing to another thread
Also update unit tests

Change-Id: Ib94c796083e2d75912f77667d3cfe4ed794694e9
2019-03-12 08:15:22 +00:00
Charles Chan
8bdb2255fe Update xconnectService when the service is bound/unbound
Change-Id: Ic5a6cfc1db2437a410a27c0ec66e664f88cabb2d
2019-02-28 21:43:06 +00:00
Charles Chan
5145de2348 Eliminate redundant flow programming when host moves
When a host moves from [1A/1, 1B/1] to [1A/2, 1B/1], there is no need to program the pair link flow first.
Also update unit tests to verify this behavior.

Change-Id: I97c7ee5f0db891226c7ed477f5f05af5d6c1faa8
2019-02-06 00:02:19 +00:00
Ray Milkey
4972416f9d Remove deprecated APIs from packet classes
Change-Id: Id02d759077e19e84ed290994ca53b2a0593de223
2019-01-28 09:11:35 -08:00
pier
46d557f868 Provides a separate executor to handle map events.
Includes also several code optimizations

Change-Id: I7c4916b0f746379213f239766e912ad696e2f56f
2018-12-07 21:20:07 +00:00
kezhiyong
c97849c19b If link list if null or empty, the following code links.get(0) will get an error.
Change-Id: I51c1cdc374f1b550e942826fb65acb40161f7d86
2018-12-06 01:54:36 +00:00
Ray Milkey
ec9e4de63b Prevent NPE if an event comes in during start up
Change-Id: I00c3a8c587c382c551d2b7212cf3d689c872fe1d
2018-11-19 16:51:59 +00:00
Thomas Vachuska
52f2cd1520 Detangling incubator: virtual nets, tunnels, resource labels, oh my
- virtual networking moved to /apps/virtual; with CLI & REST API
- tunnels and labels moved to /apps/tunnel; with CLI & REST API; UI disabled for now
- protobuf/models moved to /core/protobuf/models
- defunct grpc/rpc registry stuff left under /graveyard
- compile dependencies on /incubator moved to respective modules for compilation
- run-time dependencies will need to be re-tested for dependent apps

- /graveyard will be removed in not-too-distant future

Change-Id: I0a0b995c635487edcf95a352f50dd162186b0b39
2018-11-13 22:14:50 +00:00
Ray Milkey
e52652ced3 Merge branch 'master' into dev-karaf-4.2.1
Change-Id: I059c6a95489ff5cdc51dd7e98ba44a8415238bc2
2018-11-02 17:12:33 -07:00
Mayank Tiwari
a61b0a8371 Symmetric host probing
In addition, do not probe for host that is no longer in the host store.

Change-Id: I8a750239b9dbd8a913cd8b12debe318ed396fca9
2018-11-01 22:50:35 +00:00
Ray Milkey
68032db277 Remove blueprint files for 3.0 karaf CLI
Change-Id: I017db2a3c66cea8f0f7c568e5d4f3f302170936d
2018-11-01 20:39:23 +00:00
Charles Chan
dc5fb02528 Change the service dependency to mandatory
Change-Id: I81f42c9a72231ffd9dd0e0045b46225a6ccf819f
2018-10-29 23:01:23 +00:00
Ray Milkey
88dd7e2997 Modify test app usages of Property annotations for new OSGi implementation
Change-Id: Ie16cc4c41541f9e199c0c9e5f1338ee617097942
2018-10-25 14:10:17 +00:00
Thomas Vachuska
22ea6126e4 Removing BUCK files and other Buck-related auxiliaries.
Change-Id: I23691380efcd9bce4906695605214ed59ada0e87
2018-10-24 20:02:31 +00:00
Ray Milkey
3101df6ee6 Use new property scheme for segment routing app
Change-Id: I0e8831ac69dfeef89e89034b75f26be66cea385d
2018-10-24 02:18:43 +00:00
Ray Milkey
d542568b21 Merge branch 'master' into dev-karaf-4.2.1
Change-Id: Iec1b8947c898b0bf10db8caece0c3a064d1c63ae
2018-10-23 10:50:43 -07:00
柯志勇10068695
dc897a64d6 If path is empty but not null, The following code may be error.
Change-Id: I58a16c6a65a8cfe1786465fe8f2139bf57adda96
2018-10-19 14:53:46 +00:00
Ray Milkey
3d5d002b5a Fix indentation
Change-Id: Icb07435a7aef7a5a46d914599d832af058a361d2
2018-10-10 11:54:07 -07:00
Ray Milkey
b52acf3a13 Fixes for karaf 4.2.1 CLI annotations for segment routing app
Change-Id: Id3722bf49c37fe480ab8973c228987cc526804b3
2018-10-09 16:36:57 +00:00
Ray Milkey
df521294ce Merge remote-tracking branch 'origin/master' into merge-master
Change-Id: I4608093c4400a313b253508ac6bc8a84ecba5c7e
2018-10-04 15:13:33 -07:00
jayakumarthazhath
655b9a885f Prevent XConnect loop
Change-Id: I65c52342840ebef944a65b8c6f65a33448da59cf
2018-10-04 11:11:19 -07:00
Charles Chan
6fa516ec0e Avoid throwing NPE when SID or Loopback is not configured
Change-Id: I577f21c53d42b27c7cf0bcd8d80817558b00ebf6
2018-10-03 19:25:20 +00:00
Ray Milkey
7a2dee599c [WIP] Add @Service tags to all commands and completers
Change-Id: I8d6ae6185ada30a92481ddb7b603af323656dc3a
2018-09-28 11:21:57 -07:00
Ray Milkey
86ad7bb5e7 [WIP] apps CLI changes for karaf upgrade
Change-Id: I283efc39c7d4f4b31344f1d2d0cdd2b98a60932d
2018-09-28 11:21:43 -07:00
Ray Milkey
d84f89ba3d [WIP] Upgrade ONOS to karaf version 4.2.1
Change-Id: I7cd40c995bdf1c80f94b1895fb3344e32404c7fa
2018-09-28 11:20:57 -07:00
Charles Chan
3e56d9fdbd Fix serialization issue
Change-Id: Ie2cc832e59018977066dc3d7fbfec2819a9c5fb2
2018-09-22 00:05:48 +00:00
Charles Chan
a17b3a14f3 Implement CLI for black hole routes
Change-Id: I9bb2aa8641b780cf90dd8a0aefdc57169c02186f
(cherry picked from commit feadacb580e7d2c325453b3afe474049d27d11d8)
2018-09-16 22:16:52 +00:00
Charles Chan
9d7db8a6cb App should not care about table transition
Change-Id: I466ca9e7b7f54a18f7e2937ed98e291081583a64
2018-09-05 17:34:05 +00:00
Charles Chan
67ef2553d4 Pass metadata in the remove_from_existing operation, just like the add_to_existing case
Change-Id: I398296bf6357ac7ee7ec4344c025604e1904ccc6
2018-09-05 09:39:20 -07:00
Charles Chan
c76685fde2 Shorten the polling frequency and offset the flows and groups polling
In order to speed up the convergence of pending flows and groups

Change-Id: I9daea68e1619b17ad8c0af4a289ec12afafbfdf7
2018-09-05 09:39:08 -07:00
Charles Chan
7040b698e8 Ignore DEVICE_ADDED event while availability is false
For p4 devices, the device will be added but unavailable at the beginning.
The device will later on being marked as available once the pipeline is pushed
to the device.

Change-Id: I186ddfbf34cfc1e80493248a123bd2931e7c6729
2018-08-31 00:33:31 +00:00
Charles Chan
55b806fd54 Remove NextId from internal stores when the NextObj fails
Change-Id: I105d32ea3a2278254edd8746d41552c2c4a699fa
2018-08-30 21:46:00 +00:00
Charles Chan
d5814aab48 Implement CLI commands to view and delete SR internal stores
sr-next-dst (renamed from sr-next-hops)
sr-next-port
sr-next-vlan
sr-next-mcast (renamed from sr-mcast-next)
sr-next-pw
sr-next-xconnect
sr-next-invalidate <next-id>

Change-Id: Id5178f786bb97e26ddb86015105dd19604ac0817
2018-08-30 21:45:56 +00:00
Charles Chan
f27ef096a8 Suppress IPv6 flows when the device is not configured with IPv6
- Do not punt link local address if the device is not configured with ipv6Loopback
- Do not punt NDP and block DAD if the device is not configured with ipv6Loopback

Change-Id: Iaf36bcf9bf3c11bc199c271f1a03eb6ae448cfab
2018-08-30 13:11:38 -07:00
Charles Chan
e0260e1988 ONOS-7759 Explicitly pop VLAN while editing hash group buckets
P4 switch requires explicit pop VLAN when necessary.
This is the missing part of gerrit #19301.

Change-Id: I809a1066cbaddd05154556ad300e59883245e0f7
(cherry picked from commit cee433bc37da8536807e8a5fbbd85315b8ca95bd)
2018-08-28 04:50:03 +00:00
Yi Tseng
fe13f3e634 Fix timeout problem of fabric pipeliner
Including a workaround for ONOS-7785

Change-Id: I867161f5edf63e82c42a731a4b107ea326d4675c
2018-08-22 20:13:34 +00:00
Phaneendra Manda
9587dc99ca Cosmetic fix while creating Pseudowire config
Change-Id: I28c39d50d32cd10a3d6c716590941eb4f4508087
2018-08-22 17:57:30 +00:00
Ray Milkey
761e80a427 Remove pom files from ONOS
Change-Id: I53e2395466cba10222d638736635b11380421d98
2018-08-21 18:11:58 +00:00
Ray Milkey
312d987732 Starting snapshot 1.15.0-SNAPSHOT
Change-Id: I9239c7695f7faf6dc184a0ff54a34dedf4761b2d
2018-08-20 16:09:54 -07:00
Saurav Das
09c2c4d19b Changing the default pw transport vlan to 4090 instead of 4093.
Also adding component config options for pw transport vlan and default internal vlan.

Change-Id: I8bb48530e46db8534b825eecd9aea781fe3f0de1
2018-08-16 05:00:04 +00:00
ONOS Jenkins User
03e5521fba Starting snapshot 1.14.0-SNAPSHOT 2018-08-14 22:13:58 +00:00
ONOS Jenkins User
3594c24cb2 Tagging 1.14.0-rc2 2018-08-14 22:13:02 +00:00
ONOS Jenkins User
4e5f2d67ac Starting snapshot 1.14.0-SNAPSHOT 2018-08-13 23:16:37 +00:00
ONOS Jenkins User
cff0bd8922 Tagging 1.14.0-rc1 2018-08-13 23:15:43 +00:00
Charles Chan
69b7ae6414 [ONOS-7759] Explicitly pop VLAN when a transport VLAN is not required on a spine
Change-Id: I656fcdc0077557bd9d843b3fe29fb003efafc03d
2018-08-13 17:03:47 +00:00