Andrea Campanella
288b273cf3
Implement support for packetIn through p4Runtime
...
Change-Id: I92cc1a2bd7edde8916aad61c20d7411f93368612
2017-07-28 19:21:08 +02:00
Carmelo Cascone
f3a1a3897e
Removed pipeconf dependency from PiPipelineInterpreter
...
If needed, an interpreter implementation should know which pipeconf it
supports. Instead, mapping of treatments now depends on a table ID,
since table in P4 can potentially support different actions with similar
semantics.
Change-Id: Iffbc84457f08e5dba84a8e949931849006f82535
2017-07-28 15:49:56 +00:00
mskala
32000d35b7
[ONOS-6806] Add getAvailableDeviceCount method to DeviceService
...
Change-Id: Ieda7e66c1a1d25aa92b55542ecfe59652dac3bc5
2017-07-27 18:48:14 +00:00
Gamze Abaka
8d03f1896f
ONOS controls the packet count field from flow statistics to check flow liveness, but some switches (such as Pica8) do not support packet count field of the flow statistics. Pica8 switch sends "-1" as the packet count. Even though packets match flow rules, when the idle-timeout time is up, ONOS deletes these rules based on the packet count field anyways. Therefore, just checking the packet count field is not enough for this situation. Pica8 sends byte count properly. If ONOS checks both packet and byte count, this problem will be solved. I would like to add byte count check to FlowRuleManager - checkRuleLiveness method.
...
Change-Id: I4ade01bcd17c4b0a7a59750bd1834b87e78f9972
2017-07-25 23:13:54 +00:00
Jordan Halterman
dbfff0663e
[WIP] Block ConfigFileBasedClusterMetadataProvider until valid configuration is found.
...
Change-Id: I32022b1280ccec84268c97b72a6a148a407b4c20
2017-07-25 19:54:59 +00:00
zhiyong ke
5395e64a15
ONOS-6824 Unit tests for Translation of all criterion types in PiFlowRuleTranslationService
...
Change-Id: Id775d2d002c298930e9e754739917040f2dd7ccc
2017-07-25 06:20:48 +00:00
Ray Milkey
64313cbc83
Starting snapshot 1.11.0-SNAPSHOT
2017-07-20 15:46:52 -07:00
Ray Milkey
7e28519e5f
Tagging 1.11.0-b2
2017-07-20 15:45:28 -07:00
Andrea Campanella
fc1d34ca16
[ONOS-6809] Implementation for packet out in p4Runtime
...
Change-Id: I873a1fd18529fe9fd41aa33f862298892ece7d1c
2017-07-20 20:24:17 +00:00
Carmelo Cascone
44daf562f9
Registering BMv2 default/base pipeconf at driver loading
...
Change-Id: Ib46bf202213a741c4a73732e20cd1638424f8a0a
2017-07-20 14:06:22 +00:00
Carmelo Cascone
31d3e44192
Better handling of extensions in PiPipeconf
...
Now built using a URL, while input streams are generated on-demand.
Before it could happen that the input stream was completelly read by
someone, leaving it unusable by others.
Change-Id: I61a76bf8b8c1d2f6e2d987661025e0323d59e1c7
2017-07-19 19:17:15 +00:00
Andrea Campanella
432f718de7
[ONOS-6809] Support for Packets and packet Metadata
...
Change-Id: I53910cd8e2ce5845e301dc68bcbf3ae8f34a197b
2017-07-18 13:51:54 +00:00
Carmelo Cascone
07d72718b9
ONOS-6555 Default pipeconf implementation and builder
...
Change-Id: I80ac4f6e939d30a943653a1d63d5cff07b368620
2017-07-17 14:51:51 +00:00
Yi Tseng
4a7d1e10da
[ONOS-6775] Fix incorrect flows add/removed by IntentInstaller
...
Change-Id: Ide3d5d26ac03eebfcc142a76bd2d644c6d41a22e
2017-07-14 02:10:12 +00:00
Carmelo Cascone
f1db284c81
Example unit tests for PI criterion translators
...
Change-Id: I6971d3d1e3428b8ad186d8bf29223a2ffd8d69d9
2017-07-14 00:29:27 +00:00
Carmelo Cascone
3bf51574a3
Removed unnecessary criterion translators
...
For which a translation is not really possible (e.g. optical parameters,
extensions, etc.)
Change-Id: I3e8b7aeec6e4888d3f55d45d9783609a842372f9
2017-07-13 21:56:08 +00:00
zhiyong ke
897fd2de22
ONOS-6604 More criterion translators for PiFlowRuleTranslationService
...
Change-Id: I9399f75fe467971d6d012ddad47a72c58df02d69
2017-07-13 20:21:45 +00:00
Andrea Campanella
48f99fa704
[ONOS-6556] Implementation of PiPeconfService
...
Change-Id: I0b40f1808e459a4a7cb83cde50010f6d38b04771
2017-07-13 19:32:35 +00:00
Charles Chan
60c4528c63
ONOS-6786 Fix NPE when a host netcfg without location being posted
...
Change-Id: Iae73ed44232b916dd97b60da8443a540d4bf6a96
2017-07-13 00:51:10 +00:00
Jordan Halterman
4f3193a0fd
[ONOS-6721] Add dependency of FlowRuleManager on DriverService to ensure driver service is bound prior to usage.
...
Change-Id: I1f0b60e8fdbcb1d6fcf7bbd4028478140e12669d
2017-07-12 18:54:25 +00:00
Carmelo Cascone
f7aa3f947f
ONOS-6559 P4Runtime protocol library
...
Change-Id: I7070b69507dcf2ca47ee1c446bcc2505ca868fb1
2017-07-12 16:44:04 +00:00
zhiyong ke
f2e6a483d4
ONOS-6604 Translation of all criterion types in PiFlowRuleTranslationService
...
Change-Id: I62d34c1f5d4718c4865933bf60eb4f1266125232
2017-07-11 15:08:02 +00:00
Andrea Campanella
bc112a960d
[ONOS-6564] Adding PiPeconf behaviours to driver for device.
...
Initial implementation of PiPipeconfService.
Tests for Initial implementation.
Change-Id: I9dea6fb3015788b8b61060c7f88395c3d45e6ed7
2017-07-06 10:06:50 +00:00
zhiyong ke
1667fbb693
ONOS-6776 ImmutableMap.of use error
...
Change-Id: Ia479eebd7bfc11e91242cb65fa048c084d5633e9
2017-07-05 15:34:52 +00:00
Ray Milkey
f14cc6d3c2
Fix SNAPSHOT version string
...
Change-Id: I090c1998e5a117c10263b7a6abbffc624beb4074
2017-06-28 16:36:27 +00:00
Charles Chan
df37973c1c
Revert "Use DAD to probe if interface MAC is not supplied"
...
This reverts commit a9458535b0510932734e20e666fab3e9a3a1ecd4.
This doesn't work when the target host has multiple interfaces with different VLANs. When receiving a DAD packet on an interface, the host will reply even when the probed IP is configured on another interface with a different VLAN. ONOS will thus learn a host in a wrong VLAN with the same IP.
Change-Id: I1ee427f1390ce36f26450b62e53c926ffad46ebf
2017-06-26 19:38:09 +00:00
Ray Milkey
7463193198
Starting snapshot 1.11-SNAPSHOT
2017-06-23 16:46:27 -07:00
Yuta HIGUCHI
dc13d39f47
Fixing pom.xml
...
- onos-core-net was failing due to dependency to incubator-bmv2-model
Change-Id: I3ae0989b1f601c754af495a59e6be88bc474e78d
2017-06-21 17:42:13 -07:00
Carmelo Cascone
00a5996a23
ONOS-6605 PI flow rule translator implementation
...
Change-Id: Icac66f17677c494152207f4b52355ad647e1227b
2017-06-21 20:29:45 +00:00
Patryk Konopka
7e40c01118
[ONOS-6607] Get active flow entries count in FlowRuleService
...
Change-Id: I68b4d916f92427c06a82d3622fcc05738f64541c
2017-06-20 15:43:27 +00:00
Charles Chan
888e20a25d
Remove host location when port down or device down
...
Also refactor Host Location Provider
Change-Id: I57d682ee51e80ddd7e141883521a12da705a336d
2017-06-13 18:58:10 +00:00
Charles Chan
61fc0d8cc9
Extend Network Config Host Provider to support multihoming
...
Change-Id: I6e9dd18a5189a7bf35a617a00bd46e4a32acf524
2017-06-13 18:52:06 +00:00
Yuta HIGUCHI
19afc03a4a
Migrate HashedWheelTimer to netty 4
...
- moved potentially time consuming task to
shared ScheduledThreadPoolExecutor
Change-Id: I8e77041e0f84bd2bdfd6ae6704f4e39b81c721dd
2017-06-12 21:49:14 +00:00
Yuta HIGUCHI
9eed0b1a34
Revisit Annotations merging
...
- avoid extra instantiation/copying when possible
Change-Id: Ia2f74a1fe2ff1176346316565c9bc6786cd7f6e4
2017-06-12 21:19:29 +00:00
Yuta HIGUCHI
45ff2d97a3
Shutdown shared scheduled executor on Core deactivate
...
Change-Id: I9a7cb1b8db346e2ca5818eeb1986d42a63dec806
2017-06-12 16:37:14 +00:00
Yuta HIGUCHI
3142f646ac
Avoid accidental link type override
...
Change-Id: I3462838f8208c231f7b7ff24e63a03984fae4475
2017-06-09 17:27:31 +00:00
Yuta HIGUCHI
2ad387d7a0
Respect bidirectional link config
...
- Evict link in both direction, only if the configuration is bidirectional
Change-Id: I64b5d6dcedbbaf6e4e4a146e9dd123c8444c85b3
2017-06-09 17:27:31 +00:00
Ray Milkey
0c6182f643
Remove deprecated proxy ARP implementation
...
Change-Id: I43164581b5d823acb4617cbea78e670cb7499346
2017-06-02 23:42:53 +00:00
Ray Milkey
a695719fa7
Remove deprecated flow statistics APIs
...
Change-Id: I0b44886f2e2f549377dd70ce123eefe73eb10fda
2017-06-02 23:42:19 +00:00
Ray Milkey
686fba0b67
Remove deprecated MPLS Intent classes
...
Change-Id: I6f4d6fd84ce41c26b8a30f5c0881c42c67a1f209
2017-06-02 23:40:46 +00:00
Ray Milkey
dcd5c5c2f4
remove deprecated intent compilation exception class
...
Change-Id: I85fdd10f918b6323479fbce0cff11cd2814e769a
2017-06-02 15:53:49 +00:00
hyunho1986
5777064501
[ONOS-6534]Device Null Point Error is Expected in PacketManager
...
Change-Id: Ibc21f78e6f269d902d4d2dfaf3071d804c2c4f72
2017-05-30 16:15:39 +00:00
Charles Chan
a9458535b0
Use DAD to probe if interface MAC is not supplied
...
Such that probed host will not learn the ONOS dummy MAC from the probe.
Change-Id: I0c4505c8908da2370eed3c2617d1bcf9d921872f
2017-05-29 18:19:19 +00:00
Yi Tseng
b32f774349
[ONOS-6397] Fix incorrect filtering objective condition from Intent copmiler.
...
LinkCollectionObjectiveCompiler should generate filtering objective
according to different situation.
This implementation use criterion from in/egress FilteredConnectedPoint and encapsulation tag for the
filtering objective.
Change-Id: Ib2ccd6fb00d055a96f2762ce261780ebc544a77b
2017-05-29 00:27:26 +00:00
Yoonseon Han
2b24337193
fix: (vNet) remove dependency for test codes
...
Remove dependency for intent service for virtual network service.
Change-Id: I7fff4bda367e4d35359ec44c885e942b099653d2
2017-05-26 22:22:27 +00:00
Yi Tseng
0db1f3b7de
[ONOS-6481] Fix Intent resource release issue
...
Lables for encapsulation won't release because Intent manager release the
resources by Intent key only.
Allocate encapsulation labels by using Intent key instead of Intent Id to
resolve this problem.
Change-Id: I8fd52245063ded725e4b2c3911f52c029591ab90
2017-05-25 20:29:03 +00:00
Ray Milkey
8521f810b4
remove deprecated isDurable() method
...
Change-Id: I000fe7dc49b6ba231cc7483cf0ad67593b50f06e
2017-05-24 21:17:33 +00:00
Yuta HIGUCHI
a684b6ea99
Add K-shortest path API to PathService.
...
Change-Id: I96732666f31a7a2b2df9a16f63e77bc0a367da83
2017-05-19 15:45:52 +00:00
Yuta HIGUCHI
498fa1d321
Bump Guava to 21.0
...
Change-Id: Id81705773d191db6a18153d8b2dd4abd2bfd0e60
2017-05-19 15:40:12 +00:00
dingdamu
d3a0b215dd
Fix latency constraint
...
1. Consider that the type "Duration" in the String is composed by
characters and numbers, it's not easy to convert it to double for
comparison, I modified the latency's annotation to
cfg.latency().toNanos().
2. Exclude two EdgeLinks for the calculation of the whole path's latency
3. The unit of latency in ONOS is not the same, so I set all the latency units to
nanoseconds.
4. Add the latency constraint option for ConnectivityIntentCommand.
Change-Id: Iddf5634880e43ed563db9978659db5eb9ee6c7f8
2017-05-19 02:01:23 +00:00