Fix typo in Tacker
Fix typo in Tacker Change-Id: I274719ca07f15ac373ff5e93334c894aa3eb889b Signed-off-by: Andy Yan <yanchao3@lenovo.com>
This commit is contained in:
parent
b37f7b9c37
commit
f23c0c5964
@ -99,7 +99,7 @@ compute nodes. It requires an entry similar to below:
|
||||
virt_type = kvm
|
||||
|
||||
**NOTE**: Please refer OpenStack release documentation for configuring the
|
||||
above mentioned features.
|
||||
above-mentioned features.
|
||||
|
||||
Creating availability zone using compute nodes
|
||||
----------------------------------------------
|
||||
|
@ -221,7 +221,7 @@ Verify VNFD details using tacker CLI
|
||||
|
||||
VNF resource creation with std.create_vnf workflow
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
Update the vnfd_id from the output of above exection in create_vnf.json
|
||||
Update the vnfd_id from the output of above execution in create_vnf.json
|
||||
|
||||
Create new execution for VNF creation.
|
||||
|
||||
@ -307,7 +307,7 @@ Verify VNF details using tacker CLI
|
||||
|
||||
VNF resource deletion with std.delete_vnf workflow
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
Update the vnf_id from the output of above exection in delete_vnf.json
|
||||
Update the vnf_id from the output of above execution in delete_vnf.json
|
||||
|
||||
Create new execution for VNF deletion.
|
||||
|
||||
@ -406,7 +406,7 @@ Gather execution output data from execution id.
|
||||
|
||||
VNFD resource deletion with std.delete_vnfd workflow
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
Update the vnfd_id from the output of above exection in delete_vnfd.json
|
||||
Update the vnfd_id from the output of above execution in delete_vnfd.json
|
||||
|
||||
Create new execution for VNF deletion.
|
||||
|
||||
|
@ -7,6 +7,6 @@ issues:
|
||||
- Auto-scaling feature is supported only with alarm monitors and it does
|
||||
not work with other monitors such as ping, http_ping.
|
||||
- When VNF is modelled with scaling requirement in VNFD, any config
|
||||
managment requirement in VNFD is not supported.
|
||||
management requirement in VNFD is not supported.
|
||||
- Scaling feature does not support to selectively choose the VDU as part
|
||||
of scaling.
|
||||
of scaling.
|
||||
|
@ -486,7 +486,7 @@ def convert_to_int(data):
|
||||
try:
|
||||
return int(data)
|
||||
except (ValueError, TypeError):
|
||||
msg = _("'%s' is not a integer") % data
|
||||
msg = _("'%s' is not an integer") % data
|
||||
raise n_exc.InvalidInput(error_message=msg)
|
||||
|
||||
|
||||
|
@ -57,10 +57,10 @@ class VNFD(model_base.BASE, models_v1.HasId, models_v1.HasTenant,
|
||||
|
||||
# service type that this service vm provides.
|
||||
# At first phase, this includes only single service
|
||||
# In future, single service VM may accomodate multiple services.
|
||||
# In future, single service VM may accommodate multiple services.
|
||||
service_types = orm.relationship('ServiceType', backref='vnfd')
|
||||
|
||||
# driver to communicate with service managment
|
||||
# driver to communicate with service management
|
||||
mgmt_driver = sa.Column(sa.String(255))
|
||||
|
||||
# (key, value) pair to spin up
|
||||
|
@ -48,7 +48,7 @@ class VNFInUse(exceptions.InUse):
|
||||
|
||||
|
||||
class InvalidInfraDriver(exceptions.InvalidInput):
|
||||
message = _('VIM type %(vim_name)s is not supported as a infra driver ')
|
||||
message = _('VIM type %(vim_name)s is not supported as an infra driver ')
|
||||
|
||||
|
||||
class InvalidServiceType(exceptions.InvalidInput):
|
||||
|
@ -98,6 +98,6 @@ class VimAbstractDriver(extensions.PluginInterface):
|
||||
:param vim_obj: VIM information
|
||||
:param resource_type: type of resource, such as network, compute
|
||||
:param resource_name: name of resource, such at "test-network"
|
||||
:return: ID of of resource
|
||||
:return: ID of resource
|
||||
"""
|
||||
pass
|
||||
|
@ -14,7 +14,7 @@
|
||||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
|
||||
# sevice type
|
||||
# service type
|
||||
SVC_TYPE_ROUTER = 'router'
|
||||
SVC_TYPE_LOADBALANCER = 'loadbalancer'
|
||||
|
||||
|
@ -141,7 +141,7 @@ class TOSCAToHOT(object):
|
||||
self.fields['files'] = {'scaling.yaml': self.heat_template_yaml}
|
||||
vnf['attributes']['heat_template'] = main_yaml
|
||||
# TODO(kanagaraj-manickam) when multiple groups are
|
||||
# supported, make this scaling atribute as
|
||||
# supported, make this scaling attribute as
|
||||
# scaling name vs scaling template map and remove
|
||||
# scaling_group_names
|
||||
vnf['attributes']['scaling.yaml'] = self.heat_template_yaml
|
||||
@ -368,7 +368,7 @@ class TOSCAToHOT(object):
|
||||
properties['desired_capacity'] = policy_prp['default_instances']
|
||||
properties['cooldown'] = policy_prp['cooldown']
|
||||
properties['resource'] = {}
|
||||
# TODO(kanagaraj-manickam) all VDU memebers are considered as 1
|
||||
# TODO(kanagaraj-manickam) all VDU members are considered as 1
|
||||
# group now and make it to form the groups based on the VDU
|
||||
# list mentioned in the policy's targets
|
||||
# scale_resource_type is custome type mapped the HOT template
|
||||
|
@ -66,7 +66,7 @@ class VNFMonitorAbstractDriver(extensions.PluginInterface):
|
||||
"""Monitor.
|
||||
|
||||
Return boolean value True if VNF is healthy
|
||||
or return a event string like 'failure' or 'calls-capacity-reached'
|
||||
or return an event string like 'failure' or 'calls-capacity-reached'
|
||||
for specific VNF health condition.
|
||||
|
||||
:param vnf:
|
||||
|
@ -102,7 +102,7 @@ class WorkerService(common_service.ServiceBase):
|
||||
|
||||
def start(self):
|
||||
# We may have just forked from parent process. A quick disposal of the
|
||||
# existing sql connections avoids producting 500 errors later when they
|
||||
# existing sql connections avoids producing 500 errors later when they
|
||||
# are discovered to be broken.
|
||||
api.get_engine().pool.dispose()
|
||||
self._server = self._service.pool.spawn(self._service._run,
|
||||
@ -624,7 +624,7 @@ class Application(object):
|
||||
res = exc.HTTPForbidden(explanation='Nice try')
|
||||
|
||||
# Option 3: a webob Response object (in case you need to play with
|
||||
# headers, or you want to be treated like an iterable, or or or)
|
||||
# headers, or you want to be treated like an iterable, or or)
|
||||
res = Response();
|
||||
res.app_iter = open('somefile')
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user