Soren Hansen | bc1d3a0 | 2011-09-08 13:33:17 +0200 | [diff] [blame] | 1 | import kong.config |
2 | import kong.nova | ||||
3 | |||||
4 | |||||
5 | class Manager(object): | ||||
6 | """Top-level object to access OpenStack resources.""" | ||||
7 | |||||
Soren Hansen | d6b047a | 2011-09-09 13:39:32 +0200 | [diff] [blame] | 8 | def __init__(self, nova): |
9 | self.nova = kong.nova.API(nova['host'], | ||||
10 | nova['port'], | ||||
11 | nova['ver'], | ||||
12 | nova['user'], | ||||
Aaron Lee | 35b8c92 | 2011-10-18 17:07:19 -0500 | [diff] [blame] | 13 | nova['key'], |
14 | nova['project']) |