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

      • addSnmpInterface

        public javax.ws.rs.core.Response addSnmpInterface​(@Context
                                                          javax.ws.rs.core.UriInfo uriInfo,
                                                          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​(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​(String nodeCriteria,
                                                             int ifIndex,
                                                             MultivaluedMapImpl params)

        updateSnmpInterface

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