mirror of
				https://github.com/fog/fog.git
				synced 2022-11-09 13:51:43 -05:00 
			
		
		
		
	[ibm] Rename root_only -> is_mini_ephemeral
This commit is contained in:
		
							parent
							
								
									21f5de7179
								
							
						
					
					
						commit
						e4241047b8
					
				
					 7 changed files with 7 additions and 6 deletions
				
			
		| 
						 | 
				
			
			@ -114,7 +114,7 @@ module Fog
 | 
			
		|||
            "launchTime"    => Fog::IBM::Mock.launch_time,
 | 
			
		||||
            "id"            => Fog::IBM::Mock.instance_id,
 | 
			
		||||
            "volumes"       => [],
 | 
			
		||||
            "root-only"     => "false",
 | 
			
		||||
            "isMiniEphemeral" => "false",
 | 
			
		||||
            "instanceType"  => instance_type,
 | 
			
		||||
            "diskSize"      => "60",
 | 
			
		||||
            "requestName"   => "",
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -41,7 +41,7 @@ module Fog
 | 
			
		|||
        attribute :product_codes, :aliases => 'productCodes'
 | 
			
		||||
        attribute :request_id, :aliases => 'requestId'
 | 
			
		||||
        attribute :request_name, :aliases => 'requestName'
 | 
			
		||||
        attribute :root_only, :aliases => 'root-only'
 | 
			
		||||
        attribute :is_mini_ephemeral, :aliases => 'isMiniEphemeral'
 | 
			
		||||
        attribute :secondary_ip, :aliases => 'secondaryIP'
 | 
			
		||||
        attribute :software
 | 
			
		||||
        attribute :state, :aliases => 'status'
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -21,7 +21,7 @@ module Fog
 | 
			
		|||
        #     * 'launchTime'<~Integer>: UNIX time integer representing when the instance was launched
 | 
			
		||||
        #     * 'id'<~String>: instance id
 | 
			
		||||
        #     * 'volumes'<~Array>:
 | 
			
		||||
        #     * 'root-only'<~Boolean>: instance id
 | 
			
		||||
        #     * 'isMiniEphemeral'<~Boolean>: minimal local storage
 | 
			
		||||
        #     * 'instanceType'<~String>: instance type
 | 
			
		||||
        #     * 'diskSize'<~String>: instance disk size
 | 
			
		||||
        #     * 'requestName'<~String>: instance request name
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -22,7 +22,7 @@ module Fog
 | 
			
		|||
        #     * 'launchTime'<~Integer>: UNIX time integer representing when the instance was launched
 | 
			
		||||
        #     * 'id'<~String>: instance id
 | 
			
		||||
        #     * 'volumes'<~Array>:
 | 
			
		||||
        #     * 'root-only'<~Boolean>: instance id
 | 
			
		||||
        #     * 'isMiniEphemeral'<~Boolean>: minimal local storage
 | 
			
		||||
        #     * 'instanceType'<~String>: instance type
 | 
			
		||||
        #     * 'diskSize'<~String>: instance disk size
 | 
			
		||||
        #     * 'requestName'<~String>: instance request name
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -22,7 +22,7 @@ module Fog
 | 
			
		|||
        #       * 'launchTime'<~Integer>: UNIX time integer representing when the instance was launched
 | 
			
		||||
        #       * 'id'<~String>: instance id
 | 
			
		||||
        #       * 'volumes'<~Array>:
 | 
			
		||||
        #       * 'root-only'<~Boolean>: instance id
 | 
			
		||||
        #       * 'isMiniEphemeral'<~Boolean>: minimal local storage
 | 
			
		||||
        #       * 'instanceType'<~String>: instance type
 | 
			
		||||
        #       * 'diskSize'<~String>: instance disk size
 | 
			
		||||
        #       * 'requestName'<~String>: instance request name
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -22,7 +22,7 @@ module Fog
 | 
			
		|||
        #       * 'launchTime'<~Integer>: UNIX time integer representing when the instance was launched
 | 
			
		||||
        #       * 'id'<~String>: instance id
 | 
			
		||||
        #       * 'volumes'<~Array>:
 | 
			
		||||
        #       * 'root-only'<~Boolean>: instance id
 | 
			
		||||
        #       * 'isMiniEphemeral'<~Boolean>: minimal local storage
 | 
			
		||||
        #       * 'instanceType'<~String>: instance type
 | 
			
		||||
        #       * 'diskSize'<~String>: instance disk size
 | 
			
		||||
        #       * 'requestName'<~String>: instance request name
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -18,6 +18,7 @@ Shindo.tests('Fog::Compute[:ibm] | instance requests', ['ibm']) do
 | 
			
		|||
    'ip'            => Fog::Nullable::String,
 | 
			
		||||
    'volumes'       => Array,
 | 
			
		||||
    'root-only'     => Fog::Nullable::String,
 | 
			
		||||
    'isMiniEphemeral' => Fog::Nullable::String,
 | 
			
		||||
    'instanceType'  => String,
 | 
			
		||||
    'diskSize'      => Fog::Nullable::String,
 | 
			
		||||
    'requestName'   => String,
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue