All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.opendaylight.cardinal.impl.OdlCardinalMainModule Maven / Gradle / Ivy

There is a newer version: 0.3.3
Show newest version
/*
 * Copyright © 2016 TCS and others.  All rights reserved.
 *
 * This program and the accompanying materials are made available under the
 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
 * and is available at http://www.eclipse.org/legal/epl-v10.html
 */
package org.opendaylight.cardinal.impl;
//

// Generated by mibgen version 5.1 (03/08/07) when compiling ODL-CARDINAL-MIB.
//

// java imports
//
import java.io.Serializable;

// jmx imports
//
import javax.management.MBeanServer;
import com.sun.management.snmp.SnmpString;
import com.sun.management.snmp.SnmpStatusException;

// jdmk imports
//
import com.sun.management.snmp.agent.SnmpMib;

/**
 * The class is used for implementing the "OdlCardinalMainModule" group. The
 * group is defined with the following oid: 1.3.6.1.3.1.1.1.
 */
public class OdlCardinalMainModule implements OdlCardinalMainModuleMBean, Serializable {

    /**
     * Variable for storing the value of "OdlSystemOdlNodeInfo". The variable is
     * identified by: "1.3.6.1.3.1.1.1.6".
     */
    protected String OdlSystemOdlNodeInfo = new String("JDMK 5.1");

    /**
     * Variable for storing the value of "OdlSystemOdlUptime". The variable is
     * identified by: "1.3.6.1.3.1.1.1.5".
     */
    protected String OdlSystemOdlUptime = new String("Uptime of the Odl");

    /**
     * Variable for storing the value of "OdlSystemSysInfo". The variable is
     * identified by: "1.3.6.1.3.1.1.1.4".
     */
    protected String OdlSystemSysInfo = new String("JDMK 5.1");

    /**
     * Variable for storing the value of "OdlSystemHostAddress". The variable is
     * identified by: "1.3.6.1.3.1.1.1.3".
     */
    protected String OdlSystemHostAddress = new String("172.21.88.140");

    /**
     * Variable for storing the value of "OdlSystemMemUsage". The variable is
     * identified by: "1.3.6.1.3.1.1.1.2".
     */
    protected Integer OdlSystemMemUsage = new Integer(1);

    /**
     * Variable for storing the value of "OdlSystemCpuUsage". The variable is
     * identified by: "1.3.6.1.3.1.1.1.1".
     */
    protected Integer OdlSystemCpuUsage = new Integer(1);

    /**
     * Constructor for the "OdlCardinalMainModule" group. If the group contains
     * a table, the entries created through an SNMP SET will not be registered
     * in Java DMK.
     */
    public OdlCardinalMainModule(SnmpMib myMib) {
    }

    /**
     * Constructor for the "OdlCardinalMainModule" group. If the group contains
     * a table, the entries created through an SNMP SET will be AUTOMATICALLY
     * REGISTERED in Java DMK.
     */
    public OdlCardinalMainModule(SnmpMib myMib, MBeanServer server) {
    }

    /**
     * Getter for the "OdlSystemOdlNodeInfo" variable.
     */
    public String getOdlSystemOdlNodeInfo() throws SnmpStatusException {
        return OdlSystemOdlNodeInfo;
    }

    /**
     * Setter for the "OdlSystemOdlNodeInfo" variable.
     */
    public void setOdlSystemOdlNodeInfo(String x) throws SnmpStatusException {
        OdlSystemOdlNodeInfo = x;
    }

    /**
     * Checker for the "OdlSystemOdlNodeInfo" variable.
     */
    public void checkOdlSystemOdlNodeInfo(String x) throws SnmpStatusException {
        //
        // Add your own checking policy.
        //
    }

    /**
     * Getter for the "OdlSystemOdlUptime" variable.
     */
    public String getOdlSystemOdlUptime() throws SnmpStatusException {
        return OdlSystemOdlUptime;
    }

    /**
     * Setter for the "OdlSystemOdlUptime" variable.
     */
    public void setOdlSystemOdlUptime(String x) throws SnmpStatusException {
        OdlSystemOdlUptime = x;
    }

    /**
     * Checker for the "OdlSystemOdlUptime" variable.
     */
    public void checkOdlSystemOdlUptime(String x) throws SnmpStatusException {
        //
    }

    /**
     * Getter for the "OdlSystemSysInfo" variable.
     */
    public String getOdlSystemSysInfo() throws SnmpStatusException {
        return OdlSystemSysInfo;
    }

    /**
     * Setter for the "OdlSystemSysInfo" variable.
     */
    public void setOdlSystemSysInfo(String x) throws SnmpStatusException {
        OdlSystemSysInfo = x;
    }

    /**
     * Checker for the "OdlSystemSysInfo" variable.
     */
    public void checkOdlSystemSysInfo(String x) throws SnmpStatusException {
        //
        // Add your own checking policy.
        //
    }

    /**
     * Getter for the "OdlSystemHostAddress" variable.
     */
    public String getOdlSystemHostAddress() throws SnmpStatusException {
        return OdlSystemHostAddress;
    }

    /**
     * Setter for the "OdlSystemHostAddress" variable.
     */
    public void setOdlSystemHostAddress(String x) throws SnmpStatusException {
        OdlSystemHostAddress = x;
    }

    /**
     * Checker for the "OdlSystemHostAddress" variable.
     */
    public void checkOdlSystemHostAddress(String x) throws SnmpStatusException {
        //
        // Add your own checking policy.
        //
    }

    /**
     * Getter for the "OdlSystemMemUsage" variable.
     */
    public Integer getOdlSystemMemUsage() throws SnmpStatusException {
        return OdlSystemMemUsage;
    }

    /**
     * Setter for the "OdlSystemMemUsage" variable.
     */
    public void setOdlSystemMemUsage(Integer x) throws SnmpStatusException {
        OdlSystemMemUsage = x;
    }

    /**
     * Checker for the "OdlSystemMemUsage" variable.
     */
    public void checkOdlSystemMemUsage(Integer x) throws SnmpStatusException {
        //
        // Add your own checking policy.
        //
    }

    /**
     * Getter for the "OdlSystemCpuUsage" variable.
     */
    public Integer getOdlSystemCpuUsage() throws SnmpStatusException {
        return OdlSystemCpuUsage;
    }

    /**
     * Setter for the "OdlSystemCpuUsage" variable.
     */
    public void setOdlSystemCpuUsage(Integer x) throws SnmpStatusException {
        OdlSystemCpuUsage = x;
    }

    /**
     * Checker for the "OdlSystemCpuUsage" variable.
     */
    public void checkOdlSystemCpuUsage(Integer x) throws SnmpStatusException {
        //
        // Add your own checking policy.
        //
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy