update ruijie

This commit is contained in:
2023-09-08 09:45:46 +08:00
parent 3887015727
commit 972182b4d2
5 changed files with 16 additions and 16 deletions

View File

@@ -33,7 +33,7 @@ func main() {
nrmFile.FileHeader = FileHeader{
TimeStamp: timestamp,
TimeZone: tzOffset,
VendorName: "Ruijie Network",
VendorName: "xxx Network",
ElementType: "SMF",
CmVersion: "16.1.1",
}
@@ -45,14 +45,14 @@ func main() {
nrmFile.Objects.FieldName.N = append(nrmFile.Objects.FieldName.N, N{IAttr: i, Value: "Id"})
}
object := Object{RmUIDAttr: "1000HXSMF001",
DnAttr: "DC=www.ruijie.com.cn,SubNetwork=10001,SubNetwork=114214,ManagedElement=325",
DnAttr: "DC=www.xxx.com.cn,SubNetwork=10001,SubNetwork=114214,ManagedElement=325",
UserLabelAttr: "SMF_BJ_JC001", PVFlagAttr: "VNF", VMIDAttr: "kylin10.0-001-SMF", VNFInstanceIDAttr: "2bdd55b4-9018-41f4-af35-28b6828788"}
for i := 1; i < 10; i++ {
object.V = append(object.V, V{IAttr: i, Value: "SMF"})
}
nrmFile.Objects.FieldValue.Object = append(nrmFile.Objects.FieldValue.Object, object)
object = Object{RmUIDAttr: "1000HXSMF002",
DnAttr: "DC=www.ruijie.com.cn,SubNetwork=10001,SubNetwork=114214,ManagedElement=325",
DnAttr: "DC=www.xxx.com.cn,SubNetwork=10001,SubNetwork=114214,ManagedElement=325",
UserLabelAttr: "SMF_BJ_JC001", PVFlagAttr: "VNF", VMIDAttr: "kylin10.0-002-SMF", VNFInstanceIDAttr: "2bdd55b4-9018-41f4-af35-28b6828788"}
for i := 1; i < 10; i++ {
object.V = append(object.V, V{IAttr: i, Value: "SMF"})