app/controllers/logins_controller.rb
##Used to fill out tenant switching bar in interface.
Used to fill out tenant switching bar in interface.
Used to fill out tenant switching bar in interface .
def tenants
    identity = Ropenstack::Identity.new(APP_CONFIG["identity"]["ip"], APP_CONFIG["identity"]["port"], (sesh :current_token), "identityv2")
    respond_to do |format|
      format.json { render :json => identity.tenant_list() }
    end
  end
def tenants identity = Ropenstack :: Identity . new ( APP_CONFIG [ "identity" ] [ "ip" ] , APP_CONFIG [ "identity" ] [ "port" ] , ( sesh :current_token ) , "identityv2" ) respond_to do | format | format . json { render :json => identity . tenant_list ( ) } end end
Used to fill out tenant switching bar in interface.
Used to fill out tenant switching bar in interface .