From owner-svn-soc-all@FreeBSD.ORG Wed Aug 6 16:30:46 2014 Return-Path: Delivered-To: svn-soc-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id AAAB62B8 for ; Wed, 6 Aug 2014 16:30:46 +0000 (UTC) Received: from socsvn.freebsd.org (socsvn.freebsd.org [IPv6:2001:1900:2254:206a::50:2]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 7D79F2425 for ; Wed, 6 Aug 2014 16:30:46 +0000 (UTC) Received: from socsvn.freebsd.org ([127.0.1.124]) by socsvn.freebsd.org (8.14.9/8.14.9) with ESMTP id s76GUk2T069667 for ; Wed, 6 Aug 2014 16:30:46 GMT (envelope-from shonali@FreeBSD.org) Received: (from www@localhost) by socsvn.freebsd.org (8.14.9/8.14.9/Submit) id s76GUjNS069660 for svn-soc-all@FreeBSD.org; Wed, 6 Aug 2014 16:30:45 GMT (envelope-from shonali@FreeBSD.org) Date: Wed, 6 Aug 2014 16:30:45 GMT Message-Id: <201408061630.s76GUjNS069660@socsvn.freebsd.org> X-Authentication-Warning: socsvn.freebsd.org: www set sender to shonali@FreeBSD.org using -f From: shonali@FreeBSD.org To: svn-soc-all@FreeBSD.org Subject: socsvn commit: r271988 - soc2014/shonali/head/contrib/bsnmp/snmpd MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-soc-all@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: SVN commit messages for the entire Summer of Code repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Aug 2014 16:30:46 -0000 Author: shonali Date: Wed Aug 6 16:30:45 2014 New Revision: 271988 URL: http://svnweb.FreeBSD.org/socsvn/?view=rev&rev=271988 Log: Made changes to BEGEMOT-SNMPD.txt & tree.def Modified: soc2014/shonali/head/contrib/bsnmp/snmpd/BEGEMOT-SNMPD.txt soc2014/shonali/head/contrib/bsnmp/snmpd/tree.def Modified: soc2014/shonali/head/contrib/bsnmp/snmpd/BEGEMOT-SNMPD.txt ============================================================================== --- soc2014/shonali/head/contrib/bsnmp/snmpd/BEGEMOT-SNMPD.txt Wed Aug 6 14:38:09 2014 (r271987) +++ soc2014/shonali/head/contrib/bsnmp/snmpd/BEGEMOT-SNMPD.txt Wed Aug 6 16:30:45 2014 (r271988) @@ -218,7 +218,7 @@ DESCRIPTION "An entry in the table with descriptions of UDP ports to listen on for SNMP messages." - INDEX { begemotSnmpdPortAddress, begemotSnmpdPortAddressType, begemotSnmpdPortPort } + INDEX { begemotSnmpdPortAddressType, begemotSnmpdPortAddress, begemotSnmpdPortPort } ::= { begemotSnmpdPortTable 1 } BegemotSnmpdPortEntry ::= SEQUENCE { Modified: soc2014/shonali/head/contrib/bsnmp/snmpd/tree.def ============================================================================== --- soc2014/shonali/head/contrib/bsnmp/snmpd/tree.def Wed Aug 6 14:38:09 2014 (r271987) +++ soc2014/shonali/head/contrib/bsnmp/snmpd/tree.def Wed Aug 6 16:30:45 2014 (r271988) @@ -33,8 +33,15 @@ #include "tc.def" -typedef InetAddress { type binary { length "0..255"; } } -typedef InetAddressType { type enumeration { enum unknown { value 0; } enum ipv4 { value 1; } enum ipv6 { value 2; } enum ipv4z { value 3; } enum ipv6z { value 4; } enum dns { value 16; } } } +typedef InetAddressType ENUM ( + 0 unknown + 1 ipv4 + 2 ipv6 + 3 ipv4z + 4 ipv6z + 16 dns +) + typedef RowStatus ENUM ( 1 active 2 notInService @@ -123,8 +130,8 @@ # Port table # (4 begemotSnmpdPortTable - (1 begemotSnmpdPortEntry : InetAddress INTEGER op_snmp_port InetAddressType - (1 begemotSnmpdPortAddress InetAddress) + (1 begemotSnmpdPortEntry : InetAddressType OCTETSTRING | InetAddress INTEGER op_snmp_port + (1 begemotSnmpdPortAddress OCTETSTRING | InetAddress) (2 begemotSnmpdPortPort UNSIGNED32) (3 begemotSnmpdPortStatus INTEGER GET SET) (4 begemotSnmpdPortAddressType InetAddressType)