4746 Commits

Author SHA1 Message Date
Thomas Vachuska
345b0c7ad2 Fixing host configuration.
Change-Id: I34d4d29c0043bb72197d140060da7e02e8ec5d43
2018-04-16 20:24:16 +00:00
Ray Milkey
bca9049101 Starting snapshot 1.14.0-SNAPSHOT
Change-Id: I97bab4e31d2b701f015289eae29d0c58a4937685
2018-04-13 12:47:31 -07:00
Patryk Konopka
6f01713621 [ONOS-7239] Fix - ModArp*Instruction not serialized in KryoNamespaces
Change-Id: Ib06ec70fb4bf0d5bc7cd78e374e7481377d305a7
2018-04-12 21:56:20 +00:00
Andreas Pantelopoulos
fdcfe53150 ONOS extensions for use of egress tables.
This patch depends on 17671 onos-loxi patch. When we make
the new loxi release we need to change the prebuild
openflowj in lib/BUCK to that of the actual release number.

It provides support for programming l2 unfiltered groups,
the egress vlan table and the egress tpid table.

Depends-On: I3cea6ed2234147c8dbe440ae1701856a60706e7c
Change-Id: I7525f5856300eac25548b5219a5dffed12b291ad
2018-04-12 19:02:17 +00: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
0316b96ff2 Simplified string representation of PI flow rules
For easier consumption in UI or CLI

Change-Id: I01c5119194b44581a45b7ec78b1b58ce2a8a01f0
2018-04-12 01:01:47 +00:00
Jordan Halterman
042597f678 Allow duplicate event sinks to be registered to allow retries of component activation.
Change-Id: I892f0efc45239c7399224c3754b640256a9205e9
(cherry picked from commit a255470be96ef72f5a72e1bd80d9744bf5f4cea0)
2018-04-11 22:22:45 +00:00
Carmelo Cascone
255125d9fc No need to map table counters in PI pipeline interpreter
This is related to ONOS-7595. In a recent P4Runtime update, it has been
made explicit that tables can support at most 1 direct counter. Hence,
the pipeline interpreter no longer needs to provide a mapping between a
table and one of potentially many counters. If needed, such mapping can
be derived from the pipeline model (i.e. the p4info)

Change-Id: Ibdece52f35a4d187ab9dbeb90f5527b6285e9788
2018-04-11 21:24:48 +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
Yuta HIGUCHI
d6587b92e1 default value for driver property
Change-Id: I13963776c8ec1ad270be2cd73181e91167e37ead
2018-04-10 22:29:57 +00:00
jaegonkim
9477a9df81 [ONOS-7570] ServiceNotFoundException(DriverService) in de-serializing DefaultGroup
Change-Id: I0365f92379d87ca22ef23fb0b721da4a42def664
2018-04-10 22:28:38 +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
400bbe5782 Add compatibility functions to AtomicValue/Topic
Change-Id: I4a597cfa3effe0a62714ab12440a2fc41ac58aa9
2018-04-09 17:30:21 +00:00
Jordan Halterman
ca7660a289 Add rolling upgrade test.
Change-Id: Id1b09361aa69f1665f19c312933798b5206d46ac
2018-04-09 17:30:12 +00:00
Jordan Halterman
a84936d87e [ONOS-7458] Convert application state on read in ApplicationStore
Change-Id: I0877296fce8ac78748b57a88ba190b7ba233c0a9
2018-04-09 17:30:12 +00:00
Jordan Halterman
4500817a2e [ONOS-7547] Implement support for backwards/forward compatibility of ConsistentMap values on read
Change-Id: Ifffb6a883ec4ee6aa5587da58a51c1e90694e5ea
2018-04-09 17:29:50 +00:00
Jordan Halterman
2c045999b1 [ONOS-7551] Support primitive revisions for upgrades
Change-Id: Ib56e10f06ab9abedd176cdd84add6cbf4e3d4c50
2018-04-09 17:29:50 +00:00
jaegonkim
2074d13a05 [ONOS-7586] ONOS leadership change does not occurs sometimes.
Change-Id: Ifa1999c7ce0601fc65cad22af753b78c43b5da0c
2018-04-09 17:00:55 +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
Jordan Halterman
153449c1e2 Make various Raft server/client/storage options configurable
Change-Id: Ied90d25032593dd2a738761ec3bf45102a4c189f
(cherry picked from commit ff7c20cda3d80bac7c6f7bf4db2639e8255b3d95)
2018-04-06 23:26:04 +00:00
Ray Milkey
936a3c9711 fix compiler warning about varags and null pointers
Change-Id: I9faa505d30830ee168c9b61f3aaab406b8fd0c42
2018-04-06 16:35:49 +00:00
Thomas Vachuska
0d93386e28 Adding topology auto-layout.
Change-Id: I2b9e0b5808b8d193e8d08b7fe6ffdb007b083809
2018-04-06 15:36:12 +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
Ray Milkey
957bb37377 ONOS-7577 - REST API to add and remove buckets from a group
Change-Id: I95bad8db7baf6231ffb0c077d9e5d8243da64fd4
2018-04-06 00:38:22 +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
Jordan Halterman
a57a472c18 [ONOS-7546] Simplify partitioning scheme for ISSU
Change-Id: I417e16bd7b97ba8e77ed5ce4f6224487ed13a1c2
2018-04-04 20:10:01 +00:00
Jordan Halterman
ab7d1f3648 Add integer representation of version numbers for use in primitive revisions.
Change-Id: I16e29e3a2f0495e5135a5387249f042b82a466bc
2018-04-04 20:02:08 +00:00
Carmelo Cascone
f03f6e9eff Build PI table entries with EMPTY match key by default
Change-Id: I79d1527c79799f1a8291c030c0117e6ba04cc00a
2018-04-04 19:01:06 +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
Thomas Vachuska
ad2965b759 Fixing implicit app deactivation for apps loaded from disk.
Apps loaded from disk will be marked as having been
activated explicitly, which means they won't deactivate
implicitly when all dependent apps have been deactivated.

Change-Id: I831befdd26615b241da8fdbdb35d21359d3a8665
2018-04-02 15:23:31 -07:00
Carmelo Cascone
5bc7e10bea [ONOS-7474] Fixed P4Runtime detailed error logging on write requests
Change-Id: I055a158a42508c0c7a72aa178aa12f9710c8a63d
2018-04-02 20:46:55 +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
Devin Lim
cdca195585 [ONOS-7565] Flow rules error while rerouting intents with Flow Objectives
Change-Id: I785e2e82cabda23b07816e572ccfde4bed45a3f2
2018-03-30 05:04:55 +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
Pier
59266bc78d [CORD-2856] Traffic on dual-homed hosts not properly highlighted
Change-Id: Iab6c99c7a6e8a33f1ffa0e31d52fd3e0d360676a
(cherry picked from commit 4f3236a9d3f5e595c29a1ba30da773d49078e64d)
2018-03-23 15:59:32 +00:00
Ray Milkey
054e23d0cf Add uptimes to device and cluster REST APIs
Change-Id: I0ccdf4e33135be4bcfd1674a76ff4b39e992268b
2018-03-22 13:48:50 -07:00
Ray Milkey
ed9bace514 Deprecate Distributed Flow Rule Store
Change-Id: I4be7543869d44f966a4d20afa44b2bddf837d4d2
2018-03-20 17:55:01 +00:00
Jon Hall
8069fddf16 [ONOS-7441] Keep installed applications in sync with app store
Fixes the issue where applications installed after startup
were not being loaded corretly when restoring from an offline backup

Change-Id: I60cba91bec8b95a8829b392bcd366eba3b4cf141
2018-03-19 16:19:36 -07:00
Thomas Vachuska
3516f0682b Adding ability to assign roles to elements as part of network config.
Change-Id: I1ecda58e35f0dd30054536024060c67e389d3d73
2018-03-19 10:12:25 -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