Class OnmsSnmpInterfaceResource


  • @Component("onmsSnmpInterfaceResource")
    @Transactional
    public class OnmsSnmpInterfaceResource
    extends OnmsRestService

    OnmsSnmpInterfaceResource class.

    Since:
    1.8.1
    Version:
    $Id: $
    Author:
    ranger
    • Constructor Detail

      • OnmsSnmpInterfaceResource

        public OnmsSnmpInterfaceResource()
    • Method Detail

      • getSnmpInterfaces

        public OnmsSnmpInterfaceList getSnmpInterfaces​(@Context
                                                       javax.ws.rs.core.UriInfo uriInfo,
                                                       java.lang.String nodeCriteria)

        getSnmpInterfaces

        Parameters:
        nodeCriteria - a String object.
        Returns:
        a OnmsSnmpInterfaceList object.
      • getSnmpInterface

        public OnmsSnmpInterface getSnmpInterface​(java.lang.String nodeCriteria,
                                                  int ifIndex)

        getSnmpInterface

        Parameters:
        nodeCriteria - a String object.
        ifIndex - a int.
        Returns:
        a OnmsSnmpInterface object.
      • addSnmpInterface

        public javax.ws.rs.core.Response addSnmpInterface​(@Context
                                                          javax.ws.rs.core.UriInfo uriInfo,
                                                          java.lang.String nodeCriteria,
                                                          OnmsSnmpInterface snmpInterface)

        addSnmpInterface

        Parameters:
        nodeCriteria - a String object.
        snmpInterface - a OnmsSnmpInterface object.
        Returns:
        a Response object.
      • deleteSnmpInterface

        public javax.ws.rs.core.Response deleteSnmpInterface​(java.lang.String nodeCriteria,
                                                             int ifIndex)

        deleteSnmpInterface

        Parameters:
        nodeCriteria - a String object.
        ifIndex - a int.
        Returns:
        a Response object.
      • updateSnmpInterface

        public javax.ws.rs.core.Response updateSnmpInterface​(java.lang.String nodeCriteria,
                                                             int ifIndex,
                                                             MultivaluedMapImpl params)

        updateSnmpInterface

        Parameters:
        nodeCriteria - a String object.
        ifIndex - a int.
        params - a MultivaluedMapImpl object.
        Returns:
        a Response object.