Added arch info
added arch to node details and flavor suggestions Change-Id: I2c9ebf2e99d9584746498ac008f7478b06ede21d
This commit is contained in:
		@@ -71,7 +71,7 @@ class FlavorSuggestion(object):
 | 
			
		||||
            vcpus=int(node.cpus),
 | 
			
		||||
            ram=int(node.memory_mb),
 | 
			
		||||
            disk=int(node.local_gb),
 | 
			
		||||
            # TODO(rdopieralski) Add architecture when available.
 | 
			
		||||
            cpu_arch=node.cpu_arch
 | 
			
		||||
        )
 | 
			
		||||
 | 
			
		||||
    @classmethod
 | 
			
		||||
@@ -80,7 +80,7 @@ class FlavorSuggestion(object):
 | 
			
		||||
            vcpus=flavor.vcpus,
 | 
			
		||||
            ram_bytes=flavor.ram_bytes,
 | 
			
		||||
            disk_bytes=flavor.disk_bytes,
 | 
			
		||||
            # TODO(rdopieralski) Add architecture when available.
 | 
			
		||||
            cpu_arch=flavor.cpu_arch
 | 
			
		||||
        )
 | 
			
		||||
 | 
			
		||||
    @property
 | 
			
		||||
 
 | 
			
		||||
@@ -56,6 +56,7 @@
 | 
			
		||||
      </dd>
 | 
			
		||||
      <dt>{% trans "Registered HW" %}</dt>
 | 
			
		||||
      <dd>
 | 
			
		||||
        {{ node.cpu_arch|default:"—" }}<br />
 | 
			
		||||
        {{ node.cpus|default:"—" }} {% trans "CPU" %}<br />
 | 
			
		||||
        {{ node.memory_mb|default:"—" }} {% trans "RAM (MB)" %}<br />
 | 
			
		||||
        {{ node.local_gb|default:"—" }} {% trans "HDD (GB)" %}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user