Method: Cisco::Vpc.domains
- Defined in:
- lib/cisco_node_utils/vpc.rb
.domains ⇒ Object
36 37 38 39 40 41 42 |
# File 'lib/cisco_node_utils/vpc.rb', line 36 def self.domains hash = {} return hash unless Vpc.enabled my_domain = config_get('vpc', 'domain') hash[my_domain] = Vpc.new(my_domain, false) unless my_domain.nil? hash end |