2026 Commits

Author SHA1 Message Date
Ruchi Sahota
ef0761c211 Route reprogamming using group substitution during next hop movement
Change-Id: Idf8362dac522722ca67747e245bfd836e6ee6292
2019-04-10 14:53:49 -07:00
Ray Milkey
8c57015a00 Be more forgiving about the number of expected flows
Change-Id: I4504126cdc60a75249af7c7dfec27e765c213e59
2019-04-09 21:41:18 +00:00
Boyuan Yan
36231d2a9e modify param parsing in createNetCfg.sh and checkNetInit.sh to enable flexible configuration for ODTN network
Change-Id: I8e3902870a1bd952c39051dfd299981af31c834e
2019-04-09 21:08:40 +00:00
Boyuan Yan
0cf3ef7441 fix bug about ODTN test in stc running environment
Change-Id: Iba6334ecbadecd42a663c9e85ce7490bf7135cc9
2019-04-09 06:29:35 +00:00
Jordan Halterman
a08cc9e911 Enable G1GC by default in onos-service
Change-Id: I572007d7567c3b98855ce1310f0117d0dac40041
2019-04-08 21:34:09 +00:00
Charles Chan
f7b1b4b363 Rename L2 load balancer to port load balancer
CLI commands are also renamed to plbs, plb-add and plb-remove

Change-Id: I4c26b390acc5a961594a1dca92a76bee2148c090
2019-04-02 13:05:32 -07:00
Boyuan Yan
1c27bc7f30 Changes to docker file and cluster creation, complete stc test on single instance, but not yet on multi-instances Alao, we add detailed checking for every step in ODTN testing.
Change-Id: Id074e2db89a8892ed263880cfa670c4861e011b9
2019-04-01 15:26:55 -07:00
Charles Chan
7f987c5304 Implement L2 load balancing service
Including event/listener, CLI support

Change-Id: I26f1da578a72f5b3ead413aa5155233fbf9ab2b6
2019-03-31 17:08:26 -07:00
Charles Chan
367c1c1e89 Implement L2 load balancing group in OFDPA driver
Also fix confusing comments and variable names
Note: suppress line number checkstyle for Ofdpa2GroupHandler

Change-Id: I00e56b679da1247a7c0ffba838c9df329ab54f11
2019-03-31 17:08:26 -07:00
Thomas Vachuska
821618ffc9 Enhancing base bundle archetype to include component config property as an example.
Change-Id: Ia0dfeb989944029b67cdfe750d127e8a2bfa8dd4
2019-03-30 10:48:32 -07:00
Thomas Vachuska
11b66ed115 Bumping onos-maven-plugin to 2.2-SNAPSHOT.
Change-Id: I32dcc2ab8367989d36655fa9071aee3b0ff228d8
2019-03-30 10:40:58 -07:00
Thomas Vachuska
d6f88c6d6a Fixing Maven-based build to properly process the component configuration properties for ONOS 2.x
Change-Id: I29c063939073852862f3c0e2f47540afe66a34aa
2019-03-30 10:37:36 -07:00
Harshada Chaundkar
dcd1b14987 Packet throttle support
Change-Id: I6f2da5ed25f794561349013bfcbf9afa85d5e190
2019-03-28 18:36:17 +00:00
Ray Milkey
9713d154ef Build stratum as part of p4 scenario
Change-Id: Ia2dcb8a4577f402b9cf7aa9336b30349ee96de32
2019-03-28 02:47:02 +00:00
Thomas Vachuska
ee79ad38bf Adding skeletal structure for the ONLP gNMI GUI demo.
Change-Id: I6796ebf200e20a51bdc098fcc3696b78d7c1132e
2019-03-26 23:07:14 +00:00
Ray Milkey
8358d769b0 Remove reference to deprecated FileType function
Change-Id: I7d67d5b2c5bfa003689bf9217c7fb9182e39cae5
2019-03-26 22:13:11 +00:00
oleksandr.yashchuk@plvision.eu
3dbcaafa0c Initial gNOI implementation added. Introduced system Time and Reboot RPC
Change-Id: I8accdcc6c1ff247408ce54490ceff3972fdf850f
2019-03-26 21:35:33 +00:00
Maciej Skala
ab87b9dc77 Remove GUI(2) features from BUILD as no longer exist
Change-Id: Idfbd62d5e593b7eed3c4c44161fbc0d162c72e05
2019-03-26 16:33:52 +00:00
Jian Li
afe17e1fd0 Bumpup OpenStack4j dependencies from 3.1.0 to 3.2.0
Change-Id: I5919d0a05a4b8f1a0141b3949211b925fc05c06b
2019-03-26 00:34:03 +00:00
Ray Milkey
5504bd2524 Implement static component properties - passed through without modification
Change-Id: I49a2c733648f53468a398be35d1fee4518bb2a8c
2019-03-23 01:21:05 +00:00
Thomas Vachuska
5d80e4579e Eliminated references to deprecated ONOS_NIC environment variable.
Change-Id: I9b709920c1aa2e7c1c4cb1f28f920dd2820b86ba
2019-03-21 23:48:22 +00:00
Thomas Vachuska
97642361e7 Changing how ONOS_APPS value is used and defaulted; cleaned up cell defs.
Change-Id: Ie134bd61024738609ef1a02237c696438eff6024
2019-03-21 23:38:08 +00:00
Ray Milkey
bd508ede5c cfgdef tool modifications to catch variable names that don't match properties
- catch errors in the cfgdef tool and abort compilation if a mismatch
  is seen
- Fix mismatches in the code discovered by the tool

Change-Id: Icd9a15eb9312bba6c2208b0b2a684062fcdc19c3
2019-03-21 19:07:31 +00:00
Ray Milkey
f42f76e955 Handle the case where ONOS_APPS is not defined - needed for Jenkins
Change-Id: I66b08f25ebc9171653ae673ea5c562ecb53bcf8c
2019-03-21 10:04:02 -07:00
Ray Milkey
a79a1113c2 Handle the case where ONOS_APPS is not defined - needed for Jenkins
Change-Id: Ic587ebbb975b7ef285febfffd0e4414db0abc7ab
2019-03-21 09:19:54 -07:00
Ray Milkey
2673aaa4b5 temporary hack to get GUI working with existing cell infrastructure
Change-Id: I65caed2fec5cb6fb3187d32b5690a3c0c11ed199
2019-03-20 10:46:26 -07:00
Sean Condon
bf7ff4f3fa Change GUI and GUI2 to be apps rather than core features
Change-Id: I862e5bdbccc29fd78716159e168e7a14bc5053e1
2019-03-20 14:48:49 +00:00
Ray Milkey
bde9b39d44 Ignore errors coming out of Felix
Change-Id: I655d4b01b8480e469066f7eae742a6dbd0b886c8
2019-03-14 10:48:10 -07:00
Carmelo Cascone
34d116cbf9 Fix net-trellis-p4-smoke not working with latest stratum_bmv2
- Fix scenario files to use correct deviceId
- More robust liveness check in bmv2.py
- Use different ports for stratum internal server
- Longer switch startup timeout in bmv2.py
- Ignore number of flow rules when checking summary (make scenario
independent of trellis implementation)

Change-Id: I206e5339d2e78ae9a025caa5ec4862a9d4c24871
2019-03-14 06:10:59 +00:00
Carmelo Cascone
81fcfbeff6 Depend on official gnmi repo instead of fork
No need to maintain a separate fork of gnmi when what we need can be
achieved with a simple Bazel rule

Change-Id: I94ce6f617306e8fb68c44ec2a64743996d3c2f38
2019-03-14 01:43:44 +00:00
DongRyeol Cha
2803d30843 Add ipv6 address supporting for file transfer using scp
Some files's scp does not have supporting for ipv6 address.
So, I have added supporting for ipv6 address using scp.

Change-Id: Ie6db5c6988c708e4cec862f6b671dd64b457a69a
2019-03-13 18:40:15 +00:00
Thomas Vachuska
1c8b7abceb Added uptime to stc-warden.
Change-Id: I19acabb6b6b847f706a5a684f94b1fc3ad2b23bd
2019-03-11 12:49:20 -07:00
Carmelo Cascone
87c3297b67 Fix stratum-install to support tar files with arbitrary root directory
Change-Id: I825c18fdc0d08cfe58c103e5dbc906f268145960
2019-03-08 06:15:07 +00:00
Ray Milkey
b2e6be83e5 remove some driver apps from the restart test because they depend on the default drivers
Change-Id: Ia4a3b476c4e42f83199822f369df2ea32692c994
2019-03-07 14:43:51 +00:00
Carmelo Cascone
ab5d41e8ab Add support for enabling/disabling ports for gNMI devices
This change also includes:
- Refactoring of gNMI protocol+driver to take advantage of the recent
changes to the gRPC protocol subsystem (e.g. no more locking, start RPC
with timeouts, etc.).
- Fixed Stratum driver to work after GeneralDeviceProvider refactoring
- Updated bmv2.py to generate ChassisConfig for stratum_bmv2
- Fixed portstate command to use the same port name as in the store

Change-Id: I0dad3bc73e4b6d907b5cf6b7b9a2852943226be7
2019-03-07 07:45:32 +00:00
Carmelo Cascone
0bcbe26dd7 Use stratum in Trellis P4 STC scenario
Change-Id: I6e9b34c449ebaca51e8fd1673a470e564195e69e
2019-03-06 19:28:42 +00:00
Carmelo Cascone
3977ea4d9e Refactor channel and mastership handling in P4Runtime
This (big) change aims at solving the issue observed with mastership flapping
and device connection/disconnection with P4Runtime.

Channel handling is now based on the underlying gRPC channel state. Before,
channel events (open/close/error) were generated as a consequence of P4Runtime
StreamChannel events, making device availability dependent on mastership. Now
Stream Channel events only affect mastership (MASTER/STANDBY or NONE when the
SteamChannel RPC is not active).

Mastership handling has been refactored to generate P4Runtime election IDs that
are compatible with the mastership preference decided by the MastershipService.

GeneralDeviceProvider has been re-implemented to support in-order
device event processing and to reduce implementation complexity. Stats polling
has been moved to a separate component, and netcfg handling updated to only
depend on BasicDeviceConfig, augmented with a pipeconf field, and re-using the
managementAddress field to set the gRPC server endpoints (e.g.
grpc://myswitch.local:50051). Before it was depending on 3 different config
classes, making hard to detect changes.

Finally, this change affects some core interfaces:
- Adds a method to DeviceProvider and DeviceHandshaker to check for device
availability, making the meaning of availability device-specific. This is needed
in cases where the device manager needs to change the availability state of a
device (as in change #20842)
- Support device providers not capable of reconciling mastership role responses
with requests (like P4Runtime).
- Clarify the meaning of "connection" in the DeviceConnect behavior.
- Allows driver-based providers to check devices for reachability and
availability without probing the device via the network.

Change-Id: I7ff30d29f5d02ad938e3171536e54ae2916629a2
2019-03-06 19:28:42 +00:00
Jian Li
1cee988ec6 Manage k8s API config life cycle, bootstrap k8s node using k8s client
Change-Id: I9926c6d4903da514b66a3bcbe05358c605c9cc1a
2019-03-06 05:28:38 +00:00
Jian Li
3defa842eb Import k8s client deps, support inject k8s API server config
Change-Id: Iaf246a06462b8a878e93ef3f98da399c3600b129
2019-03-06 05:28:38 +00:00
Eric Tang
33747c18be ONOS-7784: get login user who invoked sudo
Change-Id: I6270c3e29ac9a352d889b635023fc3d329d2c9c3
2019-03-05 17:49:31 +00:00
Thomas Szyrkowiec
6316e433da Fix for configuration files not being copied
The variable ONOS_HOME is defined a few lines later.
At this point ONOS_DIR needs to be used.

Change-Id: I01e8cd8db662f7f7bfbc9e70375a4bdceb7282dc
2019-03-04 18:39:38 +00:00
Boyuan Yan
fec95c61e9 [ONOS-7883] modify tapiHelper.py to enable line-side service random creation and client-side service ordered creation on TX<->OLS<->TX transimission system
Change-Id: I2b2d6e88dd2484c6af59767ff0f6d62c6b5fe71a
2019-03-01 13:25:06 +00:00
Andrea Campanella
34694eb54a Minor fix for tapi helper and for TAPI Rpc error message
Change-Id: Ieef1c0937f797efc26a00d9e9e67850cb92f6919
2019-02-28 18:07:13 +00:00
Boyuan Yan
dcdbc894b4 [ONOS-7883] create script execute-tapi-delete-call.py to delete ODTN services with different requirements.
Change-Id: Ibd70c03a65b38668f454d47127a8275d45bfa1e4
2019-02-27 15:09:19 -08:00
Ray Milkey
1f0fb3b62a add a check that all components started by an app are removed when it is deactivated
Change-Id: Ic39b5f21123aa792d436ffcf5fbb8cc610efc535
2019-02-26 18:39:18 +00:00
Brian O'Connor
c69438361a Adding support for TLS connections for gRPC clients
This patch uses BoringSSL to negotiate TLS sessions under the hood.

Change-Id: I1495479ff33654f9cffe04d61f293c3e923b8aeb
2019-02-26 17:50:57 +00:00
Boyuan Yan
6b5d4fd1b8 [ONOS-7883] finish line-side and client-side connectivity service creation with same connection id
Change-Id: Ia911a3ac17e16fd2c9d544681cdd14573fd2008f
2019-02-26 08:56:12 +00:00
Ray Milkey
c4b46d3ab4 Remove reference to deprecated addProp() method
Change-Id: I852b5b691dd6bdbe06169ab5e61fd8659f0a156e
2019-02-25 09:15:50 -08:00
Boyuan Yan
4103678317 [ONOS-7883] extend execute-tapi-post-call.py to build line-side and client-side connectivity in order
Change-Id: I493c6c22cbd9ef941c1ee89f3d74fdb35e824f08
2019-02-24 16:29:49 -08:00
Carmelo Cascone
25243d671f Missing changes from update install-p4-tools.sh to use P4Runtime v1.0
Change-Id: I89aca8b081bd05f10c6a8ad88322fd132316b581
2019-02-22 22:54:19 +00:00