[VOL-4146] Supporting MEF and IETF format in sadis config
Change-Id: Id581a351e63e869472e82b03b2ab891c7aa841c7
diff --git a/VERSION b/VERSION
index 0ea3a94..0d91a54 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-0.2.0
+0.3.0
diff --git a/internal/core/sadis_if.go b/internal/core/sadis_if.go
index 3b5abfb..30040c3 100644
--- a/internal/core/sadis_if.go
+++ b/internal/core/sadis_if.go
@@ -95,9 +95,14 @@
// SADIS BandwithProfile Entry
type SadisBWPEntry struct {
ID string `json:"id"`
- AIR int `json:"air"`
CBS int `json:"cbs"`
CIR int `json:"cir"`
- EBS int `json:"ebs"`
- EIR int `json:"eir"`
+ // MEF attributes
+ AIR int `json:"air,omitempty"`
+ EBS int `json:"ebs,omitempty"`
+ EIR int `json:"eir,omitempty"`
+ // IETF attributes
+ GIR int `json:"gir,omitempty"`
+ PIR int `json:"pir,omitempty"`
+ PBS int `json:"pbs,omitempty"`
}