Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
scripts
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Benjamin Graillot
scripts
Commits
2028b991
Commit
2028b991
authored
Feb 19, 2018
by
Gabriel Detraz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add 2930, remove 2650 et change uplink switch 5C et 6A
parent
1dfba84a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
7 deletions
+12
-7
gestion/annuaires_pg.py
gestion/annuaires_pg.py
+2
-2
gestion/config/hp_switchs.py
gestion/config/hp_switchs.py
+10
-5
No files found.
gestion/annuaires_pg.py
View file @
2028b991
...
@@ -149,7 +149,7 @@ uplink_prises={ 'a' :
...
@@ -149,7 +149,7 @@ uplink_prises={ 'a' :
{
49
:
'uplink->bata-2'
,
50
:
'libre-service'
,
{
49
:
'uplink->bata-2'
,
50
:
'libre-service'
,
149
:
'uplink->bata-2'
,
150
:
'libre-service'
,
149
:
'uplink->bata-2'
,
150
:
'libre-service'
,
424
:
'uplink->bata-2'
,
423
:
'libre-service'
,
424
:
'uplink->bata-2'
,
423
:
'libre-service'
,
32
5
:
'uplink->bata-2'
,
326
:
'libre-service'
,
32
1
:
'uplink->bata-2'
,
322
:
'libre-service'
,
201
:
'uplink->bata-0'
,
202
:
'uplink->bata-1'
,
201
:
'uplink->bata-0'
,
202
:
'uplink->bata-1'
,
203
:
'uplink->bata-4'
,
204
:
'uplink->bata-3'
,
203
:
'uplink->bata-4'
,
204
:
'uplink->bata-3'
,
224
:
'uplink->backbone'
,
224
:
'uplink->backbone'
,
...
@@ -208,7 +208,7 @@ uplink_prises={ 'a' :
...
@@ -208,7 +208,7 @@ uplink_prises={ 'a' :
'i'
:
'i'
:
{
49
:
'uplink->bati-3'
,
50
:
'libre-service'
,
{
49
:
'uplink->bati-3'
,
50
:
'libre-service'
,
149
:
'uplink->bati-3'
,
150
:
'libre-service'
,
149
:
'uplink->bati-3'
,
150
:
'libre-service'
,
301
:
'uplink->bati-0'
,
3
02
:
'uplink->bati-1'
,
301
:
'uplink->bati-0'
,
3
26
:
'uplink->bati-1'
,
328
:
'uplink->backbone'
},
328
:
'uplink->backbone'
},
'j'
:
'j'
:
{
49
:
'uplink->batj-3'
,
50
:
'libre-service'
,
{
49
:
'uplink->batj-3'
,
50
:
'libre-service'
,
...
...
gestion/config/hp_switchs.py
View file @
2028b991
...
@@ -63,11 +63,6 @@ RADIUS_DAE = "RADIUS Dynamic Authorization Extensions"
...
@@ -63,11 +63,6 @@ RADIUS_DAE = "RADIUS Dynamic Authorization Extensions"
## - Une liste des modules qui le constituent, le cas échéant.
## - Une liste des modules qui le constituent, le cas échéant.
HP_PROCURVE_MAP
=
{
HP_PROCURVE_MAP
=
{
"J4899"
:
{
'model'
:
"HP 2650"
,
'firmware'
:
"H.10.119"
,
'features'
:
[
IGMP_SNOOPING
,
DHCP_SNOOPING
],
},
"J4900"
:
{
"J4900"
:
{
'model'
:
"HP 2626"
,
'model'
:
"HP 2626"
,
'firmware'
:
"H.10.119"
,
'firmware'
:
"H.10.119"
,
...
@@ -195,6 +190,16 @@ HP_PROCURVE_MAP = {
...
@@ -195,6 +190,16 @@ HP_PROCURVE_MAP = {
],
],
'sfp'
:
range
(
9
,
11
),
'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
()})
ALL_MODELS
=
list
({
switch
[
"model"
]
for
switch
in
HP_PROCURVE_MAP
.
values
()})
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment