(self)
| 1160 | PPP_CHAP = '/etc/ppp/chap-secrets' |
| 1161 | |
| 1162 | def process(self): |
| 1163 | for user in self.dbag: |
| 1164 | if user == 'id': |
| 1165 | continue |
| 1166 | |
| 1167 | userconfig = self.dbag[user] |
| 1168 | if userconfig['add']: |
| 1169 | self.add_l2tp_ipsec_user(user, userconfig) |
| 1170 | else: |
| 1171 | self.del_l2tp_ipsec_user(user, userconfig) |
| 1172 | |
| 1173 | def add_l2tp_ipsec_user(self, user, obj): |
| 1174 | userfound = False |
nothing calls this directly
no test coverage detected