Index: trunk/packages/sipb-xen-python-pydhcplib/examples/client_example.py
===================================================================
--- trunk/packages/sipb-xen-python-pydhcplib/examples/client_example.py	(revision 361)
+++ 	(revision )
@@ -1,51 +1,0 @@
-#!/usr/bin/env python
-#
-# pydhcplib
-# Copyright (C) 2005,2006 Mathieu Ignacio -- mignacio@april.org
-#
-# This file is part of pydhcplib.
-# Pydhcplib is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA
-
-from pydhcplib.dhcp_packet import *
-from pydhcplib.dhcp_network import *
-
-
-netopt = {'client_listen_port':68,
-           'server_listen_port':67,
-           'listen_address':"0.0.0.0"}
-
-class Client(DhcpClient):
-    def __init__(self, options):
-        DhcpClient.__init__(self,options["listen_address"],
-                            options["client_listen_port"],
-                            options["server_listen_port"])
-        
-    def HandleDhcpOffer(self, packet):
-        packet.PrintHeaders()
-        packet.PrintOptions()
-        
-    def HandleDhcpAck(self, packet):
-        packet.PrintHeaders()
-        packet.PrintOptions()
-
-    def HandleDhcpNack(self, packet):
-        packet.PrintHeaders()
-        packet.PrintOptions()
-        
-
-client = Client(netopt)
-
-while True :
-    client.GetNextDhcpPacket()
Index: trunk/packages/sipb-xen-python-pydhcplib/examples/gen_packet_example.py
===================================================================
--- trunk/packages/sipb-xen-python-pydhcplib/examples/gen_packet_example.py	(revision 361)
+++ 	(revision )
@@ -1,16 +1,0 @@
-#!/usr/bin/python
-
-from pydhcplib.dhcp_packet import DhcpPacket
-from pydhcplib.type_strlist import strlist
-from pydhcplib.type_ipv4 import ipv4
-
-
-packet = DhcpPacket()
-
-packet.SetOption("domain_name",strlist("anemon.org").list())
-packet.SetOption("router",ipv4("192.168.0.1").list()+[6,4,2,1])
-packet.SetOption("time_server",[100,100,100,7,6,4,2,1])
-packet.SetOption("yiaddr",[192,168,0,18])
-
-packet.PrintHeaders()
-packet.PrintOptions()
Index: trunk/packages/sipb-xen-python-pydhcplib/examples/hwaddr_example.py
===================================================================
--- trunk/packages/sipb-xen-python-pydhcplib/examples/hwaddr_example.py	(revision 361)
+++ 	(revision )
@@ -1,32 +1,0 @@
-#!/usr/bin/python
-
-from pydhcplib.type_hw_addr import hwmac
-
-
-address = hwmac()
-print "a0 : ",address
-
-address1 = hwmac("ff:11:22:33:44:55")
-print "a1 : ",address1
-
-address2 = hwmac("f6.16.26.36.46.56")
-print "a2 : ",address2
-
-address3 = hwmac("ff.11-22:33-44.55")
-print "a3 : ",address3
-
-
-
-if address1 == address2 : print "test 1 : ",address1, "==",address2
-else : print "test 1 : " ,address1, "!=",address2
-
-if address1 == address3 : print "test 2 : ", address1, "==",address3
-else : print "test 2 : ", address1, "!=",address3
-
-
-
-address4 = hwmac([186, 45, 67, 176, 6, 11])
-address5 = hwmac("ba:2d:43:b0:06:0c")
-    
-print "b0 : ", address4,address4.list()
-print "b1 : ", address5,address5.list()
Index: trunk/packages/sipb-xen-python-pydhcplib/examples/ipv4_example.py
===================================================================
--- trunk/packages/sipb-xen-python-pydhcplib/examples/ipv4_example.py	(revision 361)
+++ 	(revision )
@@ -1,28 +1,0 @@
-#!/usr/bin/python
-
-
-from pydhcplib.type_ipv4 import ipv4
-
-
-address = ipv4()
-print "a0 : ",address
-
-address1 = ipv4("192.168.0.1")
-print "a1 : ",address1
-
-address2 = ipv4("10.0.0.1")
-print "a2 : ",address2
-
-address3 = ipv4([192,168,0,1])
-print "a3 : ",address3
-
-
-
-if address1 == address2 : print "test 1 : ",address1, "==",address2
-else : print "test 1 : " ,address1, "!=",address2
-
-if address1 == address3 : print "test 2 : ", address1, "==",address3
-else : print "test 2 : ", address1, "!=",address3
-
-
-
Index: trunk/packages/sipb-xen-python-pydhcplib/examples/server_example.py
===================================================================
--- trunk/packages/sipb-xen-python-pydhcplib/examples/server_example.py	(revision 361)
+++ 	(revision )
@@ -1,59 +1,0 @@
-#!/usr/bin/env python
-#
-# pydhcplib
-# Copyright (C) 2005 Mathieu Ignacio -- mignacio@april.org
-#
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA
-
-from pydhcplib.dhcp_packet import *
-from pydhcplib.dhcp_network import *
-
-
-netopt = {'client_listen_port':"68",
-           'server_listen_port':"67",
-           'listen_address':"0.0.0.0"}
-
-class Server(DhcpServer):
-    def __init__(self, options):
-        DhcpServer.__init__(self,options["listen_address"],
-                            options["client_listen_port"],
-                            options["server_listen_port"])
-        
-    def HandleDhcpDiscover(self, packet):
-        packet.PrintHeaders()
-        packet.PrintOptions()
-        
-    def HandleDhcpRequest(self, packet):
-        packet.PrintHeaders()
-        packet.PrintOptions()
-
-    def HandleDhcpDecline(self, packet):
-        packet.PrintHeaders()
-        packet.PrintOptions()
-        
-    def HandleDhcpRelease(self, packet):
-        packet.PrintHeaders()
-        packet.PrintOptions()
-        
-    def HandleDhcpInform(self, packet):
-        packet.PrintHeaders()
-        packet.PrintOptions()
-
-
-
-server = Server(netopt)
-
-while True :
-    server.GetNextDhcpPacket()
Index: trunk/packages/sipb-xen-python-pydhcplib/examples/strlist_example.py
===================================================================
--- trunk/packages/sipb-xen-python-pydhcplib/examples/strlist_example.py	(revision 361)
+++ 	(revision )
@@ -1,25 +1,0 @@
-#!/usr/bin/python
-
-from pydhcplib.type_strlist import strlist
-
-
-word = strlist()
-print "a0 : ",word
-
-word1 = strlist("azerty")
-print "a1 : ",word1
-
-word2 = strlist("qwerty")
-print "a2 : ",word2
-
-word3 = strlist([97, 122, 101, 114, 116, 121])
-print "a3 : ",word3
-
-if word1 == word2 : print "test 1 : ",word1, "==",word2
-else : print "test 1 : " ,word1, "!=",word2
-
-if word1 == word3 : print "test 2 : ", word1, "==",word3
-else : print "test 2 : ", word1, "!=",word3
-
-
-
