779 Commits

Author SHA1 Message Date
Jonathan Hart
7dbe629b0b Add optional "name" parameter in interface configuration.
Interfaces can now be added and deleted by name. Interfaces without names
cannot be updated or deleted.

Change-Id: Icb2188b1c9abf3017724f751a93457920a53ba03
2015-12-04 19:22:05 +00:00
Michele Santuari
05b882c872 encasulation CLI paramter and completer ONOS-3446
Change-Id: I7ceabf34ae9e055c511302341bbf86488a112f5f
2015-11-29 23:33:50 +00:00
Sho SHIMIZU
a88db496d5 Avoid double wrap of Bandwidth class
Change-Id: I6bb95beafd55364499df64429c0788153a0b1624
2015-11-23 23:57:09 +00:00
andrea
eb70a94b55 [ONOS-3253/3144] Insert support for Netconf device configuration, set and get controllers commands
Change-Id: I99188aa18207b9d0b0d935b9f9e61e547f4ddab1
2015-11-20 00:03:05 +00:00
Jonathan Hart
d9df7bd278 Fix naming convention issues in preparation for stricter checkstyle enforcement
Change-Id: I918b7b1dcf6424a526b6b26b89acc9a57d807fec
2015-11-13 16:28:02 -08:00
Thomas Vachuska
761f0040f3 ONOS-1684 Added support for app dependencies.
Change-Id: Iae318c24c3c9bd43d84318c79ac420fc85d5d599
2015-11-12 21:37:58 +00:00
Charles Chan
ccd59a4386 Better output format for hex group id
Change-Id: Ic765642d494acf48f214618afe88f0f9c371fde4
2015-11-11 02:57:15 +00:00
Saurav Das
4f98008c10 CORD-48 Added support for broadcast next objective in OFDPA driver.
Changed groupid to show in hex for cli command 'groups'

Change-Id: I86474912a9fd775c36d5bc49545eaa58ecc46b47
2015-11-06 23:41:10 +00:00
Steffen Gebert
ba2d3b7871 Implement OFActionEnqueue (OpenFlow 1.0 only)
Realize the QUEUE Treatment using OpenFlow 1.0 Enqueue action.

The ConnectivityIntentCommand's --setQueue parameter is extended by a notion of
<port>/<queue> to support the difference from OpenFlow 1.3 Set-Queue, which is
not bound to a port.

Change-Id: I28cf70a7c004a1a3a14361e5186cfe42f09f1356
2015-11-03 22:55:40 +00:00
Charles Chan
6f5d306d4f [CORD-328] Shows type in groups command
Change-Id: I508c8066052d07e6784da13cfc1d200a95087e11
2015-11-03 09:56:59 -08:00
Saurav Das
554f5e77f4 Fixes NPE in CLI when user enters non-existent DPID in "flows any <dpid>" command.
Sorts flows according to table-id first, and then flow-id, so all flows
from the same table print together.

Change-Id: I4a811a00a1dc0e1e2f2855c06f5f7f9851152c0d
2015-10-27 18:25:47 +00:00
Aaron Kruglikov
92511f22a0 Creating persistence service.
Change-Id: Ib78b4001a24c71b4096e5a2a446dbd5009aa1090
2015-10-26 21:48:30 +00:00
Ayaka Koshibe
afb546f4ac Fix for NPE due to invalid arguments
Change-Id: I08b83c09c405a0aed0c69628fd5f27b3e5c97ae8
2015-10-26 20:34:53 +00:00
HIGUCHI Yuta
9803071bb2 Fixing completion config
- AnnotateDeviceCommand takes device ID only on 1st parameter

Change-Id: Ib51efad6559a2faa5cbf7955698dc45e9b5a43c3
2015-10-21 14:19:33 +00:00
Steffen Gebert
bbfdaaaef5 Implement OFActionSetQueue (OpenFlow 1.3 only)
Action "Set-Queue" (OFPAT_SET_QUEUE) is not yet implemented.

This patch adds such a QUEUE Treatment and implements it using the Set-Queue
action of OpenFlow 1.3.

The --setQueue parameter can be used when defining intents so that flows with
the respective Set-Queue action are installed.

This includes contributions by Michael Jarschel and Arne Schwabe and is the
result of our ONOS Hackaton project at EWSDN 2015.

Change-Id: Ie7bf01e8fd90fe68977477327ac4f53d7930e186
2015-10-21 10:36:17 +00:00
Luca Prete
e3879f7651 ONOS-3165. Make MAC not mandatory. Fixing IP (constructor was still doing checkNotNull)
Change-Id: I6663504f63df25260aa62c28337cdadb83dfd361
2015-10-20 16:47:54 +00:00
Jonathan Hart
0bdf837de8 Add basic ability to add and remove interfaces
Change-Id: I11fd764304a4e7ab298336f3033a4417ba4be28d
2015-10-09 21:36:39 +00:00
andrea
ed976a405f Inserted set and get controllers methods in ovsdb controller config
Change-Id: I791ff2ae159d0ac50beff22abda2b187913428f6
2015-10-09 02:07:00 +00:00
Thomas Vachuska
ea5adc6b44 Corrected output of network configuration subjectKeys in JSON output; no longer relies on subject.toString.
Change-Id: If4e07bc27cfaf8feb59397a5f104e5f663504f6e
2015-10-07 20:57:03 +00:00
Srikanth Vavilapalli
95810f5465 CORD-13:Table Statistics support along with CLI and REST
Change-Id: Ic7facc73754c4b1e7c9c5a9eecd217f89a67e135
2015-10-05 15:56:38 +00:00
ssyoon90
a98825ab5d [Emu] openTAM: FlowStatisticManager, DistributedFlowStatisticStore, get-flow-stats CLI Implementation and NewAdaptiveFlowStatsCollector update and typo
- GetFlowStatistics.java
   .Fixed function name typo: immediateLoad()
 - SummaryFlowEntryWithLoad.java
   .Added javadoc
 - TypedFlowEntryWithLoad.java
   .Added javadoc,
   .and replace checknotnull and throw NullPointerException in typedPollInterval() at line 104

Change-Id: I23d2eaf234d0affeb5f927275148d9165c66c774
2015-10-01 11:29:45 +00:00
Yafit Hadar
a9a73def6a [Emu] Open Flow Optical Port Description
Change-Id: I8da4d7a1e1dea18d56cba9673f70b1ec69a5adcf
2015-09-23 16:43:35 +00:00
Thomas Vachuska
924cda424c ONOS- 2946 Adding ability to view packet processor statistics.
Change-Id: Ic55ec670b197b1ee08f2d11f97658fd614da1614
2015-09-23 00:20:44 +00:00
Thomas Vachuska
7f171b2ce9 ONOS- 2946 Adding ability to view existing packet intercept requests and packet processors.
Change-Id: Id0d82fb4a19506ec607a71856dbf0c33c8e51baf
2015-09-22 00:40:11 +00:00
Jonathan Hart
46080b6834 Remove all address bindings code from Host subsystem.
This has been superseded by the InterfaceService.

Change-Id: I8aae4cfe00752a84e545a1030c199aea8b59da38
2015-09-21 20:57:13 +00:00
Jonathan Hart
2ddc411403 Pretty print the output of the netcfg command
Change-Id: Id76124517ff6ad1f8f607654cded3360b5981049
2015-09-21 19:52:47 +00:00
Brian O'Connor
f967ad61dc Starting snapshot 1.4.0-SNAPSHOT
Change-Id: I6b64a70eb8c416b58689afd2af7d726153176f6b
2015-09-18 15:19:54 -07:00
Sho SHIMIZU
a8dbad418d Use diamond operator
Change-Id: Ief0dabe762acb740476eba5eb033dcfce76426b2
2015-09-11 23:48:21 +00:00
Brian O'Connor
b3a3b52f46 Rolling back to snapshot 1.3.0-SNAPSHOT
Change-Id: I5394f02bc4cc4614427e5e535889e883944734fd
2015-09-10 17:26:49 -07:00
Brian O'Connor
cbc5878c31 Tagging 1.3.0-rc2
Change-Id: Id062ea54a0f03c26eb763e03cc347dbfe63cd03f
2015-09-10 17:08:00 -07:00
Thomas Vachuska
58de416ef1 Fixing copyrights.
Change-Id: Iacdddaf1b83fa24998730c3f714fcaf35351ae9e
2015-09-10 16:18:10 -07:00
Brian O'Connor
e8bcb70258 Changing version to back to snapshot 1.3.0-SNAPSHOT
Change-Id: I05bc4669bf3ad2a149cee5d303da42bf8ffd14e8
2015-09-04 23:57:08 -07:00
Brian O'Connor
004345f6c8 Tagging 1.3.0-rc1
Change-Id: I640fc75397b90532e8a71f9413b6822f80b3e775
2015-09-04 23:47:08 -07:00
HIGUCHI Yuta
4a6a70ae5e Remove unnecessary boxing
Change-Id: I78bfbcaf061348172b53bc2ce5c27ff19c1202d2
2015-09-04 22:31:17 +00:00
Thomas Vachuska
0a400ead8e Adding ability for Config to be backed by generic JsonNode, i.e. either ObjectNode or ArrayNode.
Change-Id: I5f9ec423cd5f23f61c97a57073d9d11071c47997
2015-09-04 21:24:06 +00:00
Changhoon Yoon
b856b813b5 ONOS-1767 SM-ONOS implementation
22a363e ONOS-17767 SM-ONOS impl

Change-Id: Ifca8129f2266bada68af735cf81a1d39f1ec8506
2015-09-04 18:09:49 +00:00
Madan Jampani
f97edc1c48 Javadoc fixes
Change-Id: Ia051f4875d5cadbd7e5307bd8bd6ff1df488165d
2015-08-31 21:50:06 +00:00
Hyunsun Moon
cf732fb688 ONOS-2711 Replaced short to TpPort for tcp/udp ports
Change-Id: Ibf0474b5369d11d377fd33cf5ab48083cbca3308
2015-08-25 16:10:35 +00:00
Charles Chan
4b003c5450 Checks the emptiness of egressLabelString properly
Change-Id: I9a524f4d714ff796c3f2aa8dc4355d1c4c093c9b
2015-08-23 23:04:27 +08:00
Dusan Pajin
11ff4a8fc3 Delta Port Statistics added to DeviceStore, Device Service and CLI
Changed misspelled word in description of the portstats command switch

Change-Id: I131940c83c5cb12080532a4804ec424ca66afa64
2015-08-21 17:46:12 +00:00
alshabib
e1248b613f Adding tests for meter service.
Change-Id: Ic220fdaa89b421661019f1a6ef23c7b02eef127c
2015-08-21 15:35:18 +00:00
alshabib
58fe6dc46f fixes for Meter Service
Change-Id: I83d5b8a2e0a955c050f7afe96761d5709d4f9f18
2015-08-20 16:21:08 +00:00
Ray Milkey
a4122367b0 ONOS-2190 - Move org.onosproject.net.config.* out of the incubator
Change-Id: I57cac27ae370ce1155b4f637646d6c25732844e9
2015-08-19 08:59:12 -07:00
Flavio Castro
6baf95d23f Added unit info to metrics CLI command
Change-Id: I1c89b1e684ca86248a5c8a87a625273c2d5dc291
2015-08-13 20:44:26 +00:00
Jonathan Hart
96c5a4ab2f ONOS-2513 Fix entire MP2SP intent failing on partial connectivity loss
* Added PartialFailureContraint to MP2SP intent to allow partial connectivity.
   This means the intent remains installed as long as at least one ingress point
   can reach the egress point.
 * Intents with this constraint are recompiled on ObjectiveTracker triggers
   even if not in FAILED state
 * MP2SP intent compiler can compute a partial tree if constraint is set
 * ObjectiveTracker recompiles intents on any link event
 * SDN-IP MP2SP intents now use PartialFailureConstraint

Ported from onos-1.2 branch.

Change-Id: I32eaa198fae1dfba021d9251c8f855573f0e1d7d
2015-08-13 17:38:55 +00:00
Jonathan Hart
eb8c9476af Created InterfaceService which maintains an inventory of interfaces
based on configuration data.

Change-Id: I98a360fd1b833885fcb41bf9bb8a6e81dc436fd1
2015-08-11 16:51:59 +00:00
suibin zhang
cb7f0d1a42 check add-flows command to add-test-flows to avoid confusions
Change-Id: I81cfdc29d197ee3fd451bab6c0f09dcafecd87d2
2015-08-10 21:21:44 +00:00
suibin zhang
5e897b7902 add print msg when use -p flag
Change-Id: I7f5fc7ddcf1ada45bb4874e48b683cc028e53056
2015-08-06 20:26:04 +00:00
suibin zhang
baa163f83a Fix NullPointerException with -s flag; add -s message
Change-Id: I6bc1e2326d0d260a0469e64b8d0ec2937694534c
2015-08-06 16:31:06 +00:00
Madan Jampani
a776fe2619 Block on the future in device-role CLI command
Change-Id: I20e3784a39eb79b8cfb50a60a5b27185c98c5163
2015-08-05 04:54:18 +00:00