537 Commits

Author SHA1 Message Date
Thomas Vachuska
e4b6bb2515 Intents are now removed after being withdrawn.
Change-Id: I7574fe94add00abf58c71c6122bb3dc5aafa0f79
2014-11-26 04:31:14 +00:00
Thomas Vachuska
5bde31ffec Fixing various issues and re-tuning.
Change-Id: I8822fcf77cfa507788241c5bda98ef4741b284b4
2014-11-26 00:25:14 +00:00
Yuta HIGUCHI
e83cce7dc4 BalanceMastersCommand: Fix type mismatch
Change-Id: If6bbe8d16d70b937250e243e7ac8617b0e971543
2014-11-24 23:06:40 -08:00
Yuta HIGUCHI
963c656723 IntentPushTestCommand: stop logging SUBMITTED
Change-Id: If316f9403bd252b54bc070dd207cf07efaa30ca1
2014-11-25 05:10:58 +00:00
Thomas Vachuska
e02e11cbc5 Fixing issues on GUI server side. Adding command to balance mastership. Messing with color scheme per feedback.
Change-Id: I89fb52105f7e724167a417e033048e9c88f31eae
2014-11-24 16:27:40 -08:00
Yuta HIGUCHI
6a46283219 metrics command to dump all the Metric in the system.
- Add probe to measure the time spent querying for Mastership.

Change-Id: I48fe37568a3261ee5b6229a3884e42a3a741b407
2014-11-24 08:32:19 -08:00
Michele Santuari
4a33807957 SinglePoint to MultiPoint Intent initial implementation
Change-Id: I1010997ce4ea993ae34afb8dab4b6c0ae112448d
2014-11-23 18:09:11 -08:00
Thomas Vachuska
47635c6ead ONOS-293 Added summary pane and related keyboard shortcuts; also tweaked key help sizes and dropped instances toggle from mast. Fixed ONOS-295 bug.
Change-Id: I694901957451cf88df06e6fca3a8d71de144f68e
2014-11-22 02:30:35 -08:00
Brian O'Connor
7368cd074c actually adding randomintentcommand.java
Change-Id: Ic156b8553be3417e0b7f4b27a85fcd503efe55b8
2014-11-19 22:45:13 -08:00
Brian O'Connor
6741a5fdff adding random host to host intent command
Change-Id: Id7e059466a2a1dbb7a117c84c8c4d104f99858ad
2014-11-19 20:58:43 -08:00
Brian O'Connor
510132a8cd changing intent push test to also remove intents
Change-Id: Iaf90c8822d76f7bc1cb24c25613ba8e9a7934176
2014-11-19 16:01:41 -08:00
Thomas Vachuska
33601601f3 Added ability to remove host by CLI and by the provider on device/port down events.
Change-Id: I28de4b6b5bbfb5a00f35e1808bcd916369d7d1a4
2014-11-19 15:04:43 -08:00
Jonathan Hart
6e9482887a Added CLI completion for IP protocol types.
Also modified IpProto and EthType field parsing to allow the user to supply
either a string value (e.g. "ICMP", "ARP") or the protocol number.

Change-Id: I8f19bebe53c2a7dbdc7570fdc08f979b2c0851cb
2014-11-18 11:08:35 -08:00
Jonathan Hart
2c25e3681c Moved CLI options for rewrite actions up to ConnectivityIntentCommand so they
can be used by all connectivity intent commands.

Change-Id: I6cd6b05423479d53313c92491ab636ebd58def43
2014-11-17 18:14:19 -08:00
Jonathan Hart
5dfa43f4b9 Fixed bug taking dst TCP port argument from CLI
Change-Id: Iafc1ea6bf300321a982e529f2770e450f216b961
2014-11-17 16:38:19 -08:00
Brian O'Connor
fa81eaef06 Refactored intent framework to deal with batches.
There is still work to be done, but for now, submit, withdraw and reroute are working.

Change-Id: Ib94cf8c4be03786cc070f402d1f296f5dfa6588b
2014-11-17 14:46:09 -08:00
Thomas Vachuska
e4cebafa19 Adding support for link state to GUI.
Change-Id: I6476cf04810f7bc7e88af629a36ce671b42748d0
2014-11-15 18:58:41 -08:00
Yuta HIGUCHI
6b38ee3533 Minor fixes
- Format string fix
- FlowRuleEventTest: minor bugfix
- HexString: accept null
- byte[] toString() format change

Change-Id: I9db419cfc211670cc2abd796a21396ba960e23a9
2014-11-14 18:04:38 -08:00
Pavlin Radoslavov
708e820534 Added CLI command to print summary of the intents:
"intents -s" or "intents --summary"

Change-Id: If6ec11b1425cb2a4c93fdd910808065419af14b5
2014-11-14 17:18:37 -08:00
Ray Milkey
ac1441d43c ONOS-196 Add --macSrcRewrite and --macDstRewrite options to add-point-intent command
Add the option for specifying a mac address rewrite.

Generate instructions for the rewrite and include them in the
treatment for the intent.

Change-Id: Ib2fa5ad5a6eb1d9617159c34d832fd89f7245db9
2014-11-13 14:51:53 -08:00
Thomas Vachuska
dea45ff7da Adding enhancements to the GUI server-side.
Fixing a few intent-related glitches for the optical use-case.
Fixing lat/lng information in the optical config.

Change-Id: I6a1dd1ee69c2db2f0e351d191627bba468a3c49c
2014-11-12 20:31:04 -08:00
Thomas Vachuska
2292567fc6 Fixing a defect where logical port numbers are listed as part of CLI arg completion.
Fixing a defect where devices imported with device id in uppercase are considered as different from those discovered in lowercase.
Fixed javadocs error from a rebase.

Change-Id: I76741022fb95d10a9a16fc9ce6d6443b166822ab
2014-11-12 02:35:01 -08:00
Jonathan Hart
5f7097ef5b Add some more match conditions to connectivity intent CLI commands
Change-Id: I429c34319e8f88bd8899bcee458dc3a60ffcce66
2014-11-11 12:58:02 -08:00
Yuta HIGUCHI
60731cb2b1 DatabaseService subsystem: add admin commands, etc.
Change-Id: I24124579f5e0b03ccbf35a03230ae5a7aff95f22
2014-11-11 09:20:20 -08:00
Ray Milkey
ab9a76b41d Remove prototype bandwidth limited intent commands
Change-Id: I387de6d4db6d0dd81465a274b72ea63b9e3b9c92
2014-11-06 11:47:29 -08:00
Thomas Vachuska
e926103338 Merge "ONOS-22 - Add Constraints to CLI Commands" 2014-11-05 18:31:36 -08:00
Ray Milkey
460f40251c ONOS-22 - Add Constraints to CLI Commands
Added optional --lambda and --bandwidth operations to command
line for host to host, point to point, and multi point to
single point intents

Fixed intent compilers to add constraints to the PathIntents they
create

Change-Id: I25510d401118feba493f51ecddc72d770d8ae3e3
2014-11-05 16:45:47 -08:00
Thomas Vachuska
caa14d6ff1 Changed LOCAL port number in the CLI to "local".
Change-Id: Ic24442446a225bbc52613ce6c26b5ecaf7697193
2014-11-05 16:35:45 -08:00
Thomas Vachuska
edc944c3fc adding constaints to intent API 2014-11-04 15:42:52 -08:00
Yuta HIGUCHI
5c94727a3c javadoc fixes
Change-Id: I3b4fc2d99f42b2413a535fb411b9c19bdd186ad8
2014-11-03 21:39:21 -08:00
Brian O'Connor
fe0f4b1c3a Adding resource-{available,allocated} CLI commands and lots of toStrings
Change-Id: Ib23eda2d9feb523e23dc33fb437994267b4cc555
2014-11-02 00:34:10 -07:00
alshabib
3460da1ca9 polished add-flow command
Change-Id: I67b957d18820b2447ebddf09f4aa95ab67e6c0b8
2014-10-30 17:26:49 +01:00
alshabib
1c81a0e5c5 Merge branch 'master' of ssh://gerrit.onlab.us:29418/onos-next 2014-10-30 16:28:59 +01:00
alshabib
5afcbd7317 added add-flows command
Change-Id: I240da77d78eebd54eeaa5a0864244920278429a2
2014-10-30 16:28:45 +01:00
Thomas Vachuska
a05c0a2941 Merge "Prototype bandwidth reservation" 2014-10-29 18:26:50 -07:00
Thomas Vachuska
d16ce18d0c Added Port.Type and plumbed it throughout. 2014-10-29 17:25:29 -07:00
Ray Milkey
caa450ba34 Prototype bandwidth reservation
This is a prototype of the bandwidth reservation implementation.
There is no bandwidth discovery, it is all faked.  The bandwidth is
specified by allocating a special Intent used for demonstration purposes.
This code also uses faked out interfaces in the Resource Manager, and will
need to be refactored when the real Resource Manager is in place.

Change-Id: I1f9a16b4144f5440bb529014a6a6f0f21d22839e
2014-10-29 16:10:16 -07:00
Jonathan Hart
61d4ebc7ca Added CLI command to view address bindings
Change-Id: I1f1ac8ec7766691fb7dadee33a6f75cc560b0da8
2014-10-29 11:08:40 -07:00
Thomas Vachuska
4f1a60c9fd Revised copyright message. 2014-10-28 13:39:11 -07:00
Thomas Vachuska
444eda6066 Added JSON for role command. 2014-10-28 13:09:42 -07:00
Pavlin Radoslavov
444b519327 Replaced the usage of IpPrefix with IpAddress in the context of
Controller Nodes.

Change-Id: Id2b25fb071bb20541db3f77b7afefe886520538e
2014-10-28 10:45:19 -07:00
Thomas Vachuska
e0f804aa3f Added application ID store; both trivial and distributed variants. 2014-10-27 23:40:48 -07:00
Pavlin Radoslavov
33f228af5a Replaced IpPrefix and IpAddress in the following methods
and cleanup related code:

 - Host.ipAddresses()
 - DefaultHost.ipAddresses()
 - HostDescription.ipAddress()
 - DefaultHostDescription.ipAddress()
 - HostService.getHostsByIp()
 - HostManager.getHostsByIp()
 - HostStore.getHosts()
 - GossipHostStore.getHosts()
 - SimpleHostStore.getHosts()
 - ProxyArpService.known()
 - ProxyArpManager.known()

As a result of the above cleanup, the "hosts" CLI command outputs
the IP addresses as "1.2.3.4" instead of "1.2.3.4/32".

Also, the following REST calls might be affected as well with
the above format replacement:
  - REST POST: config/topology
  - REST GET: topology/graph
2014-10-27 19:33:16 -07:00
Brian O'Connor
5296b32841 adding add-optical-intent command
Change-Id: I4f2dacb52739dbbbdbcbc59916998bd161fe3fe8
2014-10-23 14:59:05 -07:00
Thomas Vachuska
65b3583a63 Merge remote-tracking branch 'origin/master' 2014-10-22 23:35:54 -07:00
Thomas Vachuska
0e752bdbb4 Added link types of TUNNEL and OPTICAL.
Fixed the optical config json file.
Fixed treatment of links added by ancillary providers.
Added a trap for topology provider errors.
Added CLI to recompute topology.
2014-10-22 22:33:41 -07:00
alshabib
23a8d7c756 added stats command
Change-Id: Id6ac04e116858c4a105329ddcf5557fee93dfc8d
2014-10-22 21:53:39 -07:00
Thomas Vachuska
944cb6c30d Added CLI support for showing key/value annotations for devices, ports, links & hosts. 2014-10-22 17:05:42 -07:00
Thomas Vachuska
7d693f5be7 Experimenting with Apache 2 copyright on the onos-cli module. More later... 2014-10-21 19:17:57 -07:00
Ray Milkey
9fdf1eaaae Add L2 selector options to connectivity intents
Added --etherType, --etherSrc, and --etherDst to
PointToPointIntent and MultiPontToSinglePointIntent
creation in the ONOS CLI.

Change-Id: Ibccd3c0b331e7f89be6903f264a6889ac1ad5f17
2014-10-21 16:27:41 -07:00