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
- type Device
- func (d *Device) Create(collection *mongo.Collection) error
- func (d *Device) Delete(collection *mongo.Collection) error
- func (d *Device) Get(collection *mongo.Collection) ([]interface{}, error)
- func (d *Device) Merge(collection *mongo.Collection) error
- func (d *Device) Remove(collection *mongo.Collection) error
- func (d *Device) Replace(collection *mongo.Collection) error
- type Devices
Constants ¶
View Source
const SUBSCRIBER_PROFILE_COLL = "subscriber-profiles"
View Source
const VSI_COLL = "vsi-list"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Device ¶
type Device struct { interfaces.NetconfAttributes `bson:"-" json:"@,omitempty"` Name string `bson:"name" json:"name"` AccessNodeId string `bson:"access-node-id,omitempty" json:"access-node-id,omitempty"` VsiList *vsi.VsiList `bson:"-" json:"vsi-list,omitempty"` SubscriberProfiles *subscriber_profile.SubscriberProfiles `bson:"-" json:"subscriber-profiles,omitempty"` }
type Devices ¶
type Devices struct { interfaces.NetconfAttributes `bson:"-" json:"@,omitempty"` interfaces.DefaultVNFCollection `bson:"-" json:"-"` Device []Device `json:"device"` }
func (*Devices) Collection ¶
func (*Devices) Get ¶
func (d *Devices) Get(db *mongo.Database, collName string) (interfaces.VNFCollection, error)
func (*Devices) VNFDocuments ¶
func (d *Devices) VNFDocuments() []interfaces.VNFDocument
Directories ¶
Path | Synopsis |
---|---|
* 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 |
* 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 |
Click to show internal directories.
Click to hide internal directories.