subscriber_profile

package
v0.0.0-...-8fce991 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 19, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

* PPPOE VNF main file * * Created by João Correia(Altice Labs) on 20/03/2023

* PPPOE VNF main file * * Created by João Correia(Altice Labs) on 20/03/2023

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SubscriberProfile

type SubscriberProfile struct {
	interfaces.NetconfAttributes `bson:"-" json:"@,omitempty"`
	Name                         string `bson:"name" json:"name,omitempty"`
	DeviceName                   string `bson:"device-name" json:"-"`
	CircuitID                    string `bson:"circuit-id,omitempty" json:"circuit-id,omitempty"`
	RemoteID                     string `bson:"remote-id,omitempty" json:"remote-id,omitempty"`
}

func (*SubscriberProfile) Create

func (s *SubscriberProfile) Create(collection *mongo.Collection) error

func (*SubscriberProfile) Delete

func (s *SubscriberProfile) Delete(collection *mongo.Collection) error

func (*SubscriberProfile) Get

func (s *SubscriberProfile) Get(collection *mongo.Collection) ([]interface{}, error)

func (*SubscriberProfile) Merge

func (s *SubscriberProfile) Merge(collection *mongo.Collection) error

func (*SubscriberProfile) Remove

func (s *SubscriberProfile) Remove(collection *mongo.Collection) error

func (*SubscriberProfile) Replace

func (s *SubscriberProfile) Replace(collection *mongo.Collection) error

type SubscriberProfiles

type SubscriberProfiles struct {
	interfaces.NetconfAttributes    `bson:"-" json:"@,omitempty"`
	interfaces.DefaultVNFCollection `bson:"-" json:"-"`
	Profile                         []SubscriberProfile `json:"subscriber-profile,omitempty"`
}

func (*SubscriberProfiles) Collection

func (s *SubscriberProfiles) Collection(db *mongo.Database, collName string) (*mongo.Collection, error)

func (*SubscriberProfiles) Get

func (*SubscriberProfiles) VNFDocuments

func (s *SubscriberProfiles) VNFDocuments() []interfaces.VNFDocument

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL