From 2028b99171fd6cdc2834b86bfd469ddb5d39a691 Mon Sep 17 00:00:00 2001 From: Gabriel Detraz Date: Mon, 19 Feb 2018 03:22:42 +0100 Subject: [PATCH] Add 2930, remove 2650 et change uplink switch 5C et 6A --- gestion/annuaires_pg.py | 4 ++-- gestion/config/hp_switchs.py | 15 ++++++++++----- 2 files changed, 12 insertions(+), 7 deletions(-) diff --git a/gestion/annuaires_pg.py b/gestion/annuaires_pg.py index ab288e7d..0ee38930 100644 --- a/gestion/annuaires_pg.py +++ b/gestion/annuaires_pg.py @@ -149,7 +149,7 @@ uplink_prises={ 'a' : { 49 : 'uplink->bata-2', 50 : 'libre-service', 149 : 'uplink->bata-2', 150 : 'libre-service', 424 : 'uplink->bata-2', 423 : 'libre-service', - 325 : 'uplink->bata-2', 326 : 'libre-service', + 321 : 'uplink->bata-2', 322 : 'libre-service', 201 : 'uplink->bata-0', 202 : 'uplink->bata-1', 203 : 'uplink->bata-4', 204 : 'uplink->bata-3', 224 : 'uplink->backbone', @@ -208,7 +208,7 @@ uplink_prises={ 'a' : 'i' : { 49 : 'uplink->bati-3', 50 : 'libre-service', 149 : 'uplink->bati-3', 150 : 'libre-service', - 301 : 'uplink->bati-0', 302 : 'uplink->bati-1', + 301 : 'uplink->bati-0', 326 : 'uplink->bati-1', 328 : 'uplink->backbone' }, 'j' : { 49 : 'uplink->batj-3', 50 : 'libre-service', diff --git a/gestion/config/hp_switchs.py b/gestion/config/hp_switchs.py index 0937669c..b8dcc11c 100644 --- a/gestion/config/hp_switchs.py +++ b/gestion/config/hp_switchs.py @@ -63,11 +63,6 @@ RADIUS_DAE = "RADIUS Dynamic Authorization Extensions" ## - Une liste des modules qui le constituent, le cas échéant. HP_PROCURVE_MAP = { - "J4899" : { - 'model' : "HP 2650", - 'firmware' : "H.10.119", - 'features' : [IGMP_SNOOPING, DHCP_SNOOPING], - }, "J4900" : { 'model' : "HP 2626", 'firmware' : "H.10.119", @@ -195,6 +190,16 @@ HP_PROCURVE_MAP = { ], 'sfp' : range(9, 11), }, + "JL261" : { + 'model' : "HP 2930", + 'firmware' : "WC.16.02.0014", + 'features' : [ + IPv6_MGMT, DHCP_SNOOPING, DHCPv6_SNOOPING, RA_GUARD, + MLD_SNOOPING, IGMP_SNOOPING, SNTP_NEW_SYNTAX, GIGABIT, + RADIUS_DAE, FILTER_MDNS, ARP_PROTECT, IPv6_LOGGING, + ], + 'sfp' : range(25, 28), + }, } ALL_MODELS = list({switch["model"] for switch in HP_PROCURVE_MAP.values()}) -- 2.22.0