# -*- coding: utf-8 -*-
# ----------------------------------------------------------------------
# Network Segment Profile loader
# ----------------------------------------------------------------------
# Copyright (C) 2007-2017 The NOC Project
# See LICENSE for details
# ----------------------------------------------------------------------

# Python modules
from __future__ import absolute_import

# NOC modules
from .base import BaseLoader
from noc.inv.models.networksegmentprofile import NetworkSegmentProfile


class NetworkSegmentProfileLoader(BaseLoader):
    """
    Managed Object Profile loader
    """

    name = "networksegmentprofile"
    model = NetworkSegmentProfile
    fields = ["id", "name"]
