ListPools() 공개 메소드

public ListPools ( ) : IEnumerable
리턴 IEnumerable
 public void GetPoolTest()
 {
     var os = new OpenStackMember(UserName, Password, TenantName, TenantId);
     var pools = os.ListPools();
     Assert.IsNotNull(pools);
     Trace.WriteLine(string.Format("pools Count : {0}", pools.Count()));
     foreach (var p in pools)
     {
         var pool = os.GetPool(p.Id);
         Assert.IsNotNull(pool);
         Trace.WriteLine("-------------------");
         Trace.WriteLine(string.Format("pool Name : {0}", pool.Name));
         Trace.WriteLine(string.Format("pool Id : {0}", pool.Id));
         Trace.WriteLine(string.Format("pool Protocol : {0}", pool.Protocol));
         Trace.WriteLine(string.Format("pool TenantId : {0}", pool.TenantId));
         Trace.WriteLine(string.Format("pool Description : {0}", pool.Description));
     }
 }