2456 Commits

Author SHA1 Message Date
Carmelo Cascone
4efa498fab Simplify creation of PiActionParam from primitive types
Change-Id: I52053cbe60c4cba3746de1cbf67b16a47ce053bc
2018-04-18 23:33:09 +00: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
1657032c03 Fix handling of several error cases in the application REST API
Change-Id: I5a18374834b01e7b79b8f874356bf5f76168b66e
2018-04-17 10:26:54 -07:00
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
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
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
Yuta HIGUCHI
d6587b92e1 default value for driver property
Change-Id: I13963776c8ec1ad270be2cd73181e91167e37ead
2018-04-10 22:29:57 +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
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
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
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
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
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
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
Ray Milkey
d29bc1ceef Improve unit test coverage for basic config classes
Change-Id: I8a9d6d51fcad89d8d215253fafdbecb12f1c81df
2018-03-16 20:30:05 +00:00
Laszlo Papp
84adcac63b Introduce driver property to suppress group feature
Change-Id: I7bf9857a7a71e3b4ef64aa7fd2c8777ff20dc95b
2018-03-14 16:42:19 +00:00
Thomas Vachuska
c67a9912cc Added support for grid coordinates in the legacy topology view.
Change-Id: I48533f24eded919673af92a59cc5e2edefef46b3
2018-03-08 00:03:45 +00:00
Ray Milkey
6a51cb9c4d Remove calls to deprecated Throwables.propagate() method
Change-Id: Id48a8f1d4fb02560cfb77108f554556a3cad9b16
2018-03-07 21:52:46 +00:00
Laszlo Papp
759f0d3103 [ONOS-6958] Add glyph registration java code
Change-Id: I954c790062f8ff5498c34c334827c4f695278a9e
2018-03-07 21:26:41 +00:00
Ray Milkey
27cff8c805 Remove deprecated unfiltered connect point methods from multipoint to single point intents
Change-Id: I220a024568852d1f3168bac3f5cf47d0b3fd9d86
2018-03-06 17:17:59 +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
Yuta HIGUCHI
53e4796d55 Deprecate potentially error prone constructor methods
Change-Id: I82d95c27dc7c4b1a6dcf5cc48a1c7583b5e30e2c
2018-03-05 20:43:39 +00:00
Ray Milkey
874581a694 Unit tests for interface config class
Change-Id: I28d68ddf3847dcc6ec6b58d36b81bba6e3ac9f02
2018-03-03 23:10:28 +00:00
Pier Luigi
57d417971e [CORD-2748] Multicast flows are not properly updated when changing source
Change-Id: Ia4a9e9f132156e4b9a7eb56dd943f1fd13bc1560
2018-03-01 21:16:05 +00:00
Thomas Vachuska
611f466a83 Fixing issue in component config subsystem where the locally registered
property value does not get properly updated on startup and thus wrongly
retains its default value.

Also update the Javadocs for the newly added ComponentConfigStore methods
to properly reflect the sparse map semantics.

Change-Id: I4be4fe66d45a6e20bd235c61b06e2ebcb81dfe5b
(cherry picked from commit a3b55a90bb6b09d80ae486bf8a53ae028db2aafa)
2018-02-28 01:01:14 +00:00
Jonghwan Hyun
f810a7a2e7 [CORD-2721] Implement group bucket modification
Change-Id: I0f637ec4ff2b0c12db53d70fed195ea28e542535
2018-02-27 20:45:06 +00:00
rohitsharan
a127ba895c Adding openflow protocol set support in onos for device
Change-Id: Id796e54b536eda19d511a1978657abd6e149f117
2018-02-16 18:05:26 +00:00
jaegonkim
598e8b841b [ONOS-7487] UnsupportedOperationException: Driver does not support extension type ExtensionTreatmentType{type=200} for DefaultGroupBucket
Change-Id: I4bb392797981490b51e616a39f97985fdef5fde9
2018-02-16 17:48:06 +00:00
Ray Milkey
7483e1b466 Remove deprecated LinkWeight interface
Change-Id: I4d3edab133d115ba189f317202d2dfba9b100918
2018-02-16 17:40:29 +00:00
Yuta HIGUCHI
2d1b590ba3 Add more utility methods to DocumentPath
Change-Id: I993006c45187be1cb7d4b627a5c9d7c5ee5edec9
2018-02-16 17:27:46 +00:00
Ray Milkey
a2cf3a1505 Remove deprecated connect point APIs for point to point intents
Change-Id: Ie7d29a9e6d54283d3a3310ed8b1e749a631031b1
2018-02-16 17:25:04 +00:00
Thiago Santos
01c93383c0 TestConsistentMap: cannot remove while iterating
You get concurrent modification exceptions if you do that.

Change to collecting all the keys before removing them.

Change-Id: Ie2492eaf7d5dcfd8e8261285f7ad530a686a543a
2018-02-16 17:15:28 +00:00
Yuta HIGUCHI
b2a20d1138 null-safe DocPath ancentry tests
Change-Id: I36709bee94b10e516427adb892d1caeabea1b9aa
2018-02-15 19:29:42 +00:00
Thomas Vachuska
9f6bd52524 Fixed issue where component configuration would not propagate on node restart.
Change-Id: I431ce444025cc9a8021dd68fa23c6e8c29fa6c19
2018-02-13 00:29:42 +00:00
Ray Milkey
a7cf8c8f55 Remove deprecated DefaultPath constructor with a scalar cost
Change-Id: Ifc4104cff773c9c692cc108fda02ce44bc6c2870
2018-02-09 17:51:28 +00:00