mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-16 22:50:10 +03:00
F #1807: Changed error message
This commit is contained in:
parent
39e55e86f6
commit
c903345806
@ -580,7 +580,7 @@ private:
|
||||
string& id, bool& auto_id);
|
||||
|
||||
/**
|
||||
* Check consistency of PHY_DEV, BRIDGE and VLAN attributes depending on
|
||||
* Check consistency of PHYDEV, BRIDGE and VLAN attributes depending on
|
||||
* the network driver
|
||||
* @param error_str describing the error
|
||||
* @return 0 on success -1 otherwise
|
||||
@ -676,7 +676,7 @@ private:
|
||||
int from_xml(const string &xml_str);
|
||||
|
||||
/**
|
||||
* Updates the BRIDGE, PHY_DEV, and VLAN_ID attributes.
|
||||
* Updates the BRIDGE, PHYDEV, and VLAN_ID attributes.
|
||||
* @param error string describing the error if any
|
||||
* @return 0 on success
|
||||
*/
|
||||
|
@ -124,7 +124,7 @@ void VirtualNetwork::parse_vlan_id(const char * id_name, const char * auto_name,
|
||||
//-------------------------------------------------------------------------------
|
||||
/*
|
||||
+----------------+---------+--------+--------------------------+----------------+
|
||||
| Driver | PHY_DEV | BRIDGE | VLAN_ID | OTHER |
|
||||
| Driver | PHYDEV | BRIDGE | VLAN_ID | OTHER |
|
||||
+----------------+---------+--------+--------------------------+----------------+
|
||||
| vcenter | no | yes | no | VCENTER_NET_REF|
|
||||
| dummy | no | yes | no | |
|
||||
@ -176,7 +176,7 @@ int VirtualNetwork::parse_phydev_vlans(string& estr)
|
||||
|
||||
if ( check_phydev && phydev.empty())
|
||||
{
|
||||
estr = "PHY_DEV is mandatory for driver " + vn_mad;
|
||||
estr = "PHYDEV is mandatory for driver " + vn_mad;
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user