From 8739ad77a8077a766616d4d3b87329a5af2aa713 Mon Sep 17 00:00:00 2001 From: Thomas Casteleyn Date: Fri, 15 Sep 2023 10:23:54 +0200 Subject: [PATCH] Change dependency to teemip-network-mgmt-extended 3.1.1 --- datamodel.sv-snmp-discovery.xml | 383 +------------------------------- module.sv-snmp-discovery.php | 3 +- 2 files changed, 2 insertions(+), 384 deletions(-) diff --git a/datamodel.sv-snmp-discovery.xml b/datamodel.sv-snmp-discovery.xml index 37a27bc..52694ea 100644 --- a/datamodel.sv-snmp-discovery.xml +++ b/datamodel.sv-snmp-discovery.xml @@ -1,349 +1,8 @@ - - cmdbAbstractObject - - bizmodel,searchable - false - snmpcredentials - - - - - - - - - - - - - - - - org_id - Organization - false - DEL_MANUAL - - - description - - true - - - name - - true - - - community - - true - - - - - - NetworkDevice - snmpcredentials_id - none - - - security_level - - - noAuthNoPriv - 1 - - - authNoPriv - 2 - - - authPriv - 3 - - - - true - list - rank - - - security_name - - true - - - - - - auth_protocol - - - md5 - 1 - - - sha - 2 - - - - true - list - rank - - - - - - auth_passphrase - - true - - - - - - - priv_protocol - - - des - 1 - - - aes - 2 - - - - true - list - rank - - - - - - priv_passphrase - - true - - - - - - - context_name - - true - - - - - - - - true - public - Custom - - - - false - public - Overload-DBObject - Get('priv_protocol'))) $iFlags |= OPT_ATT_MANDATORY; - break; - case 'auth_passphrase': - if (!empty($this->Get('auth_protocol'))) $iFlags |= OPT_ATT_MANDATORY; - break; - case 'auth_protocol': - case 'priv_protocol': - case 'security_name': - case 'community'; - if (static::IsAttributeRelevantForSecurityLevel($sAttCode, $this->Get('security_level'))) $iFlags |= OPT_ATT_MANDATORY; - break; - } - - return $iFlags | parent::GetInitialStateAttributeFlags($sAttCode, $aReasons); - }]]> - - - false - public - Overload-DBObject - Get('priv_protocol'))) $iFlags |= OPT_ATT_MANDATORY; - break; - case 'auth_passphrase': - if (!empty($this->Get('auth_protocol'))) $iFlags |= OPT_ATT_MANDATORY; - break; - case 'auth_protocol': - case 'priv_protocol': - case 'security_name': - case 'community'; - if (static::IsAttributeRelevantForSecurityLevel($sAttCode, $this->Get('security_level'))) $iFlags |= OPT_ATT_MANDATORY; - break; - } - - return $iFlags | parent::GetAttributeFlags($sAttCode, $aReasons, $sTargetState); - }]]> - - - false - public - Overload-DBObject - Get('security_level'))) $this->Set($sAttCode, null); - } - }]]> - - - -
- - - 10 - - - 10 - - - 10 - - - 20 - - - 30 - - - - - 20 - - - 10 - - - - - - - 20 - - - 10 - - - 10 - - - 20 - - - 30 - - - 40 - - - 50 - - - 60 - - - 70 - - - - - - - 30 - - -
- - - - 10 - - - 20 - - - - - - - 10 - - - - - - - 10 - - - -
-
- - snmpcredentials_id - SnmpCredentials - true - DEL_AUTO - snmp_last_discovery @@ -800,22 +459,7 @@
- - - - - - - - 50 - SnmpCredentials - - - - - - - + @@ -841,37 +485,12 @@ sysDescr sysLocation sysName - SNMP Credentials - SNMP Credentials - Authentication passphrase - Authentication protocol - MD5 - SHA - Community - Context name - Description - Devices - Devices using these credentials. - Name - Organization - Privacy passphrase - Privacy protocol - AES - DES - Security level - AuthNoPriv - AuthPriv - NoAuthNoPriv - Security name SNMP Discovery IPv4 Subnets Subnets configured to be discovered by this application. IPv6 Subnets Subnets configured to be discovered by this application. SNMP Discovery Information - General Information - SNMP V1 / V2c - SNMP V3 diff --git a/module.sv-snmp-discovery.php b/module.sv-snmp-discovery.php index f7c76f8..cb77718 100755 --- a/module.sv-snmp-discovery.php +++ b/module.sv-snmp-discovery.php @@ -16,8 +16,7 @@ // Setup // 'dependencies' => array( - 'itop-config-mgmt/3.1.0', - 'teemip-network-mgmt/3.1.0', + 'teemip-network-mgmt-extended/3.1.1', 'teemip-ip-discovery/3.1.0', ), 'mandatory' => false,