projects
/
osm
/
POL.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Adds unit test coverage
[osm/POL.git]
/
osm_policy_module
/
autoscaling
/
service.py
diff --git
a/osm_policy_module/autoscaling/service.py
b/osm_policy_module/autoscaling/service.py
index
d14904d
..
8bb17e4
100644
(file)
--- a/
osm_policy_module/autoscaling/service.py
+++ b/
osm_policy_module/autoscaling/service.py
@@
-51,6
+51,11
@@
class AutoscalingService:
self.lcm_client = LcmClient(config, loop=self.loop)
async def configure_scaling_groups(self, nsr_id: str):
self.lcm_client = LcmClient(config, loop=self.loop)
async def configure_scaling_groups(self, nsr_id: str):
+ """
+ Configures scaling groups for a network service. Creates records in DB. Creates alarms in MON.
+ :param nsr_id: Network service record id
+ :return:
+ """
log.info("Configuring scaling groups for network service with nsr_id: %s",
nsr_id)
alarms_created = []
log.info("Configuring scaling groups for network service with nsr_id: %s",
nsr_id)
alarms_created = []