Exemplo n.º 1
0
 public void Design(IOpalisDesigner designer)
 {
     // Define the Input and Output Paramaters for the Interface
     designer.AddInput("Lookup Query");
     designer.AddOutput("F5 Pool Members Count").AsNumber().WithDescription("Number of Members in the Pools");
     designer.AddCorellatedData(typeof(F5LBPoolMember));
 }
Exemplo n.º 2
0
 public void Design(IOpalisDesigner designer)
 {
     designer.AddInput("Pool Name");
     designer.AddInput("Pool Members List");
     designer.AddInput("Pool Members Port");
     designer.AddInput("Pool Monitor Type").WithListBrowser("HTTP", "HTTPS");
 }
        public void Design(IOpalisDesigner designer)
        {
            // Set Up the Variables
            List <string> F5MemberName = new List <string>();

            // Try to Connect with the F5 Device
            if (F5BigIP.Connect(connection.Host, connection.UserName, connection.Password))
            {
                // Get a list of Pools from the Device
                List <string> F5Pools = F5BigIP.GetPools();

                // Now Get a list of Members per Pool, and format this list for presentation in the UX
                foreach (F5PoolMemberState F5Member in F5BigIP.GetPoolMembers(F5Pools))
                {
                    F5MemberName.Add(F5Member.Address.Trim() + ":" + F5Member.Port.ToString());
                }

                // Great, next using Linq remove Duplicates from the list and sort it (Sexy!)
                F5MemberName.Distinct();
                F5MemberName.Sort();
            }

            // We will now persent to the user the options we need them to provide to us

            designer.AddInput("Member Name").WithListBrowser(F5MemberName);
            designer.AddInput("Member State").WithListBrowser(new string[] { "Enabled", "Disabled", "Forced Offline" });
            designer.AddCorellatedData(typeof(F5PoolMemberState));
        }
Exemplo n.º 4
0
        public void Design(IOpalisDesigner designer)
        {
            bool bInitialized = F5Connection.initialize(connection.Host, connection.UserName, connection.Password);

            String[] bigIPPoolNameData = F5Connection.LocalLBPool.get_list();

            designer.AddInput("Pool Name").WithListBrowser(bigIPPoolNameData);
            designer.AddOutput("Pool Members Count").AsNumber().WithDescription("Number of Members in the Pools");
            designer.AddCorellatedData(typeof(F5PoolMemberState));
        }
Exemplo n.º 5
0
        public void Design(IOpalisDesigner designer)
        {
            bool bInitialized = F5Connection.initialize(connection.Host, connection.UserName, connection.Password);

            String[] bigIPPoolNameData = F5Connection.LocalLBPool.get_list();

            designer.AddInput("Pool Name").WithListBrowser(bigIPPoolNameData);
            designer.AddInput("Member Name");
            designer.AddInput("Member State").WithListBrowser(new string[] { "Enabled", "Disabled", "Forced Offline" });
            designer.AddCorellatedData(typeof(F5PoolMemberState));
        }
Exemplo n.º 6
0
        public void Design(IOpalisDesigner designer)
        {
            // Set Up the Variables
            List <string> virtualServerNames = new List <string>();

            if (F5BigIP.Connect(connection.Host, connection.UserName, connection.Password))
            {
                // Get a list of Pools from the Device
                virtualServerNames = F5BigIP.GetLBVirtualServers();
            }

            // Define the Input and Output Paramaters for the Interface
            designer.AddInput("Virtual Server Name").WithListBrowser(virtualServerNames);
            designer.AddCorellatedData(typeof(F5LBVirtualServerMember));
        }
Exemplo n.º 7
0
        public void Design(IOpalisDesigner designer)
        {
            // Set Up the Variables
            List <string> poolNames = new List <string>();

            if (F5BigIP.Connect(connection.Host, connection.UserName, connection.Password))
            {
                // Get a list of Pools from the Device
                poolNames = F5BigIP.GetLBPools();
            }

            // Define the Input and Output Paramaters for the Interface
            designer.AddInput("Pool Name").WithListBrowser(poolNames);
            designer.AddOutput("F5 Pool Members Count").AsNumber().WithDescription("Number of Members in the Pools");
            designer.AddCorellatedData(typeof(F5LBPoolMember));
        }
Exemplo n.º 8
0
        public void Design(IOpalisDesigner designer)
        {
            // Set Up the Variables
            List <string> poolNames = new List <string>();

            if (F5BigIP.Connect(connection.Host, connection.UserName, connection.Password))
            {
                // Get a list of Pools from the Device
                poolNames = F5BigIP.GetLBPools();
            }

            // Define the Input and Output Paramaters for the Interface
            designer.AddInput("Pool Name").WithListBrowser(poolNames);
            designer.AddInput("Pool Member");
            designer.AddInput("Pool Member State").WithListBrowser(new string[] { "Enabled", "Disabled", "Forced Offline" });
            designer.AddCorellatedData(typeof(F5LBPoolMember));
        }
Exemplo n.º 9
0
        public void Design(IOpalisDesigner designer)
        {
            // Set Up the Variables
            List <string> rootNames = new List <string>();

            // Get a list of Pools from the Device
            List <DFSRoot> dfsRoots = new List <DFSRoot>();

            dfsRoots = DFS.GetDFSRoots();


            // Define the Input and Output Paramaters for the Interface
            designer.AddInput("Root Name").WithListBrowser(rootNames);

            designer.AddOutput("F5 Pools Count").AsNumber().WithDescription("Number of Pools Defined on the F5");
            designer.AddCorellatedData(typeof(F5LBPool));
        }
        public void Design(IOpalisDesigner designer)
        {
            bool bInitialized = F5Connection.initialize(connection.Host, connection.UserName, connection.Password);

            String[] bigIPPoolNameData = F5Connection.LocalLBPool.get_list();
            CommonIPPortDefinition[][] bigIPNodeNames = F5Connection.LocalLBPool.get_member(bigIPPoolNameData);

            List <string> poolMemberNames = new List <string>();

            foreach (CommonIPPortDefinition[] bigIPNode in bigIPNodeNames)
            {
                poolMemberNames.Add(bigIPNode[0].address.Trim());
            }

            // Using Linq, remove Duplicates (Sexy!)
            poolMemberNames.Distinct().ToList();
            poolMemberNames.Sort();

            designer.AddInput("Member Name").WithListBrowser(poolMemberNames);
            designer.AddInput("Member Port");
            designer.AddInput("Member State").WithListBrowser(new string[] { "Enabled", "Disabled", "Forced Offline" });
            designer.AddCorellatedData(typeof(F5PoolMemberState));
        }
Exemplo n.º 11
0
 public void Design(IOpalisDesigner designer)
 {
     designer.AddInput("Computer Name");
     designer.AddInput("Log Name");
     designer.AddInput("Event ID");
 }
Exemplo n.º 12
0
 public void Design(IOpalisDesigner designer)
 {
     designer.AddOutput("F5 Virtual Servers Count").AsNumber().WithDescription("Number of Virtual Servers Defined on the F5");
     designer.AddCorellatedData(typeof(F5LBVirtualServer));
 }
Exemplo n.º 13
0
 public void Design(IOpalisDesigner designer)
 {
     designer.AddInput("Host Name");
     designer.AddOutput("IP Address");
 }
Exemplo n.º 14
0
 public void Design(IOpalisDesigner designer)
 {
     designer.AddOutput("Pools Count").AsNumber().WithDescription("Number of Pools Defined on the F5");
     designer.AddCorellatedData(typeof(F5Pool));
 }