Change in vdsm[master]: Monitor the host id in domainMonitor
by Federico Simoncelli
Federico Simoncelli has uploaded a new change for review.
Change subject: Monitor the host id in domainMonitor
......................................................................
Monitor the host id in domainMonitor
Signed-off-by: Federico Simoncelli <fsimonce(a)redhat.com>
Change-Id: I7c33ecdc2cd21c5afb445a339f400bc990b93998
---
M vdsm/storage/domainMonitor.py
1 file changed, 7 insertions(+), 4 deletions(-)
git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/29/3929/1
--
To view, visit http://gerrit.ovirt.org/3929
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I7c33ecdc2cd21c5afb445a339f400bc990b93998
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Federico Simoncelli <fsimonce(a)redhat.com>
11 years, 9 months
Change in vdsm[master]: enable attaching non-vlan network to vlanable network.
by shavivi@redhat.com
Shahar Havivi has uploaded a new change for review.
Change subject: enable attaching non-vlan network to vlanable network.
......................................................................
enable attaching non-vlan network to vlanable network.
this patch have a security breach:
when adding a network without a vlan to already attach vlan network this
network can monitor all the traffic of the other vlans.
we may be able to restrict it using ebtables.
Change-Id: Icb96ead734cb1394ff00a99bf7f62b77ad15f1d6
---
M vdsm/configNetwork.py
1 file changed, 4 insertions(+), 4 deletions(-)
git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/61/2161/1
--
To view, visit http://gerrit.ovirt.org/2161
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Icb96ead734cb1394ff00a99bf7f62b77ad15f1d6
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Shahar Havivi <shavivi(a)redhat.com>
11 years, 9 months
Change in vdsm[master]: rest-api: Add unit tests
by agl@us.ibm.com
Adam Litke has uploaded a new change for review.
Change subject: rest-api: Add unit tests
......................................................................
rest-api: Add unit tests
Add a framework and unit tests for the REST API. These tests override the vdsm
API bridge so that the REST code can be tested in isolation. A functional test
suite that verifies the operation of both the xmlrpc and rest bindings against a
running vdsmd is still needed.
This test module uses some tricky magic to dynamically-generate a fake API.py
that will return pre-programmed return values to the REST API. Using this
technique, a cherrypy server can be tested with an unmodified Controller.
The following files are created/modified:
restData.py - Contains expected data for:
Faked API calls, REST requests, REST responses
restTests.py - Contains the actual test cases
testrunner.py - Modified to import some additional needed modules
Signed-off-by: Adam Litke <agl(a)us.ibm.com>
Change-Id: Ife07553718315136bbb5a74558dd189dee4e475f
---
M tests/Makefile.am
A tests/restData.py
A tests/restTests.py
M tests/testrunner.py
M vdsm/rest/Controller.py
5 files changed, 818 insertions(+), 23 deletions(-)
git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/57/3757/1
--
To view, visit http://gerrit.ovirt.org/3757
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ife07553718315136bbb5a74558dd189dee4e475f
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Adam Litke <agl(a)us.ibm.com>
11 years, 9 months
Change in vdsm[master]: Collect more guest memory stats
by wudxw@linux.vnet.ibm.com
Mark Wu has uploaded a new change for review.
Change subject: Collect more guest memory stats
......................................................................
Collect more guest memory stats
More detailed guest memory stats has been to ovirt-guest-agent in
http://gerrit.ovirt.org/#change,2272. So add the corresponding code to
vdsm to collect the memory stats.
Change-Id: I678210dac8c66eeb0360e58e5332de3218402463
Signed-off-by: Mark Wu <wudxw(a)linux.vnet.ibm.com>
---
M vdsm/guestIF.py
1 file changed, 4 insertions(+), 1 deletion(-)
git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/17/3917/1
--
To view, visit http://gerrit.ovirt.org/3917
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I678210dac8c66eeb0360e58e5332de3218402463
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Mark Wu <wudxw(a)linux.vnet.ibm.com>
11 years, 9 months
Change in vdsm[master]: rest-api: Model StoragePools
by agl@us.ibm.com
Adam Litke has uploaded a new change for review.
Change subject: rest-api: Model StoragePools
......................................................................
rest-api: Model StoragePools
API Implemented:
----------------
/api/storagepools
* Create/connect new storage pool and manipulate connected pools
Actions:
/api/storagepools/create
- Create a new storage pool
/api/storagepools/connect
- Connect a storage pool
* The vdsm API does not maintain information about disconnected storage
pools so our API must deviate from REST norms by placing the connect verb
at the collection level instead of the resource level.
/api/storagepools/<id>/destroy
- Destroy a connected storage pool
/api/storagepools/<id>/disconnect
- Disconnect a storage pool
/api/storagepools/<id>/spmstart
- Start the SPM role on this host
/api/storagepools/<id>/spmstop
- Stop the SPM role on this host
Change-Id: Ica772c367b7d80e559a816ad7b40331b2ae81ac2
Signed-off-by: Adam Litke <agl(a)us.ibm.com>
---
M vdsm/rest/Controller.py
M vdsm/rest/templates/Makefile.am
M vdsm/rest/templates/api.xsd
M vdsm/rest/templates/root.json.x
M vdsm/rest/templates/root.xml.x
M vdsm/rest/templates/rsdl.xml
A vdsm/rest/templates/storagepool.json.x
A vdsm/rest/templates/storagepool.xml.x
A vdsm/rest/templates/storagepools.json.x
A vdsm/rest/templates/storagepools.xml.x
10 files changed, 512 insertions(+), 1 deletion(-)
git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/55/3755/1
--
To view, visit http://gerrit.ovirt.org/3755
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ica772c367b7d80e559a816ad7b40331b2ae81ac2
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Adam Litke <agl(a)us.ibm.com>
11 years, 9 months
Change in vdsm[master]: rest-api: Model Tasks
by agl@us.ibm.com
Adam Litke has uploaded a new change for review.
Change subject: rest-api: Model Tasks
......................................................................
rest-api: Model Tasks
API Implemented:
----------------
/api/tasks : Asynchronous tasks
* View and manage information about ongoing and completed operations
Actions:
/api/tasks/<id>/clear
- Clear the information about a completed task
/api/tasks/<id>/stop
- Stop a running task
/api/tasks/<id>/revert
- Rollback a running operation
Change-Id: Ic555cacd0b1bf1cb14545badd567c075b769a347
Signed-off-by: Adam Litke <agl(a)us.ibm.com>
---
M vdsm/rest/Controller.py
M vdsm/rest/templates/Makefile.am
M vdsm/rest/templates/api.xsd
M vdsm/rest/templates/root.json.x
M vdsm/rest/templates/root.xml.x
M vdsm/rest/templates/rsdl.xml
A vdsm/rest/templates/task.json.x
A vdsm/rest/templates/task.xml.x
A vdsm/rest/templates/tasks.json.x
A vdsm/rest/templates/tasks.xml.x
10 files changed, 253 insertions(+), 0 deletions(-)
git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/54/3754/1
--
To view, visit http://gerrit.ovirt.org/3754
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ic555cacd0b1bf1cb14545badd567c075b769a347
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Adam Litke <agl(a)us.ibm.com>
11 years, 9 months
Change in vdsm[master]: rest-api: Model volumes
by agl@us.ibm.com
Adam Litke has uploaded a new change for review.
Change subject: rest-api: Model volumes
......................................................................
rest-api: Model volumes
API Implemented:
----------------
/api/storagedomains/<sdUUID>/volumes
* Manipulate all volumes associated with a storage domain
/api/storagedomains/<sdUUID>/images/<imgUUID/volumes
* Manipulate all volumes associated with an image
Actions:
.../volumes/create
- Create a new volume
.../volumes/<id>/delete
- Delete a volume
Not all available functionality is implemented yet (eg. creating child volumes.)
Remaining functionality can be added in subsequent patches.
Change-Id: Ic5a34e02c84c3668dff883b3a618d420edcf60be
Signed-off-by: Adam Litke <agl(a)us.ibm.com>
---
M vdsm/rest/Controller.py
M vdsm/rest/templates/Makefile.am
M vdsm/rest/templates/api.xsd
M vdsm/rest/templates/rsdl.xml
A vdsm/rest/templates/volume.json.x
A vdsm/rest/templates/volume.xml.x
A vdsm/rest/templates/volumes.json.x
A vdsm/rest/templates/volumes.xml.x
8 files changed, 402 insertions(+), 0 deletions(-)
git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/53/3753/1
--
To view, visit http://gerrit.ovirt.org/3753
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ic5a34e02c84c3668dff883b3a618d420edcf60be
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Adam Litke <agl(a)us.ibm.com>
11 years, 9 months
Change in vdsm[master]: rest-api: Model images
by agl@us.ibm.com
Adam Litke has uploaded a new change for review.
Change subject: rest-api: Model images
......................................................................
rest-api: Model images
API Implemented:
----------------
/api/storagedomains/<sdUUID>/images
* Provide information about images associated with a storage domain
Actions:
/api/storagedomains/<sdUUID>/images/<imgUUID>/delete
- Delete an image and all of its volumes
* Note: Images are implicitly created during volume creation process
Not all available operations are currently supported in the API. Work continues
to complete the API and that can be submitted as follow-up patches.
Change-Id: Iaf7819833ad8b190eb5483a98f9194c69b222049
Signed-off-by: Adam Litke <agl(a)us.ibm.com>
---
M vdsm/rest/Controller.py
M vdsm/rest/templates/Makefile.am
M vdsm/rest/templates/api.xsd
A vdsm/rest/templates/image.json.x
A vdsm/rest/templates/image.xml.x
A vdsm/rest/templates/images.json.x
A vdsm/rest/templates/images.xml.x
M vdsm/rest/templates/rsdl.xml
8 files changed, 161 insertions(+), 0 deletions(-)
git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/52/3752/1
--
To view, visit http://gerrit.ovirt.org/3752
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Iaf7819833ad8b190eb5483a98f9194c69b222049
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Adam Litke <agl(a)us.ibm.com>
11 years, 9 months
Change in vdsm[master]: rest-api: Model StorageDomains
by agl@us.ibm.com
Adam Litke has uploaded a new change for review.
Change subject: rest-api: Model StorageDomains
......................................................................
rest-api: Model StorageDomains
API Implemented:
----------------
/api/storagedomains : Manipulate Storage Domains
* Provide comprehensive information about known domains
Actions:
/api/storagedomains/create
- Create a new storage domain
/api/storagedomains/<id>/format
- Remove and erase a storage domain
/api/storagedomains/<id>/attach
- Attach a storage domain to a storage pool
/api/storagedomains/<id>/detach
- Detach a storage domain from a storage pool
/api/storagedomains/<id>/activate
- Activate an inactive, attached storage domain
/api/storagedomains/<id>/deactivate
- Deactivate an active storage domain
Change-Id: I85060179416dc7c4a1a33ef6f8262ce31e908c26
Signed-off-by: Adam Litke <agl(a)us.ibm.com>
---
M vdsm/rest/Controller.py
M vdsm/rest/templates/Makefile.am
M vdsm/rest/templates/api.xsd
M vdsm/rest/templates/root.json.x
M vdsm/rest/templates/root.xml.x
M vdsm/rest/templates/rsdl.xml
A vdsm/rest/templates/storagedomain.json.x
A vdsm/rest/templates/storagedomain.xml.x
A vdsm/rest/templates/storagedomains.json.x
A vdsm/rest/templates/storagedomains.xml.x
10 files changed, 441 insertions(+), 0 deletions(-)
git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/51/3751/1
--
To view, visit http://gerrit.ovirt.org/3751
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I85060179416dc7c4a1a33ef6f8262ce31e908c26
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Adam Litke <agl(a)us.ibm.com>
11 years, 9 months
Change in vdsm[master]: rest-api: Model storage connections
by agl@us.ibm.com
Adam Litke has uploaded a new change for review.
Change subject: rest-api: Model storage connections
......................................................................
rest-api: Model storage connections
API Implemented:
----------------
/api/storageconnections
* list, acquire, and release storage connections
Actions:
/api/storageconnections/acquire
- Add a new managed connection
/api/storageconnections/<id>/release
- Remove a managed connection
Change-Id: I584ca5f160d44b85cbdf414c523c948c1f25d6a9
Signed-off-by: Adam Litke <agl(a)us.ibm.com>
---
M vdsm/rest/Controller.py
M vdsm/rest/templates/Makefile.am
M vdsm/rest/templates/api.xsd
M vdsm/rest/templates/root.json.x
M vdsm/rest/templates/root.xml.x
M vdsm/rest/templates/rsdl.xml
A vdsm/rest/templates/storageconnection.json.x
A vdsm/rest/templates/storageconnection.xml.x
A vdsm/rest/templates/storageconnections.json.x
A vdsm/rest/templates/storageconnections.xml.x
10 files changed, 335 insertions(+), 1 deletion(-)
git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/50/3750/1
--
To view, visit http://gerrit.ovirt.org/3750
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I584ca5f160d44b85cbdf414c523c948c1f25d6a9
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Adam Litke <agl(a)us.ibm.com>
11 years, 9 months