666 Commits

Author SHA1 Message Date
Ray Milkey
a218d43062 Merge branch 'master' into merge
Change-Id: Id77bb2de77dd288404c83e331b076aaf9aafacc5
2018-10-30 12:44:55 -07:00
Charles Chan
64c2dfd3a1 Implement packet seriailizer and deserializer for LACP
Change-Id: Idbbd87a3ddeb477cac49a65e6a5c768761019e11
2018-10-29 16:49:14 -07:00
Anjali K K
4a694f692c IEEE 802.1x EAPOL-MKA packet support.
Change-Id: I61bc45226d5b84445d4fafa969150c4a707ab3bc
(cherry picked from commit 7cd5ff66764505e9c8688af8cb96fa4f089dcf3e)
2018-10-29 22:38:20 +00:00
Thomas Vachuska
22ea6126e4 Removing BUCK files and other Buck-related auxiliaries.
Change-Id: I23691380efcd9bce4906695605214ed59ada0e87
2018-10-24 20:02:31 +00:00
Samuel Jero
31e16f57b1 Secure LLDP-based Topology Detection
Current LLDP/BDDP-based Topology Detection is vulnerable to the
creation of fake links via forged, modified, or replayed LLDP packets.
This patch fixes this vulnerability by authenticating LLDP/BDDP packets
using a Message Authentication Code and adding a timestamp to prevent
replay. We use HMAC with SHA-256 has our Messge Authentication Code and
derive the key from the config/cluster.json file via the
ClusterMetadata class.

Change-Id: I01dd6edc5cffd6dfe274bcdb97189f2661a6c4f1
2018-10-17 15:59:31 +00:00
Saurav Das
a432cf87fa Allow applications to specify a few other packet-request flow priorities.
Also let Ethernet class recognize EAPOL eth-type when printing.

Change-Id: I52b9d9aec6dfdd07aa49861f8c6b82ed814f638e
(cherry picked from commit 6f58cf1e5aae371cb8c7e0ad69552f3e68672f05)
2018-10-12 01:12:27 +00:00
Ray Milkey
13472a137e remove references to deprecated ICMP constant
Change-Id: I041ee8fb555df318edfc5ebca9ebd9a8934c947d
2018-09-20 16:25:01 -07:00
Ray Milkey
1f8fcc3c6b Fix problems detected by the latest version of errorprone
Change-Id: I532d3627fa232e93ee6860bd10db64c99e78f915
2018-09-17 22:48:13 +00:00
Ray Milkey
2c84a9a158 Remove deprecated fit() API
Change-Id: I693389c0c40c0c6fc4d8fabf78307c9acc84b247
2018-09-11 16:43:16 +00:00
Ray Milkey
946fb4f2d3 Remove deprecated getTimer() API
Change-Id: Ie6d99b7145f180ff264c2f372495880f50a10ca1
2018-09-11 16:43:08 +00:00
Ray Milkey
c65a87013e remove deprecated isLinkLocal() method
Change-Id: I05e5d836002a102319abd9ee45dffadd6a5e38e5
2018-09-07 17:47:54 +00:00
Charles Chan
384aea29c6 Support IPv4 multicast in P4 fabric pipeline
- Multicast can use the same table as unicast. Merge into one.
- Allow masked destination MAC in classifier table

Note:
- Pipeliner now translates all exact MAC match to masked match with FF:FF:FF:FF:FF:FF mask.
- Interpreter now only uses masked src/dst MAC

Change-Id: Ibd27ebfb2d72ba929031f07a29927eb6f1844f11
(cherry picked from commit 0865779b66a59a623856b1353615e462af5575c5)
2018-08-28 05:24:39 +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
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
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
Daniel Park
4a0be7b0df Adds mtu option in DHCP option codes.
Change-Id: I12edf10939043ca992ff4a90817d3d290b9ee3e5
2018-08-07 08:00:31 +00:00
Daniel Park
d27dcdaf51 Implements ICMPEcho packet type.
- For echo request and reply purpose
- STC fast test passed

Change-Id: Ib8ff062718f1747ecf6fcf0fbe06935df28f0e71
2018-08-07 08:00:10 +00:00
Ray Milkey
1c896873c5 Revert "Implements ICMPEcho packet type."
This reverts commit c90af240ebf85b2954d414afceafddca5b7d5ef6.

Change-Id: Idfd9e9aa2af8550b8bdd22305704fd368597459e
2018-08-03 11:30:58 -07:00
Ray Milkey
8bf12805a6 Revert "Fixing errorprone's warning."
This reverts commit c5836479cf04a23bc24f097ea606153b572eb76b.

Change-Id: Ia662d4b35a7d063b45876315d8bf97444ca41c5b
2018-08-03 17:14:16 +00:00
Thomas Vachuska
c5836479cf Fixing errorprone's warning.
Change-Id: I8bb35ca74df50c7c9d689272c1f7b24274303540
2018-07-31 17:46:12 +00:00
Daniel Park
c90af240eb Implements ICMPEcho packet type.
- For echo request and reply purpose

Change-Id: I5797bf41ad6f4afd2c7327b9bfa193aa90198ce4
2018-07-31 01:11:28 +00:00
Georgios Katsikas
5e2d40fdbd Get float value from property name
Extended tools to parse and return Float-based
properties.

Change-Id: I706bc7d1b547d675424a24198d31077eef0fc51f
Signed-off-by: Georgios Katsikas <katsikas.gp@gmail.com>
2018-07-30 16:16:29 +00:00
Ray Milkey
74c98a3ee8 Refactor file path validation code; reject apps with up-level references in the name
Change-Id: I4b14604608078d12df2f7b89f9f841ed19c2552c
2018-07-26 17:28:05 +00:00
Ray Milkey
351d456aca Prevent zip archives from putting files in directories outside of the target directory
Change-Id: I4c751097e8d5190f3df32d8aa4195336e28b1c0a
2018-07-26 15:41:50 +00:00
DongRyeol Cha
e0c98dbd91 Present the port number of LLDP as string value
Currently, ONOS packet-out the LLDP packet with port component type for port id as number value.
But according to RFC2922 , It describes that the port id should be octet string(normal string type).
So, if port number is presented as string value, we can see the port number as string at switch's CLI output.

ONOS-7737

Change-Id: I3ecd0e60a038239c9b4cacd0dd06730bdeb5e338
2018-07-17 16:14:52 +00:00
Thomas Vachuska
1ae26c6c28 Tweaking Bazel packaging.
Change-Id: I796f70e1324c40b5d21c3b784662138f2ec04655
2018-07-10 16:01:53 +00:00
Ray Milkey
dbd3821cf0 Checkstyle rule to prevent throwing the generic RuntimeException
This is a frequent cause of sonar breakage.

Change-Id: I54e0044447633a61bab560b020b57ed0a6875ebe
2018-07-02 18:03:00 +00:00
Jordan Halterman
281dbf3eb3 Refactor flow rule store to resolve missing flows with old masters following mastership reassignment
Change-Id: I7b7e639c84cbd23fe9ab1f12080f865cdfc7f7f9
2018-06-29 20:03:51 +00:00
Daniel Park
021d2eb175 Adds classless static route option to DHCP options.
- Classless static route option is defined at RFC 3442 and widely used in OpenStack.

Change-Id: I66200faa5414b02dae325238e3bf1f0442efd0d8
2018-06-26 13:41:58 +09:00
shalde064
280feecf19 ONOS core changes for RIP support
Change-Id: I5aa22ed6509d99af22d7cb80944bc3a4c26b5257
2018-06-21 00:54:20 +00:00
Ray Milkey
275af2c8ff Implement bazel rules for generation of swagger files
Change-Id: I0e5d33174898cc6a1bbca475f2e1696c4fdda1ca
2018-06-20 09:41:24 -07:00
Yuta HIGUCHI
ede3ae309d Mark method which shouldn't have been public
Change-Id: I9f18f485ed84ffbdd001ad1ae79270f23bfd1082
2018-06-13 00:01:47 +00:00
Yuta HIGUCHI
06fde300b1 slightly increase coverage
Change-Id: I90c68fb5544f7f6f9a150e94d6a4c9aa450114c9
2018-06-09 06:16:21 +00:00
Ray Milkey
0bcdfd1e59 reformat bazel files to use Google coding standards
Change-Id: I320f0ca7ccb1b2247ccdd9fa58fefca7dad8a16f
2018-05-23 14:07:19 -07:00
Ray Milkey
7dac7dadf5 Initial builds using bazel
Change-Id: I38123b396a2ffda5f36cdca43f3ad1fa67a7ab52
2018-05-23 20:38:54 +00:00
Yuta HIGUCHI
ae51470075 Add test case for toHexWithPrefix
- just to test Jenkins trigger

Change-Id: I346d04cbead074674debabdd24f318f3bca17d34
2018-05-04 16:13:45 -07:00
Jonghwan Hyun
800d9d0770 [ONOS-7624] Implement egress pipeline programming
- Implemented logic to handle double-tagged host in segmentrouting application.
- Added 'DummyVlanId' to segmentrouting application to keep track of dummy vlan for L3L2Unfiltered group chain and egress tables.
- Implemented L2Unfiltered group and Egress pipeline programming support in OFDPA pipeline.
- Added EGRESS flag to the forwardingObjective to program Egress tables.
- Fixed bugs when handling double-tagged ARP request, to get correct vlan id and reply with double-tagged packet.
- Fixed bugs in BasicHostConfig, to set the value of 'outerTpid' to 0x8100 if it is not specified.
- Fixed build(ARP/ICMP/ICMP6)reply to build double-tagged reply if corresponding request is double-tagged.

Change-Id: I1fdc30b55827c3f73fad9e854bcaa5fb23f7bcd0
2018-04-26 15:32:17 +00:00
Taras Lemkin
96a0d34085 CORD-2870: Bypass DHCP leasequery without learning routes.
Changes:
    * Add configuration flag to disable old leasequery routing/learning flow
    * Route leasequery (v4 and v6) responses to an originator
    * Fix NPE and BufferOverflow exceptions in Dhcp6LeaseQueryOption
    * Make Dhcp4/Dhcp6HandlerUtil classes static
    * Fix codestyle issues

Change-Id: Ic9e527d73a226e7f1f544dab9fb98398b85c5460
2018-04-24 14:52:04 +00:00
Charles Chan
79cc5e81cd Fix NPE in Dhcp6Duid serializer
Change-Id: I0d367b3642efc69a4e036aac29f967718d16d841
2018-04-23 14:29:13 -07:00
Charles Chan
29813b0331 Implement RFC6355 DUID_UUID
Change-Id: Ic1fa1ca8483437498787f84bf0b2b99fb3c12d70
2018-04-19 21:42:26 +00:00
Ray Milkey
bca9049101 Starting snapshot 1.14.0-SNAPSHOT
Change-Id: I97bab4e31d2b701f015289eae29d0c58a4937685
2018-04-13 12:47:31 -07:00
Eduardo Ferreira
cf8ee3ca46 Ip4Address: Update Self Assigned IP from 169.x.y.z to 169.254.x.y
Update the prefix for self assigned IPs, so we can support more IPs when using HostLocationProvider.

 Dynamic Configuration of IPv4 Link-Local Addresses https://tools.ietf.org/html/rfc3927

Change-Id: I29931ee45f01a4c9d89784884ef27adb376f5efa
2018-04-11 12:37:15 -03:00
Carmelo Cascone
8a571af574 Support for bitwise AND/OR/XOR in ImmutableByteSequence
Also, minor refactoring of the fit() method to improve code readability

Change-Id: I826650c3fc45573c723d9d2dd8692da174d9ae08
2018-04-09 16:56:49 +00:00
Charles Chan
58a33da87e Wrapper function that enables logger invocation with log level as a parameter
Change-Id: I999ef173ffbc60ccc31795d107142cb4d671145b
2018-04-06 00:38:32 +00:00