Sha256: 013086e3aa402b711fca1dfabe1393a3fa13342590e037db6c8ab9a275d930ce
Contents?: true
Size: 576 Bytes
Versions: 3
Compression:
Stored size: 576 Bytes
Contents
class TestLab class Node module Status # Node Status # # @return [Hash] A hash detailing the status of the node. def status { :id => self.id, :instance_id => @provider.instance_id, :state => @provider.state, :user => @provider.user, :ip => @provider.ip, :port => @provider.port, :provider => @provider.class, :con => self.containers.count, :net => self.networks.count, :rtr => self.routers.count } end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
testlab-0.2.1 | lib/testlab/node/status.rb |
testlab-0.2.0 | lib/testlab/node/status.rb |
testlab-0.1.0 | lib/testlab/node/status.rb |