gbproxy: Remove NUM_BVC_PER_NSE constant and constant-sized array
Let's use a 'record of' with indefinite length in order to be able to dynamically adjust the number of BSSGP_BVC_CT references based on how many BVCs we have configured. Change-Id: Id4aa20ff0b553cb8a1f5a67faa1e7b237fb254b8
This commit is contained in:
parent
16357a970a
commit
67dc8c2bd3
|
@ -187,13 +187,13 @@ modulepar {
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
const integer NUM_BVC_PER_NSE := 3;
|
|
||||||
type record GbInstance {
|
type record GbInstance {
|
||||||
NS_CT vc_NS,
|
NS_CT vc_NS,
|
||||||
BSSGP_CT vc_BSSGP,
|
BSSGP_CT vc_BSSGP,
|
||||||
BSSGP_BVC_CT vc_BSSGP_BVC[NUM_BVC_PER_NSE],
|
BSSGP_BVC_CTs vc_BSSGP_BVC,
|
||||||
BssgpConfig cfg
|
BssgpConfig cfg
|
||||||
};
|
};
|
||||||
|
type record of BSSGP_BVC_CT BSSGP_BVC_CTs
|
||||||
|
|
||||||
const integer NUM_PCU := 3;
|
const integer NUM_PCU := 3;
|
||||||
type record of GbInstance GbInstances;
|
type record of GbInstance GbInstances;
|
||||||
|
|
Loading…
Reference in New Issue