14 Commits

Author SHA1 Message Date
Yuta HIGUCHI
3e848a8eb8 add methods to directly set MacAddress
Change-Id: Idab9dce493927d8943789177830df630f3b1326a
2014-11-03 09:29:59 -08:00
Pavlin Radoslavov
d0e32d7486 Added support for IPv6 addresses to class IpAddress:
- For some of the methods, the IP Version needs to be specified by the
   caller. This applies to the IpPrefix API as well.
 - For now, everywhere IpAddress is used and the IP version has to be
   explicitly specified by the caller, we assume/specify IPv4.
 - Added unit test for class IpAddress: for both IPv4 and IPv6 addresses.
2014-10-31 18:11:43 -07:00
Thomas Vachuska
4f1a60c9fd Revised copyright message. 2014-10-28 13:39:11 -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
Thomas Vachuska
781d18bfa1 Added copyrights to cli, features, openflow, providers and web code 2014-10-27 10:31:25 -07:00
Jonathan Hart
7d1ad60622 Explicitly set address length when creating a new host 2014-10-17 11:48:32 -07:00
alshabib
e1cf87d95f protocol independent host tracker
Change-Id: I192a17ee6eee347f6a7d8e251cecc49cbe36f8dc
2014-10-17 09:23:50 -07:00
tom
093340b44c Speeding up stuff.
HostDescription now passes up just a single IpAddress.
2014-10-10 00:15:36 -07:00
alshabib
0ff17adc97 host provider detects hosts on ip as well
Change-Id: I76a1d51fb444a074c76a4b44818f02e7aa2944ef
2014-09-30 09:46:40 -07:00
alshabib
e9d3a32016 pkt glitch FIXED... ovs was not sending a bufferid
Change-Id: Id6fedf7c6ed8fbcfefb7308b0ee442e614e5e3af
2014-09-23 15:18:33 -07:00
Ayaka Koshibe
1d56fe4dbe renamed IpAddress to IpPrefix
Change-Id: I35990622e5b1c29ab6f6a0a0227088cd5d6c7294
2014-09-19 16:51:58 -07:00
tom
7e02cda13d Changed the way ProviderId is made to include URI scheme portion. 2014-09-18 12:05:46 -07:00
tom
9c94c5b445 Refactoring packages from .of. to .openflow. 2014-09-17 13:14:42 -07:00
tom
f978c96a40 Moving /providers/of to /providers/openflow 2014-09-17 13:10:24 -07:00