Changeset 28446 for trunk/Nebulous
- Timestamp:
- Jun 23, 2010, 5:51:46 PM (16 years ago)
- Location:
- trunk/Nebulous
- Files:
-
- 2 added
- 3 edited
-
Build.PL (modified) (1 diff)
-
MANIFEST (modified) (1 diff)
-
bin/neb-migrate (added)
-
bin/neb-shift (added)
-
lib/Nebulous/Client.pm (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Nebulous/Build.PL
r26019 r28446 113 113 bin/neb-locate 114 114 bin/neb-ls 115 bin/neb-migrate 115 116 bin/neb-mv 116 117 bin/neb-replicate 117 118 bin/neb-rm 119 bin/neb-shift 118 120 bin/neb-stat 119 121 bin/neb-swap -
trunk/Nebulous/MANIFEST
r26022 r28446 14 14 bin/neb-insert 15 15 bin/neb-ls 16 bin/neb-migrate 16 17 bin/neb-mv 17 18 bin/neb-replicate 18 19 bin/neb-rm 20 bin/neb-shift 19 21 bin/neb-stat 20 22 bin/neb-swap -
trunk/Nebulous/lib/Nebulous/Client.pm
r26333 r28446 790 790 } 791 791 792 sub find_ext_id_by_volume 793 { 794 my $self = shift; 795 my ($vol_name, $limit) = validate_pos( @_, 796 { 797 type => SCALAR, 798 }, 799 { 800 type => SCALAR|UNDEF, 801 optional => 1, 802 }, 803 ); 804 805 $log->debug( "entered - @_" ); 806 807 my $response = $self->{ 'server' }->find_ext_id_by_volume( $vol_name, $limit); 808 if ( $response->fault ) { 809 $self->set_err($response->faultstring); 810 if ($response->faultstring =~ /no instances on storage volume/) { 811 $log->debug( "leaving" ); 812 return; 813 } 814 815 $log->logdie("unhandled fault - ", $self->err); 816 } 817 818 my $ext_ids = $response->result; 819 820 $log->debug( "server found @$ext_ids" ); 821 $log->debug( "leaving" ); 822 823 return($ext_ids); 824 } 825 792 826 sub find_instances_for_cull 793 827 {
Note:
See TracChangeset
for help on using the changeset viewer.
