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 (
19 GenericResourceBundle,
38 profiles = [HostProfile, InterfaceProfile, DiskProfile, CpuProfile, RamProfile]
40 admin.site.register(profiles)
42 generics = [GenericResourceBundle, GenericResource, GenericHost, GenericInterface]
44 admin.site.register(generics)
46 physical = [Host, Interface, Network, Vlan, ResourceBundle]
48 admin.site.register(physical)
50 config = [Scenario, Installer, Opsys, ConfigBundle, OPNFVConfig, OPNFVRole, Image, HostConfiguration]
52 admin.site.register(config)