99 Commits

Author SHA1 Message Date
Ray Milkey
d2d3e15cff BUCKify XosClient app to fix buck build
Change-Id: I5c9e6127ef3c00b79d12163fc82d4137ad00b407
2016-04-25 10:09:10 -07:00
Hyunsun Moon
dd91be2afe CORD-506 Apply existing service dependency when VM is detected
Change-Id: Ib0872c823347bfb6091d6c5f872657f10b7b1083
2016-04-25 15:34:02 +00:00
Ray Milkey
a5ff8a7e50 Appify buck build for openstack and VTN apps
Change-Id: I6cc23cd567954daaee59271123a07040853e695b
2016-04-19 19:56:21 +00:00
Hyunsun Moon
31dacd4cae Fixed openstack4j dependencies
Change-Id: I3bba45dc8edc71807ca5961ec191a619506ab4bc
2016-04-18 17:12:41 +00:00
Ray Milkey
f9a76971be More app BUCK file refactoring
Change-Id: I97506033c4c0cf145c558df7d4f86f37c7fe8332
2016-04-16 01:28:08 +00:00
Jian Li
c4d73c2633 Fix BUCK build for CordVtn by adding missing Openstack4j dependency
Change-Id: Ia0d5e04fd9cd31853da431297d97c34dc611a26a
2016-04-15 21:47:21 +00:00
Jian Li
7532eb1273 Refactor CordVtn to use device projection feature instead of driver
Change-Id: I8220806f7933a4603c02a96212a4d8812a2bd284
2016-04-15 13:22:05 -07:00
Hyunsun Moon
576d68741c Use openstack4j for OpenStack data model and rest client
Change-Id: I4eb52c3c82d847c442420d1287392fe9079bf699
2016-04-15 17:33:04 +00:00
Hyunsun Moon
7f4ed9d928 Placed API and implementation into separate packages
Change-Id: If8a9223a7a225db1b2aa2d09738857af482736bc
2016-04-15 16:53:35 +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
Brian O'Connor
e4da59d8aa Simplifying rules and providing sensible defaults
Updated cordvtn, dhcp, fwd, onos-api, of-api, onlab-rest, onos-rest, onos-gui

Also, fixed checkstyle error print

Change-Id: I9d6ab76791e8603678079067a3b4e007ca7c4667
2016-04-08 18:43:36 -07:00
Ray Milkey
d4334dbdc1 Javadoc warning fixes
Change-Id: I30b3398b849da5d528f2bce58004d190ca17ad50
2016-04-06 17:37:12 +00:00
Brian O'Connor
85f28d0a0a Updating test sources in several BUCK files
Change-Id: I17b83cb978f7b8fc1d31a1e96bec59a077dbdfbb
2016-04-06 16:57:45 +00:00
Brian O'Connor
a450bd000b Simplifying Import-Package line in maven-bundle-plugin for REST bundles
Change-Id: Ic29e3f205e18b7b63e33a8c65cbb30a8b56d2e74
2016-04-04 21:33:36 +00:00
Ray Milkey
f80bbb22c2 Initial BUCK build
Change-Id: I64e8a979301989062f4545a4841b06c15a372049
2016-03-29 21:39:14 +00:00
Jian Li
9d61649f0f [ONOS-4042] Bump up Jersey from 1.19 to 2.22.2
- Fix unit test errors of web/api
- Fix default page redirection problem
- Fix compilation errors of web/gui
- Fix configuration of aaa, acl, cordfabric, cord-gui, dhcp, mfwd,
  olt, openstack, segmentrouting, vtn, virtualbng, xos-integration
- Fix unit test errors of cpman, vtn, acl, faultmanagement
- Fix compilation errors of openstack, virtualbng, xos-integration,
  REST SB controller
- Rearrange features.xml to resolve bundle dependencies
- Remove all of stale Jersey 1.x libraries
- Rearrange web.xml to point new Jersey 2.x servlet

Change-Id: Ic17f461ede0aa36fa8d470546d8069152dc1d134
2016-03-24 18:54:28 +00:00
Hyunsun Moon
80b0387663 [Goldeneye] CORD-568 Ensure location transparency of node init operation
- Added MapListener for cordvtn node store and made the init process to be
  triggered by map event, so that the leader can do its job regardless of
  the location where node init CLI command happens
- Fixed equals and hashCode override to use all node attributes except for
  the node init state
- Adjusted some log levels

Change-Id: I45688afa60de3516d91132e8a6c49cf90c4dcae4
2016-03-23 17:48:49 +00:00
Brian O'Connor
955c316b54 Starting snapshot 1.6.0-SNAPSHOT 2016-03-10 15:27:19 -08:00
Brian O'Connor
55b4d80176 Tagging 1.5.0 (Falcon) 2016-03-10 15:24:41 -08:00
Madan Jampani
23696428f8 Starting snapshot 1.5.0-SNAPSHOT 2016-03-09 14:02:04 -08:00
Madan Jampani
b7a5420285 Tagging 1.5.0-rc3 2016-03-09 13:47:32 -08:00
Hyunsun Moon
d35420fe15 Ensure only one instance installs flow rules
By making all flow rule installation triggered by HOST event.
Also removed unnecessary host annotation.

Change-Id: Ib6d230f2fbbac4ad7d66628d7465e69450ef1a26
2016-03-09 16:54:26 +00:00
Hyunsun Moon
fae776db6e Fixed to read virtual switches from network config
Change-Id: I8740b8484dd7ed16897233eec472f964bab8004f
2016-03-09 05:52:11 +00:00
Hyunsun Moon
2062e7ebe1 Added CLI to flush flow rules installed by cordvtn
Might be useful to refresh data plane with most recent status of Neutron
and VMs by flushing all existing rules and pushing network config again
And also removed read configuration during activation since leadership
service does not work as expected during app activation

Change-Id: Ia22fe02d25a61126f3e6df59fc5ad4d065f89f18
2016-03-09 01:23:21 +00:00
Jian Li
fd46e1d293 Refine application title and category in app.xml and pom.xml
- Remove ONOS keyword from application title
- Capitalize each keyword in application title
- Make it consistent to use App, Provider and Driver in
  application title
- Add right category name for each application
- Add missing application title and category
- Make application category comment more descriptive

Change-Id: Ib886b4a4293c38bd546a4107b20569f1bd7031a7
2016-03-08 18:41:50 +00:00
Hyunsun Moon
980255449f Fixed some bugs
- Update br-int rather than do nothing if it already exists
- Make only the leader performs node bootstrap
- Check mastership on HOST event not flow rule populator
- Install/uninstall flow rules for vSG always from master, or the rules
  stay in PENDING_ADDED state

Change-Id: I4bd5cf6f84bf36f2617288b2d843435819c76ba8
2016-03-08 17:24:02 +00:00
Jian Li
2b746f4cbd Add missing application titles in app.xml with pom.xml clean up
Change-Id: I543572d696f30f2ceebd39d9c6c33be55f5da38d
2016-03-08 06:06:32 +00:00
Hyunsun Moon
af520d3c22 CORD-562 Don't allow nodes with duplicate hostname
And update existing node if newly added node has the same hostname with
existing node.

Change-Id: Ifebbf4129df4f742e16b9a25be619dd90e0745ff
2016-03-08 05:24:20 +00:00
Simon Hunt
afae2f71fc Apps-- added onos.app.title property to applications.
Change-Id: Id845390ee0bee5b871c0ce9f47b2ce98fbcf26b9
2016-03-07 19:30:59 +00:00
Hyunsun Moon
e9d4f4a36a CORD-563 Remove stale IP addresses on br-int
Change-Id: Idee5b32febd527963a630af21750985c3b074147
2016-03-07 17:28:37 +00:00
Thomas Vachuska
5d8994ffce Starting snapshot 1.5.0-SNAPSHOT 2016-03-03 17:13:26 -08:00
Thomas Vachuska
40d5255ca9 Tagging 1.5.0-rc2 2016-03-03 17:08:36 -08:00
Hyunsun Moon
098cda85c5 Removed INDRECT and DIRECT subtypes from network types
Change-Id: I97a35472281a60bc1d109491d193607baf70107c
2016-03-03 21:46:02 +00:00
Hyunsun Moon
32f3b8eec1 Some improvements on cordvtn
- Removed unnecessary CordVtnNodeConfig class
- Don't allow local and host management IP range overlapping
- Check node init state saved in the store instead of really check when a
  VM is detected or vanished since it's too slow

Change-Id: I076780bdc3946b2000176cb05805003ba7c8724d
2016-03-03 17:10:50 +00:00
sangho
93447f1ad3 Separated OpenstackInterface feature from OpenstackNetworking application.
Change-Id: I4766de7e93c5b432c50a2167b9a9d9d4605b1ad2
2016-03-03 22:54:11 +09:00
Hyunsun Moon
1e5caeb876 Don't proxy ARP with the private gateway MAC address for public network.
Change-Id: Ice16a39cc9fe349e22f61131d24f898744a765db
2016-03-03 01:07:38 +00:00
Jian Li
d79fb94921 [ONOS-4014] Refactor *Id classes to extend from Identifier class
- Refactor all of *Id classes in apps package

Change-Id: I31fafbf7f15aee3a1b3b37b7c281b3f99eae0883
2016-03-01 06:12:27 +00:00
Hyunsun Moon
b0f09be1a4 Fixed sona refactoring related issues
Change-Id: Ied0ce985921be2fda503fefc6af3388c5289c2d6
2016-02-23 15:04:52 +00:00
sangho
0c2a3daad4 Refactoring of OpenstackSwitching and OpenstackRouting
Change-Id: Ib7caea98006274dcdfebfe27c07e3533730ab23e
2016-02-23 07:54:25 +00:00
Hyunsun Moon
d5f6c3be02 CORD-357 Fixed not to pop or push s-tag
And also remove vSG related rules when vSG VM destroyed

Change-Id: I3cecd558a0d84f882bea9ce849568a7be8380330
2016-02-19 03:52:08 +00:00
Thomas Vachuska
708d3031de Cleaning up javadocs.
Change-Id: I67a0600fc80f9d7b0859f2e0e7634579cab6cfbf
2016-02-18 19:41:42 +00:00
Hyunsun Moon
2a225167bc CORD-537 Added removing vSG
- Remove vSG from ONOS host list with allowed-ip-pairs update event
- Remove vSG from ONOS host list when vSG VM removed

Change-Id: Ic93fceec67d3faada795805d4c4a56ab5187d7e2
2016-02-18 14:58:44 +00:00
Hyunsun Moon
ae39ae838b CORD-537 Added public IP gateways for ARP proxy
- Added public IP gateway and MAC pairs to network config for ARP proxy
- Added vSG as a ONOS host

Change-Id: Ia722ba3843297cec7134da5d64bbf188c22762f8
2016-02-18 01:13:57 +00:00
Hyunsun Moon
6d24734fef CORD-537 Added flow rules for vSG connectivity
- Added Q_IN_Q table
- Added flow rules for vSG connectivity
- Changed to listen port update event from Neutron to update vSG IPs

Change-Id: I227ba7a91e90ec0752481ebf623b4e848d585265
2016-02-17 05:57:33 +00:00
Hyunsun Moon
2703980ee4 Fixed ARP reply
Change-Id: I04f2d9ef727c37481beeb8569634b8a7edb5f271
2016-02-17 00:36:37 +00:00
Hyunsun Moon
9cf43db6d1 Implemented dummy Neutron ML2 plugin handler
- Added REST handler for Neutron ML2 ONOS mech driver
- Made cordvtn ARP proxy to handle request for host, too
- Now cordvtn utilizes openstackSwitching only as a Neutron REST client

Change-Id: I6890b6651ddcb9d8cf33fb326e9f0eb721b536a5
2016-02-15 01:21:46 +00:00
Hyunsun Moon
640f183e1a CORD-536 Support bidirectional connectivity between two services with dependency
Change-Id: I6530cd6d4865567d878a8269e09b98f5694b0454
2016-02-11 04:08:40 +00:00
Hyunsun Moon
133fd793ad CORD-524 Added a state to set data plane IP to br-int
Added new config fields
- SSH port, user, private key file
- localManagementIp for connection b/w a compute node and VM

Renamed some config fields and methods
- phyPortName is changed to dataPlaneIntf
- localIp is changed to dataPlaneIp
- ovsdbIp is changed to hostManagementIp and it is used to SSH as well
- checkXXX methods with boolean return are renamed to isXXX

Removed unnecessary OVSDB_CONNECTED state
Removed cordvtn-node-add CLI due to too many arguments

Change-Id: If5efb65fc58bfa8a10767047f01598dc2ac02a04
2016-02-11 01:12:58 +00:00
Hyunsun Moon
483e29f91f CORD-524 Added utils to execute IP commands to a remote host
Change-Id: Ie437f760a1d426cc748a7eae4ca1f5a2a1f104f5
2016-02-08 18:34:36 +00:00
Hyunsun Moon
fb631b41e0 Removed static DHCP mapping when a VM is vanished
Change-Id: I96aad216ebb061396bf0af9a733b14dbde20cdaa
2016-02-03 23:13:04 +00:00