Commit Graph

55 Commits

Author SHA1 Message Date
cameron-r b5baec5665 Ed & Cameron | Copy from_port and to_port as strings in EC2RuleTransformer, refactoring transformers 2014-11-06 11:31:51 -06:00
cameron-r 36649ae1fc Cameron & Ed | Delete more unused rule EC2 rule args in EC2RuleTransformer, fix TestOpenstackRuleTransformer class name 2014-11-06 10:36:42 -06:00
cameron-r fc3e9907e7 Ed & Cameron | Remove rules from security groups on EC2 in GroupRuleRefresher 2014-11-05 17:07:29 -06:00
cameron-r 9ef0e8cb01 Cameron & Ed | Remove unused arguments from OpenStack and EC2 rules in rule transformers 2014-11-05 17:06:24 -06:00
cameron-r 693c165a73 Cameron & Ed | Fix EC2RuleTransformer constructor use, updated security group rule integration test 2014-11-05 15:27:45 -06:00
cameron-r 9826b0778c Ed & Cameron | Move integration tests to separate directory 2014-11-05 15:27:45 -06:00
cameron-r a8f09b1ccb Cameron & Ed | Extract looping over groups and refreshing their rules to GroupRuleRefresher 2014-11-05 15:27:44 -06:00
cameron-r 6d4ec264a5 Ed & Cameron | Move unit tests to separate directory 2014-11-05 15:27:44 -06:00
cameron-r c34f2fac8f Ed & Cameron | Extract getting transformed rules from openstack and ec2 groups into rule services, extract getting openstack group into group service 2014-11-05 15:27:44 -06:00
cameron-r e5ae501335 Ed & Cameron | Refactoring: extract rule comparison between openstack and ec2 groups to common group class 2014-11-05 15:27:44 -06:00
cameron-r 3751616fbf Ed & Cameron | Refactoring: replace rule comparator with transformers and rule class equality method in rule refresher 2014-11-05 15:27:44 -06:00
cameron-r d126579181 Cameron & Ed | Test EC2 rule transformer 2014-11-05 15:27:44 -06:00
cameron-r 85473ced07 Cameron and Ed | Add rule to security group on EC2 when not first rule in group 2014-11-05 15:27:44 -06:00
cameron-r 05b6587e6e Ed & Cameron | Add and remove rules to/from security groups associated with instances 2014-10-30 17:18:17 -05:00
cameron-r 98843957fc Ed & Cam | Implement RuleComparator for checking equality of OpenStack and EC2 rules 2014-10-30 17:17:10 -05:00
cameron-r 90ddacba5f Ed & Cam | Clean up security groups in tests 2014-10-30 17:17:10 -05:00
Ed Thome 66277884df Cam & Ed | Refactor duplication in security group tests into setup method 2014-10-27 17:30:04 -05:00
Ed Thome 34bbbecc26 Cam & Ed | Add tests for creating security groups and adding/removing them to instances 2014-10-27 16:28:56 -05:00
Ed Thome 7abd25d739 Ed & Cam | Fix string comparison when terminating instances in tests 2014-10-27 10:40:13 -05:00
cameron-r 69054da1ea Cam & Ed | Wait for elastic ip to be released in test teardown, assert on releasing elastic ip in destroy instance test 2014-10-24 11:19:13 -05:00
Kashyap Kopparam db91df71fa kashyap | spawn now specifies availability zone, added test for detach volume 2014-10-24 15:32:09 +05:30
Ed Thome be513ea8ce Cam & Ed | Fix cloudwatch import, skip attach volume test with moto 2014-10-22 19:32:57 +00:00
Ed Thome 0a43cf2b3d Cam & Ed | Renaming, cleaning up imports 2014-10-22 11:48:26 -05:00
Ed Thome d5abe2973e Cam & Ed | Extract setup/teardown/helper methods for tests into superclass 2014-10-22 11:46:40 -05:00
Ed Thome 8d0078e352 Cam & Ed | Fix skipped tests to use new environment variable 2014-10-22 11:38:43 -05:00
Ed Thome 06f56da8c6 Ed & Cam | Create logs directory when starting moto 2014-10-22 11:38:43 -05:00
cameron-r 6c9b81765b Cam & Ed | Change name of TEST environment variable to MOCK_EC2 2014-10-22 11:38:43 -05:00
cameron-r dc298201e8 Ed & Cam | Scripts to start and end moto and setup environment for running moto tests 2014-10-22 11:38:42 -05:00
cameron-r 159964e2f1 Ed & Cam | Don't sleep in tests and skip tests that don't work with moto if using moto 2014-10-22 11:37:12 -05:00
cameron-r 8760d36da5 Cam & Ed | Remove superfluous moto test 2014-10-22 11:37:12 -05:00
cameron-r 3dc04a0a18 Cam & Ed | Script to run tests with moto and openstack started 2014-10-22 11:37:12 -05:00
cameron-r 0cac93e178 Cam & Ed | Modify driver and tests to work with moto 2014-10-22 11:37:12 -05:00
Kashyap Kopparam b154d352fc Kashyap | tear down now takes care of deleting volumes 2014-10-21 14:55:30 +05:30
Kashyap Kopparam 4d74624edc Kashyap | refactored the test class to provide nova_volume client instead of attach_volume test creating it 2014-10-21 14:15:56 +05:30
Kashyap Kopparam 8d09039ef4 Kashyap | added test for attach volume and modified the volume_map to support default values 2014-10-21 12:46:33 +05:30
cameron-r ca3370eedc Cam & Ed | Set up Moto (mock Boto) server for testing 2014-10-16 17:00:43 -05:00
cameron-r 3bbb534212 Aparna & Cameron | get_diagnostics fetches info for the ec2 instance 2014-10-09 10:55:58 -05:00
Kashyap Kopparam 2629d9f695 Kashyap | Added volume_map to attach and detach volume mapping cinder volumes to ebs volumes 2014-09-29 15:30:10 +05:30
new 87965741da Kashyap & Venu added tests for user_data and working 2014-09-25 12:47:04 +05:30
asparikh d9b85a5be6 Cameron|Aparna fixed delete issue after restarting nova.compute 2014-09-18 14:55:20 -05:00
asparikh 2785010240 Aparna | saving the public ip sent from EC2 to Openstack in the metadata on Openstack. 2014-09-15 09:38:04 -05:00
Kashyap Kopparam 774bd09cf6 Kashyap | used autopep8 to format code 2014-09-15 12:00:48 +05:30
asparikh 2c9ae69769 Aparna & Cameron|Added an assertion in test_resize to verify that IP is unchanged after a resize 2014-09-11 15:52:48 -05:00
Kashyap Kopparam 7f9be535a6 Kashyap | Refactored all the tests to be concurrency friendly, we can now run all the tests concurrently 2014-09-10 15:44:31 +05:30
asparikh be2724ef83 Aparna | removed unnecessary 'print' statements. Added assert for ec2_instance flavor in test_resize(). 2014-09-09 14:39:55 -05:00
asparikh 36c32e20e3 Aparna | added test for 'resize' functionality. Moved some code from confirm_migration() to finish_migration() appropriately. 2014-09-09 12:00:42 -05:00
Kashyap Kopparam 10337162ea Venu & Kashyap | Removed live_snaphot method and changed an assert 2014-09-05 18:07:31 +05:30
asparikh b55dc92758 Asif & Aparna | added a wait in the soft reboot & hard reboot tests for status to actually get to reboot status. 2014-08-29 16:50:33 -05:00
asparikh 11dfcf767c Aparna | removed comment. 2014-08-29 15:52:01 -05:00
asparikh 26f8321ba3 Asif & Aparna | added tests for soft reboot & hard reboot. 2014-08-29 15:49:31 -05:00