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,
39 profiles = [HostProfile, InterfaceProfile, DiskProfile, CpuProfile, RamProfile]
41 admin.site.register(profiles)
43 generics = [GenericResourceBundle, GenericResource, GenericHost, GenericInterface]
45 admin.site.register(generics)
47 physical = [Host, Interface, Network, Vlan, ResourceBundle]
49 admin.site.register(physical)
51 config = [Scenario, Installer, Opsys, ConfigBundle, OPNFVConfig, OPNFVRole, Image, HostConfiguration, RemoteInfo]
53 admin.site.register(config)