Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simapp fixes - port variable corrections & misc #29

Merged
merged 1 commit into from
Feb 23, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 4 additions & 12 deletions simapp.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ type IpDomain struct {

type Subscriber struct {
UeId string
UeIdStart string `yaml:"ueId-start,omitempty"`
UeIdEnd string `yaml:"ueId-end,omitempty"`
UeIdStart string `yaml:"ueId-start,omitempty" json:"-",omitempty`
UeIdEnd string `yaml:"ueId-end,omitempty" json:"-", omitempty`
PlmnId string `yaml:"plmnId,omitempty" json:"plmnId,omitempty"`
OPc string `yaml:"opc,omitempty" json:"opc,omitempty"`
OP string `yaml:"op,omitempty" json:"op,omitempty"`
Expand Down Expand Up @@ -141,14 +141,6 @@ type Upf struct {
UpfPort int `yaml:"upf-port,omitempty" json:"upf-port,omitempty"`
}

type AppInfo struct {
AppName string `yaml:"app-name,omitempty" json:"app-name,omitempty"`
EndPort int `yaml:"end-port,omitempty" json:"end-port,omitempty"`
EndPoint string `yaml:"endpoint,omitempty" json:"endpoint,omitempty"`
Protocol int `yaml:"protocol,omitempty" json:"protocol,omitempty"`
StartPort int `yaml:"start-port,omitempty" json:"start-port,omitempty"`
}

type ApplicationFilteringRules struct {
// Rule name
RuleName string `yaml:"rule-name,omitempty" json:"rule-name,omitempty"`
Expand All @@ -161,9 +153,9 @@ type ApplicationFilteringRules struct {
//protocol
Protocol int32 `yaml:"protocol,omitempty" json:"protocol,omitempty"`
// port range start
StartPort int32 `yaml:"start-port,omitempty" json:"start-port,omitempty"`
StartPort int32 `yaml:"dest-port-start,omitempty" json:"dest-port-start,omitempty"`
// port range end
EndPort int32 `yaml:"end-port,omitempty" json:"end-port,omitempty"`
EndPort int32 `yaml:"dest-port-end,omitempty" json:"dest-port-end,omitempty"`

AppMbrUplink int32 `yaml:"app-mbr-uplink,omitempty" json:"app-mbr-uplink,omitempty"`

Expand Down