46 lines
1.9 KiB
Go
46 lines
1.9 KiB
Go
package pcf
|
|
|
|
import "be.ems/src/modules/crontask/processor/syncNbiNRM/common"
|
|
|
|
const (
|
|
PCF string = "PCF" // 网元类型
|
|
)
|
|
|
|
type ManagedElement struct {
|
|
Id string `json:"id"`
|
|
UserLabel string `json:"userLabel"`
|
|
VendorName string `json:"vendorName"`
|
|
ManagedBy string `json:"managedBy"`
|
|
ManagementIpAddress string `json:"managementIpAddress"`
|
|
SwVersion string `json:"swVersion"`
|
|
PatchInfo string `json:"patchInfo"`
|
|
AdministrativeState common.AdministrativeState `json:"administrativeState"`
|
|
OperationalState common.OperationalState `json:"operationalState"`
|
|
}
|
|
|
|
type PcfFunction struct {
|
|
Id string `json:"id"`
|
|
UserLabel string `json:"userLabel"`
|
|
AdministrativeState common.AdministrativeState `json:"administrativeState"`
|
|
OperationalState common.OperationalState `json:"operationalState"`
|
|
VnfInstanceId string `json:"vnfInstanceId"`
|
|
Fqdn string `json:"fqdn"`
|
|
SbiServiceList string `json:"sbiServiceList"`
|
|
}
|
|
|
|
type UdrFunction struct {
|
|
Id string `json:"id"`
|
|
UserLabel string `json:"userLabel"`
|
|
AdministrativeState common.AdministrativeState `json:"administrativeState"`
|
|
OperationalState common.OperationalState `json:"operationalState"`
|
|
MaxSubNbr int `json:"maxSubNbr"`
|
|
}
|
|
|
|
type IPResource struct {
|
|
Id string `json:"id"`
|
|
UserLabel string `json:"userLabel"`
|
|
InterfaceType string `json:"interfaceType"`
|
|
LocIpV4AddrList string `json:"locIpV4AddrList"`
|
|
LocIpV6AddrList string `json:"locIpV6AddrList"`
|
|
}
|