1 ##############################################################################
2 # Copyright (c) 2016 Max Breitenfeldt and others.
4 # All rights reserved. This program and the accompanying materials
5 # are made available under the terms of the Apache License, Version 2.0
6 # which accompanies this distribution, and is available at
7 # http://www.apache.org/licenses/LICENSE-2.0
8 ##############################################################################
11 from django.contrib import admin
13 from resource_inventory.models import *
15 profiles = [HostProfile, InterfaceProfile, DiskProfile, CpuProfile, RamProfile]
17 admin.site.register(profiles)
19 generics = [GenericResourceBundle, GenericResource, GenericHost, GenericPod, GenericInterface]
21 admin.site.register(generics)
23 physical = [Host, Interface, Network, Vlan, ResourceBundle]
25 admin.site.register(physical)
27 config = [Scenario, Installer, Opsys, ConfigBundle, OPNFVConfig, OPNFVRole, Image, HostConfiguration]
29 admin.site.register(config)