724 Commits

Author SHA1 Message Date
Max Chu
3ba06869ec CFM and Microsemi cleanup
Change-Id: I4a69b2b0db6e18f48de8fbcb576d2563cb41e498
2017-10-18 23:51:36 +00:00
Laszlo Papp
81cc6426ef Polatis driver: remove star imports
Change-Id: Ia4a846352745e02d2e182ce093cdca64e354b8e5
2017-10-18 02:58:25 +01:00
fahadnaeemkhan
a62bd2ffc7 ONOS-7108: added getFlowEntries for Ciena Waveserver
Change-Id: Ib61b5cd97e547d06965907b3d18cc77792996255
2017-10-17 22:08:57 +00:00
Ray Milkey
8e2c339b06 Upgrade ONOS to use 2.3.0-b2 version of the yang tools
Change-Id: I1111958d4d172320a00d595c20ff82a385a4be3e
2017-10-17 22:06:07 +00:00
Laszlo Papp
8cd61fb0a8 Support power config ports retrieval
Change-Id: If0535eb713ca76bffdf43891d28e6357402246ac
2017-10-17 20:29:32 +00:00
Laszlo Papp
4e3780ef25 Polatis netconf: fix the default device
Change-Id: Ib466a8e71a3f25d859b5dffeefc0d1bfc46674f1
2017-10-17 12:36:46 +00:00
Laszlo Papp
8b3a5f6751 Add a Polatis NETCONF driver
Change-Id: Iecfe8df9d656bebbe82bf01bcaf185a77ccd26d8
2017-10-12 19:58:11 +00:00
fahadnaeemkhan
ffc917f9c8 ONOS-7080 and ONOS-7070:
- added support for user-defined signal in add-optical-intent CLI
	- implemented LambdaQuery behavior for restCiena driver
	- added port based filtering of paths in OpticalIntentCompiler

Change-Id: Ibb61cc3722d5b3a52859d5585decf82a50ef5be0
2017-10-11 23:22:12 +00:00
Sean Condon
0e89bda7fc Initial import of CFM and SOAM api
Change-Id: Icf5cc2d5fb34b75460e80e8cced0d70265bcd33b
2017-10-10 10:30:34 +01:00
Charles Chan
d9e47c680f Replace L4 dst port matching on QMX switches
Change-Id: I51c299bec8de3851a0f44cd4a8904013134f2da4
2017-10-06 23:29:46 +00:00
Gaurav Agrawal
f2a8c2bdbf Adding application level dependencies between dependent models.
Change-Id: I3b37da04c962094852d47d24e49287ce30648016
2017-10-06 20:45:11 +05:30
Gaurav Agrawal
28920d8101 Addition of common model.
Change-Id: If5fd6bae01a59ebf9d27f8369ac3403c83f70fad
2017-10-06 18:18:10 +05:30
Carmelo Cascone
2b05752370 Allow for arbitrary counter IDs in DefaultP4PortStatisticsDiscovery
Change-Id: Ia840848506c362229eb0fcba9270a78eca1cb782
2017-10-04 22:33:39 +00:00
Kalhee Kim
3d26bf0e5e [CORD-1984] Multicast flows get into wrong table in hardware switches
Change-Id: I06ec1d75fdef5bfdf28f1cc70f002f70a943ba4f
2017-10-04 15:15:14 +00:00
Ray Milkey
f0c47617e8 Remove deprecated deserialize() mthods from packet classes
Change-Id: I4e52ab368390d30f5f5f24d443a5021916d0c6a3
2017-10-03 18:03:33 +00:00
Carmelo Cascone
cb0a49c993 ONOS-7078 Fixed inconsistencies when encoding/decoding P4Runtime msgs
Now P4InfoBrowser permits looking up entities by name only, not alias.
Applications should use names as defined in the P4Info when
creating PI IDs (e.g. PiCounterId). However, to avoid breaking support
with BMv2-based pipeline models, when referring to header fields in
tables, i.e. match fields, application should drop any scope identifier
from field names, e.g. "hdr.ethernet.src_addr" should be referred by
applications as "ethernet.src_addr". Such inconsistency will be fixed
with ONOS-7066.

Change-Id: I4d6dceadd233a293b845dba84e62a49680ac930b
2017-10-03 16:40:27 +02:00
Carmelo Cascone
87b9b398fa Various improvements to PI group handling
- Moved group translation logic to core service
- Removed dependency on KRYO
- Fixed bug where tratments with PI instructions where not supported if
	an interpreter was present
- Fixed bug where action profile name was not found during protobuf
	encoding (always perform P4Info lookup by name and alias)
- Improved reading of members by issuing one big request for all
	groups

Change-Id: Ifcf8380b09293e70be15cf4999bd2845caf5d01e
2017-10-03 12:41:46 +00:00
fahadnaeemkhan
7182724e11 ONOS-7043:
- Added FlowRuleProgramable behavior for restCiena driver
	- Added CienaRestDevice which provides cleaner implementation
	  of behaviors

Change-Id: I94ab7afdc5a2cda82cc5d5ed794af512cb80adc6
2017-09-29 21:54:24 +00:00
Yi Tseng
82512da397 [ONOS-6935] ActionProfile supports in P4RuntimeClient
Change-Id: I9f0ac307985c03b7ed93e14e41ba468c481a4e4f
2017-09-28 01:45:23 +08:00
Ray Milkey
dc48fb2c3b Starting snapshot 1.12.0-SNAPSHOT 2017-09-26 14:42:24 -07:00
Ray Milkey
eb3f6ef786 Tagging 1.12.0-b1 2017-09-26 14:40:44 -07:00
Yi Tseng
a87b40c468 [ONOS-6964][ONOS-6966] Add pipeconf codec and pipeconf view
Change-Id: Ie60a5451bcc24a27ede655c8230d82998ea4f3be
2017-09-20 22:54:28 +00:00
Yi Tseng
18177a5faf [ONOS-7026] Show table name if the table id of a flow is PiTableId
Change-Id: Icd2f69dad4604b30e7d1ea871f15a2df842af9e0
2017-09-19 11:50:11 +09:00
Carmelo Cascone
f2a5ea6a87 Fixed bug in P4_16 programs that was making bmv2 crash
Change-Id: Ia5057b3080e55610605908cd36b399db6c50c545
2017-09-15 00:00:57 +00:00
Laszlo Papp
9de1d1463a Match the polatis driver against the vendor string
Any software and hardware versions are accepted. It is unlikely that a
different vendor will use our vendor name, but we will update the
matching pattern in such an unlikely event.

Change-Id: I332a699456dfe4fc8b0f5528fca26e94b5bb3851
2017-09-13 18:15:13 +00:00
Carmelo Cascone
7f75be413e ONOS-7001 Support for direct counters
Currently Bmv2 returns UNKNOWN error when reading direct counters.

Change-Id: I834d7b5a8627181c6888500545e1bdbfe9af8dc1
2017-09-13 08:28:38 +00:00
Carmelo Cascone
fe99be9df0 Workaround to BMv2 bug when reading ECMP entries
Change-Id: I23e5c0af04735c8c79a575d076bc1793d57a69f4
2017-09-12 11:32:05 +00:00
Yuta HIGUCHI
234eaf380a fixes to catch proper netconf exception
- part of ONOS-7020

Change-Id: I55c02ca9fdb97f1ae12b4e3d7b76da565f9da741
2017-09-07 18:36:33 +00:00
Carmelo Cascone
eb01812052 Updated P4_16 sample programs to reflect HW testbed
Change-Id: I9d76c9bc7632760cd9af1a3a431856291903eaf9
2017-09-06 16:27:06 +00:00
dvaddire
8e6b89af58 ONOS-6985 - Fix for NPE at Oltpipeline
Change-Id: I6a7afa36e49ff7c4c3e0e8bc9fa0c1e974cbe5e6
2017-09-06 15:49:01 +00:00
Carmelo Cascone
ef826f9c7f Fixed wiring problem with BMv2/P4Runtime driver
Change-Id: I0aac2598603618cc47ed325b3177df262d9fc359
2017-09-06 07:00:05 +00:00
Julia Ferguson
65428c39e6 CORD-1622 CORD-1624 Add IPv6 mutlicast in McastHandler and OFDPA2.0 Drivers
Change-Id: Ibbb402b62999b39f8aea2cd236b959fc61fb94ac
2017-09-06 02:43:02 +00:00
Lewis Kang
6568741cac support both ofdpa 3.0 and ofdpa premium for Accton's platforms
Change-Id: Ibe03cdce9eb4e11a71f387b6f310a0c5f8a0c833
Signed-off-by: Lewis Kang <kang@accton.com>
2017-09-06 02:42:20 +00:00
Charles Chan
0ed16712a9 Remove pipeline limitations to OFDPA 3 QMX driver
These features should be supported in OFDPA 3.0 EA5

Change-Id: I4cc720d102dd694b47f2dbd6cb78e3b242af9945
2017-09-05 18:02:43 -07:00
Yuta HIGUCHI
923a7784b0 netconf protocols fixes
- Align artifactId, dependency structure, etc. similar to buck

Change-Id: I78fac4ca6567e5b2982cc59a7f0f57c7d74dbadb
2017-09-05 13:51:02 -07:00
Yuta HIGUCHI
dd7c3f8d78 Remove deprecated netconf classes and API
Change-Id: I3c0e37efe827060596aea667551729bf92331950
2017-09-05 16:44:11 +00:00
Carmelo Cascone
b045ddce4a Implemented support for P4Runtime counter read
And PortStatisticsDiscovery behaviour for default.p4 that uses it

Change-Id: Iadf40eb322987ef74239120e01acb4bece712aef
2017-09-01 15:11:50 +00:00
Carmelo Cascone
e3a7c749cf Abstract implementation of a behaviour for P4Runtime
Implements commonality of all other behaviours. Also, simplified
the implementation of all other P4Runtime behaviours by re-using that.

Change-Id: Ibb25bdd1e0d1c6e8863341df87fa83d4a782b8d9
2017-09-01 15:11:07 +00:00
Saurav Das
9df5b7c1f7 CORD-1583 More bug fixes in dual-ToR scenarios
- reentrant lock was not being used correctly
 - fixHashGroup in group handler was not updating global store correctly
 - linkUp was not being noted in seenLinks if configuration came after switches connected
 - serialization error in global objective store due to missing kryo for Sets
 - damaged routepath computation was not taking pair-devs into account
 - switch failures were leading to improper ecmpSpg graph updates, and missed hash-group changes
 - implemented more next-objective verification as group sub-system can go out-of-sync with objective-store

Change-Id: If3cfdd715e9b69820894b49def31f75ceb748863
2017-08-31 21:18:13 +00:00
Carmelo Cascone
a62ac3da2a Reusable implementation of default P4 interpreter
That can be shared among many targets running a program equivalent to
default.p4.

Change-Id: Ic13fc4e416f4ad77f71fbd3202277aac9088b3b1
2017-08-31 18:23:24 +00:00
Carmelo Cascone
f423bec0b3 Fixed internal device ID in P4Runtime
Data type for the P4Runtime server-specific device ID is uint_64.
We were using int to store it in ONOS.

Change-Id: Ia4624cfc453ccf6b00a690eb9e4e4ad14a7881ec
2017-08-30 08:17:11 +00:00
Andrea Campanella
19090320e7 Completing Port Statistics scheduling in general device provider.
Adding empty shell for port statistcs discovery with bmv2 and default.p4

Change-Id: I4a333e406d6df0c6f8041d53f21cbf10f8bb9782
2017-08-29 15:34:31 +00:00
janani b
9ed76be7e6 [ONOS-6551] Tunnel implementation for L3VPN service.
Change-Id: I3171a83305cb7391d80fda94ddf567629a10675e
2017-08-29 15:33:35 +00:00
Thomas Vachuska
c98aa2a8a8 Cleaning up app names, descriptions and categories.
Change-Id: I684fdf23fcd8a8078d82bc6ff5e3d1af664b20c2
2017-08-29 15:23:11 +00:00
Carmelo Cascone
2308e52d63 Workaround for the duplicate flow rule apply problem for P4Runtime
Change-Id: I0373facddd0e610e2a3b9ab0afe0e6ca64cf33aa
2017-08-29 15:09:24 +00:00
fahadnaeemkhan
482951f028 ONOS-6968:
- Added PortAdmin behaviour to restCiena driver
	- Added support for changePortState for RestDeviceProvide

Change-Id: I8083502e3cf64cf9df37d540d4fd511d34d6d8d9
2017-08-28 23:55:37 +00:00
Yuta HIGUCHI
71ee08f0d5 sync artifactId with buck artifact
- onos-drivers-default

Change-Id: I06be6891960eb809b78c35ae33cd962154d9295f
2017-08-28 14:38:27 -07:00
Yuta HIGUCHI
2e4a6d4f9c microsemi project structure
Change-Id: Ibdc7c90017c6d320801f10d1f4c77169ea62fb89
2017-08-25 22:24:50 +00:00
Frank Wang
d8ab0961cc Fixs some misspellings
Change-Id: I03d23d8acca8789b430f74fdac80d287f0fa59df
2017-08-25 16:34:57 +08:00
Thomas Vachuska
b002968a83 Cleaning up application titles, descriptions and categories.
Change-Id: I80f9770697cbf29b6bde2b20778c341b0f403d9f
2017-08-24 10:19:33 -07:00