diff --git a/machines/admin.py b/machines/admin.py index e6165672..9a2d5133 100644 --- a/machines/admin.py +++ b/machines/admin.py @@ -38,6 +38,7 @@ from .models import ( Nas, Service, OuverturePort, + Ipv6List, OuverturePortList ) @@ -46,6 +47,10 @@ class MachineAdmin(VersionAdmin): pass +class Ipv6ListAdmin(VersionAdmin): + pass + + class IpTypeAdmin(VersionAdmin): pass @@ -124,6 +129,7 @@ admin.site.register(Interface, InterfaceAdmin) admin.site.register(Domain, DomainAdmin) admin.site.register(Service, ServiceAdmin) admin.site.register(Vlan, VlanAdmin) +admin.site.register(Ipv6List, Ipv6ListAdmin) admin.site.register(Nas, NasAdmin) admin.site.register(OuverturePort, OuverturePortAdmin) admin.site.register(OuverturePortList, OuverturePortListAdmin) diff --git a/re2o/views.py b/re2o/views.py index 5e6e67d1..f6d6155a 100644 --- a/re2o/views.py +++ b/re2o/views.py @@ -83,7 +83,7 @@ HISTORY_BIND = { 'stack' : topologie.models.Stack, 'model_switch' : topologie.models.ModelSwitch, 'constructor_switch' : topologie.models.ConstructorSwitch, - 'ap' : topologie.models.AccessPoint, + 'accesspoint' : topologie.models.AccessPoint, }, 'machines' : { 'machine' : machines.models.Machine, @@ -99,7 +99,7 @@ HISTORY_BIND = { 'ns' : machines.models.Ns, 'service' : machines.models.Service, 'vlan' : machines.models.Vlan, - 'nas' : machines.models.Vlan, + 'nas' : machines.models.Nas, 'ipv6list' : machines.models.Ipv6List, }, } diff --git a/topologie/templates/topologie/aff_ap.html b/topologie/templates/topologie/aff_ap.html index 192e5026..fc38b4b1 100644 --- a/topologie/templates/topologie/aff_ap.html +++ b/topologie/templates/topologie/aff_ap.html @@ -49,7 +49,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,