diff options
author | ahothan <ahothan@cisco.com> | 2018-10-19 15:11:36 -0700 |
---|---|---|
committer | ahothan <ahothan@cisco.com> | 2018-10-19 15:11:36 -0700 |
commit | e59c1b065700f776f92111cb29bdd28a0504adb3 (patch) | |
tree | c04ca5e2420c15b4676827ed346c6e5014b99fd4 /nfvbench/chaining.py | |
parent | c0ef57f8ec086c07053d529510992c869c30c9d2 (diff) |
NFVBENCH-104 Specifying a hypervisor does not work2.0.1
Need to add a leading ":" to the hypervisor name
Change-Id: Id5d02e14a73a2e278848ffccd7a0c60165dbf509
Signed-off-by: ahothan <ahothan@cisco.com>
Diffstat (limited to 'nfvbench/chaining.py')
-rw-r--r-- | nfvbench/chaining.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nfvbench/chaining.py b/nfvbench/chaining.py index a5ae680..fa9b799 100644 --- a/nfvbench/chaining.py +++ b/nfvbench/chaining.py @@ -715,8 +715,8 @@ class InstancePlacer(object): if req_az: self.required_az = req_az + ':' + self.requested_hyp else: - # no ":" needed - self.required_az = self.requested_hyp if req_hyp else '' + # need to insert a ':' so nova knows this is the hypervisor name + self.required_az = ':' + self.requested_hyp if req_hyp else '' # placement is resolved when both AZ and hypervisor names are known and set self.resolved = self.requested_az != '' and self.requested_hyp != '' |