Skip to content

Commit

Permalink
added command for vlan-pvid association removeal for hix 5300
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelog committed Apr 27, 2012
1 parent fd27c6f commit bc3b414
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
1 change: 1 addition & 0 deletions include/mdm_device_dslam_siemens_hix5300.h
Expand Up @@ -83,6 +83,7 @@ typedef enum
/* 68 */ MDM_DSLAM_SIEMENS_HIX5300_CMD_ASSOC_VLAN_PORT_PVID,
/* 69 */ MDM_DSLAM_SIEMENS_HIX5300_CMD_CFG_ATUC_MAX_RATE,
/* 70 */ MDM_DSLAM_SIEMENS_HIX5300_CMD_CFG_ATUC_MIN_RATE,
/* 71 */ MDM_DSLAM_SIEMENS_HIX5300_CMD_REMOVE_VLAN_FROM_PVC,
MDM_DSLAM_SIEMENS_HIX5300_CMD_DUMMY
} mdm_device_cmd_dslam_siemens_hix5300_t;

Expand Down
8 changes: 6 additions & 2 deletions src/mdm_device_dslam_siemens_hix5300.c
Expand Up @@ -90,6 +90,7 @@ const char *MDM_DEVICE_CMDNAME_DSLAM_SIEMENS_HIX5300_STR[] =
/* 68 */ "Associate pvid to vlan",
/* 69 */ "Set max atuc tx rate",
/* 70 */ "Set min atuc tx rate",
/* 71 */ "Remove vlan from pvid",
NULL
};

Expand Down Expand Up @@ -168,7 +169,8 @@ static int MDM_DEVICE_CMD_DSLAM_SIEMENS_HIX5300_ARGSN[] =
/* 67 */ 2,
/* 68 */ 2,
/* 69 */ 2,
/* 70 */ 2
/* 70 */ 2,
/* 71 */ 2
};

/*!
Expand Down Expand Up @@ -247,7 +249,8 @@ MDM_DEVICE_CMD_DSLAM_SIEMENS_HIX5300_PROCESS[] =
/* 67 */ dslam_siemens_hix5300_nop,
/* 68 */ dslam_siemens_hix5300_nop,
/* 69 */ dslam_siemens_hix5300_nop,
/* 70 */ dslam_siemens_hix5300_nop
/* 70 */ dslam_siemens_hix5300_nop,
/* 71 */ dslam_siemens_hix5300_nop
};

/*!
Expand Down Expand Up @@ -326,6 +329,7 @@ const char *MDM_DEVICE_CMD_DSLAM_SIEMENS_HIX5300_STR[] =
/* 68 */ "configure terminal\nbridge\nvlan pvid %%ARG%% %%ARG%%\nexit\nexit", // ports, vlans
/* 69 */ "configure terminal\nbridge\nadsl line-config-profile %%ARG%% atuc max-tx-rate %%ARG%%\nexit\nexit",
/* 70 */ "configure terminal\nbridge\nadsl line-config-profile %%ARG%% atuc min-tx-rate %%ARG%%\nexit\nexit",
/* 71 */ "configure terminal\nbridge\nvlan del %%ARG%% %%ARG%%\nexit\nexit",
NULL
};

Expand Down

0 comments on commit bc3b414

Please sign in to comment.