1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-16 22:50:10 +03:00

Removed not used code

This commit is contained in:
Ruben S. Montero 2018-11-23 16:47:47 +01:00
parent e60bb6d5f2
commit 89381e11e4

View File

@ -150,8 +150,6 @@ int VirtualNetwork::parse_phydev_vlans(const Template* tmpl, const string& vn_ma
bool check_vlan = false;
bool check_outer = false;
vector<string> other;
switch (VirtualNetwork::str_to_driver(vn_mad))
{
case VirtualNetwork::DUMMY:
@ -202,23 +200,6 @@ int VirtualNetwork::parse_phydev_vlans(const Template* tmpl, const string& vn_ma
return -1;
}
/*
if ( check_other )
{
vector<string>::iterator it;
string value;
for ( it = other.begin(); it != other.end() ; ++it)
{
if (!tmpl->get((*it).c_str(), value))
{
estr = *it + " is mandatory for driver " + vn_mad;
return -1;
}
}
}
*/
return 0;
}