feat(xo-web,sdn-controller): tip on network creation (#4431)

"Warning: a pool can have 1 GRE and 1 VxLAN network max"
This commit is contained in:
BenjiReis
2019-08-21 09:41:05 +02:00
committed by Pierre Donias
parent 161de6cb7c
commit 68838e310a
3 changed files with 7 additions and 1 deletions

View File

@@ -25,7 +25,7 @@ the web interface, see [the plugin documentation](https://xen-orchestra.com/docs
The plugin's configuration contains:
- `cert-dir`: A path where to find the certificates to create SSL connections with the hosts.
If none is provided, the plugin will create its own self-signed certificates.
- `override-certs:` Whether or not to uninstall an already existing SDN controller CA certificate in order to replace it by the plugin's one.
- `override-certs`: Whether or not to uninstall an already existing SDN controller CA certificate in order to replace it by the plugin's one.
## Contributions

View File

@@ -1751,6 +1751,8 @@ const messages = {
pillBonded: 'Bonded',
bondedNetwork: 'Bonded network',
privateNetwork: 'Private network',
privateNetworkWarning:
'Warning: a pool can have 1 GRE and 1 VxLAN network max',
// ----- Add host -----
hosts: 'Hosts',

View File

@@ -1,6 +1,7 @@
import _, { messages } from 'intl'
import ActionButton from 'action-button'
import decorate from 'apply-decorators'
import Icon from 'icon'
import PropTypes from 'prop-types'
import React, { Component } from 'react'
import Wizard, { Section } from 'wizard'
@@ -251,6 +252,9 @@ const NewNetwork = decorate([
]}
value={encapsulation}
/>
<em>
<Icon icon='info' /> {_('privateNetworkWarning')}
</em>
</div>
) : (
<div>