MCPcopy Create free account
hub / github.com/apache/cloudstack / process

Method process

systemvm/debian/opt/cloud/bin/configure.py:1162–1171  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 2

add_l2tp_ipsec_userMethod · 0.95
del_l2tp_ipsec_userMethod · 0.95

Tested by

no test coverage detected