107 Commits

Author SHA1 Message Date
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
tom
8350ba5108 Added option to show only enabled/disabled ports 2014-10-16 07:22:02 -07:00
tom
32085cf0b7 Adding JSON format to the CLI. Intents and flows still need to be done. 2014-10-16 00:04:33 -07:00
Ayaka Koshibe
bfca040388 Merge branch 'master' of ssh://gerrit.onlab.us:29418/onos-next 2014-10-15 17:07:45 -07:00
tom
a6235a5a95 Fixed shell-config.xml to fix auto-completion for device-role command. 2014-10-15 13:25:39 -07:00
Ayaka Koshibe
45503ce0b2 list mastership roles CLI command
Change-Id: I54dc296f90c4b8ceebe4e86816c3796da4d2d714
2014-10-14 11:26:45 -07:00
Ray Milkey
9bbc9444ff Make CLI completers stop filling values when command line is complete
Added <null> tags to terminate <completers> lists in the CLI shell
config.  These null values stop completers from adding extra
arguments at the end of commands.  If a <null> is not added
at the end of a list of completers, that means use the last
completer as many times as possible.
2014-10-13 10:27:45 -07:00
Ray Milkey
0742ec92cd Add a Multiple source to single destination intent
This is a very simplistic implementation of an intent that
represents multiple sources with a single destination.
The implementaiton is simple, it just computes the union
of the set of path segments needed to satisfy all the connections
and installs them.

The unit test is just a skeleton with a single test case and
needs to be expanded.
2014-10-13 08:39:55 -07:00
Yuta HIGUCHI
80912e6757 Separate cluster management and mastership management to separate packages
Change-Id: If1e399648451842da6dccc644b75b81337b105f9
2014-10-12 00:15:47 -07:00
Brian O'Connor
ea9021ea43 moving latch instation before submit in push-test-intent command 2014-10-10 23:12:23 -05:00
Brian O'Connor
1aa99eb973 adding push-test-intents command to test intent performance 2014-10-10 20:16:23 -05:00
tom
093340b44c Speeding up stuff.
HostDescription now passes up just a single IpAddress.
2014-10-10 00:15:36 -07:00
tom
545708e14e Optimizing performance of HostId. 2014-10-09 17:10:02 -07:00
Yuta HIGUCHI
fa891c9a0f Revert "Refactoring to move code to right locations. Attempt at breaking dependency cycles."
This reverts commit 58819b4dcc697f63872bee9f3ddd41a0c4d8fca5.
2014-10-09 15:28:45 -07:00
Yuta HIGUCHI
d40483d52c Revert "Refactored code in an attempt to break dependency cycles"
This reverts commit 195af6e6b27c23c7beb98f4cd425e7d7ffff1ecd.
2014-10-09 15:28:45 -07:00