pppoe_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 PPPoEProfile

type PPPoEProfile struct {
	interfaces.NetconfAttributes `bson:"-" json:"@,omitempty"`
	Name                         string                  `bson:"name" json:"name"`
	PppoeVendorSpecificTag       *PPPoEVendorSpecificTag `bson:"pppoe-vendor-specific-tag,omitempty" json:"pppoe-vendor-specific-tag,omitempty"`
}

func (*PPPoEProfile) Create

func (p *PPPoEProfile) Create(collection *mongo.Collection) error

func (*PPPoEProfile) Delete

func (p *PPPoEProfile) Delete(collection *mongo.Collection) error

func (*PPPoEProfile) Get

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

func (*PPPoEProfile) Merge

func (p *PPPoEProfile) Merge(collection *mongo.Collection) error

func (*PPPoEProfile) Remove

func (p *PPPoEProfile) Remove(collection *mongo.Collection) error

func (*PPPoEProfile) Replace

func (p *PPPoEProfile) Replace(collection *mongo.Collection) error

type PPPoEProfiles

type PPPoEProfiles struct {
	interfaces.NetconfAttributes    `bson:"-" json:"@,omitempty"`
	interfaces.DefaultVNFCollection `bson:"-" json:"-"`
	Profile                         []PPPoEProfile `json:"pppoe-profile,omitempty"`
}

func (*PPPoEProfiles) Collection

func (p *PPPoEProfiles) Collection(db *mongo.Database, collName string) (*mongo.Collection, error)

func (*PPPoEProfiles) Get

func (p *PPPoEProfiles) Get(db *mongo.Database, collName string) (interfaces.VNFCollection, error)

func (*PPPoEProfiles) VNFDocuments

func (p *PPPoEProfiles) VNFDocuments() []interfaces.VNFDocument

type PPPoEVendorSpecificTag

type PPPoEVendorSpecificTag struct {
	Subtag                 []string `bson:"subtag,omitempty" json:"subtag,omitempty"`
	DefaultCircuitIDSyntax string   `bson:"default-circuit-id-syntax,omitempty" json:"default-circuit-id-syntax,omitempty"`
	DefaultRemoteIDSyntax  string   `bson:"default-remote-id-syntax,omitempty" json:"default-remote-id-syntax,omitempty"`
}

Jump to

Keyboard shortcuts

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