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 ¶
- type PPPoEProfile
- func (p *PPPoEProfile) Create(collection *mongo.Collection) error
- func (p *PPPoEProfile) Delete(collection *mongo.Collection) error
- func (p *PPPoEProfile) Get(collection *mongo.Collection) ([]interface{}, error)
- func (p *PPPoEProfile) Merge(collection *mongo.Collection) error
- func (p *PPPoEProfile) Remove(collection *mongo.Collection) error
- func (p *PPPoEProfile) Replace(collection *mongo.Collection) error
- type PPPoEProfiles
- type PPPoEVendorSpecificTag
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"` }
Click to show internal directories.
Click to hide internal directories.