Fix the note description error

1. What is the problem
In tricircle/xjob/xmanager.py, there are two places that the note
descriptions are inconsistent with their implementations. For detailed
information, please see the bug report[1].

2. What is the solution for the problem
Modify the notes and keep them consistent with the implementations.

3. What the features need to be implemented to the Tricircle to
realize the solution
None.

[1] https://bugs.launchpad.net/tricircle/+bug/1674975

Change-Id: I5a56bd3343c37f607e42defc511e41f31a2d54ad
Closes-Bug: #1674975
This commit is contained in:
southeast02 2017-03-22 19:59:15 +08:00
parent 8417c9070d
commit 8a7ab6a581

View File

@ -777,7 +777,7 @@ class XManager(PeriodicTasks):
:param ctx: tricircle context
:param payload: dict whose key is JT_NETWORK_UPDATE and value
is "top_network_id#bottom_pod_id"
is "bottom_pod_id#top_network_id"
:return: None
"""
(b_pod_id, t_network_id) = payload[
@ -828,7 +828,7 @@ class XManager(PeriodicTasks):
:param ctx: tricircle context
:param payload: dict whose key is JT_SUBNET_UPDATE and value
is "top_subnet_id#bottom_pod_id"
is "bottom_pod_id#top_subnet_id"
:return: None
"""
(b_pod_id, t_subnet_id) = payload[