3 # Copyright (c) 2016 Orange and others.
5 # All rights reserved. This program and the accompanying materials
6 # are made available under the terms of the Apache License, Version 2.0
7 # which accompanies this distribution, and is available at
8 # http://www.apache.org/licenses/LICENSE-2.0
12 import functest.core.vnf as vnf
15 class AaaVnf(vnf.VnfOnBoarding):
18 logger = logging.getLogger(__name__)
20 def __init__(self, **kwargs):
21 if "case_name" not in kwargs:
22 kwargs["case_name"] = "aaa"
23 super(AaaVnf, self).__init__(**kwargs)
25 def deploy_orchestrator(self):
26 self.logger.info("No VNFM needed to deploy a free radius here")
30 self.logger.info("Freeradius VNF deployment")
31 # find a way to deploy freeradius and tester (heat,manual, ..)
32 deploy_vnf = {'status': 'PASS', 'version': 'xxxx'}
33 self.details['deploy_vnf'] = deploy_vnf
37 self.logger.info("Run test towards freeradius")
38 # once the freeradius is deployed..make some tests
39 test_vnf = {'status': 'PASS', 'version': 'xxxx'}
40 self.details['test_vnf'] = test_vnf