Yi Tseng
667538d4ea
[ONOS-7724] Incorrect priority check in PiFlowRuleTranslator
...
Change-Id: Ib927bd52959b3d128060960c5e048ea5afc7a52a
2018-06-22 02:19:23 +08:00
Carmelo Cascone
e6a9754787
Better logging when configuring the FlowRuleManager
...
Change-Id: I7da22b1bf796a7199acc5a55c21f6a5334f312d4
2018-06-20 20:44:46 +00:00
Carmelo Cascone
6af4e17c53
Bumped supported revisions of P4 tools
...
Includes:
- Use new P4Runtime "v1" package names
- Removed VALID match
- New table entry priority spec (1 is min priority, not 0)
- Fixed p4c-bm2-ss to include arch flag
- Re-compiled P4 programs with more recent p4c (with updated p4info)
Change-Id: I05908f40eda0f0c755009268fd261fb8bcc9be35
2018-06-15 19:04:30 +00:00
Charles Chan
ff79dd9169
Implement host probing retry with major refactoring
...
- Implement probe retry
- Switch to typical core/provider design pattern for HostProbingService
and as a result decoupling the dependency between SR and HostLocationProvider
Change-Id: I33a15af580677ea376b421ac3e26f9821dcca844
2018-06-06 16:57:33 -07:00
Ray Milkey
816db1086a
Add modules to Bazel build
...
cli
core
incubator/rpc
pipelines/basic
protocols/netconf
protocols/openflow
protocols/rest
Change-Id: I165b94a04ba893d97d944e5deb2746f54566503b
2018-05-31 15:44:36 +00:00
Ray Milkey
95c9e0fdea
Upgrage EasyMock to version 3.6
...
Change-Id: Ib87cf414ca849cb19dc68a416de1e236d917aa8c
2018-05-30 15:37:37 -07:00
Keesjan Karsten
2336889e82
Make the Basic pipeline more portable
...
This change makes the Basic pipeline compile better with different
compilers. One change is this: the type parameter for a v1model meter
instance cannot be a programmer-defined enum. This is because in P4_16,
enums don't necessarily have underlying bitstring types and the
language doesn't specify that enum members should be assigned a
numerical value in any given way.
Change-Id: Id2b758eb2b6e76aa708c2e03e7a001667efddb3d
2018-05-25 17:19:21 +00:00
Ray Milkey
fb1c762c71
Fix concurrent modification exception due to unlocked access to collection
...
Change-Id: I8af0759c37f87e958984afe5879747ee7aa385eb
2018-05-22 01:26:04 +00:00
Pier
68c025bda8
Fix testUninstallAndInstallNonDisruptive test
...
Change-Id: Id5f8cd5a3b270231ccadfcde5ad4934c5ee407e0
(cherry picked from commit 9f832343ebd760246928e54c86080227a1ebfdf4)
2018-05-16 06:02:15 +00:00
Thomas Vachuska
5b38dc079c
Extending DeviceProvider interface to include triggerDisconnect method.
...
- extended interface with default method implementation
- modified DeviceManager to exploit the new provider feature
- refactored a number of device providers to use the new method
instead of relying on indirect DEVICE_REMOVED events
Change-Id: Ib315357ef06463012fcf26bbe937c8cdccbf3a94
2018-05-15 16:03:05 +00:00
Ray Milkey
4ef245e8ea
Fix NPE in DeviceManager for an offline device
...
Change-Id: Ib105b029efd0519c6ed54abf8e89c7be6c905987
2018-05-10 16:30:16 -07:00
jaegonkim
ab7e59f3e8
[ONOS-7646] IntentCleanup.cleanup() overwrites intent operation of pending map with the intent opeation of current map
...
Change-Id: I98825dc790bee845c4afcf795af13e81d685da1a
2018-05-10 16:53:22 +00:00
Charles Chan
07f15f2cad
Fix ConsistentMapException.Interrupted and NullPointerException
...
- Moving time-consuming packet processing to a separate thread
- Re-use the group information when dealing groupMissing instead of query again
Change-Id: I01f1b43260f22dcb969a105f16d04d79c722146e
2018-05-09 13:28:13 -07:00
Thomas Vachuska
164ecf6019
Adding mechanism for device subsystem & providers to trigger device
...
reconnect in support of ONOS-7645 (device driver change)
- added device listener to OpenFlowDeviceProvider to properly disconnect switch
- removed device listener from OpenFlowControllerImpl
- augmented DriverManager to consult NetworkConfigService as a primary source
Change-Id: I1aa8e9cc7e81ff3af7a72145f4e51f3e32022806
2018-05-09 17:51:20 +00:00
Thomas Vachuska
f131e590f0
Partial fix for ONOS-6767.
...
- pruning removed annotation tombstones
- processing netcfg only on master node
- swapping priority of processing of geo/grid coordinates
Change-Id: Icade1032f94ea774136d863d388402c79094c5a7
2018-05-07 22:01:58 +00:00
Charles Chan
35b589c104
Increase flow obj timeout and remove pendingForwards and pendingNexts when the next failed
...
Change-Id: I6a1fde50db9184d87af20e3c605ff5b697e082b6
2018-05-02 20:00:44 +00:00
Charles Chan
0d4b8b3ab5
Add missing @Override tag
...
Change-Id: Ieaed0e44370efaec995fc19e3b333b5aefe87749
2018-05-01 16:29:07 -07:00
Saurav Das
9a55429ae1
Adding a component config to take down single homed host ports when all uplinks are lost.
...
In addition:
- handle port updates that may be lost if mastership changes at same time
- fix javadoc in DeviceService
Change-Id: I032909e8ab9564cf9c978b1d66abd3ab32c814d7
2018-05-01 15:49:55 -07:00
Charles Chan
971d7ba29e
Move some functions from segment routing manager to interface service/manager
...
Change-Id: I7185cf70f7e5d723a63ac35296b8916558560c35
2018-05-01 15:41:49 -07:00
Charles Chan
320c6a502e
Print flow objective error message
...
Change-Id: Ic4959fc86714b7e6ee7419d05d51bf6ce90fd221
2018-04-26 20:56:18 +00:00
Charles Chan
33f4a91efa
Implement flow objective queue command
...
- View flow objecitve queus and caches
- Refactor flow objecitve service and remove deprecated method
Change-Id: I6bbd209a351e0d87c5ee518038b33f72dcb3058a
2018-04-23 14:29:13 -07:00
Charles Chan
45c19d734a
Avoid head of queue blocking in InOrderFlowObjecitveManager
...
Change-Id: Ifec6f861634a0a7c335d0591861391b03c36f854
2018-04-23 14:29:13 -07:00
Thomas Vachuska
c616e17aff
Fixing GUI to respond to server-side layout changes.
...
Change-Id: Ida1052d6bec4a92d29774ede47942410db189732
2018-04-18 15:56:17 +00:00
Ray Milkey
bca9049101
Starting snapshot 1.14.0-SNAPSHOT
...
Change-Id: I97bab4e31d2b701f015289eae29d0c58a4937685
2018-04-13 12:47:31 -07:00
Carmelo Cascone
181f3f46cc
Fixed wrong LPM mask in PI flow rule translator
...
Change-Id: I5c8c67ae4b989ed326c6e17c0fe1e5745defd900
2018-04-12 01:05:00 +00:00
Carmelo Cascone
81929aa0cf
Bumped supported commit of P4Runtime and BMv2
...
Includes fixes for:
- ONOS-7593: Support for indirect resource Index type
- ONOS-7595: Removed ID from direct resources
- P4Runtime requires unset bits to be 0 in ternary field matches
- Incorrect parsing of flow rule byte counters
- Full entity names in P4Info with top-level control block (fixed only
for basic.p4, other programs need to be re-compiled and PI IDs in
respective pipeconf changed)
Change-Id: Ia19aa949c02e363a550e692915c6d6516a2d13d7
2018-04-11 19:04:45 +00:00
Jordan Halterman
3065ba35b5
Validate that cluster configuration intersects with existing nodes when forming cluster
...
Change-Id: I200b25f2e9ae3380ccd90a6b58cd697f1e3029b4
(cherry picked from commit 9a93304b03dfdd34d3679da1dd52fcc676307af2)
2018-04-10 22:49:17 +00:00
jaegonkim
dc8a55609d
[ONOS-7585] ObjectiveTracker.intentsByLink is not updated after ONOS node reboot
...
Change-Id: Ic3fd00fdae2e934739f6536bfad8310596dbc2ef
2018-04-10 22:32:02 +00:00
Yi Tseng
7be4e67f7b
[ONOS-7288] Fix race condition of device manager
...
Change-Id: I38aaae701e96f1114177e619c6f30e1b79f0134a
2018-04-10 18:38:14 +00:00
Palash Kala
6c52606a43
[ONOS-7573][Test successful] Mark online does not notify peers device subsystem
...
Change-Id: Ie347241325047cb65c836c849bec6aebad758820
2018-04-10 16:51:54 +00:00
Jonghwan Hyun
2c95acfde8
Support double-tagged host
...
Change-Id: Ie4041a0b5159e7a8b3a9ed82b55ce3c26b520a3b
2018-04-09 23:17:44 +00:00
Jordan Halterman
ca7660a289
Add rolling upgrade test.
...
Change-Id: Id1b09361aa69f1665f19c312933798b5206d46ac
2018-04-09 17:30:12 +00: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
aa7e97333a
CORD-2917 Should not push packet requests that target specific device to all devices
...
Change-Id: I1ee4c39c358d7ae0ac6bb0ecdc3ea471f5082ac1
2018-04-07 01:46:32 +00:00
Charles Chan
c09ad6dfee
Refactor logging in InOrderFlowObjectiveManager
...
- VERIFY is recursive. Lower it to TRACE
Change-Id: I9a7d84162a40ddc9b92a745790b394db9dde9787
2018-04-06 00:38:39 +00:00
Yi Tseng
df3eec5641
[ONOS-7493] Segment routing may uninstall forwarding with no next id
...
Change-Id: Id78b9ed94633b7e96fdeebe185e28d6de386e3ec
2018-04-05 21:00:39 +00:00
Yi Tseng
d28936e79d
[ONOS-7500] Supports PiTableEntry with no action
...
Change-Id: I92a38b184d4ded539297f1d99e1405eea014bda0
2018-04-05 20:33:15 +00:00
Frank Wang
d7e3b4bc9d
[ONOS-7051] Support for P4Runtime meters
...
Change-Id: Id71374af65aeb84b71636b4ec230dc6001a77a8b
2018-04-04 00:35:08 +00:00
Thomas Vachuska
a10137c0fc
Fixing residual ON.Lab references.
...
Change-Id: Ic54a281ce67e49236c7aeb536729d3900dd9433d
2018-04-04 00:02:22 +00:00
Carmelo Cascone
4256bded84
Support for PI table entry with default action
...
Equivalent to a flow rule with empty selector
Change-Id: I5dcbc234e59e3d8647476ffa54d80f5861bad077
2018-04-02 20:37:59 +00:00
Charles Chan
a7903c81b6
Implements in-order flow objective execution
...
Change-Id: I6d11e25bc44c07ef8488e51b63c3ff8a88d98f9c
2018-04-02 18:15:29 +00:00
Palash Kala
0d817b0d7f
[ONOS-7555] Device local-status and device availability parameters are not synchronized in cluster
...
Change-Id: I1720dc471ce41aabefb84a537319f091f01d46f4
2018-03-29 16:24:55 +00:00
Jordan Halterman
225f4dcde7
Avoid blocking event thread in ResourceDeviceListener
...
Change-Id: Ia17721ce3a435440f9383e55757ffb90ec555e9a
2018-03-26 17:55:26 +00:00
Ray Milkey
054e23d0cf
Add uptimes to device and cluster REST APIs
...
Change-Id: I0ccdf4e33135be4bcfd1674a76ff4b39e992268b
2018-03-22 13:48:50 -07:00
Thomas Vachuska
227943db23
Cosmetic fixes to FlowRuleManager.
...
Change-Id: I473a205f22d284502e0b66d894c859fb7a34b813
2018-03-19 09:37:28 -07:00
Ray Milkey
d29bc1ceef
Improve unit test coverage for basic config classes
...
Change-Id: I8a9d6d51fcad89d8d215253fafdbecb12f1c81df
2018-03-16 20:30:05 +00:00
Yuta HIGUCHI
435f23c48d
Gracefully handle Device not there yet
...
- according to the javadoc, this should return
DomainId or null
Change-Id: Idf1a1719bd987ed1d22e4801a7a2fa8a22fd532b
2018-03-12 21:12:16 +00:00
Ray Milkey
6a51cb9c4d
Remove calls to deprecated Throwables.propagate() method
...
Change-Id: Id48a8f1d4fb02560cfb77108f554556a3cad9b16
2018-03-07 21:52:46 +00:00
Pier Luigi
9789311cd4
[CORD-2802] Fix events reordering in FlowObjectiveManager
...
Change-Id: I5fac27240eac0c182d565ab84e9d8209f4e8d2ce
2018-03-06 18:40:49 +00:00
Thomas Vachuska
a8e7477603
Adding command to add routes and to generate flows from them.
...
Enhanced FlowRuleStore and FlowRuleService with a new method.
Change-Id: I011371c1931294448e361fc1ceb120d89c14489d
2018-03-05 21:53:35 +00:00