Ray Milkey
e52652ced3
Merge branch 'master' into dev-karaf-4.2.1
...
Change-Id: I059c6a95489ff5cdc51dd7e98ba44a8415238bc2
2018-11-02 17:12:33 -07:00
Charles Chan
c88ebaa1e4
Save developers from wasting hours on wrong bucket type
...
Enforce bucket type to be consistent with group type
Update unit tests accordingly
Change-Id: Ia5f56ca4b5445268ebee09e321c34ed3f3f39827
(cherry picked from commit 5c00be8b143eb73d42b98820641da5c20e458579)
2018-11-02 23:24:02 +00:00
Thomas Vachuska
f566fa2503
Removing commented out @Property annotations from the core.
...
Change-Id: I336f6a21db531187b8e2fcfb51e7da315c615771
2018-10-30 23:43:48 +00:00
Thomas Vachuska
1bb2a285a8
Fixing issue with superfluous exception when installing apps.
...
Change-Id: Ic802227afc0218ed1999a1509ea0aee62e1d52a3
2018-10-30 20:10:50 +00:00
Ray Milkey
956bb1691a
Merge remote-tracking branch 'origin/master' into dev-karaf-4.2.1
...
Change-Id: If611105632e508cb17352c6f5b1cbcfd85f716d1
2018-10-26 10:53:44 -07:00
steven30801
7632e150e1
[ONOS-7596] Support reading table entries with counter data in P4Runtime
...
Change-Id: I85bacb1697a6c881dd69ba74a2162c73ec0b8aee
2018-10-26 17:25:13 +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
d542568b21
Merge branch 'master' into dev-karaf-4.2.1
...
Change-Id: Iec1b8947c898b0bf10db8caece0c3a064d1c63ae
2018-10-23 10:50:43 -07:00
Jordan Halterman
16c95ff780
Upgrade to Atomix 3.0.7
...
Change-Id: Ic72df320f11459d16c2f403bc02a3fe7fb8488c2
2018-10-19 05:34:23 +00:00
Ray Milkey
2d7bca1540
Move type specifiers from property name constants to the corresponding component annotations
...
Change-Id: Id5e3b669721ecf076a010cc4783b9e6b33e6fca0
2018-10-17 22:41:15 +00:00
Ray Milkey
0b18b72872
Merge branch 'master' into merge
...
Change-Id: I163ecf699b554e33f4db938c66b73c9911e51135
2018-10-16 13:19:15 -07:00
Ray Milkey
b5646e6f7a
Use property constants for OSGi components for stores
...
Change-Id: I5d21075abb453d5bc54e02653d5a96746e6a074e
2018-10-16 18:52:22 +00:00
Jordan Halterman
27ccf0d87a
Remove unused Netty messaging service
...
Change-Id: Ib56561295215ad2b7e775716a7b651bbde525559
2018-10-12 00:01:32 +00:00
Jordan Halterman
234b9a4ba4
Remove unused distributed cluster store
...
Change-Id: Idc863ac59ea499b5a061cdbf9dba257f76cd8fc9
2018-10-11 14:40:47 -07:00
Ray Milkey
db57f1c326
Merge branch 'master' into dev-karaf-4.2.1
...
Change-Id: I86b9d80581cd76a7c20e05201023090f9692d1ab
2018-10-09 11:26:45 -07:00
Jordan Halterman
da3b9f0980
Avoid closing DeviceFlowTable when flows are purged on device down event
...
Change-Id: Ibb0fd99dda6dff1fdcbf73ec0a0f3e1db8bcf625
(cherry picked from commit cd4276521ca0a7268353317ede37de33cdbe4c52)
2018-10-09 17:24:35 +00:00
Ray Milkey
584f54bddb
Fix race condition between AtomixManager and metadata providers startup
...
Change-Id: I4799c079455e0e5c79a800ba3108b4c9eedbe1b2
2018-10-09 16:45:16 +00:00
Jordan Halterman
d15c5f63f7
[ONOS-7801] Avoid converting local node on every lookup in ClusterStore
...
Change-Id: I60cdfba80796fc7210ab96798086e42e1d3d2e94
2018-10-06 03:32:55 +00:00
Carmelo Cascone
e44592f246
More robust P4Runtime group handling
...
This patch solves the PENDING_UPDATE and PENDING_ADD_RETRY issue
observed on the ONS EU topology.
The P4Runtime action profile group handling has been re-implemented to
be robust against inconsistencies of the device mirror, which is now
periodically synchronized with the device state. Similarly, we implement
a routine in the P4RuntimeClient to cleanup unused action profile
members.
This patch includes also:
- Refactor PI handle classes to allow creating handles without the
entity instance
- Use list instead of collections in P4RuntimeClient methods, as order
of updates sent and/or entities received from the device is important
Change-Id: I2e7964ce90f43d66680131b47ab52aca32ab55d2
2018-10-05 23:45:29 +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
Jordan Halterman
5409e34ac0
Ensure root path element is removed when writing to underlying Atomix DocumentTree primitive
...
Change-Id: I427ac78f94b4ac88b203ff751fa9b22bd561dd62
2018-10-03 23:12:01 +00: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
Jordan Halterman
e458f00453
Support hostname resolution for cluster configuration
...
Change-Id: I9afb97bfba05366fa63dc7b9022b914bd2d1cce0
(cherry picked from commit 97cd95d5a2a7a1bf1f3bfd3091f2d66f747eee33)
2018-09-25 16:04:28 +00:00
Ray Milkey
d0f017fccb
Remove deprecated value() method
...
Change-Id: I3056a47f4630a5667f9dc05280a6d0ab1a2c7ca8
2018-09-24 17:27:03 +00:00
Andrea Campanella
80b296d9c7
Notifying the delegate about the RESTORED event on the mastership of a given device.
...
In turn the DeviceManager checks the role and sends the proper one down to the provider to be applied.
Change-Id: Icab9ac30b6e269d8acf9d14896c9858beaedb6da
2018-09-19 13:14:33 +00:00
Carmelo Cascone
9e4972c5d8
Refactor P4Runtime subsystem to implement async connection procedure
...
This patch is an attempt to solve issues observed when restarting both
switches and ONOS nodes. Most of the issues seemed to depend on a
brittle mastership handling when deploying the pipeline.
With this patch, GDP registers devices to the core with available=false
(i.e. offline) and marks them online only when the P4 pipeline has been
deployed to the device. A new PiPipeconfWatchdogService takes care of
deploying pipelines and producing event when devices are ready.
Moreover, we fix a race condition where pipeconf-related behaviors
were not found. This was caused by GDP enforcing the merged
driver name in the network config, while external entities (e.g.
Mininet) were pushing a JSON blob with the base driver name. This patch
removes the need to rely on such a trick and instead uses
pipeconf-aware logic directly in the driver manager (change #19622 ).
Finally, we fix issues in P4RuntimeClientImpl that were causing the
stream channel not detecting unreachable devices. The solution is to
follow gRPC APIs and re-instantiate a new channel once the first fails.
Change-Id: I6fbc91859c0fb58a6db3bc197b7081a8fe9f97f7
2018-09-06 03:08:09 +00:00
You Wang
45ce008e51
Increase leadership election timeout to 2500ms
...
Change-Id: I824fe2b56caeb344f65cfccaf54d8cf3fcafb49b
(cherry picked from commit 8825b4baf4445609819086685a62064ade23ff66)
2018-09-05 17:34:44 +00:00
Jordan Halterman
35a02eaa85
Implement destroy() method for certain primitives to preserve backwards compatibility
...
Change-Id: I64e5790d531bf538bbfd886419362b14967331e6
2018-08-28 19:28:14 +00:00
Jordan Halterman
204c7bf435
Make leadership/mastership failover timeouts configurable
...
Change-Id: I5e45085205ef3025d947ba69b3a122d41315b828
2018-08-28 16:51:43 +00:00
Carmelo Cascone
da60a61435
Build missing pipeconf-merged driver at startup
...
Change-Id: Ia5600de362978be1f551c7581d138e35b9736108
(cherry picked from commit 11296f34f16041f3ae32c735b7218cb4ca98637a)
2018-08-28 04:51:16 +00:00
Ray Milkey
761e80a427
Remove pom files from ONOS
...
Change-Id: I53e2395466cba10222d638736635b11380421d98
2018-08-21 18:11:58 +00:00
psneha
f31ac6ff9f
Added one more Component Config REST API; for specified component and variable.
...
Change-Id: I810aa90636c55c8b05c146780ad28c307cefff33
2018-08-21 12:17:32 +00:00
Ray Milkey
312d987732
Starting snapshot 1.15.0-SNAPSHOT
...
Change-Id: I9239c7695f7faf6dc184a0ff54a34dedf4761b2d
2018-08-20 16:09:54 -07:00
Jordan Halterman
e075338aa7
Upgrade to Atomix 3.0.0 final
...
Change-Id: Ia8ea1394dde40776a2ede660f8bdb876332e4b49
2018-08-20 15:32:11 -07:00
Jordan Halterman
c1be5b8003
Upgrade to Atomix 3.0.0-rc12
...
Change-Id: Id05018faa82195608d0ec6dae5cedc7a8899fc19
2018-08-20 19:35:24 +00:00
Jordan Halterman
6cf60c3f33
Convert all Atomix exceptions to ONOS storage exceptions
...
Change-Id: If4ba6b4fa41643fc3d9a9f2d84dc68fd6399a352
2018-08-15 17:41:48 +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
Ray Milkey
4867af2f9c
Revert "Tagging 1.14.0-b1"
...
This reverts commit 78ce40093ac008fd6d169ab83d2d5961f91f6e31.
Change-Id: I8482f550c30f75d65333f6be9c9115a930abc56f
2018-08-10 16:53:10 -07:00
Jordan Halterman
bc559fd94e
Upgrade to Atomix 3.0.0-rc11
...
Change-Id: I731b16319ce2e5607700e178d341729862c7ed57
2018-08-10 20:59:37 +00:00
Ray Milkey
78ce40093a
Tagging 1.14.0-b1
2018-08-10 11:16:44 -07:00
Carmelo Cascone
72893b7755
[WIP] Attempt at building grpc and p4runtime protocols with Bazel
...
STILL NOT WORKING AT RUNTIME
Change-Id: I1f9e60b12a12e09edad2a714ec2921a4f71c6d35
2018-08-09 20:33:39 +00:00
Jordan Halterman
fa71cc6fdf
Upgrade to Atomix 3.0.0-rc10
...
Change-Id: If4095b225611a62831ae45dbf59550c7ce3a9f3c
2018-08-08 22:50:37 +00:00
Jordan Halterman
bc98239e13
Use default primitive timeout in map keys/values/iterators
...
Change-Id: I72e3b24eb219b4f10b02406c94798b7581d4effa
2018-08-08 08:03:57 +00:00
Jordan Halterman
6aca84c7e7
Upgrade to Atomix 3.0.0-rc7 to use agent distribution
...
Change-Id: I368ea95456553518bd627b1f4197442535186158
2018-08-06 02:12:32 +00:00
Jian Li
d486a73352
Support to build openstack related apps using Bazel
...
Change-Id: Ibc9f43a8fd92bb41b162a88a1eb3e8c8c5ad990a
2018-08-05 08:53:02 -07:00
Jordan Halterman
19c123a77b
[ONOS-7757] Support onos-local and embedded cluster configurations
...
- Refactor cluster.json to support internal/external nodes ('controller' and 'storage')
- Bootstrap embedded partitions when 'storage' nodes not present
- Update onos-gen-config script to generate cluster.json based on environment variables
- Update setup scenario to ignore missing $OCC# environment variables
Change-Id: Ia93b64e13d7a7c35ed712da4c681425e3ccf9fe9
2018-07-31 00:03:48 +00:00