Created
January 9, 2011 21:23
-
-
Save Itslet/772033 to your computer and use it in GitHub Desktop.
Inventory Model
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace Core | |
{ | |
public class BladeServer | |
{ | |
public string Hostname { get; set;} | |
public string ServerRole { get; set; } | |
public string IPAddress { get; set; } | |
public string OS { get; set; } | |
public BladeChassis BladeChassis { get; set; } | |
} | |
//the bladeserver goes into the bladechassis | |
public class BladeChassis | |
{ | |
public string ChassisID { get; set; } | |
public string Description { get; set; } | |
public int UnitsHigh { get; set; } | |
public int Bays { get; set; } | |
public string Power { get; set; } | |
public List<BladeServer> Servers { get; set; } | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment