[tv/genconf] Réorganisation des transpondeurs
darcs-hash:20100912132820-ffbb2-3e4fd0d75421165fab3e672981598eb4a180d0c2.gz
This commit is contained in:
parent
9ab688409f
commit
738431434b
2 changed files with 19 additions and 19 deletions
|
@ -15,4 +15,4 @@ cartes = conf
|
||||||
|
|
||||||
# On genre la conf
|
# On genre la conf
|
||||||
for carte in cartes :
|
for carte in cartes :
|
||||||
eval('carte.start()')
|
carte.start()
|
||||||
|
|
|
@ -1,33 +1,33 @@
|
||||||
#! /usr/bin/env python
|
#! /usr/bin/env python
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
""" Defini les transpondeurs a associer a chacune des cartes """
|
""" Definit les transpondeurs a associer a chacune des cartes """
|
||||||
|
|
||||||
from sat_base import *
|
from sat_base_ng import *
|
||||||
from socket import gethostname
|
from socket import gethostname
|
||||||
|
|
||||||
host = gethostname()
|
host = gethostname()
|
||||||
|
|
||||||
transpondeurs = { 'canard' : [ Hotbird_11034(0) ,
|
transpondeurs = { 'canard' : [ SAT_10773h(0),
|
||||||
Hotbird_11240(1) ,
|
#Hotbird_11240(1) ,
|
||||||
Hotbird_12597(2) ,
|
#Hotbird_12597(2) ,
|
||||||
Hotbird_11604(3) ,
|
#Hotbird_11604(3) ,
|
||||||
TNT_R5_538000(4) ],
|
TNT_R6_562000(4) ], # Cette carte est HS
|
||||||
'lapin' : [ Hotbird_11054(0) ,
|
'lapin' : [ SAT_10714h(0) ,
|
||||||
Hotbird_11727(1) ], #Cette carte capte bizarrement, a vérifier
|
#Hotbird_11727(1) , #Cette carte capte bizarrement, a vérifier
|
||||||
# TNT_R2_474000(2) ,
|
TNT_R5_538000(2) ,
|
||||||
# TNT_R3_522000(3) ],
|
TNT_R6_562000(3) ], # Cette carte chie.
|
||||||
# 'poulet' : [ TNT_R4_498000(1) ], #la 0 est la carte sat + decodeur #serveur de test
|
'poulet' : [ TNT_R2_474000(1) ], #la 0 est la carte sat + decodeur #serveur de test
|
||||||
'dindon' : [ TNT_R1_586000(0) ,
|
'dindon' : [ TNT_R1_586000(0) ,
|
||||||
TNT_R4_498000(1) ,
|
TNT_R4_498000(1) ,
|
||||||
TNT_R2_474000(2) ,
|
TNT_R2_474000(2) ,
|
||||||
TNT_R3_522000(3) ],
|
TNT_R3_522000(3) ],
|
||||||
'oie' : [ Hotbird_10853(0) ,
|
'oie' : [ SAT_10773h(0),
|
||||||
Hotbird_11642(1) ,
|
#Hotbird_11642(1) ,
|
||||||
Hotbird_12111(2) ,
|
#Hotbird_12111(2) ,
|
||||||
Hotbird_11137(3) ,
|
#Hotbird_11137(3) ,
|
||||||
TNT_R6_562000(4) ,
|
TNT_R7_490000(4) , # Cette carte chie.
|
||||||
TNT_R7_490000(5) ]
|
TNT_R6_562000(5) ]
|
||||||
}
|
}
|
||||||
|
|
||||||
conf = transpondeurs.get(host,[])
|
conf = transpondeurs.get(host,[])
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue