3815 Commits

Author SHA1 Message Date
Boyuan Yan
6b23b38455 [ONOS-7995] upgrade roadm custom view from GUI to GUI2
1. [Finished] Optical-related device view
2. [Finished] Port view
3. [Finished] Power config on Port view (Private implementation)
4. [Finished] Protocol view for TAPI device

Change-Id: Ie9b81cfa9991a7af2dd485a5df3fe582df830d27
Signed-off-by: Boyuan Yan <boyuan@opennetworking.org>
2019-06-12 12:29:05 -07:00
Ruchi Sahota
c8aa9f3c41 Optimized group updating during host move
In addition,
- Added a fix for host remove issue
- Added a fix for single homed (loc1) to dual homed (loc2).

Change-Id: I1a7344bd77f73d6bed8955dcdbf407b5354d0eee
2019-06-07 11:39:06 -07:00
pier
5a41bea9f9 Fixing sonarqube and avoiding a potential NPE
Change-Id: I82169648b7f3f549686cfe2ca643c1bd6d865698
2019-06-07 14:47:37 +02:00
Harshada Chaundkar
6d85212a57 Automated RPD host relearn.
Change-Id: Ia501ca80c448a7f8f9c31dc2b6513c739d69be6d
2019-06-07 05:57:47 +00:00
Charles Chan
72ff3d9c17 Refactor the code so the populateSubnet is only called once per nexthop movement
Also make sure FPM and STATIC get processed first in this case

Change-Id: I9235b1c47452dc639ccef488442739bee302adbe
2019-06-06 17:19:03 -07:00
Charles Chan
411beb2a5d Prioritize certain type of routes among others
FPM, STATIC and configured subnets go to high priority batch, while others (e.g. DHCP) go to low priority batch

Change-Id: I8dcef67945c31bd0eab869510bea0f1f278b2925
2019-06-06 17:19:02 -07:00
Charles Chan
11d4dc55f1 Introduce new API in route service to return only resolved routes
Change-Id: I17b4c4b84c99bd813a6406624a6e6e43458a15ea
2019-06-06 17:19:02 -07:00
alessio
1bf2a63f4b [ONOS-7980] Lumentum ROADM-20 driver: aligned to distributed DeviceConnectionCache.
Supports the configuration of attenuation parameter using the ROADM app.

Patch 2: fixed a conflict on RoadmManager.java

Patch 3: checkstyle

Patch 4: addressed comments by Andrea, checkstyle.

Patch 5: addressed comments by Ramon, revised logging info.

Patch 6: checkstyle.

Change-Id: Id848220ef3a2cb5af6940cbca127a62d9afea2e2
2019-06-06 16:28:19 +00:00
Ray Milkey
c7360a1bb4 Ignore brittle test
Change-Id: I86934dcce1819d5f55d9745b3c573cdc998d6a7f
2019-06-04 08:32:13 -07:00
Jian Li
8a98804520 Fix: correct the k8s node type, enhance k8s node check and list cmd
Change-Id: I6da0be677ab4372d7581aa23a6c45dfbfb27ead4
2019-05-31 10:46:17 +00:00
Jian Li
7970b7133f Reserve POD IP address to avoid allocating duplicated IP addresses
Change-Id: I0fa42d0d17a35184730e797e394502dfceae7525
2019-05-31 10:46:17 +00:00
Jian Li
44c2b12fd7 Support to resolve external hosts' MAC address from k8s POD
1. Do not remove flow rules if we receive invalid service IP.

Change-Id: I88319f1b10c25b68271e6dcd01ea384c191c3224
2019-05-31 10:46:17 +00:00
Jian Li
1b08d650d0 Support to learn external gateway MAC at controller
Change-Id: I72c13133708de1ac86e26160397233518489d46b
2019-05-31 10:46:17 +00:00
Jian Li
140d8a29e3 Implement NodeIP to ServiceIP translation feature
Change-Id: I49bda2cddfb1c22b362b4b48105efd316c3dad36
2019-05-31 10:46:17 +00:00
Jian Li
eb488eab81 Support internal to external communication for k8s POD using SNAT
Change-Id: I8da79d2728fc40b886e44ba4f5ea81d248e33fc2
2019-05-31 10:46:17 +00:00
Jian Li
bf562c2c9c Support to inject external bridge into k8s node for external routing
1. Add group bucket related rules on receiving endpoint events
   rather than POD events.

Change-Id: I1152343cf8ff6bbccaed3dc34908a3affbc70980
2019-05-31 10:46:17 +00:00
Jian Li
f5da78a4bc Fix: inject correct default k8s service CIDR with minor refactoring
Change-Id: I1a402e11c8455d4d5a2a03845df9f4e48897efb7
2019-05-31 10:46:17 +00:00
Jian Li
7b63fe6440 Fix: set dummy group rules on receiving service add/remove events
Change-Id: I5e33bfaedc827b9563d08f60adf73ddf4de8ca73
2019-05-31 10:46:17 +00:00
Jian Li
7d111d7a41 Install rules for handling traffic destined to gateway at k8s node
Change-Id: I3a3ce8ecc581aee7e8e70e338dbf7bf4a6c518db
2019-05-31 10:46:17 +00:00
Jian Li
5c75583b9a Add k8s POD events, trigger svc rule on receiving annotation event
Change-Id: I7fbbd071a9b078337c028791b7441603ae1e7473
2019-05-31 10:46:17 +00:00
Carmelo Cascone
b9536696f6 First attempt at supporting builds with Java 11
Includes:
- Bump protobuf to 3.8.0 and grpc-java to 1.21.0 (along with transitive
  dependencies such as Netty)
- Add jaxb_api at compile time when needed (removed in JDK 11)
- Bump Bnd to 4.1 (adds support for Java 11)

To build with JDK 11, uncomment lines in .bazelrc.
Tested with Bazel 0.26.0.

Change-Id: Ib8e0c7310eacf97328762606e57c01e4834e5565
2019-05-30 18:11:06 +00:00
Boyuan Yan
f3f6a8de79 [ONOS-7989] add sync button on roadm GUI view.
Change-Id: I0f27ac6c9c100f54180c490fc043da65ef1225e0
2019-05-30 15:21:03 +00:00
Sean Condon
64060ffa8b GUI2 Updated unit tests for errors relating to topojson testing
Change-Id: Ic6c15ad3e5f9bd18cdb1e64955bc5cec7c8e048c
2019-05-30 15:48:11 +01:00
alessio
d4a2b84c2a [ONOS-7948] Netconf driver for Lumentum ROADM-20.
Added support for flowrules coming from the compilation of an OpticalConnectivityIntent.
FlowRules coming from ROADM app are still supported.
Minor updates to DeviceDiscovery and PowerConfig.

Patch 2: Driver and OpticalPathIntent support for partner-ports.
Now bidirectional intents can be configured also in presence of unidirectional links.
ROADM app visualizes devices of type TERMINAL_DEVICE and partner port details.
Checkstyle.

Patch 3: [ONOS-7974] [ONOS-79076] partner-port renamed to reverse-port. Bug fix.
Addressed comments by Ramon Casellas and Andrea Campanella. Checkstyles.

Patch 4: documentation.

Patch 5: addressed comments by Andrea Campanella.

Patch 6: checkstyle.

Change-Id: Ie5ca41eee6cb6f8f87f076f2af19c99cadd6d851
2019-05-24 14:21:54 +00:00
Jian Li
5172870066 Recover the OVS dataplane ports in case conf.db is corrupted
Change-Id: Id58ffadcfa559fa697486adce27088b87d7377e7
2019-05-24 11:20:56 +09:00
Harshada Chaundkar
f0780fe7a5 DHCP-Relay : fix logs when one or more DHCP servers are not reachable.
Change-Id: Ideb0b1a959bd352b0c535b6010bd9326aca184f8
2019-05-23 16:53:55 +02:00
Sudhir Kumar Maurya
6f2d2b1006 Xconnect Recurring log fix
log trace added for Unhandled host event
Change-Id: Iba11e03e73c646874b4d15e55e2b516175adc02d
2019-05-23 12:09:28 +02:00
Sean Condon
4b7818d255 Prepared GUI2 FW lib for publishing on npmjs.org
Change-Id: Icdbdacb24848795b644fc8b76c628fbdb8701e96
2019-05-23 08:44:12 +00:00
pier
604e231a43 Clean properly populationStatus when an exception is thrown
Change-Id: Ibcb54e6cfe5031ef2854e96d9933bb522241e998
2019-05-23 08:18:56 +02:00
jaegonkim
4064ed1f87 [ONOS-7732] Automating switch workflow - workflow program counter & cli refactoring
Change-Id: I90f2085dbb253c8ea4598be31a8fd12760a1f739
2019-05-21 07:50:12 +00:00
Daniel Park
c7102f3ce2 Implement CLI commands to show stats per VM.
Change-Id: I50d81d0236406996d9a378600dd0f9ec7c9244e6
2019-05-20 09:30:08 +00:00
jaegonkim
86561530cc [ONOS-7732] Automating switch workflow - workplace print cli
Change-Id: I0fc5db83d44dbfbd9f94d9b347cb1d0f40698b5f
2019-05-18 08:56:22 +09:00
Carmelo Cascone
9b607dab1c Update P4 programs to compile with most recent p4c
Change-Id: Iced2e9af53dca2dcfd4e6a5de22a45241c264886
(cherry picked from commit 040d6d8c748b6399b74b56abde5894d254eb6383)
2019-05-17 20:46:03 +00:00
Jian Li
e6e609fb27 Refactor external peer router store, fix NPE due to MAC is not ready
Change-Id: Id0381d9d1d7e0888dfbf1fc20acdd44d0a303e4c
2019-05-17 10:44:21 +00:00
jaegonkim
2baae8c8d1 [ONOS-7732] Automating switch workflow - desigating fields of program counter as final
Change-Id: Iff8a005a76e3ca9e70aea033b3088268096688dc
2019-05-16 05:43:17 +00:00
m.rahil
09251881bc 'Static data model implementation in Worklet
Change-Id: Ic5eeb26eaea547523befd509f9f48281cb4c2031
2019-05-16 05:02:12 +00:00
Jian Li
812460da27 Support to query active status of the nodes through REST API
Change-Id: If4d918fd39b40c0cdd6c73594f45420bf4d6e88c
2019-05-13 07:53:36 +00:00
Jian Li
7b8c36816c Support active-standby mode in openstacknetworking app
Change-Id: I155e1a082078e5c1b7e8a35275dfd517c787ade7
2019-05-13 14:48:05 +09:00
Carmelo Cascone
c0b23a459f Allow building third-party apps based on gRPC
By publishing the repackaged grpc and protobuf artifacts

Change-Id: Ib3af7dba4f64948132aa70be31922de61d6f6ab2
2019-04-25 15:38:00 -07:00
Jian Li
1b5c5fadfe Fix: specify the source MAC as fake GW MAC for self ARP reply case
Change-Id: Ie59ca9143267da6737a3b18fdcfa53c54caea1f9
2019-04-25 17:49:58 +09:00
Carmelo Cascone
75a9a8958e Trigger pipeconf deploy right after registration
Without waiting for the next pipeconf watchdog periodic probe.
To support this, this patch extends the PiPipeconfService to advertise
pipeconf registration events.

Change-Id: Ib44f1813bd37083c666a5e7980de320ce469c2d2
2019-04-23 19:39:56 +00:00
Gamze Abaka
dadae72079 In order to implement VOLTHA VOL-949 task (https://jira.opencord.org/browse/VOL-949) , OltPipeline (pmc-olt driver) must support meter, transition and also QinQ vlan push instructions.
Change-Id: Ie027469fa190a78b0c8366da55431ebc62e699ef
2019-04-22 17:11:38 -07:00
jaegonkim
f85ee3c201 [ONOS-7732] Automating switch workflow - program counter refactoring
Change-Id: Ic5271121dad45222ded24ea41dbb2f5efba1ff2e
2019-04-21 11:10:25 +09:00
Carmelo Cascone
33f36a0ec7 Clean up PipelineInterpreter API by removing ambiguous methods
Such as mapping from PiMatchFieldId to Criterion.Type. This should not
be required since the only translation happening is from north
(Criterion.Type) to south (PiMatchFieldId).

Change-Id: I204e0bd66b3996fd60bc11d4241e8a0408e11582
2019-04-18 05:55:06 +00:00
Sean Condon
6eb2cb8712 GUI2 update Angular component versions to 2.1.0
Change-Id: I47d5ede8c5cfdf77e309b1883984a1220d8d9723
2019-04-17 14:18:28 +01:00
jaegonkim
44628d6c29 [ONOS-7732] Automating switch workflow - checking workflow definitition
Change-Id: I66b3bcd43377869b82be5bb7a446152857344355
2019-04-12 22:34:01 +00:00
Charles Chan
8b488de794 Allowed apps to specify whether the existing component config value should be overridden
Change-Id: Ic0992adb49cbcce17e17a71af954fbeeafde97d3
2019-04-12 22:28:23 +00:00
Jian Li
d30295e3a4 Fix: revise node init logic to handle all state other than COMPLETE
Change-Id: I6c74783b053551fe49fb6c667131da9f3dd16ba0
(cherry picked from commit 8097420224370d2fb4cc3ecbc9457054ba19a4e8)
2019-04-12 06:44:05 +00:00
Carmelo Cascone
c2be50a804 Allow sharing the same gRPC channel between clients
This change introduces a refactoring of the gRPC protocol subsystem that
allows the creation of a gRPC chanel independently of the client, while
allowing multiple clients to share the same channel (e.g. as in Stratum
where we use 3 clients).

Moreover, we refactor the P4RuntimeClient API to support multiple
P4Runtime-internal device ID using the same client. While before the
client was associated to one of such ID.

Finally, we provide an abstract implementation for gRPC-based driver
behaviors, reducing code duplication in P4Runtime, gNMI and gNOI drivers.

Change-Id: I1a46352bbbef1e0d24042f169ae8ba580202944f
2019-04-11 23:14:41 +00:00
pier
4c2715efb3 Fix npe when host does not have valid ipv6 address
Change-Id: I411ec372eb16a1a2b5071a79b81af173de25bdbd
(cherry picked from commit 13b2cc62251e15b391f76507a2afc1cb470b6d37)
2019-04-11 20:35:39 +02:00