[netcf-devel] define an interface without an ip-address assignment

Shahar Klein shaharklein at yahoo.com
Wed Jul 1 07:27:00 UTC 2009



Hi

can I define an interface without ip-address

I tried the banalic action of 
1. defining eth1 without ip-address using network-scripts
2. dumping the xml
3. and then tried to redfine using netcf
and failed:

ncftool> dumpxml eth1
<?xml version="1.0"?>
<interface type="ethernet" startmode="none">
  <name>eth1</name>
  <mac address="00:18:FE:28:7D:83"/>
  <protocol family="ipv4"/>
</interface>

ncftool> list
eth0
lo
eth1

ncftool> undefine eth1
error: unspecified error
ncftool> list
eth0
lo
ncftool> define /root/libvirt_working/eth1.xml 
error: XML invalid
error: Element interface failed to validate attributes

Thanks
Shahar


      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://fedorahosted.org/pipermail/netcf-devel/attachments/20090701/78972655/attachment.html 


More information about the netcf-devel mailing list