Fix help string for peer_address and peer_id

Fixed the help string for peer_address and peer_id,
for the IPsecSiteConnection object.

bug 1225131

Change-Id: Ief36f656fc49c513ae99d97f7731ae4f6457fc2c
This commit is contained in:
Swaminathan Vasudevan 2013-09-19 11:32:38 -07:00
parent e6fc07e7ab
commit 21eaa8fa58
2 changed files with 11 additions and 10 deletions

View File

@ -279,9 +279,9 @@ def ipsecsiteconnection_create(request, **kwargs):
:param initiator: initiator state
:param ipsecpolicy_id: IPsecPolicy associated with this connection
:param mtu: MTU size for the connection
:param peer_address: remote branch router public
:param peer_address: Peer gateway public address
:param peer_cidrs: remote subnet(s) in CIDR format
:param peer_id: remote branch router identity"
:param peer_id: Peer router identity for authentication"
:param psk: Pre-Shared Key string
:param vpnservice_id: VPNService associated with this connection
:param admin_state_up: admin state (default on)

View File

@ -320,15 +320,16 @@ class AddIPSecSiteConnectionAction(workflows.Action):
label=_("IKE Policy associated with this connection"))
ipsecpolicy_id = forms.ChoiceField(
label=_("IPSec Policy associated with this connection"))
peer_address = fields.IPField(label=_("Remote Peer IP Address"),
help_text=_("Remote peer IP address for "
"the VPN Connection "
"(e.g. 172.0.0.2)"),
version=fields.IPv4 | fields.IPv6,
mask=False)
peer_address = fields.IPField(
label=_("Peer gateway public IPv4/IPv6 Address or FQDN"),
help_text=_("Peer gateway public IPv4/IPv6 address or FQDN for "
"the VPN Connection"),
version=fields.IPv4 | fields.IPv6,
mask=False)
peer_id = fields.IPField(
label=_("Remote branch router identity (Peer ID)"),
help_text=_("IP address of remote branch router (e.g. 172.0.0.2)"),
label=_("Peer router identity for authentication (Peer ID)"),
help_text=_("Peer router identity for authentication. "
"Can be IPv4/IPv6 address, e-mail, key ID, or FQDN"),
version=fields.IPv4 | fields.IPv6,
mask=False)
peer_cidrs = fields.IPField(label=_("Remote peer subnet"),