121 Commits

Author SHA1 Message Date
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
Thomas Vachuska
07ac62ab2e Merge remote-tracking branch 'origin/master' 2014-10-21 12:47:34 -07:00
Thomas Vachuska
10d4abcf36 Adding JSON output for intent list command. 2014-10-21 12:47:26 -07:00
Ayaka Koshibe
fc981cff24 MastershipEvent carries RoleInfo as a subject
Change-Id: I8f850ad1f21bfbdc23fedda1a53f4ccedb1b8d32
2014-10-21 12:44:36 -07:00
Thomas Vachuska
6ce7304822 Adding JSON output for intent list command. 2014-10-21 10:01:49 -07:00
Thomas Vachuska
e291c8445e Enhanced toString for intents for consistency.
Removed ID block allocator stuff.
2014-10-21 02:52:38 -07:00
Thomas Vachuska
4926c1b06f Refactoring intent API. 2014-10-21 00:44:10 -07:00
Thomas Vachuska
b97cf28766 Refactoring intent API. 2014-10-21 00:21:24 -07:00
Ayaka Koshibe
abedb0998d MasteshipService, store, and CLI commands use RoleInfo
Change-Id: Ibc569498a67d33d088e5c9f89c6bb1f45eadc26e
2014-10-20 17:31:11 -07:00
Ayaka Koshibe
da1cda69a0 Merge branch 'master' of ssh://gerrit.onlab.us:29418/onos-next 2014-10-18 18:43:08 -07:00
alshabib
75e774203d Merge branch 'master' of ssh://gerrit.onlab.us:29418/onos-next
Conflicts:
	core/store/hz/net/src/main/java/org/onlab/onos/store/device/impl/DistributedDeviceStore.java
	core/store/hz/net/src/test/java/org/onlab/onos/store/device/impl/DistributedDeviceStoreTest.java
	features/features.xml
	tools/test/cells/office

Change-Id: I08e6d7c6a0bdaae072dd50ff7ac36d94f16d77e1
2014-10-16 18:03:40 -07:00
alshabib
7911a05aae lldp discovery independent of OF
Change-Id: I720f727f6628e30e5d732e6d7bf742d1b7050812
2014-10-16 17:49:37 -07:00
Ayaka Koshibe
760a7f9745 Merge branch 'master' of ssh://gerrit.onlab.us:29418/onos-next
Conflicts:
	core/store/serializers/src/main/java/org/onlab/onos/store/serializers/KryoPoolUtil.java

Change-Id: I6a8fc884f0c0b6578762d7b439177378e838735f
2014-10-16 10:57:12 -07:00
Thomas Vachuska
dfe48a752e Added JSON formatting for flow list command. 2014-10-16 10:32:08 -07:00
Ayaka Koshibe
e8e4535e3c fixes for RoleValue serialization
Change-Id: Ie51d0e16a0623061790523920f6a22aa18e74517
2014-10-16 09:57:34 -07:00
Thomas Vachuska
bb0272e33b Added JSON formatting for flow list command. 2014-10-16 09:32:04 -07:00
tom
c65fa11ca2 Enahnced path list command to show JSON. 2014-10-16 07:48:47 -07:00