14 Commits

Author SHA1 Message Date
Sho SHIMIZU
8ebb04aacd Replace Stream#forEach() with Collection#forEach()
Change-Id: I2b261c3d91d345907b165bd61eb7b6c45011c247
2016-10-11 16:39:39 +00:00
sangho
24556ec91d [ONOS-5158] Allow to remove gateway nodes using network config file.
Change-Id: If59216bc7992517fa6f247e09cb0152c340ce6af
2016-08-25 21:49:09 +00:00
Hyunsun Moon
b3eb84d6fe Refactored OpenstackRouting to support multiple gateway nodes
Change-Id: I6870ca9a4fd6f6b1cf2d2be72f52ef87827e1d2c
2016-08-02 02:18:42 +00:00
Hyunsun Moon
ef6bad2b10 ONOS-4903, ONOS-4929 Fixed to load network config on application start-up
Also improved openstackInterface to create Jersey client once and
give better warnings. Fixed missing web context, too.

Change-Id: Ifc835b98f30d5daf566eb22dfe3af34f23634e09
2016-07-21 03:27:03 -07:00
Hyunsun Moon
052c71f63d ONOS-4660 Additional GATEWAY type node bootstrap
- Add uplink interface to the router bridge
- Set separate controller for the router bridge
- Use OVSDB provider to check the ports list and keep OVSDB session

Limitation:
OVSDB provider does not provide port or bridge updates, that is,
any changes on the router bridge may not be detected by ONOS

Change-Id: I1f17f4fb2c050afdbda1e5ffc06f6485903d3d90
2016-07-21 10:22:42 +00:00
Hyunsun Moon
05d9b262a4 Support existing VMs running on the newly added node
- Added openstack node state event
- Made openstack switching to listen to the node state events and
  add existing VMs running in the complete state node

Change-Id: I7b7186c3b889376a4bc0385313433604dcd93d70
2016-07-12 00:08:44 +00:00
Hyunsun Moon
b974fcacf0 Refactored OpenstackSwitching app
[DONE]
- Restructured to activate or deactivate switching and routing app separately
- Fixed to add or remove host when port is detected or vanished
- Use openstack node service to get integration bridges and data IP

[TODO]
- Remove use of OpenstackPortInfo
- Support installing flow rules for exising VMs
- Call security group update method when port update triggered from OpenStack

Change-Id: Ic0b2ac3f7ab07f0e20c97c6edfdd1928b9767baf
2016-07-12 00:06:20 +00:00
Hyunsun Moon
34bbe17ef0 Support GATEWAY type node bootstrapping
- Create router bridge and pactch port to integration bridge for gateway node
- Refactored to listen map event for node add/update
- Added CLIs

Change-Id: Id653f2a2c01d94036f77e6ce1b1230111f3dbbb1
2016-07-11 15:40:34 +00:00
Hyunsun Moon
dd14e8e6e4 Refactored tunnel and interface config behavior
- Added tunnel interface configuratoin to interfaceConfig and
  deprecated tunnelConfig
- OVSDB client service provides interface create/remove APIs instead
  of tunnel interface create/remove, and this APIs can be used to
  create/remove various types of interfaces like tunnel, patch, tap and so on
- Use tunnel description when create tunnel interface so that we can extend
  more config options later
- Some cleaup OVSDB client

Change-Id: I4653595504a27b18384a92ebe4b31ce9d99237cd
2016-07-11 15:20:52 +00:00
Hyunsun Moon
1251e19d7a Refactored bridge config to take bridge description
OVSDB provides lots of bridge configuration options but the exisisting
bridge config implementation only allows some of them by overloading
addBridge method. Also some of the bridge properties were set static
and unable to configure. This patch fixes these limitations.

- Added some bridge config options to the bridge description
- Deprecated multiple overloaded addBridge methods
- Some code clean up

Change-Id: Ibc828177b210bd4b215aea0b63cc359776c13e03
2016-06-16 07:52:07 +00:00
HIGUCHI Yuta
d9e0105d79 log uncaught Exception
- Use execute instead of submit so that uncaught Exception will
  be dealt and logged by ExecutorService's handler.
- Use component's own logger

Change-Id: I761264aea00748980929b5048e111756776dd2f6
2016-04-19 17:10:00 +00:00
Brian O'Connor
5ab426f9ff Updating copyrights
New format: 'Copyright .year-present Open Networking Laboratory'

Change-Id: I1a9e58b355b775e75245ad875a2d7a4df3f03098
2016-04-09 01:20:21 -07:00
Daniel Park
ad21c5723e Fixed bug in OpenstackNode
- OVSDB client has changed to update br-int even if there's br-int already in device
- So OpenstackNode modified only the leader node to  performs node bootstrap

Change-Id: Ie01843ca8ab36ec61b58e80ce20c0c8c31ff8273
2016-03-09 05:08:24 +00:00
Daniel Park
a7d6e9fada [ONOS-3688] Implement application for Openstack Node bootstrap
- Using OVSDB connnection, it makes bridge and vxlan tunnel for Openstack Nodes.
- Reading nodes information from network config supported

Change-Id: I1c0483b146ace19cd77ac91141182ee9200a9432
2016-02-23 03:28:49 +00:00