├── .gitignore ├── .travis.yml ├── AUTHORS ├── COPYING ├── ChangeLog ├── INSTALL ├── Makefile.am ├── NEWS ├── README.md ├── autogen.sh ├── build_setup.nsi.in ├── configure.ac ├── doc ├── Makefile.am ├── config-format.html ├── generate-settings.sh └── index.html ├── examples ├── Makefile.am ├── README.txt ├── d31coscvc.p7b ├── d31mfgcvc.p7b ├── docsis1.0_2class_non-rfc2669.cfg ├── docsis1.0_2class_non-rfc2669.txt ├── docsis1.0_2class_rfc2669.cfg ├── docsis1.0_2class_rfc2669.txt ├── docsis1.0_basic.cfg ├── docsis1.0_basic.txt ├── docsis1.0_basic_bpi.cfg ├── docsis1.0_basic_bpi.txt ├── docsis1.0_basic_upgrade.cfg ├── docsis1.0_basic_upgrade.txt ├── docsis1.0_example.cfg ├── docsis1.0_example.txt ├── docsis1.0_filters2_oidnum.cfg ├── docsis1.0_filters2_oidnum.txt ├── docsis1.0_filters2_oidtext.cfg ├── docsis1.0_filters2_oidtext.txt ├── docsis1.0_filters_NmAccess.cfg ├── docsis1.0_filters_NmAccess.txt ├── docsis1.0_filters_oidnum.cfg ├── docsis1.0_filters_oidnum.txt ├── docsis1.0_filters_oidtext.cfg ├── docsis1.0_filters_oidtext.txt ├── docsis1.1_classifiers.cfg ├── docsis1.1_classifiers.txt ├── docsis1.1_classifiers2.cfg ├── docsis1.1_classifiers2.txt ├── docsis1.1_oss_v3coex.cfg ├── docsis1.1_oss_v3coex.txt ├── docsis1.1_simple.cfg ├── docsis1.1_simple.txt ├── docsis1.1_stress_test.cfg ├── docsis1.1_stress_test.txt ├── docsis2.0_L2VPN_SingleQTag.cfg ├── docsis2.0_L2VPN_SingleQTag.txt ├── docsis20.cfg ├── docsis20.txt ├── docsis20_no_snmp.cfg ├── docsis20_no_snmp.txt ├── docsis20_stresstest.cfg ├── docsis20_stresstest.txt ├── docsis3.0_ChannelAssignment.cfg ├── docsis3.0_ChannelAssignment.txt ├── docsis3.1_snmp_cvc.bin ├── docsis3.1_snmp_cvc.txt ├── docsis_ipv6.cfg ├── docsis_ipv6.txt ├── eDocsis_eRouter_InitMode_TR69.cfg ├── eDocsis_eRouter_InitMode_TR69.txt ├── keyfile ├── packetcable_digitmap.bin ├── packetcable_digitmap.txt ├── packetcable_mta.cfg ├── packetcable_mta.txt ├── ptp.bin ├── ptp.txt ├── testcosignercvc.der └── testmanufacturercvc.der ├── install-sh ├── mibs ├── CLAB-ANI-DEV-MIB ├── CLAB-DEF-MIB ├── CLAB-DNS-MIB ├── CLAB-GRE-MIB ├── CLAB-GW-MIB ├── CLAB-TOPO-MIB ├── DIFFSERV-DSCP-TC ├── DIFFSERV-MIB ├── DOCS-BPI-MIB ├── DOCS-BPI2-MIB ├── DOCS-BPI2EXT-MIB ├── DOCS-CABLE-DEVICE-MIB ├── DOCS-CABLE-DEVICE-TRAP-MIB ├── DOCS-IETF-BPI2-MIB ├── DOCS-IF-EXT-MIB ├── DOCS-IF-MIB ├── DOCS-IF3-MIB ├── DOCS-IF31-MIB ├── DOCS-MCAST-MIB ├── DOCS-PNM-MIB ├── DOCS-QOS-MIB ├── DOCS-SEC-MIB ├── DOCS-SUBMGT-MIB ├── IGMP-STD-MIB ├── INTEGRATED-SERVICES-MIB ├── Makefile.am ├── PKTC-EVENT-MIB ├── PKTC-IETF-SIG-MIB ├── PKTC-MTA-MIB ├── PKTC-SIG-MIB ├── RMON2-MIB ├── TOKEN-RING-RMON-MIB ├── iana │ ├── IANA-ADDRESS-FAMILY-NUMBERS-MIB │ ├── IANA-BFD-TC-STD-MIB │ ├── IANA-CHARSET-MIB │ ├── IANA-ENTITY-MIB │ ├── IANA-FINISHER-MIB │ ├── IANA-GMPLS-TC-MIB │ ├── IANA-IPPM-METRICS-REGISTRY-MIB │ ├── IANA-ITU-ALARM-TC-MIB │ ├── IANA-LANGUAGE-MIB │ ├── IANA-MALLOC-MIB │ ├── IANA-MAU-MIB │ ├── IANA-PRINTER-MIB │ ├── IANA-PWE3-MIB │ ├── IANA-RTPROTO-MIB │ ├── IANATn3270eTC-MIB │ └── IANAifType-MIB └── ietf │ ├── ACCOUNTING-CONTROL-MIB │ ├── ADSL-LINE-EXT-MIB │ ├── ADSL-LINE-MIB │ ├── ADSL-TC-MIB │ ├── ADSL2-LINE-MIB │ ├── ADSL2-LINE-TC-MIB │ ├── AGENTX-MIB │ ├── AGGREGATE-MIB │ ├── ALARM-MIB │ ├── APM-MIB │ ├── APPC-MIB │ ├── APPLETALK-MIB │ ├── APPLICATION-MIB │ ├── APPN-DLUR-MIB │ ├── APPN-MIB │ ├── APPN-TRAP-MIB │ ├── APS-MIB │ ├── ARC-MIB │ ├── ATM-ACCOUNTING-INFORMATION-MIB │ ├── ATM-MIB │ ├── ATM-TC-MIB │ ├── ATM2-MIB │ ├── BFD-STD-MIB │ ├── BFD-TC-STD-MIB │ ├── BGP4-MIB │ ├── BLDG-HVAC-MIB │ ├── BRIDGE-MIB │ ├── CAPWAP-BASE-MIB │ ├── CAPWAP-DOT11-MIB │ ├── CHARACTER-MIB │ ├── CIRCUIT-IF-MIB │ ├── CLNS-MIB │ ├── COFFEE-POT-MIB │ ├── COPS-CLIENT-MIB │ ├── DECNET-PHIV-MIB │ ├── DIAL-CONTROL-MIB │ ├── DIFFSERV-CONFIG-MIB │ ├── DIFFSERV-DSCP-TC │ ├── DIFFSERV-MIB │ ├── DIRECTORY-SERVER-MIB │ ├── DISMAN-EVENT-MIB │ ├── DISMAN-EXPRESSION-MIB │ ├── DISMAN-NSLOOKUP-MIB │ ├── DISMAN-PING-MIB │ ├── DISMAN-SCHEDULE-MIB │ ├── DISMAN-SCRIPT-MIB │ ├── DISMAN-TRACEROUTE-MIB │ ├── DNS-RESOLVER-MIB │ ├── DNS-SERVER-MIB │ ├── DOCS-BPI-MIB │ ├── DOCS-CABLE-DEVICE-MIB │ ├── DOCS-IETF-BPI2-MIB │ ├── DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB │ ├── DOCS-IETF-QOS-MIB │ ├── DOCS-IETF-SUBMGT-MIB │ ├── DOCS-IF-MIB │ ├── DOT12-IF-MIB │ ├── DOT12-RPTR-MIB │ ├── DOT3-EPON-MIB │ ├── DOT3-OAM-MIB │ ├── DS0-MIB │ ├── DS0BUNDLE-MIB │ ├── DS1-MIB │ ├── DS3-MIB │ ├── DSA-MIB │ ├── DSMON-MIB │ ├── DVB-RCS-MIB │ ├── EBN-MIB │ ├── EFM-CU-MIB │ ├── ENTITY-MIB │ ├── ENTITY-SENSOR-MIB │ ├── ENTITY-STATE-MIB │ ├── ENTITY-STATE-TC-MIB │ ├── ETHER-CHIPSET-MIB │ ├── ETHER-WIS │ ├── EtherLike-MIB │ ├── FC-MGMT-MIB │ ├── FCIP-MGMT-MIB │ ├── FDDI-SMT73-MIB │ ├── FIBRE-CHANNEL-FE-MIB │ ├── FLOAT-TC-MIB │ ├── FLOW-METER-MIB │ ├── FORCES-MIB │ ├── FR-ATM-PVC-SERVICE-IWF-MIB │ ├── FR-MFR-MIB │ ├── FRAME-RELAY-DTE-MIB │ ├── FRNETSERV-MIB │ ├── FRSLD-MIB │ ├── Finisher-MIB │ ├── GMPLS-LABEL-STD-MIB │ ├── GMPLS-LSR-STD-MIB │ ├── GMPLS-TC-STD-MIB │ ├── GMPLS-TE-STD-MIB │ ├── GSMP-MIB │ ├── HC-ALARM-MIB │ ├── HC-PerfHist-TC-MIB │ ├── HC-RMON-MIB │ ├── HCNUM-TC │ ├── HDSL2-SHDSL-LINE-MIB │ ├── HOST-RESOURCES-MIB │ ├── HOST-RESOURCES-TYPES │ ├── HPR-IP-MIB │ ├── HPR-MIB │ ├── IANA-ITU-ALARM-TC-MIB │ ├── IF-CAP-STACK-MIB │ ├── IF-INVERTED-STACK-MIB │ ├── IF-MIB │ ├── IFCP-MGMT-MIB │ ├── IGMP-STD-MIB │ ├── INET-ADDRESS-MIB │ ├── INTEGRATED-SERVICES-GUARANTEED-MIB │ ├── INTEGRATED-SERVICES-MIB │ ├── INTERFACETOPN-MIB │ ├── IP-FORWARD-MIB │ ├── IP-MIB │ ├── IPATM-IPMC-MIB │ ├── IPFIX-MIB │ ├── IPFIX-SELECTOR-MIB │ ├── IPMCAST-MIB │ ├── IPMROUTE-STD-MIB │ ├── IPOA-MIB │ ├── IPS-AUTH-MIB │ ├── IPSEC-SPD-MIB │ ├── IPV6-FLOW-LABEL-MIB │ ├── IPV6-ICMP-MIB │ ├── IPV6-MIB │ ├── IPV6-MLD-MIB │ ├── IPV6-TC │ ├── IPV6-TCP-MIB │ ├── IPV6-UDP-MIB │ ├── ISCSI-MIB │ ├── ISDN-MIB │ ├── ISIS-MIB │ ├── ISNS-MIB │ ├── ITU-ALARM-MIB │ ├── ITU-ALARM-TC-MIB │ ├── Job-Monitoring-MIB │ ├── L2TP-MIB │ ├── LANGTAG-TC-MIB │ ├── LISP-MIB │ ├── LMP-MIB │ ├── MALLOC-MIB │ ├── MAU-MIB │ ├── MIDCOM-MIB │ ├── MIOX25-MIB │ ├── MIP-MIB │ ├── MOBILEIPV6-MIB │ ├── MPLS-FTN-STD-MIB │ ├── MPLS-L3VPN-STD-MIB │ ├── MPLS-LC-ATM-STD-MIB │ ├── MPLS-LC-FR-STD-MIB │ ├── MPLS-LDP-ATM-STD-MIB │ ├── MPLS-LDP-FRAME-RELAY-STD-MIB │ ├── MPLS-LDP-GENERIC-STD-MIB │ ├── MPLS-LDP-STD-MIB │ ├── MPLS-LSR-STD-MIB │ ├── MPLS-TC-STD-MIB │ ├── MPLS-TE-STD-MIB │ ├── MSDP-MIB │ ├── MTA-MIB │ ├── Modem-MIB │ ├── NAT-MIB │ ├── NETWORK-SERVICES-MIB │ ├── NHDP-MIB │ ├── NHRP-MIB │ ├── NOTIFICATION-LOG-MIB │ ├── NTPv4-MIB │ ├── OPT-IF-MIB │ ├── OSPF-MIB │ ├── OSPF-TRAP-MIB │ ├── OSPFV3-MIB │ ├── P-BRIDGE-MIB │ ├── PARALLEL-MIB │ ├── PIM-MIB │ ├── PIM-STD-MIB │ ├── PINT-MIB │ ├── PKTC-IETF-MTA-MIB │ ├── PKTC-IETF-SIG-MIB │ ├── PMIPV6-MIB │ ├── PMIPV6-TC-MIB │ ├── POLICY-BASED-MANAGEMENT-MIB │ ├── POWER-ETHERNET-MIB │ ├── PPP-BRIDGE-NCP-MIB │ ├── PPP-IP-NCP-MIB │ ├── PPP-LCP-MIB │ ├── PPP-SEC-MIB │ ├── PSAMP-MIB │ ├── PTOPO-MIB │ ├── PW-ATM-MIB │ ├── PW-CEP-STD-MIB │ ├── PW-STD-MIB │ ├── PW-TC-STD-MIB │ ├── PW-TDM-MIB │ ├── PerfHist-TC-MIB │ ├── Printer-MIB │ ├── Q-BRIDGE-MIB │ ├── RADIUS-ACC-CLIENT-MIB │ ├── RADIUS-ACC-SERVER-MIB │ ├── RADIUS-AUTH-CLIENT-MIB │ ├── RADIUS-AUTH-SERVER-MIB │ ├── RADIUS-DYNAUTH-CLIENT-MIB │ ├── RADIUS-DYNAUTH-SERVER-MIB │ ├── RAQMON-MIB │ ├── RBRIDGE-MIB │ ├── RDBMS-MIB │ ├── RFC-1212 │ ├── RFC-1215 │ ├── RFC1065-SMI │ ├── RFC1155-SMI │ ├── RFC1158-MIB │ ├── RFC1213-MIB │ ├── RFC1269-MIB │ ├── RFC1271-MIB │ ├── RFC1285-MIB │ ├── RFC1316-MIB │ ├── RFC1381-MIB │ ├── RFC1382-MIB │ ├── RFC1414-MIB │ ├── RIPv2-MIB │ ├── RMON-MIB │ ├── RMON2-MIB │ ├── ROHC-MIB │ ├── ROHC-RTP-MIB │ ├── ROHC-UNCOMPRESSED-MIB │ ├── RPKI-ROUTER-MIB │ ├── RS-232-MIB │ ├── RSERPOOL-MIB │ ├── RSTP-MIB │ ├── RSVP-MIB │ ├── RTP-MIB │ ├── SCSI-MIB │ ├── SCTP-MIB │ ├── SFLOW-MIB │ ├── SIP-COMMON-MIB │ ├── SIP-MIB │ ├── SIP-SERVER-MIB │ ├── SIP-TC-MIB │ ├── SIP-UA-MIB │ ├── SLAPM-MIB │ ├── SMON-MIB │ ├── SNA-NAU-MIB │ ├── SNA-SDLC-MIB.txt │ ├── SNMP-COMMUNITY-MIB │ ├── SNMP-FRAMEWORK-MIB │ ├── SNMP-MPD-MIB │ ├── SNMP-NOTIFICATION-MIB │ ├── SNMP-PROXY-MIB │ ├── SNMP-REPEATER-MIB │ ├── SNMP-SSH-TM-MIB │ ├── SNMP-TARGET-MIB │ ├── SNMP-TLS-TM-MIB │ ├── SNMP-TSM-MIB │ ├── SNMP-USER-BASED-SM-MIB │ ├── SNMP-USM-AES-MIB │ ├── SNMP-USM-DH-OBJECTS-MIB │ ├── SNMP-VIEW-BASED-ACM-MIB │ ├── SNMPv2-CONF │ ├── SNMPv2-MIB │ ├── SNMPv2-SMI │ ├── SNMPv2-TC │ ├── SNMPv2-TM │ ├── SNMPv2-USEC-MIB │ ├── SONET-MIB │ ├── SOURCE-ROUTING-MIB │ ├── SSPM-MIB │ ├── SYSAPPL-MIB │ ├── T11-FC-FABRIC-ADDR-MGR-MIB │ ├── T11-FC-FABRIC-CONFIG-SERVER-MIB │ ├── T11-FC-FABRIC-LOCK-MIB │ ├── T11-FC-FSPF-MIB │ ├── T11-FC-NAME-SERVER-MIB │ ├── T11-FC-ROUTE-MIB │ ├── T11-FC-RSCN-MIB │ ├── T11-FC-VIRTUAL-FABRIC-MIB │ ├── T11-FC-ZONE-SERVER-MIB │ ├── T11-TC-MIB │ ├── TCP-ESTATS-MIB │ ├── TCP-MIB │ ├── TCPIPX-MIB │ ├── TE-LINK-STD-MIB │ ├── TE-MIB │ ├── TED-MIB │ ├── TIME-AGGREGATE-MIB │ ├── TN3270E-MIB │ ├── TN3270E-RT-MIB │ ├── TOKEN-RING-RMON-MIB │ ├── TOKENRING-MIB │ ├── TOKENRING-STATION-SR-MIB │ ├── TRANSPORT-ADDRESS-MIB │ ├── TRIP-MIB │ ├── TRIP-TC-MIB │ ├── TUNNEL-MIB │ ├── UDP-MIB │ ├── UDPLITE-MIB │ ├── UPS-MIB │ ├── URI-TC-MIB │ ├── UUID-TC-MIB │ ├── VDSL-LINE-EXT-MCM-MIB │ ├── VDSL-LINE-EXT-SCM-MIB │ ├── VDSL-LINE-MIB │ ├── VDSL2-LINE-MIB │ ├── VDSL2-LINE-TC-MIB │ ├── VPN-TC-STD-MIB │ ├── VRRP-MIB │ ├── VRRPV3-MIB │ └── WWW-MIB ├── src ├── Makefile.am ├── docsis.c ├── docsis.h ├── docsis_common.h ├── docsis_decode.c ├── docsis_decode.h ├── docsis_encode.c ├── docsis_encode.h ├── docsis_globals.h ├── docsis_lex.l ├── docsis_snmp.c ├── docsis_snmp.h ├── docsis_symtable.h ├── docsis_yy.y ├── ethermac.c ├── ethermac.h ├── hmac_md5.c ├── keyfile ├── md5.c ├── md5.h ├── sha1.c └── sha1.h └── tests ├── BaseConfig.cm ├── BaseConfig.conf ├── BaseConfig.txt ├── PHS_last_tlvs.cm ├── PHS_last_tlvs.conf ├── PHS_last_tlvs.txt ├── PacketCable_TLV64.cm ├── PacketCable_TLV64.conf ├── PacketCable_TLV64.txt ├── RunTests.sh ├── StaticMulticastSession.cm ├── StaticMulticastSession.conf ├── StaticMulticastSession.txt ├── TLV37_SubMgmtFilters.cm ├── TLV37_SubMgmtFilters.conf ├── TLV37_SubMgmtFilters.txt ├── TLV41_DsChannelList.cm ├── TLV41_DsChannelList.conf ├── TLV41_DsChannelList.txt ├── TLV63_SubMgmtControl6.cm ├── TLV63_SubMgmtControl6.conf ├── TLV63_SubMgmtControl6.txt ├── TLV_22_43_10_IPMulticastJoinAuthorization.cm ├── TLV_22_43_10_IPMulticastJoinAuthorization.conf ├── TLV_22_43_10_IPMulticastJoinAuthorization.txt ├── TLV_22_43_12_DEMARCAutoConfiguration.cm ├── TLV_22_43_12_DEMARCAutoConfiguration.conf ├── TLV_22_43_12_DEMARCAutoConfiguration.txt ├── TLV_22_43_1_CMLoadBalancingPolicyID.cm ├── TLV_22_43_1_CMLoadBalancingPolicyID.conf ├── TLV_22_43_1_CMLoadBalancingPolicyID.txt ├── TLV_22_43_2_AND_3.cm ├── TLV_22_43_2_AND_3.conf ├── TLV_22_43_2_AND_3.txt ├── TLV_22_43_4.cm ├── TLV_22_43_4.conf ├── TLV_22_43_4.txt ├── TLV_22_43_5_10_and_12.cm ├── TLV_22_43_5_10_and_12.conf ├── TLV_22_43_5_10_and_12.txt ├── TLV_22_43_5_13_L2VPNMode.cm ├── TLV_22_43_5_13_L2VPNMode.conf ├── TLV_22_43_5_13_L2VPNMode.txt ├── TLV_22_43_5_14_DPoE.cm ├── TLV_22_43_5_14_DPoE.conf ├── TLV_22_43_5_14_DPoE.txt ├── TLV_22_43_5_21_BGPAttribute.cm ├── TLV_22_43_5_21_BGPAttribute.conf ├── TLV_22_43_5_21_BGPAttribute.txt ├── TLV_22_43_5_23_PseudowireSignaling.cm ├── TLV_22_43_5_23_PseudowireSignaling.conf ├── TLV_22_43_5_23_PseudowireSignaling.txt ├── TLV_22_43_5_24_SOAMSubtype.cm ├── TLV_22_43_5_24_SOAMSubtype.conf ├── TLV_22_43_5_24_SOAMSubtype.txt ├── TLV_22_43_5_26_L2VPNDSID.cm ├── TLV_22_43_5_26_L2VPNDSID.conf ├── TLV_22_43_5_26_L2VPNDSID.txt ├── TLV_22_43_5_2_1.cm ├── TLV_22_43_5_2_1.conf ├── TLV_22_43_5_2_1.txt ├── TLV_22_43_5_2_2_ServiceMultiplexingValueIEEE8021Q.cm ├── TLV_22_43_5_2_2_ServiceMultiplexingValueIEEE8021Q.conf ├── TLV_22_43_5_2_2_ServiceMultiplexingValueIEEE8021Q.txt ├── TLV_22_43_5_2_3_ServiceMultiplexingValueIEEE8021ad.cm ├── TLV_22_43_5_2_3_ServiceMultiplexingValueIEEE8021ad.conf ├── TLV_22_43_5_2_3_ServiceMultiplexingValueIEEE8021ad.txt ├── TLV_22_43_5_2_4_2_MPLSPeerIpAddress.cm ├── TLV_22_43_5_2_4_2_MPLSPeerIpAddress.conf ├── TLV_22_43_5_2_4_2_MPLSPeerIpAddress.txt ├── TLV_22_43_5_2_4_ServiceMultiplexingValueMPLSPW.cm ├── TLV_22_43_5_2_4_ServiceMultiplexingValueMPLSPW.conf ├── TLV_22_43_5_2_4_ServiceMultiplexingValueMPLSPW.txt ├── TLV_22_43_5_2_5_ServiceMultiplexingValueL2TPv3Peer.cm ├── TLV_22_43_5_2_5_ServiceMultiplexingValueL2TPv3Peer.conf ├── TLV_22_43_5_2_5_ServiceMultiplexingValueL2TPv3Peer.txt ├── TLV_22_43_5_2_6_IEEE8021ahEncapsulation.cm ├── TLV_22_43_5_2_6_IEEE8021ahEncapsulation.conf ├── TLV_22_43_5_2_6_IEEE8021ahEncapsulation.txt ├── TLV_22_43_5_2_8_ServiceMultiplexingValueIEEE8021adSTPID.cm ├── TLV_22_43_5_2_8_ServiceMultiplexingValueIEEE8021adSTPID.conf ├── TLV_22_43_5_2_8_ServiceMultiplexingValueIEEE8021adSTPID.txt ├── TLV_22_43_5_3_to_9.cm ├── TLV_22_43_5_3_to_9.conf ├── TLV_22_43_5_3_to_9.txt ├── TLV_22_43_5_43_8_VendorSpecific.cm ├── TLV_22_43_5_43_8_VendorSpecific.conf ├── TLV_22_43_5_43_8_VendorSpecific.txt ├── TLV_22_43_6_ExtendedCMTSMICConfiguration.cm ├── TLV_22_43_6_ExtendedCMTSMICConfiguration.conf ├── TLV_22_43_6_ExtendedCMTSMICConfiguration.txt ├── TLV_22_43_7_SAVAuthorization.cm ├── TLV_22_43_7_SAVAuthorization.conf ├── TLV_22_43_7_SAVAuthorization.txt ├── TLV_22_43_9_CMAttributeMasks.cm ├── TLV_22_43_9_CMAttributeMasks.conf ├── TLV_22_43_9_CMAttributeMasks.txt ├── TLV_23_43_1_to_4_CMLoadBalancingPolicyID.cm ├── TLV_23_43_1_to_4_CMLoadBalancingPolicyID.conf ├── TLV_23_43_1_to_4_CMLoadBalancingPolicyID.txt ├── TLV_23_43_5_10_and_12.cm ├── TLV_23_43_5_10_and_12.conf ├── TLV_23_43_5_10_and_12.txt ├── TLV_23_43_5_13_L2VPNMode.cm ├── TLV_23_43_5_13_L2VPNMode.conf ├── TLV_23_43_5_13_L2VPNMode.txt ├── TLV_23_43_5_14_DPoE.cm ├── TLV_23_43_5_14_DPoE.conf ├── TLV_23_43_5_14_DPoE.txt ├── TLV_23_43_5_24_SOAMSubtype.cm ├── TLV_23_43_5_24_SOAMSubtype.conf ├── TLV_23_43_5_24_SOAMSubtype.txt ├── TLV_23_43_5_L2VPNEncoding.cm ├── TLV_23_43_5_L2VPNEncoding.conf ├── TLV_23_43_5_L2VPNEncoding.txt ├── TLV_23_43_6_ExtendedCMTSMICConfiguration.cm ├── TLV_23_43_6_ExtendedCMTSMICConfiguration.conf ├── TLV_23_43_6_ExtendedCMTSMICConfiguration.txt ├── TLV_23_43_last_tlvs.cm ├── TLV_23_43_last_tlvs.conf ├── TLV_23_43_last_tlvs.txt ├── TLV_24_3_ServiceIdentifier.cm ├── TLV_24_3_ServiceIdentifier.conf ├── TLV_24_3_ServiceIdentifier.txt ├── TLV_24_43_1_to_4_CMLoadBalancingPolicyID.cm ├── TLV_24_43_1_to_4_CMLoadBalancingPolicyID.conf ├── TLV_24_43_1_to_4_CMLoadBalancingPolicyID.txt ├── TLV_24_43_5_10_and_12.cm ├── TLV_24_43_5_10_and_12.conf ├── TLV_24_43_5_10_and_12.txt ├── TLV_24_43_5_13_L2VPNMode.cm ├── TLV_24_43_5_13_L2VPNMode.conf ├── TLV_24_43_5_13_L2VPNMode.txt ├── TLV_24_43_5_14_DPoE.cm ├── TLV_24_43_5_14_DPoE.conf ├── TLV_24_43_5_14_DPoE.txt ├── TLV_24_43_5_24_SOAMSubtype.cm ├── TLV_24_43_5_24_SOAMSubtype.conf ├── TLV_24_43_5_24_SOAMSubtype.txt ├── TLV_24_43_5_L2VPNEncoding.cm ├── TLV_24_43_5_L2VPNEncoding.conf ├── TLV_24_43_5_L2VPNEncoding.txt ├── TLV_24_43_6_ExtendedCMTSMICConfiguration.cm ├── TLV_24_43_6_ExtendedCMTSMICConfiguration.conf ├── TLV_24_43_6_ExtendedCMTSMICConfiguration.txt ├── TLV_24_43_last_tlvs.cm ├── TLV_24_43_last_tlvs.conf ├── TLV_24_43_last_tlvs.txt ├── TLV_24_last_before_43.cm ├── TLV_24_last_before_43.conf ├── TLV_24_last_before_43.txt ├── TLV_25_43_1_to_4_CMLoadBalancingPolicyID.cm ├── TLV_25_43_1_to_4_CMLoadBalancingPolicyID.conf ├── TLV_25_43_1_to_4_CMLoadBalancingPolicyID.txt ├── TLV_25_43_5_10_and_12.cm ├── TLV_25_43_5_10_and_12.conf ├── TLV_25_43_5_10_and_12.txt ├── TLV_25_43_5_13_L2VPNMode.cm ├── TLV_25_43_5_13_L2VPNMode.conf ├── TLV_25_43_5_13_L2VPNMode.txt ├── TLV_25_43_5_14_DPoE.cm ├── TLV_25_43_5_14_DPoE.conf ├── TLV_25_43_5_14_DPoE.txt ├── TLV_25_43_5_24_SOAMSubtype.cm ├── TLV_25_43_5_24_SOAMSubtype.conf ├── TLV_25_43_5_24_SOAMSubtype.txt ├── TLV_25_43_5_L2VPNEncoding.cm ├── TLV_25_43_5_L2VPNEncoding.conf ├── TLV_25_43_5_L2VPNEncoding.txt ├── TLV_25_43_6_ExtendedCMTSMICConfiguration.cm ├── TLV_25_43_6_ExtendedCMTSMICConfiguration.conf ├── TLV_25_43_6_ExtendedCMTSMICConfiguration.txt ├── TLV_25_43_last_tlvs.cm ├── TLV_25_43_last_tlvs.conf ├── TLV_25_43_last_tlvs.txt ├── TLV_25_remaining.cm ├── TLV_25_remaining.conf ├── TLV_25_remaining.txt ├── TLV_26_43_1_to_4_CMLoadBalancingPolicyID.cm ├── TLV_26_43_1_to_4_CMLoadBalancingPolicyID.conf ├── TLV_26_43_1_to_4_CMLoadBalancingPolicyID.txt ├── TLV_26_43_5_10_and_12.cm ├── TLV_26_43_5_10_and_12.conf ├── TLV_26_43_5_10_and_12.txt ├── TLV_26_43_5_13_L2VPNMode.cm ├── TLV_26_43_5_13_L2VPNMode.conf ├── TLV_26_43_5_13_L2VPNMode.txt ├── TLV_26_43_5_14_DPoE.cm ├── TLV_26_43_5_14_DPoE.conf ├── TLV_26_43_5_14_DPoE.txt ├── TLV_26_43_5_24_SOAMSubtype.cm ├── TLV_26_43_5_24_SOAMSubtype.conf ├── TLV_26_43_5_24_SOAMSubtype.txt ├── TLV_26_43_5_L2VPNEncoding.cm ├── TLV_26_43_5_L2VPNEncoding.conf ├── TLV_26_43_5_L2VPNEncoding.txt ├── TLV_26_43_6_ExtendedCMTSMICConfiguration.cm ├── TLV_26_43_6_ExtendedCMTSMICConfiguration.conf ├── TLV_26_43_6_ExtendedCMTSMICConfiguration.txt ├── TLV_26_43_last_tlvs.cm ├── TLV_26_43_last_tlvs.conf ├── TLV_26_43_last_tlvs.txt ├── TLV_36_SubscriberManagementCPEIPTable.cm ├── TLV_36_SubscriberManagementCPEIPTable.conf ├── TLV_36_SubscriberManagementCPEIPTable.txt ├── TLV_38_8_SnmpV3TrapRxIP6.cm ├── TLV_38_8_SnmpV3TrapRxIP6.conf ├── TLV_38_8_SnmpV3TrapRxIP6.txt ├── TLV_40_EnableTestModes.cm ├── TLV_40_EnableTestModes.conf ├── TLV_40_EnableTestModes.txt ├── TLV_43_1_to_4_CMLoadBalancingPolicyID.cm ├── TLV_43_1_to_4_CMLoadBalancingPolicyID.conf ├── TLV_43_1_to_4_CMLoadBalancingPolicyID.txt ├── TLV_43_5_10_and_12.cm ├── TLV_43_5_10_and_12.conf ├── TLV_43_5_10_and_12.txt ├── TLV_43_5_13_L2VPNMode.cm ├── TLV_43_5_13_L2VPNMode.conf ├── TLV_43_5_13_L2VPNMode.txt ├── TLV_43_5_14_DPoE.cm ├── TLV_43_5_14_DPoE.conf ├── TLV_43_5_14_DPoE.txt ├── TLV_43_5_24_SOAMSubtype.cm ├── TLV_43_5_24_SOAMSubtype.conf ├── TLV_43_5_24_SOAMSubtype.txt ├── TLV_43_5_3_to_13.cm ├── TLV_43_5_3_to_13.conf ├── TLV_43_5_3_to_13.txt ├── TLV_43_5_L2VPNEncoding.cm ├── TLV_43_5_L2VPNEncoding.conf ├── TLV_43_5_L2VPNEncoding.txt ├── TLV_43_6_ExtendedCMTSMICConfiguration.cm ├── TLV_43_6_ExtendedCMTSMICConfiguration.conf ├── TLV_43_6_ExtendedCMTSMICConfiguration.txt ├── TLV_43_last_tlvs.cm ├── TLV_43_last_tlvs.conf ├── TLV_43_last_tlvs.txt ├── TLV_53_SNMPv1v2cCoexistenceConfig.cm ├── TLV_53_SNMPv1v2cCoexistenceConfig.conf ├── TLV_53_SNMPv1v2cCoexistenceConfig.txt ├── TLV_54_SNMPv3AccessViewConfiguration.cm ├── TLV_54_SNMPv3AccessViewConfiguration.conf ├── TLV_54_SNMPv3AccessViewConfiguration.txt ├── TLV_55_SNMPCPEAccessControl.cm ├── TLV_55_SNMPCPEAccessControl.conf ├── TLV_55_SNMPCPEAccessControl.txt ├── TLV_59_TFTPProvisionedModemIPv6Address.cm ├── TLV_59_TFTPProvisionedModemIPv6Address.conf ├── TLV_59_TFTPProvisionedModemIPv6Address.txt ├── TLV_60_12_IPv6PacketClassification.cm ├── TLV_60_12_IPv6PacketClassification.conf ├── TLV_60_12_IPv6PacketClassification.txt ├── TLV_60_13_to_17.cm ├── TLV_60_13_to_17.conf ├── TLV_60_13_to_17.txt ├── TLV_60_43_1_to_4.cm ├── TLV_60_43_1_to_4.conf ├── TLV_60_43_1_to_4.txt ├── TLV_60_43_5_14_TPIDTranslation.cm ├── TLV_60_43_5_14_TPIDTranslation.conf ├── TLV_60_43_5_14_TPIDTranslation.txt ├── TLV_60_43_5_15_L2CPProcessing.cm ├── TLV_60_43_5_15_L2CPProcessing.conf ├── TLV_60_43_5_15_L2CPProcessing.txt ├── TLV_60_43_5_21_BGPAttribute.cm ├── TLV_60_43_5_21_BGPAttribute.conf ├── TLV_60_43_5_21_BGPAttribute.txt ├── TLV_60_43_5_24_SOAMSubtype.cm ├── TLV_60_43_5_24_SOAMSubtype.conf ├── TLV_60_43_5_24_SOAMSubtype.txt ├── TLV_60_43_5_2_NSIEncapsulationSubtype.cm ├── TLV_60_43_5_2_NSIEncapsulationSubtype.conf ├── TLV_60_43_5_2_NSIEncapsulationSubtype.txt ├── TLV_60_43_last_tlvs.cm ├── TLV_60_43_last_tlvs.conf ├── TLV_60_43_last_tlvs.txt ├── TLV_60_UpstreamDropPacketClassification.cm ├── TLV_60_UpstreamDropPacketClassification.conf ├── TLV_60_UpstreamDropPacketClassification.txt ├── TLV_61_SubMgmtCPEIPv6PrefixList.cm ├── TLV_61_SubMgmtCPEIPv6PrefixList.conf ├── TLV_61_SubMgmtCPEIPv6PrefixList.txt ├── TLV_62_UpstreamDropClassifierGroupID.cm ├── TLV_62_UpstreamDropClassifierGroupID.conf ├── TLV_62_UpstreamDropClassifierGroupID.txt ├── TLV_65_L2VPNMACAgingEncoding.cm ├── TLV_65_L2VPNMACAgingEncoding.conf ├── TLV_65_L2VPNMACAgingEncoding.txt ├── TLV_66_ManagementEventControl.cm ├── TLV_66_ManagementEventControl.conf ├── TLV_66_ManagementEventControl.txt ├── TLV_67_SubscriberManagementCPEIPv6Table.cm ├── TLV_67_SubscriberManagementCPEIPv6Table.conf ├── TLV_67_SubscriberManagementCPEIPv6Table.txt ├── TLV_68_DefaultUpstreamTargetBuffer.cm ├── TLV_68_DefaultUpstreamTargetBuffer.conf ├── TLV_68_DefaultUpstreamTargetBuffer.txt ├── TLV_69_MACAddressLearningControlEncoding.cm ├── TLV_69_MACAddressLearningControlEncoding.conf ├── TLV_69_MACAddressLearningControlEncoding.txt ├── TLV_70_TLV_71_AggregateServiceFlow.cm ├── TLV_70_TLV_71_AggregateServiceFlow.conf ├── TLV_70_TLV_71_AggregateServiceFlow.txt ├── TLV_72_MetroEthernetServiceProfile.cm ├── TLV_72_MetroEthernetServiceProfile.conf ├── TLV_72_MetroEthernetServiceProfile.txt ├── TLV_73_NetworkTimingProfile.cm ├── TLV_73_NetworkTimingProfile.conf ├── TLV_73_NetworkTimingProfile.txt ├── TLV_74_EnergyParameters.cm ├── TLV_74_EnergyParameters.conf ├── TLV_74_EnergyParameters.txt ├── TLV_75_and_76_CMUpstreamAQMDisable.cm ├── TLV_75_and_76_CMUpstreamAQMDisable.conf ├── TLV_75_and_76_CMUpstreamAQMDisable.txt ├── TLV_79_UNIControlEncodings.cm ├── TLV_79_UNIControlEncodings.conf ├── TLV_79_UNIControlEncodings.txt ├── UserPriority.cm ├── UserPriority.conf ├── UserPriority.txt ├── docsis1_0_2class_non_rfc2669.failed ├── docsis1_0_2class_rfc2669.failed ├── docsis1_0_basic.cm ├── docsis1_0_basic.conf ├── docsis1_0_basic.txt ├── docsis1_0_basic_bpi.cm ├── docsis1_0_basic_bpi.conf ├── docsis1_0_basic_bpi.txt ├── docsis1_0_basic_upgrade.cm ├── docsis1_0_basic_upgrade.conf ├── docsis1_0_basic_upgrade.txt ├── docsis1_0_compatiblity_TLV12.cm ├── docsis1_0_compatiblity_TLV12.conf ├── docsis1_0_compatiblity_TLV12.txt ├── docsis1_0_example.cm ├── docsis1_0_example.conf ├── docsis1_0_example.txt ├── docsis1_0_filters2_oidnum.cm ├── docsis1_0_filters2_oidnum.conf ├── docsis1_0_filters2_oidnum.txt ├── docsis1_0_filters2_oidtext.cm ├── docsis1_0_filters2_oidtext.conf ├── docsis1_0_filters2_oidtext.txt ├── docsis1_0_filters_NmAccess.failed ├── docsis1_0_filters_oidnum.cm ├── docsis1_0_filters_oidnum.conf ├── docsis1_0_filters_oidnum.txt ├── docsis1_0_filters_oidtext.cm ├── docsis1_0_filters_oidtext.conf ├── docsis1_0_filters_oidtext.txt ├── docsis1_1_802_1ah.cm ├── docsis1_1_802_1ah.conf ├── docsis1_1_802_1ah.txt ├── docsis1_1_ICMPv4ICMPv6_type_classification.cm ├── docsis1_1_ICMPv4ICMPv6_type_classification.conf ├── docsis1_1_ICMPv4ICMPv6_type_classification.txt ├── docsis1_1_MPLSClassification.cm ├── docsis1_1_MPLSClassification.conf ├── docsis1_1_MPLSClassification.txt ├── docsis1_1_STagCTag.cm ├── docsis1_1_STagCTag.conf ├── docsis1_1_STagCTag.txt ├── docsis1_1_classifiers.cm ├── docsis1_1_classifiers.conf ├── docsis1_1_classifiers.txt ├── docsis1_1_classifiers2.cm ├── docsis1_1_classifiers2.conf ├── docsis1_1_classifiers2.txt ├── docsis1_1_mandatory_param.cm ├── docsis1_1_mandatory_param.conf ├── docsis1_1_mandatory_param.txt ├── docsis1_1_oss_v3coex.cm ├── docsis1_1_oss_v3coex.conf ├── docsis1_1_oss_v3coex.txt ├── docsis1_1_simple.cm ├── docsis1_1_simple.conf ├── docsis1_1_simple.txt ├── docsis1_1_stress_test.cm ├── docsis1_1_stress_test.conf ├── docsis1_1_stress_test.txt ├── docsis20.cm ├── docsis20.conf ├── docsis20.txt ├── docsis20_no_snmp.cm ├── docsis20_no_snmp.conf ├── docsis20_no_snmp.txt ├── docsis2_0_DUTFiltering.failed ├── docsis2_0_L2VPN_DualQTag.cm ├── docsis2_0_L2VPN_DualQTag.conf ├── docsis2_0_L2VPN_DualQTag.txt ├── docsis2_0_L2VPN_SingleQTag.cm ├── docsis2_0_L2VPN_SingleQTag.conf ├── docsis2_0_L2VPN_SingleQTag.txt ├── docsis30_ModemCapabilities.cm ├── docsis30_ModemCapabilities.conf ├── docsis30_ModemCapabilities.txt ├── docsis3_0_ChannelAssignment.cm ├── docsis3_0_ChannelAssignment.conf ├── docsis3_0_ChannelAssignment.txt ├── docsis3_0_InitializationModeOverride.cm ├── docsis3_0_InitializationModeOverride.conf ├── docsis3_0_InitializationModeOverride.txt ├── docsis_ipv6.cm ├── docsis_ipv6.conf ├── docsis_ipv6.txt ├── eRouter_InitMode_TR69.cm ├── eRouter_InitMode_TR69.conf ├── eRouter_InitMode_TR69.txt ├── eRouter_RATransmissionInterval.cm ├── eRouter_RATransmissionInterval.conf ├── eRouter_RATransmissionInterval.txt ├── eRouter_SNMPv1v2cCoexistance.cm ├── eRouter_SNMPv1v2cCoexistance.conf ├── eRouter_SNMPv1v2cCoexistance.txt ├── eRouter_SNMPv3AccessView.cm ├── eRouter_SNMPv3AccessView.conf ├── eRouter_SNMPv3AccessView.txt ├── eRouter_SnmpMibObject.cm ├── eRouter_SnmpMibObject.conf ├── eRouter_SnmpMibObject.txt ├── eRouter_TopologyModeEncoding.cm ├── eRouter_TopologyModeEncoding.conf ├── eRouter_TopologyModeEncoding.txt ├── eRouter_VendorSpecific.cm ├── eRouter_VendorSpecific.conf ├── eRouter_VendorSpecific.txt ├── key ├── tlv43_vendor_specific.cm ├── tlv43_vendor_specific.conf └── tlv43_vendor_specific.txt /.gitignore: -------------------------------------------------------------------------------- 1 | *.bak 2 | *.o 3 | *.old 4 | *.orig 5 | *.rej 6 | .*.swp 7 | .DS_Store 8 | ._* 9 | .deps 10 | Makefile 11 | Makefile.in 12 | README 13 | aclocal.m4 14 | autom4te.cache 15 | build_setup.nsi 16 | config.cache 17 | config.guess 18 | config.h 19 | config.h.in 20 | config.h.in~ 21 | config.log 22 | config.status 23 | config.sub 24 | configure 25 | depcomp 26 | docsis-*.*.* 27 | examples/*.log 28 | examples/*.sh 29 | examples/*.trs 30 | libtool 31 | ltmain.sh 32 | mibs/.index 33 | missing 34 | mkinstalldirs 35 | stamp-h1 36 | ylwrap 37 | compile 38 | test-driver 39 | src/docsis 40 | src/docsis_lex.c 41 | src/docsis_yy.c 42 | src/docsis_yy.h 43 | doc/config-settings.html 44 | po/Makefile.in.in 45 | tests/*.new 46 | /Default/ 47 | .cproject 48 | .project 49 | .settings/* 50 | backup* 51 | doc-pak/* 52 | *.deb 53 | description-pak 54 | *.gcno 55 | *.gcda 56 | *.gcov 57 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | language: c 2 | 3 | before_install: 4 | - sudo apt-get update -qq 5 | - sudo apt-get install automake libtool libsnmp-dev bison make gcc flex git libglib2.0-dev libfl-dev snmp-mibs-downloader 6 | - sudo pip install cpp-coveralls 7 | - ./autogen.sh 8 | 9 | script: 10 | - ./configure CFLAGS='-g -O0 -fprofile-arcs -ftest-coverage' 11 | - make && sudo make install 12 | - cd tests/ 13 | - ./RunTests.sh 14 | - cd .. 15 | 16 | after_success: 17 | - coveralls --exclude src/docsis_lex.c --exclude src/docsis_yy.c --gcov-options '\-lp' -------------------------------------------------------------------------------- /AUTHORS: -------------------------------------------------------------------------------- 1 | Adrian Simionov 2 | Cornel Ciocirlan 3 | The Evvolve Team 4 | 5 | Help and feedback received from: 6 | 7 | Ronald Rosenfeld 8 | Adrian Kwong 9 | Rudy Zijlstra 10 | -------------------------------------------------------------------------------- /NEWS: -------------------------------------------------------------------------------- 1 | See the ChangeLog file and http://docsis.sourceforge.net. 2 | -------------------------------------------------------------------------------- /doc/Makefile.am: -------------------------------------------------------------------------------- 1 | ## Process this file with automake to generate Makefile.in 2 | htmldocdir = $(prefix)/share/docsis 3 | htmldoc_DATA = config-settings.html index.html config-format.html 4 | 5 | EXTRA_DIST=generate-settings.sh index.html config-format.html 6 | CLEANFILES=config-settings.html 7 | 8 | config-settings.html: generate-settings.sh ../src/docsis_symtable.h 9 | /bin/sh -e $(srcdir)/generate-settings.sh \ 10 | config-settings.html $(VERSION) 11 | -------------------------------------------------------------------------------- /examples/README.txt: -------------------------------------------------------------------------------- 1 | These examples are here only to show the syntax and for regression testing. 2 | They are probably not useful in a real network; some use intentionally 'bad' 3 | values for various parameters to stress test the encoder. 4 | 5 | The *.cfg files are hand-written configuration examples. The *.txt files are 6 | the result of running the *.cfg files through docsis. They exist for 7 | regression testing purposes. 8 | 9 | The test*cvc.der files are simply random data. They are not real (or even 10 | well-formed) CVCs. 11 | 12 | The regression test script will fail if the MIBs are not installed. 13 | -------------------------------------------------------------------------------- /examples/d31coscvc.p7b: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlaager/docsis/d6c9347e6035f8c43f4dff630b0b54e884294c1f/examples/d31coscvc.p7b -------------------------------------------------------------------------------- /examples/d31mfgcvc.p7b: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlaager/docsis/d6c9347e6035f8c43f4dff630b0b54e884294c1f/examples/d31mfgcvc.p7b -------------------------------------------------------------------------------- /examples/docsis1.0_basic.cfg: -------------------------------------------------------------------------------- 1 | Main { 2 | NetworkAccess 1; 3 | MaxCPE 3; 4 | ClassOfService { 5 | ClassID 1; 6 | MaxRateDown 20000000; 7 | MaxRateUp 10000000; 8 | PrivacyEnable 0; 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /examples/docsis1.0_basic.txt: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | NetworkAccess 1; 4 | MaxCPE 3; 5 | ClassOfService 6 | { 7 | ClassID 1; 8 | MaxRateDown 20000000; 9 | MaxRateUp 10000000; 10 | PrivacyEnable 0; 11 | } 12 | /* CmMic 817865a1f6e47e81a7364ff607a24648; */ 13 | /* CmtsMic f90e368f5d979a2d5093bbaba37f1497; */ 14 | /*EndOfDataMkr*/ 15 | } 16 | -------------------------------------------------------------------------------- /examples/docsis1.0_basic_bpi.cfg: -------------------------------------------------------------------------------- 1 | Main { /* this is a comment */ 2 | /* this is a comment */ 3 | NetworkAccess 1; 4 | ClassOfService { 5 | ClassID 1; 6 | MaxRateDown 20000000; 7 | MaxRateUp 10000000; 8 | PriorityUp 3 ; 9 | GuaranteedUp 56072; 10 | MaxBurstUp 1722; 11 | PrivacyEnable 1; 12 | } 13 | BaselinePrivacy { /* ONLY if PrivacyEnable == 1 ! */ 14 | AuthTimeout 10; 15 | ReAuthTimeout 10; 16 | AuthGraceTime 600; 17 | OperTimeout 10; 18 | ReKeyTimeout 10; 19 | TEKGraceTime 600; 20 | AuthRejectTimeout 9; 21 | } 22 | 23 | MaxCPE 3; 24 | } 25 | -------------------------------------------------------------------------------- /examples/docsis1.0_basic_bpi.txt: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | NetworkAccess 1; 4 | ClassOfService 5 | { 6 | ClassID 1; 7 | MaxRateDown 20000000; 8 | MaxRateUp 10000000; 9 | PriorityUp 3; 10 | GuaranteedUp 56072; 11 | MaxBurstUp 1722; 12 | PrivacyEnable 1; 13 | } 14 | BaselinePrivacy 15 | { 16 | AuthTimeout 10; 17 | ReAuthTimeout 10; 18 | AuthGraceTime 600; 19 | OperTimeout 10; 20 | ReKeyTimeout 10; 21 | TEKGraceTime 600; 22 | AuthRejectTimeout 9; 23 | } 24 | MaxCPE 3; 25 | /* CmMic f18f77aa3574a3d73bdd1592711c0160; */ 26 | /* CmtsMic 054c9bbbaa0d3f745af2513747554830; */ 27 | /*EndOfDataMkr*/ 28 | } 29 | -------------------------------------------------------------------------------- /examples/docsis1.0_basic_upgrade.cfg: -------------------------------------------------------------------------------- 1 | Main { /* this is a comment */ 2 | DownstreamFrequency 130000000; 3 | UpstreamChannelId 123; 4 | /* this is a comment */ 5 | NetworkAccess 1; 6 | ClassOfService { 7 | ClassID 5; 8 | MaxRateDown 512000; 9 | MaxRateUp 64000; 10 | PriorityUp 3 ; 11 | GuaranteedUp 32000; 12 | MaxBurstUp 54314; 13 | PrivacyEnable 1; 14 | } 15 | 16 | SwUpgradeFilename "filename1.bin"; 17 | 18 | BaselinePrivacy { 19 | AuthTimeout 25; 20 | ReAuthTimeout 15; 21 | AuthGraceTime 120; 22 | OperTimeout 9; 23 | ReKeyTimeout 10; 24 | TEKGraceTime 600; 25 | } 26 | MaxCPE 13; 27 | SwUpgradeServer 10.1.1.1; 28 | } 29 | -------------------------------------------------------------------------------- /examples/docsis1.0_basic_upgrade.txt: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | DownstreamFrequency 130000000; 4 | UpstreamChannelId 123; 5 | NetworkAccess 1; 6 | ClassOfService 7 | { 8 | ClassID 5; 9 | MaxRateDown 512000; 10 | MaxRateUp 64000; 11 | PriorityUp 3; 12 | GuaranteedUp 32000; 13 | MaxBurstUp 54314; 14 | PrivacyEnable 1; 15 | } 16 | SwUpgradeFilename "filename1.bin"; 17 | BaselinePrivacy 18 | { 19 | AuthTimeout 25; 20 | ReAuthTimeout 15; 21 | AuthGraceTime 120; 22 | OperTimeout 9; 23 | ReKeyTimeout 10; 24 | TEKGraceTime 600; 25 | } 26 | MaxCPE 13; 27 | SwUpgradeServer 10.1.1.1; 28 | /* CmMic e241803a16fa62269f90d6e1619a59d3; */ 29 | /* CmtsMic 41141948116bcc38f6a20ec485fcd0f2; */ 30 | /*EndOfDataMkr*/ 31 | } 32 | -------------------------------------------------------------------------------- /examples/docsis1.1_oss_v3coex.cfg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlaager/docsis/d6c9347e6035f8c43f4dff630b0b54e884294c1f/examples/docsis1.1_oss_v3coex.cfg -------------------------------------------------------------------------------- /examples/docsis1.1_simple.cfg: -------------------------------------------------------------------------------- 1 | Main { 2 | NetworkAccess 1; 3 | DownstreamFrequency 681000000; 4 | SwUpgradeServer 10.50.50.50; 5 | SwUpgradeFilename "SomeFile.bin"; 6 | MaxCPE 16; 7 | MaxClassifiers 20; 8 | GlobalPrivacyEnable 0; 9 | 10 | UsServiceFlow { 11 | UsServiceFlowRef 1; 12 | QosParamSetType 7; 13 | TrafficPriority 1; 14 | MaxRateSustained 256000; 15 | SchedulingType 2; 16 | RequestOrTxPolicy 0x0000008a; 17 | } 18 | 19 | DsServiceFlow { 20 | DsServiceFlowRef 101; 21 | QosParamSetType 7; 22 | TrafficPriority 1; 23 | MaxRateSustained 1000000; 24 | } 25 | 26 | } 27 | -------------------------------------------------------------------------------- /examples/docsis1.1_simple.txt: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | NetworkAccess 1; 4 | DownstreamFrequency 681000000; 5 | SwUpgradeServer 10.50.50.50; 6 | SwUpgradeFilename "SomeFile.bin"; 7 | MaxCPE 16; 8 | MaxClassifiers 20; 9 | GlobalPrivacyEnable 0; 10 | UsServiceFlow 11 | { 12 | UsServiceFlowRef 1; 13 | QosParamSetType 7; 14 | TrafficPriority 1; 15 | MaxRateSustained 256000; 16 | SchedulingType 2; 17 | RequestOrTxPolicy 0x0000008a; 18 | } 19 | DsServiceFlow 20 | { 21 | DsServiceFlowRef 101; 22 | QosParamSetType 7; 23 | TrafficPriority 1; 24 | MaxRateSustained 1000000; 25 | } 26 | /* CmMic 43f19c8d8b93b667a2bbb123a081ff6a; */ 27 | /* CmtsMic 0d0bbbc6fa59c362cf894ac16834772d; */ 28 | /*EndOfDataMkr*/ 29 | /* Pad */ 30 | } 31 | -------------------------------------------------------------------------------- /examples/docsis20_stresstest.cfg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlaager/docsis/d6c9347e6035f8c43f4dff630b0b54e884294c1f/examples/docsis20_stresstest.cfg -------------------------------------------------------------------------------- /examples/docsis3.0_ChannelAssignment.cfg: -------------------------------------------------------------------------------- 1 | Main { /* this is a comment */ 2 | NetworkAccess 1; 3 | /* this is a comment */ 4 | UsServiceFlow { 5 | UsServiceFlowRef 1; 6 | QosParamSetType 7; 7 | } 8 | /* this is a comment */ 9 | DsServiceFlow { 10 | DsServiceFlowRef 2; 11 | QosParamSetType 7; 12 | } 13 | ChannelAssignmentConfig { /* this is a comment */ 14 | CaTransmit 1; 15 | CaTransmit 10; 16 | CaReceive 410000000; 17 | CaReceive 418000000; 18 | CaReceive 426000000; 19 | CaReceive 434000000; 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /examples/docsis3.0_ChannelAssignment.txt: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | NetworkAccess 1; 4 | UsServiceFlow 5 | { 6 | UsServiceFlowRef 1; 7 | QosParamSetType 7; 8 | } 9 | DsServiceFlow 10 | { 11 | DsServiceFlowRef 2; 12 | QosParamSetType 7; 13 | } 14 | ChannelAssignmentConfig 15 | { 16 | CaTransmit 1; 17 | CaTransmit 10; 18 | CaReceive 410000000; 19 | CaReceive 418000000; 20 | CaReceive 426000000; 21 | CaReceive 434000000; 22 | } 23 | /* CmMic 95760f70759e16e320ad0a9162c05eef; */ 24 | /* CmtsMic 7b44894ccec0ef4dbd6a539f5c90666a; */ 25 | /*EndOfDataMkr*/ 26 | /* Pad */ 27 | } 28 | -------------------------------------------------------------------------------- /examples/docsis3.1_snmp_cvc.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlaager/docsis/d6c9347e6035f8c43f4dff630b0b54e884294c1f/examples/docsis3.1_snmp_cvc.bin -------------------------------------------------------------------------------- /examples/docsis_ipv6.cfg: -------------------------------------------------------------------------------- 1 | Main { /* this is a comment */ 2 | DownstreamFrequency 130000000; 3 | UpstreamChannelId 123; 4 | /* this is a comment */ 5 | NetworkAccess 1; 6 | ClassOfService { 7 | ClassID 5; 8 | MaxRateDown 512000; 9 | MaxRateUp 64000; 10 | PriorityUp 3 ; 11 | GuaranteedUp 32000; 12 | MaxBurstUp 54314; 13 | PrivacyEnable 1; 14 | } 15 | 16 | SwUpgradeFilename "filename1.bin"; 17 | 18 | BaselinePrivacy { 19 | AuthTimeout 25; 20 | ReAuthTimeout 15; 21 | AuthGraceTime 120; 22 | OperTimeout 9; 23 | ReKeyTimeout 10; 24 | TEKGraceTime 600; 25 | } 26 | MaxCPE 13; 27 | SwUpgradeServer 10.1.1.1; 28 | SwUpgradeServer6 2001:DB8::1; 29 | } 30 | -------------------------------------------------------------------------------- /examples/docsis_ipv6.txt: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | DownstreamFrequency 130000000; 4 | UpstreamChannelId 123; 5 | NetworkAccess 1; 6 | ClassOfService 7 | { 8 | ClassID 5; 9 | MaxRateDown 512000; 10 | MaxRateUp 64000; 11 | PriorityUp 3; 12 | GuaranteedUp 32000; 13 | MaxBurstUp 54314; 14 | PrivacyEnable 1; 15 | } 16 | SwUpgradeFilename "filename1.bin"; 17 | BaselinePrivacy 18 | { 19 | AuthTimeout 25; 20 | ReAuthTimeout 15; 21 | AuthGraceTime 120; 22 | OperTimeout 9; 23 | ReKeyTimeout 10; 24 | TEKGraceTime 600; 25 | } 26 | MaxCPE 13; 27 | SwUpgradeServer 10.1.1.1; 28 | SwUpgradeServer6 2001:db8::1; 29 | /* CmMic 775d20a2183878cd8351c58087183561; */ 30 | /* CmtsMic 81c6aa8340dab8e0d508fecf9c766fc4; */ 31 | /*EndOfDataMkr*/ 32 | /* Pad */ 33 | } 34 | -------------------------------------------------------------------------------- /examples/eDocsis_eRouter_InitMode_TR69.cfg: -------------------------------------------------------------------------------- 1 | Main { /* this is a comment */ 2 | NetworkAccess 1; 3 | /* this is a comment */ 4 | UsServiceFlow { 5 | UsServiceFlowRef 1; 6 | QosParamSetType 7; 7 | } 8 | /* this is a comment */ 9 | DsServiceFlow { 10 | DsServiceFlowRef 2; 11 | QosParamSetType 7; 12 | } 13 | eRouter { /* this is a comment */ 14 | InitializationMode 1; 15 | TR69ManagementServer { 16 | EnableCWMP 1; 17 | URL "https://www.example.com/index.xml"; 18 | Username "ExampleUsername"; 19 | Password "ExamplePassword"; 20 | ConnectionRequestUsername "ConnectionUsername"; 21 | ConnectionRequestPassword "ConnectionPassword"; 22 | ACSOverride 0; 23 | } 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /examples/eDocsis_eRouter_InitMode_TR69.txt: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | NetworkAccess 1; 4 | UsServiceFlow 5 | { 6 | UsServiceFlowRef 1; 7 | QosParamSetType 7; 8 | } 9 | DsServiceFlow 10 | { 11 | DsServiceFlowRef 2; 12 | QosParamSetType 7; 13 | } 14 | eRouter 15 | { 16 | InitializationMode 1; 17 | TR69ManagementServer 18 | { 19 | EnableCWMP 1; 20 | URL "https://www.example.com/index.xml"; 21 | Username "ExampleUsername"; 22 | Password "ExamplePassword"; 23 | ConnectionRequestUsername "ConnectionUsername"; 24 | ConnectionRequestPassword "ConnectionPassword"; 25 | ACSOverride 0; 26 | } 27 | } 28 | /* CmMic 25a823457d112076a8b586b687f27f41; */ 29 | /* CmtsMic 53f14d37898ced37ba933798019dadd7; */ 30 | /*EndOfDataMkr*/ 31 | } 32 | -------------------------------------------------------------------------------- /examples/keyfile: -------------------------------------------------------------------------------- 1 | DOCSIS 2 | -------------------------------------------------------------------------------- /examples/packetcable_digitmap.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlaager/docsis/d6c9347e6035f8c43f4dff630b0b54e884294c1f/examples/packetcable_digitmap.bin -------------------------------------------------------------------------------- /examples/packetcable_mta.cfg: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | MtaConfigDelimiter 1; 4 | SnmpMibObject pktcSigDefCallSigTos.0 Integer 26 ; 5 | SnmpMibObject pktcSigDefMediaStreamTos.0 Integer 46 ; 6 | SnmpMibObject pktcSigTosFormatSelector.0 Integer 2; /* dscpCodepoint */ 7 | SnmpMibObject pktcNcsEndPntConfigCallAgentId.9 String "[192.168.28.40]" ; 8 | SnmpMibObject pktcNcsEndPntConfigCallAgentId.10 String "[192.168.28.40]" ; 9 | SnmpMibObject pktcMtaDevCmsIpsecCtrl.'[192.168.28.40]' Integer 2; 10 | SnmpMibObject pktcMtaDevEnabled.0 Integer 1; /* true */ 11 | SnmpMibObject pktcMtaDevCmsKerbRealmName.'[192.168.28.40]' String "REALM.COM" ; 12 | SnmpMibObject pktcMtaDevRealmOrgName.'REALM.COM' String "Really Amazing Telephone Company" ; 13 | SnmpMibObject pktcNcsEndPntConfigCallAgentUdpPort.9 Integer 2427 ; 14 | SnmpMibObject pktcNcsEndPntConfigCallAgentUdpPort.10 Integer 2427 ; 15 | SnmpMibObject pktcNcsEndPntConfigMWD.9 Integer 2 ; 16 | SnmpMibObject pktcNcsEndPntConfigMWD.10 Integer 2 ; 17 | SnmpMibObject pktcSigDevRgCadence.0 HexString 0x003ff00000000000 ; 18 | MtaConfigDelimiter 255; 19 | } 20 | -------------------------------------------------------------------------------- /examples/packetcable_mta.txt: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | MtaConfigDelimiter 1; 4 | SnmpMibObject pktcSigDefCallSigTos.0 Integer 26; 5 | SnmpMibObject pktcSigDefMediaStreamTos.0 Integer 46; 6 | SnmpMibObject pktcSigTosFormatSelector.0 Integer 2; /* dscpCodepoint */ 7 | SnmpMibObject pktcNcsEndPntConfigCallAgentId.9 String "[192.168.28.40]"; 8 | SnmpMibObject pktcNcsEndPntConfigCallAgentId.10 String "[192.168.28.40]"; 9 | SnmpMibObject pktcMtaDevCmsIpsecCtrl.'[192.168.28.40]' Integer 2; /* false */ 10 | SnmpMibObject pktcMtaDevEnabled.0 Integer 1; /* true */ 11 | SnmpMibObject pktcMtaDevCmsKerbRealmName.'[192.168.28.40]' String "REALM.COM"; 12 | SnmpMibObject pktcMtaDevRealmOrgName.'REALM.COM' String "Really Amazing Telephone Company"; 13 | SnmpMibObject pktcNcsEndPntConfigCallAgentUdpPort.9 Integer 2427; 14 | SnmpMibObject pktcNcsEndPntConfigCallAgentUdpPort.10 Integer 2427; 15 | SnmpMibObject pktcNcsEndPntConfigMWD.9 Integer 2; 16 | SnmpMibObject pktcNcsEndPntConfigMWD.10 Integer 2; 17 | SnmpMibObject pktcSigDevRgCadence.0 HexString 0x003ff00000000000; 18 | MtaConfigDelimiter 255; 19 | } 20 | -------------------------------------------------------------------------------- /examples/ptp.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlaager/docsis/d6c9347e6035f8c43f4dff630b0b54e884294c1f/examples/ptp.bin -------------------------------------------------------------------------------- /examples/ptp.txt: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | NetworkAccess 1; 4 | UsServiceFlow 5 | { 6 | UsServiceFlowRef 1; 7 | QosParamSetType 7; 8 | } 9 | DsServiceFlow 10 | { 11 | DsServiceFlowRef 2; 12 | QosParamSetType 7; 13 | } 14 | DOCSISSyncConfigurations 15 | { 16 | PTPMasterClockEnable 1; /* Enabled */ 17 | PTPProfileConfiguration 3; /* ITU-T G.8275.2 */ 18 | PTPMaxNumberofClockSlavesConfiguration 255; 19 | SyncEClockEnable 2; /* Disabled */ 20 | } 21 | PTPAddressConfigurations 22 | { 23 | PTPSourceIPAddressConfiguration fd10:10:2::4; 24 | CMTSPTPIPAddressConfiguration 10.10.2.4; 25 | PTPDestMulticastMACAddressConfiguration B4:EE:B4:05:06:07; 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /examples/testcosignercvc.der: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlaager/docsis/d6c9347e6035f8c43f4dff630b0b54e884294c1f/examples/testcosignercvc.der -------------------------------------------------------------------------------- /examples/testmanufacturercvc.der: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlaager/docsis/d6c9347e6035f8c43f4dff630b0b54e884294c1f/examples/testmanufacturercvc.der -------------------------------------------------------------------------------- /mibs/CLAB-ANI-DEV-MIB: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlaager/docsis/d6c9347e6035f8c43f4dff630b0b54e884294c1f/mibs/CLAB-ANI-DEV-MIB -------------------------------------------------------------------------------- /mibs/CLAB-TOPO-MIB: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlaager/docsis/d6c9347e6035f8c43f4dff630b0b54e884294c1f/mibs/CLAB-TOPO-MIB -------------------------------------------------------------------------------- /mibs/Makefile.am: -------------------------------------------------------------------------------- 1 | mibsdir = $(NETSNMP_MIBPATH) 2 | mibs_DATA = \ 3 | CLAB-DEF-MIB \ 4 | CLAB-DNS-MIB \ 5 | CLAB-GW-MIB \ 6 | DIFFSERV-DSCP-TC \ 7 | DIFFSERV-MIB \ 8 | DOCS-BPI2EXT-MIB \ 9 | DOCS-BPI2-MIB \ 10 | DOCS-BPI-MIB \ 11 | DOCS-CABLE-DEVICE-MIB \ 12 | DOCS-CABLE-DEVICE-TRAP-MIB \ 13 | DOCS-IETF-BPI2-MIB \ 14 | DOCS-IF31-MIB \ 15 | DOCS-IF3-MIB \ 16 | DOCS-IF-EXT-MIB \ 17 | DOCS-IF-MIB \ 18 | DOCS-MCAST-MIB \ 19 | DOCS-PNM-MIB \ 20 | DOCS-QOS-MIB \ 21 | DOCS-SEC-MIB \ 22 | DOCS-SUBMGT-MIB \ 23 | IGMP-STD-MIB \ 24 | INTEGRATED-SERVICES-MIB \ 25 | PKTC-EVENT-MIB \ 26 | PKTC-IETF-SIG-MIB \ 27 | PKTC-MTA-MIB \ 28 | PKTC-SIG-MIB \ 29 | RMON2-MIB \ 30 | TOKEN-RING-RMON-MIB 31 | EXTRA_DIST = $(mibs_DATA) 32 | -------------------------------------------------------------------------------- /mibs/PKTC-EVENT-MIB: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlaager/docsis/d6c9347e6035f8c43f4dff630b0b54e884294c1f/mibs/PKTC-EVENT-MIB -------------------------------------------------------------------------------- /mibs/ietf/RFC-1215: -------------------------------------------------------------------------------- 1 | RFC-1215 DEFINITIONS ::= BEGIN 2 | 3 | IMPORTS 4 | ObjectName 5 | FROM RFC1155-SMI; 6 | 7 | TRAP-TYPE MACRO ::= 8 | BEGIN 9 | TYPE NOTATION ::= "ENTERPRISE" value 10 | (enterprise OBJECT IDENTIFIER) 11 | VarPart 12 | DescrPart 13 | ReferPart 14 | VALUE NOTATION ::= value (VALUE INTEGER) 15 | 16 | VarPart ::= 17 | "VARIABLES" "{" VarTypes "}" 18 | | empty 19 | VarTypes ::= 20 | VarType | VarTypes "," VarType 21 | VarType ::= 22 | value (vartype ObjectName) 23 | 24 | DescrPart ::= 25 | "DESCRIPTION" value (description DisplayString) 26 | | empty 27 | 28 | ReferPart ::= 29 | "REFERENCE" value (reference DisplayString) 30 | | empty 31 | 32 | END 33 | 34 | END 35 | -------------------------------------------------------------------------------- /src/Makefile.am: -------------------------------------------------------------------------------- 1 | bin_PROGRAMS = docsis 2 | docsis_SOURCES = docsis.c ethermac.c md5.c docsis_encode.c docsis_decode.c docsis_snmp.c docsis_yy.y docsis_lex.l hmac_md5.c sha1.c 3 | 4 | # set the include path found by configure 5 | AM_CPPFLAGS = $(all_includes) $(NETSNMP_CFLAGS) 6 | 7 | # the library search path. 8 | docsis_LDADD = $(all_libraries) $(NETSNMP_LIBS) $(LEXLIB) $(LIBM) 9 | noinst_HEADERS = ethermac.h md5.h docsis.h docsis_common.h docsis_decode.h docsis_encode.h docsis_symtable.h docsis_snmp.h docsis_globals.h sha1.h 10 | EXTRA_DIST=docsis_yy.h 11 | CLEANFILES=docsis_yy.c docsis_yy.h docsis_yy.output docsis_lex.c 12 | DISTCLEANFILES=Makefile 13 | 14 | -------------------------------------------------------------------------------- /src/keyfile: -------------------------------------------------------------------------------- 1 | DOCSIS 2 | -------------------------------------------------------------------------------- /tests/BaseConfig.cm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlaager/docsis/d6c9347e6035f8c43f4dff630b0b54e884294c1f/tests/BaseConfig.cm -------------------------------------------------------------------------------- /tests/BaseConfig.conf: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | NetworkAccess 1; 4 | UsServiceFlow 5 | { 6 | UsServiceFlowRef 1; 7 | QosParamSetType 7; 8 | } 9 | DsServiceFlow 10 | { 11 | DsServiceFlowRef 2; 12 | QosParamSetType 7; 13 | } 14 | /* CmMic 1a3ba2e7666290b9725605718c01f967; */ 15 | /* CmtsMic cb5b0055aad79103519691cca2cbbe0f; */ 16 | /*EndOfDataMkr*/ 17 | /* Pad */ 18 | } 19 | -------------------------------------------------------------------------------- /tests/BaseConfig.txt: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | NetworkAccess 1; 4 | UsServiceFlow 5 | { 6 | UsServiceFlowRef 1; 7 | QosParamSetType 7; 8 | } 9 | DsServiceFlow 10 | { 11 | DsServiceFlowRef 2; 12 | QosParamSetType 7; 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /tests/PHS_last_tlvs.cm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlaager/docsis/d6c9347e6035f8c43f4dff630b0b54e884294c1f/tests/PHS_last_tlvs.cm -------------------------------------------------------------------------------- /tests/PHS_last_tlvs.conf: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | NetworkAccess 1; 4 | UsServiceFlow 5 | { 6 | UsServiceFlowRef 1; 7 | QosParamSetType 7; 8 | } 9 | DsServiceFlow 10 | { 11 | DsServiceFlowRef 2; 12 | QosParamSetType 7; 13 | } 14 | PHS 15 | { 16 | PHSClassifierRef 1; 17 | PHSDSCAction 1; 18 | PHSDBCAction 1; 19 | } 20 | /* CmMic 69c4ac44fe830e648e3b211233587bb2; */ 21 | /* CmtsMic 35683985272eb1c911b7c643f749e6db; */ 22 | /*EndOfDataMkr*/ 23 | /* Pad */ 24 | } 25 | -------------------------------------------------------------------------------- /tests/PHS_last_tlvs.txt: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | NetworkAccess 1; 4 | UsServiceFlow 5 | { 6 | UsServiceFlowRef 1; 7 | QosParamSetType 7; 8 | } 9 | DsServiceFlow 10 | { 11 | DsServiceFlowRef 2; 12 | QosParamSetType 7; 13 | } 14 | PHS 15 | { 16 | PHSClassifierRef 1; 17 | PHSDSCAction 1; 18 | PHSDBCAction 1; 19 | } 20 | /* CmMic feda4e054921d449f4ae1d71eacaf37a; */ 21 | /* CmtsMic 8d57b4bc2fd39f7598c921f89e6510c6; */ 22 | /*EndOfDataMkr*/ 23 | } 24 | -------------------------------------------------------------------------------- /tests/PacketCable_TLV64.cm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlaager/docsis/d6c9347e6035f8c43f4dff630b0b54e884294c1f/tests/PacketCable_TLV64.cm -------------------------------------------------------------------------------- /tests/PacketCable_TLV64.conf: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | MtaConfigDelimiter 1; 4 | SnmpMibObject enterprises.4115.11.1.2.1 String "000|106|101|[*#]xx#|*#xx#|*xx.#|*xx.*x.#|##|183[12]|11xx|12xxx.[t#]|130xxxxxxx|13[1-35-9]xxx|134[0-46-9]xx|1345xxxx|1[89]0[012]xxxxxx|180[2-9]xxx|[45689]xxxxxxx|0198xxxxxx|02[4689]xxxxxxx|03[45689]xxxxxxx|04xxxxxxxx|07[3459]xxxxxxx|08xxxxxxxx|0011x.[t#]000|106|101|[*#]xx#|*#xx#|*xx.#|*xx.*x.#|##|183[12]|11xx|12xxx.[t#]|130xxxxxxx|13[1-35-9]xxx|134[0-46-9]xx|1345xxxx|1[89]0[012]xxxxxx|180[2-9]xxx|[45689]xxxxxxx|0198xxxxxx|02[4689]xxxxxxx|03[45689]xxxxxxx|04xxxxxxxx|07[3459]xxxxxxx|08xxxxxxxx|0011x.[t#]"; 5 | MtaConfigDelimiter 255; 6 | } 7 | -------------------------------------------------------------------------------- /tests/PacketCable_TLV64.txt: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | MtaConfigDelimiter 1; 4 | SnmpMibObject enterprises.4115.11.1.2.1 String "000|106|101|[*#]xx#|*#xx#|*xx.#|*xx.*x.#|##|183[12]|11xx|12xxx.[t#]|130xxxxxxx|13[1-35-9]xxx|134[0-46-9]xx|1345xxxx|1[89]0[012]xxxxxx|180[2-9]xxx|[45689]xxxxxxx|0198xxxxxx|02[4689]xxxxxxx|03[45689]xxxxxxx|04xxxxxxxx|07[3459]xxxxxxx|08xxxxxxxx|0011x.[t#]000|106|101|[*#]xx#|*#xx#|*xx.#|*xx.*x.#|##|183[12]|11xx|12xxx.[t#]|130xxxxxxx|13[1-35-9]xxx|134[0-46-9]xx|1345xxxx|1[89]0[012]xxxxxx|180[2-9]xxx|[45689]xxxxxxx|0198xxxxxx|02[4689]xxxxxxx|03[45689]xxxxxxx|04xxxxxxxx|07[3459]xxxxxxx|08xxxxxxxx|0011x.[t#]"; 5 | MtaConfigDelimiter 255; 6 | } 7 | -------------------------------------------------------------------------------- /tests/StaticMulticastSession.cm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlaager/docsis/d6c9347e6035f8c43f4dff630b0b54e884294c1f/tests/StaticMulticastSession.cm -------------------------------------------------------------------------------- /tests/StaticMulticastSession.conf: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | NetworkAccess 1; 4 | UsServiceFlow 5 | { 6 | UsServiceFlowRef 1; 7 | QosParamSetType 7; 8 | } 9 | DsServiceFlow 10 | { 11 | DsServiceFlowRef 2; 12 | QosParamSetType 7; 13 | } 14 | CMTSStaticMulticastSessionEncodings 15 | { 16 | CMTSStaticMulticastSessionGroup 1.2.3.4; 17 | CMTSStaticMulticastSessionSource 5.6.7.8; 18 | CMTSStaticMulticastSessionCMIM 0xaabb; 19 | } 20 | /* CmMic d11cc663cd9b6b02070030cc0f7ddfd1; */ 21 | /* CmtsMic beab0af9777313eb3de54d983dc35807; */ 22 | /*EndOfDataMkr*/ 23 | } 24 | -------------------------------------------------------------------------------- /tests/StaticMulticastSession.txt: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | NetworkAccess 1; 4 | UsServiceFlow 5 | { 6 | UsServiceFlowRef 1; 7 | QosParamSetType 7; 8 | } 9 | DsServiceFlow 10 | { 11 | DsServiceFlowRef 2; 12 | QosParamSetType 7; 13 | } 14 | CMTSStaticMulticastSessionEncodings 15 | { 16 | CMTSStaticMulticastSessionGroup 1.2.3.4; 17 | CMTSStaticMulticastSessionSource 5.6.7.8; 18 | CMTSStaticMulticastSessionCMIM 0xaabb; 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /tests/TLV37_SubMgmtFilters.cm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlaager/docsis/d6c9347e6035f8c43f4dff630b0b54e884294c1f/tests/TLV37_SubMgmtFilters.cm -------------------------------------------------------------------------------- /tests/TLV37_SubMgmtFilters.conf: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | SubMgmtFilters 0,1,2,3,4,5,6,7,8,9; 4 | NetworkAccess 1; 5 | UsServiceFlow 6 | { 7 | UsServiceFlowRef 1; 8 | QosParamSetType 7; 9 | } 10 | DsServiceFlow 11 | { 12 | DsServiceFlowRef 2; 13 | QosParamSetType 7; 14 | } 15 | /* CmMic 56f2d73c333048ffddb058d1fdc1c36c; */ 16 | /* CmtsMic 6b9f3a399cea33beb9f7ae66fbced903; */ 17 | /*EndOfDataMkr*/ 18 | } 19 | -------------------------------------------------------------------------------- /tests/TLV37_SubMgmtFilters.txt: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | SubMgmtFilters 0,1,2,3,4,5,6,7,8,9; 4 | NetworkAccess 1; 5 | UsServiceFlow 6 | { 7 | UsServiceFlowRef 1; 8 | QosParamSetType 7; 9 | } 10 | DsServiceFlow 11 | { 12 | DsServiceFlowRef 2; 13 | QosParamSetType 7; 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /tests/TLV41_DsChannelList.cm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlaager/docsis/d6c9347e6035f8c43f4dff630b0b54e884294c1f/tests/TLV41_DsChannelList.cm -------------------------------------------------------------------------------- /tests/TLV41_DsChannelList.conf: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | NetworkAccess 1; 4 | UsServiceFlow 5 | { 6 | UsServiceFlowRef 1; 7 | QosParamSetType 7; 8 | } 9 | DsServiceFlow 10 | { 11 | DsServiceFlowRef 2; 12 | QosParamSetType 7; 13 | } 14 | DsChannelList 15 | { 16 | SingleDsChannel 17 | { 18 | SingleDsTimeout 100; 19 | SingleDsFrequency 112000000; 20 | } 21 | DsFreqRange 22 | { 23 | DsFreqRangeTimeout 1000; 24 | DsFreqRangeStart 112000000; 25 | DsFreqRangeEnd 850000000; 26 | DsFreqRangeStepSize 8000000; 27 | } 28 | DefaultScanTimeout 10; 29 | } 30 | /* CmMic 8d7fd012b708208d654f0011e86db846; */ 31 | /* CmtsMic 472ea4e1adf12051a9eb5bac31f94fd6; */ 32 | /*EndOfDataMkr*/ 33 | } 34 | -------------------------------------------------------------------------------- /tests/TLV41_DsChannelList.txt: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | NetworkAccess 1; 4 | UsServiceFlow 5 | { 6 | UsServiceFlowRef 1; 7 | QosParamSetType 7; 8 | } 9 | DsServiceFlow 10 | { 11 | DsServiceFlowRef 2; 12 | QosParamSetType 7; 13 | } 14 | DsChannelList 15 | { 16 | SingleDsChannel 17 | { 18 | SingleDsTimeout 100; 19 | SingleDsFrequency 112000000; 20 | } 21 | DsFreqRange 22 | { 23 | DsFreqRangeTimeout 1000; 24 | DsFreqRangeStart 112000000; 25 | DsFreqRangeEnd 850000000; 26 | DsFreqRangeStepSize 8000000; 27 | } 28 | DefaultScanTimeout 10; 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /tests/TLV63_SubMgmtControl6.cm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlaager/docsis/d6c9347e6035f8c43f4dff630b0b54e884294c1f/tests/TLV63_SubMgmtControl6.cm -------------------------------------------------------------------------------- /tests/TLV63_SubMgmtControl6.conf: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | NetworkAccess 1; 4 | UsServiceFlow 5 | { 6 | UsServiceFlowRef 1; 7 | QosParamSetType 7; 8 | } 9 | DsServiceFlow 10 | { 11 | DsServiceFlowRef 2; 12 | QosParamSetType 7; 13 | } 14 | SubMgmtControl6 20; 15 | /* CmMic f2b4ad8ac4b82d47f0362c5efef700a0; */ 16 | /* CmtsMic f7207c88ef10576250dd0100ee853ea0; */ 17 | /*EndOfDataMkr*/ 18 | /* Pad */ 19 | } 20 | -------------------------------------------------------------------------------- /tests/TLV63_SubMgmtControl6.txt: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | NetworkAccess 1; 4 | UsServiceFlow 5 | { 6 | UsServiceFlowRef 1; 7 | QosParamSetType 7; 8 | } 9 | DsServiceFlow 10 | { 11 | DsServiceFlowRef 2; 12 | QosParamSetType 7; 13 | } 14 | SubMgmtControl6 20; 15 | } 16 | -------------------------------------------------------------------------------- /tests/TLV_22_43_10_IPMulticastJoinAuthorization.cm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlaager/docsis/d6c9347e6035f8c43f4dff630b0b54e884294c1f/tests/TLV_22_43_10_IPMulticastJoinAuthorization.cm -------------------------------------------------------------------------------- /tests/TLV_22_43_10_IPMulticastJoinAuthorization.conf: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | UsPacketClass 4 | { 5 | VendorSpecific 6 | { 7 | VendorIdentifier 0xffffff; 8 | IPMulticastJoinAuthorization 9 | { 10 | IPMulticastProfileName "profileName"; 11 | IPMulticastJoinAuthStaticSessionRule 12 | { 13 | MulticastRulePriority 0; 14 | AuthorizationAction 0; 15 | SourcePrefixAddress 1.2.3.4; 16 | SourcePrefixLength 32; 17 | GroupPrefixAddress 2002::2:1; 18 | GroupPrefixLength 128; 19 | } 20 | MaximumMulticastSessions 1; 21 | } 22 | } 23 | ClassifierRef 1; 24 | ServiceFlowRef 1; 25 | } 26 | NetworkAccess 1; 27 | UsServiceFlow 28 | { 29 | UsServiceFlowRef 1; 30 | QosParamSetType 7; 31 | } 32 | DsServiceFlow 33 | { 34 | DsServiceFlowRef 2; 35 | QosParamSetType 7; 36 | } 37 | /* CmMic ebd676e10c63c3b86f2ce37467041401; */ 38 | /* CmtsMic 68b5a1fa883dd50c78970fdea0e417e7; */ 39 | /*EndOfDataMkr*/ 40 | } 41 | -------------------------------------------------------------------------------- /tests/TLV_22_43_10_IPMulticastJoinAuthorization.txt: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | UsPacketClass 4 | { 5 | VendorSpecific 6 | { 7 | VendorIdentifier 0xffffff; 8 | IPMulticastJoinAuthorization 9 | { 10 | IPMulticastProfileName "profileName"; 11 | IPMulticastJoinAuthStaticSessionRule 12 | { 13 | MulticastRulePriority 0; 14 | AuthorizationAction 0; 15 | SourcePrefixAddress 1.2.3.4; 16 | SourcePrefixLength 32; 17 | GroupPrefixAddress 2002::2:1; 18 | GroupPrefixLength 128; 19 | } 20 | MaximumMulticastSessions 1; 21 | } 22 | } 23 | ClassifierRef 1; 24 | ServiceFlowRef 1; 25 | } 26 | NetworkAccess 1; 27 | UsServiceFlow 28 | { 29 | UsServiceFlowRef 1; 30 | QosParamSetType 7; 31 | } 32 | DsServiceFlow 33 | { 34 | DsServiceFlowRef 2; 35 | QosParamSetType 7; 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /tests/TLV_22_43_12_DEMARCAutoConfiguration.cm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlaager/docsis/d6c9347e6035f8c43f4dff630b0b54e884294c1f/tests/TLV_22_43_12_DEMARCAutoConfiguration.cm -------------------------------------------------------------------------------- /tests/TLV_22_43_12_DEMARCAutoConfiguration.conf: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | UsPacketClass 4 | { 5 | VendorSpecific 6 | { 7 | VendorIdentifier 0xffffff; 8 | ServiceTypeIdentifier "basic"; 9 | DEMARCAutoConfiguration 10 | { 11 | DACDisableEnableConfig 1; 12 | CMIMEncoding 0x0102; 13 | UpstreamServiceClassName "string1"; 14 | DownstreamServiceClassName "string2"; 15 | } 16 | } 17 | ClassifierRef 1; 18 | ServiceFlowRef 1; 19 | } 20 | NetworkAccess 1; 21 | UsServiceFlow 22 | { 23 | UsServiceFlowRef 1; 24 | QosParamSetType 7; 25 | } 26 | DsServiceFlow 27 | { 28 | DsServiceFlowRef 2; 29 | QosParamSetType 7; 30 | } 31 | /* CmMic f22cec02e72c1eaba4b8aa3bfde6f203; */ 32 | /* CmtsMic d98ad95b3a2ed394f2e5eb928a187545; */ 33 | /*EndOfDataMkr*/ 34 | /* Pad */ 35 | } 36 | -------------------------------------------------------------------------------- /tests/TLV_22_43_12_DEMARCAutoConfiguration.txt: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | UsPacketClass 4 | { 5 | VendorSpecific 6 | { 7 | VendorIdentifier 0xffffff; 8 | ServiceTypeIdentifier "basic"; 9 | DEMARCAutoConfiguration 10 | { 11 | DACDisableEnableConfig 1; 12 | CMIMEncoding 0x0102; 13 | UpstreamServiceClassName "string1"; 14 | DownstreamServiceClassName "string2"; 15 | } 16 | } 17 | ClassifierRef 1; 18 | ServiceFlowRef 1; 19 | } 20 | NetworkAccess 1; 21 | UsServiceFlow 22 | { 23 | UsServiceFlowRef 1; 24 | QosParamSetType 7; 25 | } 26 | DsServiceFlow 27 | { 28 | DsServiceFlowRef 2; 29 | QosParamSetType 7; 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /tests/TLV_22_43_1_CMLoadBalancingPolicyID.cm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlaager/docsis/d6c9347e6035f8c43f4dff630b0b54e884294c1f/tests/TLV_22_43_1_CMLoadBalancingPolicyID.cm -------------------------------------------------------------------------------- /tests/TLV_22_43_1_CMLoadBalancingPolicyID.conf: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | UsPacketClass 4 | { 5 | VendorSpecific 6 | { 7 | VendorIdentifier 0xffffff; 8 | CMLoadBalancingPolicyID 1; 9 | } 10 | ClassifierRef 1; 11 | ServiceFlowRef 1; 12 | } 13 | NetworkAccess 1; 14 | UsServiceFlow 15 | { 16 | UsServiceFlowRef 1; 17 | QosParamSetType 7; 18 | } 19 | DsServiceFlow 20 | { 21 | DsServiceFlowRef 2; 22 | QosParamSetType 7; 23 | } 24 | /* CmMic 1ee30a5b0e4fc7145c100334f629f6a9; */ 25 | /* CmtsMic 6fb8b4bfc5418367a83990f7d7a9a094; */ 26 | /*EndOfDataMkr*/ 27 | } 28 | -------------------------------------------------------------------------------- /tests/TLV_22_43_1_CMLoadBalancingPolicyID.txt: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | UsPacketClass 4 | { 5 | VendorSpecific 6 | { 7 | VendorIdentifier 0xffffff; 8 | CMLoadBalancingPolicyID 1; 9 | } 10 | ClassifierRef 1; 11 | ServiceFlowRef 1; 12 | } 13 | NetworkAccess 1; 14 | UsServiceFlow 15 | { 16 | UsServiceFlowRef 1; 17 | QosParamSetType 7; 18 | } 19 | DsServiceFlow 20 | { 21 | DsServiceFlowRef 2; 22 | QosParamSetType 7; 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /tests/TLV_22_43_2_AND_3.cm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlaager/docsis/d6c9347e6035f8c43f4dff630b0b54e884294c1f/tests/TLV_22_43_2_AND_3.cm -------------------------------------------------------------------------------- /tests/TLV_22_43_2_AND_3.conf: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | NetworkAccess 1; 4 | UsServiceFlow 5 | { 6 | UsServiceFlowRef 1; 7 | QosParamSetType 7; 8 | } 9 | DsServiceFlow 10 | { 11 | DsServiceFlowRef 2; 12 | QosParamSetType 7; 13 | } 14 | UsPacketClass 15 | { 16 | VendorSpecific 17 | { 18 | VendorIdentifier 0xffffff; 19 | CMLoadBalancingPriority 1; 20 | CMLoadBalancingGroupID 1; 21 | } 22 | ClassifierRef 1; 23 | ServiceFlowRef 1; 24 | } 25 | /* CmMic eeaee880f0476c1a52c87e7869eb339a; */ 26 | /* CmtsMic 44c36771e83efbe9f58d5a895fe5720f; */ 27 | /*EndOfDataMkr*/ 28 | /* Pad */ 29 | } 30 | -------------------------------------------------------------------------------- /tests/TLV_22_43_2_AND_3.txt: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | NetworkAccess 1; 4 | UsServiceFlow 5 | { 6 | UsServiceFlowRef 1; 7 | QosParamSetType 7; 8 | } 9 | DsServiceFlow 10 | { 11 | DsServiceFlowRef 2; 12 | QosParamSetType 7; 13 | } 14 | UsPacketClass 15 | { 16 | VendorSpecific 17 | { 18 | VendorIdentifier 0xffffff; 19 | CMLoadBalancingPriority 1; 20 | CMLoadBalancingGroupID 1; 21 | } 22 | ClassifierRef 1; 23 | ServiceFlowRef 1; 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /tests/TLV_22_43_4.cm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlaager/docsis/d6c9347e6035f8c43f4dff630b0b54e884294c1f/tests/TLV_22_43_4.cm -------------------------------------------------------------------------------- /tests/TLV_22_43_4.conf: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | NetworkAccess 1; 4 | UsServiceFlow 5 | { 6 | UsServiceFlowRef 1; 7 | QosParamSetType 7; 8 | } 9 | DsServiceFlow 10 | { 11 | DsServiceFlowRef 2; 12 | QosParamSetType 7; 13 | } 14 | UsPacketClass 15 | { 16 | VendorSpecific 17 | { 18 | VendorIdentifier 0xffffff; 19 | CMLoadBalancingPriority 1; 20 | CMLoadBalancingGroupID 1; 21 | CMRangingClassIDExtension 1; 22 | } 23 | ClassifierRef 1; 24 | ServiceFlowRef 1; 25 | } 26 | /* CmMic 71a846ff23d830e0e727c61faf855399; */ 27 | /* CmtsMic 313b9e221df9fb1447ee6e7639d25371; */ 28 | /*EndOfDataMkr*/ 29 | /* Pad */ 30 | } 31 | -------------------------------------------------------------------------------- /tests/TLV_22_43_4.txt: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | NetworkAccess 1; 4 | UsServiceFlow 5 | { 6 | UsServiceFlowRef 1; 7 | QosParamSetType 7; 8 | } 9 | DsServiceFlow 10 | { 11 | DsServiceFlowRef 2; 12 | QosParamSetType 7; 13 | } 14 | UsPacketClass 15 | { 16 | VendorSpecific 17 | { 18 | VendorIdentifier 0xffffff; 19 | CMLoadBalancingPriority 1; 20 | CMLoadBalancingGroupID 1; 21 | CMRangingClassIDExtension 1; 22 | } 23 | ClassifierRef 1; 24 | ServiceFlowRef 1; 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /tests/TLV_22_43_5_10_and_12.cm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlaager/docsis/d6c9347e6035f8c43f4dff630b0b54e884294c1f/tests/TLV_22_43_5_10_and_12.cm -------------------------------------------------------------------------------- /tests/TLV_22_43_5_10_and_12.conf: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | NetworkAccess 1; 4 | UsServiceFlow 5 | { 6 | UsServiceFlowRef 1; 7 | QosParamSetType 7; 8 | } 9 | DsServiceFlow 10 | { 11 | DsServiceFlowRef 2; 12 | QosParamSetType 7; 13 | } 14 | UsPacketClass 15 | { 16 | VendorSpecific 17 | { 18 | VendorIdentifier 0xffffff; 19 | L2VPNEncoding 20 | { 21 | L2VPNSADescriptorSubtype 0x0102030405060708091011121314; 22 | PseudowireType 5; 23 | } 24 | } 25 | ClassifierRef 1; 26 | ServiceFlowRef 1; 27 | } 28 | /* CmMic bc746b93b945c4bf12fdd80c1eb07723; */ 29 | /* CmtsMic 9867f383634d9b5a507dc097ec1d9f4e; */ 30 | /*EndOfDataMkr*/ 31 | } 32 | -------------------------------------------------------------------------------- /tests/TLV_22_43_5_10_and_12.txt: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | NetworkAccess 1; 4 | UsServiceFlow 5 | { 6 | UsServiceFlowRef 1; 7 | QosParamSetType 7; 8 | } 9 | DsServiceFlow 10 | { 11 | DsServiceFlowRef 2; 12 | QosParamSetType 7; 13 | } 14 | UsPacketClass 15 | { 16 | VendorSpecific 17 | { 18 | VendorIdentifier 0xffffff; 19 | L2VPNEncoding 20 | { 21 | L2VPNSADescriptorSubtype 0x0102030405060708091011121314; 22 | PseudowireType 5; 23 | } 24 | } 25 | ClassifierRef 1; 26 | ServiceFlowRef 1; 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /tests/TLV_22_43_5_13_L2VPNMode.cm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlaager/docsis/d6c9347e6035f8c43f4dff630b0b54e884294c1f/tests/TLV_22_43_5_13_L2VPNMode.cm -------------------------------------------------------------------------------- /tests/TLV_22_43_5_13_L2VPNMode.conf: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | NetworkAccess 1; 4 | UsServiceFlow 5 | { 6 | UsServiceFlowRef 1; 7 | QosParamSetType 7; 8 | } 9 | DsServiceFlow 10 | { 11 | DsServiceFlowRef 2; 12 | QosParamSetType 7; 13 | } 14 | UsPacketClass 15 | { 16 | VendorSpecific 17 | { 18 | VendorIdentifier 0xffffff; 19 | L2VPNEncoding 20 | { 21 | L2VPNMode 1; 22 | } 23 | } 24 | ClassifierRef 1; 25 | ServiceFlowRef 1; 26 | } 27 | /* CmMic d5dd14f99e070bd6bdaf33567e7a2c06; */ 28 | /* CmtsMic 80a51dfea4ea3802a30b671a13498d34; */ 29 | /*EndOfDataMkr*/ 30 | } 31 | -------------------------------------------------------------------------------- /tests/TLV_22_43_5_13_L2VPNMode.txt: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | NetworkAccess 1; 4 | UsServiceFlow 5 | { 6 | UsServiceFlowRef 1; 7 | QosParamSetType 7; 8 | } 9 | DsServiceFlow 10 | { 11 | DsServiceFlowRef 2; 12 | QosParamSetType 7; 13 | } 14 | UsPacketClass 15 | { 16 | VendorSpecific 17 | { 18 | VendorIdentifier 0xffffff; 19 | L2VPNEncoding 20 | { 21 | L2VPNMode 1; 22 | } 23 | } 24 | ClassifierRef 1; 25 | ServiceFlowRef 1; 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /tests/TLV_22_43_5_14_DPoE.cm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlaager/docsis/d6c9347e6035f8c43f4dff630b0b54e884294c1f/tests/TLV_22_43_5_14_DPoE.cm -------------------------------------------------------------------------------- /tests/TLV_22_43_5_14_DPoE.txt: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | NetworkAccess 1; 4 | UsServiceFlow 5 | { 6 | UsServiceFlowRef 1; 7 | QosParamSetType 7; 8 | } 9 | DsServiceFlow 10 | { 11 | DsServiceFlowRef 2; 12 | QosParamSetType 7; 13 | } 14 | UsPacketClass 15 | { 16 | VendorSpecific 17 | { 18 | VendorIdentifier 0xffffff; 19 | L2VPNEncoding 20 | { 21 | TPIDTranslation 22 | { 23 | UpstreamTPIDTranslation 0x0102; 24 | DownstreamTPIDTranslation 0x0102; 25 | UpstreamSTPIDTranslation 0x0102; 26 | DownstreamSTPIDTranslation 0x0102; 27 | UpstreamBTPIDTranslation 0x0102; 28 | DownstreamBTPIDTranslation 0x0102; 29 | UpstreamITPIDTranslation 0x0102; 30 | DownstreamITPIDTranslation 0x0102; 31 | } 32 | L2CPProcessing 33 | { 34 | L2CPTunnelMode 1; 35 | L2CPDMACAddress 00:11:22:33:44:55; 36 | L2CPOverwrotingDMACAddress 55:44:33:22:11:00; 37 | } 38 | DACDisableEnableConfiguration 1; 39 | PseudowireClass 0x010203; 40 | ServiceDelimiter 41 | { 42 | CVIDDelimiter 0x0102; 43 | SVIDDelimiter 0x0102; 44 | ISIDDelimiter 0x010203; 45 | BVIDDelimiter 0x0102; 46 | } 47 | VirtualSwitchInstanceEncoding 48 | { 49 | VPLSClass 0x0102; 50 | ETreeRole 1; 51 | ETreeRootVID 0x0102; 52 | ETreeLeafVID 0x0304; 53 | } 54 | } 55 | } 56 | ClassifierRef 1; 57 | ServiceFlowRef 1; 58 | } 59 | } 60 | -------------------------------------------------------------------------------- /tests/TLV_22_43_5_21_BGPAttribute.cm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlaager/docsis/d6c9347e6035f8c43f4dff630b0b54e884294c1f/tests/TLV_22_43_5_21_BGPAttribute.cm -------------------------------------------------------------------------------- /tests/TLV_22_43_5_21_BGPAttribute.conf: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | UsPacketClass 4 | { 5 | VendorSpecific 6 | { 7 | VendorIdentifier 0xffffff; 8 | L2VPNEncoding 9 | { 10 | BGPAttribute 11 | { 12 | BGPVPNID 1; 13 | RouteDistinguisher 0x0101010100000001; 14 | RouteTargetImport 0x000000010101010100000001010101010000000101010101; 15 | RouteTargetExport 0x00000001010101010000000101010101; 16 | CEIDVEID 5; 17 | } 18 | } 19 | } 20 | ClassifierRef 1; 21 | ServiceFlowRef 1; 22 | } 23 | NetworkAccess 1; 24 | UsServiceFlow 25 | { 26 | UsServiceFlowRef 1; 27 | QosParamSetType 7; 28 | } 29 | DsServiceFlow 30 | { 31 | DsServiceFlowRef 2; 32 | QosParamSetType 7; 33 | } 34 | /* CmMic cd15897b246c026e540f865b8793c839; */ 35 | /* CmtsMic 2ae17d46ff60a407644e982a08932560; */ 36 | /*EndOfDataMkr*/ 37 | /* Pad */ 38 | } 39 | -------------------------------------------------------------------------------- /tests/TLV_22_43_5_21_BGPAttribute.txt: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | UsPacketClass 4 | { 5 | VendorSpecific 6 | { 7 | VendorIdentifier 0xffffff; 8 | L2VPNEncoding 9 | { 10 | BGPAttribute 11 | { 12 | BGPVPNID 1; 13 | RouteDistinguisher 0x0101010100000001; 14 | RouteTargetImport 0x000000010101010100000001010101010000000101010101; 15 | RouteTargetExport 0x00000001010101010000000101010101; 16 | CEIDVEID 5; 17 | } 18 | } 19 | } 20 | ClassifierRef 1; 21 | ServiceFlowRef 1; 22 | } 23 | NetworkAccess 1; 24 | UsServiceFlow 25 | { 26 | UsServiceFlowRef 1; 27 | QosParamSetType 7; 28 | } 29 | DsServiceFlow 30 | { 31 | DsServiceFlowRef 2; 32 | QosParamSetType 7; 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /tests/TLV_22_43_5_23_PseudowireSignaling.cm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlaager/docsis/d6c9347e6035f8c43f4dff630b0b54e884294c1f/tests/TLV_22_43_5_23_PseudowireSignaling.cm -------------------------------------------------------------------------------- /tests/TLV_22_43_5_23_PseudowireSignaling.conf: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | NetworkAccess 1; 4 | UsServiceFlow 5 | { 6 | UsServiceFlowRef 1; 7 | QosParamSetType 7; 8 | } 9 | DsServiceFlow 10 | { 11 | DsServiceFlowRef 2; 12 | QosParamSetType 7; 13 | } 14 | UsPacketClass 15 | { 16 | VendorSpecific 17 | { 18 | VendorIdentifier 0xffffff; 19 | L2VPNEncoding 20 | { 21 | PseudowireSignaling 0; 22 | } 23 | } 24 | ClassifierRef 1; 25 | ServiceFlowRef 1; 26 | } 27 | /* CmMic 8ef89288faa0b62ae4f4a492d8f97115; */ 28 | /* CmtsMic 52675730f8831ffebc39731d48b291e1; */ 29 | /*EndOfDataMkr*/ 30 | } 31 | -------------------------------------------------------------------------------- /tests/TLV_22_43_5_23_PseudowireSignaling.txt: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | NetworkAccess 1; 4 | UsServiceFlow 5 | { 6 | UsServiceFlowRef 1; 7 | QosParamSetType 7; 8 | } 9 | DsServiceFlow 10 | { 11 | DsServiceFlowRef 2; 12 | QosParamSetType 7; 13 | } 14 | UsPacketClass 15 | { 16 | VendorSpecific 17 | { 18 | VendorIdentifier 0xffffff; 19 | L2VPNEncoding 20 | { 21 | PseudowireSignaling 0; 22 | } 23 | } 24 | ClassifierRef 1; 25 | ServiceFlowRef 1; 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /tests/TLV_22_43_5_24_SOAMSubtype.cm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlaager/docsis/d6c9347e6035f8c43f4dff630b0b54e884294c1f/tests/TLV_22_43_5_24_SOAMSubtype.cm -------------------------------------------------------------------------------- /tests/TLV_22_43_5_24_SOAMSubtype.txt: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | UsPacketClass 4 | { 5 | VendorSpecific 6 | { 7 | VendorIdentifier 0xffffff; 8 | L2VPNEncoding 9 | { 10 | SOAMSubtype 11 | { 12 | MEPConfiguration 13 | { 14 | MDLevel 1; 15 | MDName "MD Name"; 16 | MAName "MA Name"; 17 | MEPID 1024; 18 | } 19 | RemoteMEPConfiguration 20 | { 21 | RemoteMDLevel 2; 22 | RemoteMDName "MD Name"; 23 | RemoteMAName "MA Name"; 24 | RemoteMEPID 5; 25 | } 26 | FaultManagementConfiguration 27 | { 28 | ContinuityCheckMessages 2; 29 | LoopbackFunction 1; 30 | LinktraceFunction 1; 31 | } 32 | PerformanceManagementConfiguration 33 | { 34 | FrameDelayMeasurement 35 | { 36 | FrameDelayMeasurementEnable 1; 37 | FrameDelayMeasurementOneWayTwoWay 1; 38 | FrameDelayMeasurementTransmissionPeriodicity 120; 39 | } 40 | FrameLossMeasurement 41 | { 42 | FrameLossMeasurementEnable 1; 43 | FrameLossMeasurementTransmissionPeriodicity 120; 44 | } 45 | } 46 | } 47 | } 48 | } 49 | ClassifierRef 1; 50 | ServiceFlowRef 1; 51 | } 52 | NetworkAccess 1; 53 | UsServiceFlow 54 | { 55 | UsServiceFlowRef 1; 56 | QosParamSetType 7; 57 | } 58 | DsServiceFlow 59 | { 60 | DsServiceFlowRef 2; 61 | QosParamSetType 7; 62 | } 63 | } 64 | -------------------------------------------------------------------------------- /tests/TLV_22_43_5_26_L2VPNDSID.cm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlaager/docsis/d6c9347e6035f8c43f4dff630b0b54e884294c1f/tests/TLV_22_43_5_26_L2VPNDSID.cm -------------------------------------------------------------------------------- /tests/TLV_22_43_5_26_L2VPNDSID.conf: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | UsPacketClass 4 | { 5 | ClassifierRef 1; 6 | ServiceFlowRef 1; 7 | VendorSpecific 8 | { 9 | VendorIdentifier 0xffffff; 10 | L2VPNEncoding 11 | { 12 | L2VPNDSID 257; 13 | } 14 | } 15 | } 16 | NetworkAccess 1; 17 | UsServiceFlow 18 | { 19 | UsServiceFlowRef 1; 20 | QosParamSetType 7; 21 | } 22 | DsServiceFlow 23 | { 24 | DsServiceFlowRef 2; 25 | QosParamSetType 7; 26 | } 27 | /* CmMic 1118a9d412289e174e22a33eb82f8aa6; */ 28 | /* CmtsMic 5b501e4da3ef4844ff96cbe2c02ff47a; */ 29 | /*EndOfDataMkr*/ 30 | /* Pad */ 31 | } 32 | -------------------------------------------------------------------------------- /tests/TLV_22_43_5_26_L2VPNDSID.txt: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | UsPacketClass 4 | { 5 | ClassifierRef 1; 6 | ServiceFlowRef 1; 7 | VendorSpecific 8 | { 9 | VendorIdentifier 0xffffff; 10 | L2VPNEncoding 11 | { 12 | L2VPNDSID 257; 13 | } 14 | } 15 | } 16 | NetworkAccess 1; 17 | UsServiceFlow 18 | { 19 | UsServiceFlowRef 1; 20 | QosParamSetType 7; 21 | } 22 | DsServiceFlow 23 | { 24 | DsServiceFlowRef 2; 25 | QosParamSetType 7; 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /tests/TLV_22_43_5_2_1.cm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlaager/docsis/d6c9347e6035f8c43f4dff630b0b54e884294c1f/tests/TLV_22_43_5_2_1.cm -------------------------------------------------------------------------------- /tests/TLV_22_43_5_2_1.conf: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | NetworkAccess 1; 4 | UsServiceFlow 5 | { 6 | UsServiceFlowRef 1; 7 | QosParamSetType 7; 8 | } 9 | DsServiceFlow 10 | { 11 | DsServiceFlowRef 2; 12 | QosParamSetType 7; 13 | } 14 | UsPacketClass 15 | { 16 | VendorSpecific 17 | { 18 | VendorIdentifier 0xffffff; 19 | L2VPNEncoding 20 | { 21 | NSIEncapsulation 22 | { 23 | ServiceMultiplexingValueOther 0x00; 24 | } 25 | } 26 | } 27 | ClassifierRef 1; 28 | ServiceFlowRef 1; 29 | } 30 | /* CmMic 686b4233924b7809001ce7402d1d1366; */ 31 | /* CmtsMic a4710ae4fd0a1f1336aeb225b630dbe1; */ 32 | /*EndOfDataMkr*/ 33 | } 34 | -------------------------------------------------------------------------------- /tests/TLV_22_43_5_2_1.txt: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | NetworkAccess 1; 4 | UsServiceFlow 5 | { 6 | UsServiceFlowRef 1; 7 | QosParamSetType 7; 8 | } 9 | DsServiceFlow 10 | { 11 | DsServiceFlowRef 2; 12 | QosParamSetType 7; 13 | } 14 | UsPacketClass 15 | { 16 | VendorSpecific 17 | { 18 | VendorIdentifier 0xffffff; 19 | L2VPNEncoding 20 | { 21 | NSIEncapsulation 22 | { 23 | ServiceMultiplexingValueOther 0x00; 24 | } 25 | } 26 | } 27 | ClassifierRef 1; 28 | ServiceFlowRef 1; 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /tests/TLV_22_43_5_2_2_ServiceMultiplexingValueIEEE8021Q.cm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlaager/docsis/d6c9347e6035f8c43f4dff630b0b54e884294c1f/tests/TLV_22_43_5_2_2_ServiceMultiplexingValueIEEE8021Q.cm -------------------------------------------------------------------------------- /tests/TLV_22_43_5_2_2_ServiceMultiplexingValueIEEE8021Q.conf: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | UsPacketClass 4 | { 5 | VendorSpecific 6 | { 7 | VendorIdentifier 0xffffff; 8 | L2VPNEncoding 9 | { 10 | NSIEncapsulation 11 | { 12 | NSIEncapsulationSingleQTag 15; 13 | } 14 | } 15 | } 16 | ClassifierRef 1; 17 | ServiceFlowRef 1; 18 | } 19 | NetworkAccess 1; 20 | UsServiceFlow 21 | { 22 | UsServiceFlowRef 1; 23 | QosParamSetType 7; 24 | } 25 | DsServiceFlow 26 | { 27 | DsServiceFlowRef 2; 28 | QosParamSetType 7; 29 | } 30 | /* CmMic 84149283b81e152cae15b8cbc233f940; */ 31 | /* CmtsMic 16249d90cab47148afa37be772c5dad0; */ 32 | /*EndOfDataMkr*/ 33 | /* Pad */ 34 | } 35 | -------------------------------------------------------------------------------- /tests/TLV_22_43_5_2_2_ServiceMultiplexingValueIEEE8021Q.txt: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | UsPacketClass 4 | { 5 | VendorSpecific 6 | { 7 | VendorIdentifier 0xffffff; 8 | L2VPNEncoding 9 | { 10 | NSIEncapsulation 11 | { 12 | NSIEncapsulationSingleQTag 15; 13 | } 14 | } 15 | } 16 | ClassifierRef 1; 17 | ServiceFlowRef 1; 18 | } 19 | NetworkAccess 1; 20 | UsServiceFlow 21 | { 22 | UsServiceFlowRef 1; 23 | QosParamSetType 7; 24 | } 25 | DsServiceFlow 26 | { 27 | DsServiceFlowRef 2; 28 | QosParamSetType 7; 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /tests/TLV_22_43_5_2_3_ServiceMultiplexingValueIEEE8021ad.cm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlaager/docsis/d6c9347e6035f8c43f4dff630b0b54e884294c1f/tests/TLV_22_43_5_2_3_ServiceMultiplexingValueIEEE8021ad.cm -------------------------------------------------------------------------------- /tests/TLV_22_43_5_2_3_ServiceMultiplexingValueIEEE8021ad.conf: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | UsPacketClass 4 | { 5 | VendorSpecific 6 | { 7 | VendorIdentifier 0xffffff; 8 | L2VPNEncoding 9 | { 10 | NSIEncapsulation 11 | { 12 | NSIEncapsulationDualQTag 11,22; 13 | } 14 | } 15 | } 16 | ClassifierRef 1; 17 | ServiceFlowRef 1; 18 | } 19 | NetworkAccess 1; 20 | UsServiceFlow 21 | { 22 | UsServiceFlowRef 1; 23 | QosParamSetType 7; 24 | } 25 | DsServiceFlow 26 | { 27 | DsServiceFlowRef 2; 28 | QosParamSetType 7; 29 | } 30 | /* CmMic 2ca3fa3e29b0caca5075cd3271ef4ed6; */ 31 | /* CmtsMic e964f7f1b20636a4e5dc0c4e578b5e7c; */ 32 | /*EndOfDataMkr*/ 33 | } 34 | -------------------------------------------------------------------------------- /tests/TLV_22_43_5_2_3_ServiceMultiplexingValueIEEE8021ad.txt: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | UsPacketClass 4 | { 5 | VendorSpecific 6 | { 7 | VendorIdentifier 0xffffff; 8 | L2VPNEncoding 9 | { 10 | NSIEncapsulation 11 | { 12 | NSIEncapsulationDualQTag 11,22; 13 | } 14 | } 15 | } 16 | ClassifierRef 1; 17 | ServiceFlowRef 1; 18 | } 19 | NetworkAccess 1; 20 | UsServiceFlow 21 | { 22 | UsServiceFlowRef 1; 23 | QosParamSetType 7; 24 | } 25 | DsServiceFlow 26 | { 27 | DsServiceFlowRef 2; 28 | QosParamSetType 7; 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /tests/TLV_22_43_5_2_4_2_MPLSPeerIpAddress.cm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlaager/docsis/d6c9347e6035f8c43f4dff630b0b54e884294c1f/tests/TLV_22_43_5_2_4_2_MPLSPeerIpAddress.cm -------------------------------------------------------------------------------- /tests/TLV_22_43_5_2_4_2_MPLSPeerIpAddress.conf: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | NetworkAccess 1; 4 | UsServiceFlow 5 | { 6 | UsServiceFlowRef 1; 7 | QosParamSetType 7; 8 | } 9 | DsServiceFlow 10 | { 11 | DsServiceFlowRef 2; 12 | QosParamSetType 7; 13 | } 14 | UsPacketClass 15 | { 16 | VendorSpecific 17 | { 18 | VendorIdentifier 0xffffff; 19 | L2VPNEncoding 20 | { 21 | NSIEncapsulation 22 | { 23 | ServiceMultiplexingValueMPLSPW 24 | { 25 | MPLSPseudowireID 1; 26 | MPLSPeerIpAddress 1.1.1.1; 27 | MPLSPseudowireType 5; 28 | MPLSBackupPseudowireID 1; 29 | MPLSBackupPeerIpAddress 2002::2:1; 30 | } 31 | } 32 | } 33 | } 34 | ClassifierRef 1; 35 | ServiceFlowRef 1; 36 | } 37 | /* CmMic d4a9a5ceac27b51bd47ed7443008ec7c; */ 38 | /* CmtsMic bb367e7c388dbe1e3e261d015d3dac9c; */ 39 | /*EndOfDataMkr*/ 40 | /* Pad */ 41 | } 42 | -------------------------------------------------------------------------------- /tests/TLV_22_43_5_2_4_2_MPLSPeerIpAddress.txt: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | NetworkAccess 1; 4 | UsServiceFlow 5 | { 6 | UsServiceFlowRef 1; 7 | QosParamSetType 7; 8 | } 9 | DsServiceFlow 10 | { 11 | DsServiceFlowRef 2; 12 | QosParamSetType 7; 13 | } 14 | UsPacketClass 15 | { 16 | VendorSpecific 17 | { 18 | VendorIdentifier 0xffffff; 19 | L2VPNEncoding 20 | { 21 | NSIEncapsulation 22 | { 23 | ServiceMultiplexingValueMPLSPW 24 | { 25 | MPLSPseudowireID 1; 26 | MPLSPeerIpAddress 1.1.1.1; 27 | MPLSPseudowireType 5; 28 | MPLSBackupPseudowireID 1; 29 | MPLSBackupPeerIpAddress 2002::2:1; 30 | } 31 | } 32 | } 33 | } 34 | ClassifierRef 1; 35 | ServiceFlowRef 1; 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /tests/TLV_22_43_5_2_4_ServiceMultiplexingValueMPLSPW.cm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlaager/docsis/d6c9347e6035f8c43f4dff630b0b54e884294c1f/tests/TLV_22_43_5_2_4_ServiceMultiplexingValueMPLSPW.cm -------------------------------------------------------------------------------- /tests/TLV_22_43_5_2_4_ServiceMultiplexingValueMPLSPW.conf: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | UsPacketClass 4 | { 5 | VendorSpecific 6 | { 7 | VendorIdentifier 0xffffff; 8 | L2VPNEncoding 9 | { 10 | NSIEncapsulation 11 | { 12 | ServiceMultiplexingValueMPLSPW 13 | { 14 | MPLSPseudowireID 1; 15 | MPLSPseudowireType 5; 16 | MPLSBackupPseudowireID 1; 17 | } 18 | } 19 | } 20 | } 21 | ClassifierRef 1; 22 | ServiceFlowRef 1; 23 | } 24 | NetworkAccess 1; 25 | UsServiceFlow 26 | { 27 | UsServiceFlowRef 1; 28 | QosParamSetType 7; 29 | } 30 | DsServiceFlow 31 | { 32 | DsServiceFlowRef 2; 33 | QosParamSetType 7; 34 | } 35 | /* CmMic 6ba9a973d44e471485da91e34ca55f38; */ 36 | /* CmtsMic 66b14b31e51eeecbeb290f65c8e273b5; */ 37 | /*EndOfDataMkr*/ 38 | } 39 | -------------------------------------------------------------------------------- /tests/TLV_22_43_5_2_4_ServiceMultiplexingValueMPLSPW.txt: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | UsPacketClass 4 | { 5 | VendorSpecific 6 | { 7 | VendorIdentifier 0xffffff; 8 | L2VPNEncoding 9 | { 10 | NSIEncapsulation 11 | { 12 | ServiceMultiplexingValueMPLSPW 13 | { 14 | MPLSPseudowireID 1; 15 | MPLSPseudowireType 5; 16 | MPLSBackupPseudowireID 1; 17 | } 18 | } 19 | } 20 | } 21 | ClassifierRef 1; 22 | ServiceFlowRef 1; 23 | } 24 | NetworkAccess 1; 25 | UsServiceFlow 26 | { 27 | UsServiceFlowRef 1; 28 | QosParamSetType 7; 29 | } 30 | DsServiceFlow 31 | { 32 | DsServiceFlowRef 2; 33 | QosParamSetType 7; 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /tests/TLV_22_43_5_2_5_ServiceMultiplexingValueL2TPv3Peer.cm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlaager/docsis/d6c9347e6035f8c43f4dff630b0b54e884294c1f/tests/TLV_22_43_5_2_5_ServiceMultiplexingValueL2TPv3Peer.cm -------------------------------------------------------------------------------- /tests/TLV_22_43_5_2_5_ServiceMultiplexingValueL2TPv3Peer.conf: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | NetworkAccess 1; 4 | UsServiceFlow 5 | { 6 | UsServiceFlowRef 1; 7 | QosParamSetType 7; 8 | } 9 | DsServiceFlow 10 | { 11 | DsServiceFlowRef 2; 12 | QosParamSetType 7; 13 | } 14 | UsPacketClass 15 | { 16 | VendorSpecific 17 | { 18 | VendorIdentifier 0xffffff; 19 | L2VPNEncoding 20 | { 21 | NSIEncapsulation 22 | { 23 | ServiceMultiplexingValueL2TPv3Peer 2002::2:1; 24 | } 25 | } 26 | } 27 | ClassifierRef 1; 28 | ServiceFlowRef 1; 29 | } 30 | /* CmMic 4c225e6aecbbe235ea455feb73e04423; */ 31 | /* CmtsMic a53472cd6e5632db630600699cd50777; */ 32 | /*EndOfDataMkr*/ 33 | /* Pad */ 34 | } 35 | -------------------------------------------------------------------------------- /tests/TLV_22_43_5_2_5_ServiceMultiplexingValueL2TPv3Peer.txt: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | NetworkAccess 1; 4 | UsServiceFlow 5 | { 6 | UsServiceFlowRef 1; 7 | QosParamSetType 7; 8 | } 9 | DsServiceFlow 10 | { 11 | DsServiceFlowRef 2; 12 | QosParamSetType 7; 13 | } 14 | UsPacketClass 15 | { 16 | VendorSpecific 17 | { 18 | VendorIdentifier 0xffffff; 19 | L2VPNEncoding 20 | { 21 | NSIEncapsulation 22 | { 23 | ServiceMultiplexingValueL2TPv3Peer 2002::2:1; 24 | } 25 | } 26 | } 27 | ClassifierRef 1; 28 | ServiceFlowRef 1; 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /tests/TLV_22_43_5_2_6_IEEE8021ahEncapsulation.cm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlaager/docsis/d6c9347e6035f8c43f4dff630b0b54e884294c1f/tests/TLV_22_43_5_2_6_IEEE8021ahEncapsulation.cm -------------------------------------------------------------------------------- /tests/TLV_22_43_5_2_6_IEEE8021ahEncapsulation.conf: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | UsPacketClass 4 | { 5 | VendorSpecific 6 | { 7 | VendorIdentifier 0xffffff; 8 | L2VPNEncoding 9 | { 10 | NSIEncapsulation 11 | { 12 | IEEE8021ahEncapsulation 13 | { 14 | ITCIEncapsulation 0x00000001; 15 | BDAEncapsulation 0x0a0b0c0d0e0f; 16 | BTCIEncapsulation 0x0001; 17 | ITPIDEncapsulation 0x0001; 18 | IPCPEncapsulation 0x01; 19 | IDEIEncapsulation 0x01; 20 | IUCAEncapsulation 0x01; 21 | ISIDEncapsulation 0x000001; 22 | BTPIDEncapsulation 0x0001; 23 | BPCPEncapsulation 0x01; 24 | BDEIEncapsulation 0x01; 25 | BVIDEncapsulation 0x0001; 26 | } 27 | } 28 | } 29 | } 30 | ClassifierRef 1; 31 | ServiceFlowRef 1; 32 | } 33 | NetworkAccess 1; 34 | UsServiceFlow 35 | { 36 | UsServiceFlowRef 1; 37 | QosParamSetType 7; 38 | } 39 | DsServiceFlow 40 | { 41 | DsServiceFlowRef 2; 42 | QosParamSetType 7; 43 | } 44 | /* CmMic 2ab3c5a81457bc36dc8d401bf8a329de; */ 45 | /* CmtsMic c40f9591cea859d2413470966c1a2d27; */ 46 | /*EndOfDataMkr*/ 47 | /* Pad */ 48 | } 49 | -------------------------------------------------------------------------------- /tests/TLV_22_43_5_2_6_IEEE8021ahEncapsulation.txt: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | UsPacketClass 4 | { 5 | VendorSpecific 6 | { 7 | VendorIdentifier 0xffffff; 8 | L2VPNEncoding 9 | { 10 | NSIEncapsulation 11 | { 12 | IEEE8021ahEncapsulation 13 | { 14 | ITCIEncapsulation 0x00000001; 15 | BDAEncapsulation 0x0a0b0c0d0e0f; 16 | BTCIEncapsulation 0x0001; 17 | ITPIDEncapsulation 0x0001; 18 | IPCPEncapsulation 0x01; 19 | IDEIEncapsulation 0x01; 20 | IUCAEncapsulation 0x01; 21 | ISIDEncapsulation 0x000001; 22 | BTPIDEncapsulation 0x0001; 23 | BPCPEncapsulation 0x01; 24 | BDEIEncapsulation 0x01; 25 | BVIDEncapsulation 0x0001; 26 | } 27 | } 28 | } 29 | } 30 | ClassifierRef 1; 31 | ServiceFlowRef 1; 32 | } 33 | NetworkAccess 1; 34 | UsServiceFlow 35 | { 36 | UsServiceFlowRef 1; 37 | QosParamSetType 7; 38 | } 39 | DsServiceFlow 40 | { 41 | DsServiceFlowRef 2; 42 | QosParamSetType 7; 43 | } 44 | } 45 | -------------------------------------------------------------------------------- /tests/TLV_22_43_5_2_8_ServiceMultiplexingValueIEEE8021adSTPID.cm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlaager/docsis/d6c9347e6035f8c43f4dff630b0b54e884294c1f/tests/TLV_22_43_5_2_8_ServiceMultiplexingValueIEEE8021adSTPID.cm -------------------------------------------------------------------------------- /tests/TLV_22_43_5_2_8_ServiceMultiplexingValueIEEE8021adSTPID.conf: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | NetworkAccess 1; 4 | UsServiceFlow 5 | { 6 | UsServiceFlowRef 1; 7 | QosParamSetType 7; 8 | } 9 | DsServiceFlow 10 | { 11 | DsServiceFlowRef 2; 12 | QosParamSetType 7; 13 | } 14 | UsPacketClass 15 | { 16 | VendorSpecific 17 | { 18 | VendorIdentifier 0xffffff; 19 | L2VPNEncoding 20 | { 21 | NSIEncapsulation 22 | { 23 | ServiceMultiplexingValueIEEE8021adSTPID 0x88a8; 24 | } 25 | } 26 | } 27 | ClassifierRef 1; 28 | ServiceFlowRef 1; 29 | } 30 | /* CmMic 6aab6ae3af8d9d2d5acc1734b3b654bf; */ 31 | /* CmtsMic cd75f9bdce3792b5385cbcc25a85bcf3; */ 32 | /*EndOfDataMkr*/ 33 | /* Pad */ 34 | } 35 | -------------------------------------------------------------------------------- /tests/TLV_22_43_5_2_8_ServiceMultiplexingValueIEEE8021adSTPID.txt: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | NetworkAccess 1; 4 | UsServiceFlow 5 | { 6 | UsServiceFlowRef 1; 7 | QosParamSetType 7; 8 | } 9 | DsServiceFlow 10 | { 11 | DsServiceFlowRef 2; 12 | QosParamSetType 7; 13 | } 14 | UsPacketClass 15 | { 16 | VendorSpecific 17 | { 18 | VendorIdentifier 0xffffff; 19 | L2VPNEncoding 20 | { 21 | NSIEncapsulation 22 | { 23 | ServiceMultiplexingValueIEEE8021adSTPID 0x88a8; 24 | } 25 | } 26 | } 27 | ClassifierRef 1; 28 | ServiceFlowRef 1; 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /tests/TLV_22_43_5_3_to_9.cm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlaager/docsis/d6c9347e6035f8c43f4dff630b0b54e884294c1f/tests/TLV_22_43_5_3_to_9.cm -------------------------------------------------------------------------------- /tests/TLV_22_43_5_3_to_9.conf: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | UsPacketClass 4 | { 5 | VendorSpecific 6 | { 7 | VendorIdentifier 0xffffff; 8 | L2VPNEncoding 9 | { 10 | eSAFEDHCPSnooping 0x000000; 11 | CMInterfaceMaskCMIMSubtype 0x000080; 12 | AttachmentGroupID 0x0102; 13 | SourceAttachmentIndividualID 0x0102; 14 | TargetAttachmentIndividualID 0x0102; 15 | IngressUserPriority 1; 16 | UserPriorityRange 1,2; 17 | } 18 | } 19 | ClassifierRef 1; 20 | ServiceFlowRef 1; 21 | } 22 | NetworkAccess 1; 23 | UsServiceFlow 24 | { 25 | UsServiceFlowRef 1; 26 | QosParamSetType 7; 27 | } 28 | DsServiceFlow 29 | { 30 | DsServiceFlowRef 2; 31 | QosParamSetType 7; 32 | } 33 | /* CmMic 19ae4d2be718fe71c7932d9da214ca90; */ 34 | /* CmtsMic d5a8f3c56f3f16abe920dec26c13f1f3; */ 35 | /*EndOfDataMkr*/ 36 | /* Pad */ 37 | } 38 | -------------------------------------------------------------------------------- /tests/TLV_22_43_5_3_to_9.txt: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | UsPacketClass 4 | { 5 | VendorSpecific 6 | { 7 | VendorIdentifier 0xffffff; 8 | L2VPNEncoding 9 | { 10 | eSAFEDHCPSnooping 0x000000; 11 | CMInterfaceMaskCMIMSubtype 0x000080; 12 | AttachmentGroupID 0x0102; 13 | SourceAttachmentIndividualID 0x0102; 14 | TargetAttachmentIndividualID 0x0102; 15 | IngressUserPriority 1; 16 | UserPriorityRange 1,2; 17 | } 18 | } 19 | ClassifierRef 1; 20 | ServiceFlowRef 1; 21 | } 22 | NetworkAccess 1; 23 | UsServiceFlow 24 | { 25 | UsServiceFlowRef 1; 26 | QosParamSetType 7; 27 | } 28 | DsServiceFlow 29 | { 30 | DsServiceFlowRef 2; 31 | QosParamSetType 7; 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /tests/TLV_22_43_5_43_8_VendorSpecific.cm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlaager/docsis/d6c9347e6035f8c43f4dff630b0b54e884294c1f/tests/TLV_22_43_5_43_8_VendorSpecific.cm -------------------------------------------------------------------------------- /tests/TLV_22_43_5_43_8_VendorSpecific.conf: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | UsPacketClass 4 | { 5 | VendorSpecific 6 | { 7 | VendorIdentifier 0xffffff; 8 | L2VPNEncoding 9 | { 10 | VendorSpecificL2VPNSubtype 11 | { 12 | VendorIdentifier 0x010203; 13 | } 14 | } 15 | } 16 | ClassifierRef 1; 17 | ServiceFlowRef 1; 18 | } 19 | NetworkAccess 1; 20 | UsServiceFlow 21 | { 22 | UsServiceFlowRef 1; 23 | QosParamSetType 7; 24 | } 25 | DsServiceFlow 26 | { 27 | DsServiceFlowRef 2; 28 | QosParamSetType 7; 29 | } 30 | /* CmMic 4d26858c10ae06ab14645efb952849b0; */ 31 | /* CmtsMic a240c182823942cb2d5aa2f3616450d6; */ 32 | /*EndOfDataMkr*/ 33 | } 34 | -------------------------------------------------------------------------------- /tests/TLV_22_43_5_43_8_VendorSpecific.txt: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | UsPacketClass 4 | { 5 | VendorSpecific 6 | { 7 | VendorIdentifier 0xffffff; 8 | L2VPNEncoding 9 | { 10 | VendorSpecificL2VPNSubtype 11 | { 12 | VendorIdentifier 0x010203; 13 | } 14 | } 15 | } 16 | ClassifierRef 1; 17 | ServiceFlowRef 1; 18 | } 19 | NetworkAccess 1; 20 | UsServiceFlow 21 | { 22 | UsServiceFlowRef 1; 23 | QosParamSetType 7; 24 | } 25 | DsServiceFlow 26 | { 27 | DsServiceFlowRef 2; 28 | QosParamSetType 7; 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /tests/TLV_22_43_6_ExtendedCMTSMICConfiguration.cm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlaager/docsis/d6c9347e6035f8c43f4dff630b0b54e884294c1f/tests/TLV_22_43_6_ExtendedCMTSMICConfiguration.cm -------------------------------------------------------------------------------- /tests/TLV_22_43_6_ExtendedCMTSMICConfiguration.conf: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | NetworkAccess 1; 4 | UsServiceFlow 5 | { 6 | UsServiceFlowRef 1; 7 | QosParamSetType 7; 8 | } 9 | DsServiceFlow 10 | { 11 | DsServiceFlowRef 2; 12 | QosParamSetType 7; 13 | } 14 | UsPacketClass 15 | { 16 | VendorSpecific 17 | { 18 | VendorIdentifier 0xffffff; 19 | ExtendedCMTSMICConfigurationSetting 20 | { 21 | ExtendedCMTSMICHMACtype 1; 22 | ExtendedCMTSMICBitmap 0x00; 23 | ExplicitExtendedCMTSMICDigest 0x00; 24 | } 25 | } 26 | ClassifierRef 1; 27 | ServiceFlowRef 1; 28 | } 29 | /* CmMic 4fe03507090db92f1a5123a61c2592da; */ 30 | /* CmtsMic c04be250059d1db0aa229560aa2e1e14; */ 31 | /*EndOfDataMkr*/ 32 | /* Pad */ 33 | } 34 | -------------------------------------------------------------------------------- /tests/TLV_22_43_6_ExtendedCMTSMICConfiguration.txt: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | NetworkAccess 1; 4 | UsServiceFlow 5 | { 6 | UsServiceFlowRef 1; 7 | QosParamSetType 7; 8 | } 9 | DsServiceFlow 10 | { 11 | DsServiceFlowRef 2; 12 | QosParamSetType 7; 13 | } 14 | UsPacketClass 15 | { 16 | VendorSpecific 17 | { 18 | VendorIdentifier 0xffffff; 19 | ExtendedCMTSMICConfigurationSetting 20 | { 21 | ExtendedCMTSMICHMACtype 1; 22 | ExtendedCMTSMICBitmap 0x00; 23 | ExplicitExtendedCMTSMICDigest 0x00; 24 | } 25 | } 26 | ClassifierRef 1; 27 | ServiceFlowRef 1; 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /tests/TLV_22_43_7_SAVAuthorization.cm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlaager/docsis/d6c9347e6035f8c43f4dff630b0b54e884294c1f/tests/TLV_22_43_7_SAVAuthorization.cm -------------------------------------------------------------------------------- /tests/TLV_22_43_7_SAVAuthorization.conf: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | NetworkAccess 1; 4 | UsServiceFlow 5 | { 6 | UsServiceFlowRef 1; 7 | QosParamSetType 7; 8 | } 9 | DsServiceFlow 10 | { 11 | DsServiceFlowRef 2; 12 | QosParamSetType 7; 13 | } 14 | UsPacketClass 15 | { 16 | VendorSpecific 17 | { 18 | VendorIdentifier 0xffffff; 19 | SAVAuthorizationEncoding 20 | { 21 | SAVGroupName "SAVGROUPNAME"; 22 | SAVStaticPrefixRule 23 | { 24 | SAVStaticPrefixAddress 2002::2:1; 25 | SAVStaticPrefixLength 128; 26 | } 27 | } 28 | } 29 | ClassifierRef 1; 30 | ServiceFlowRef 1; 31 | } 32 | /* CmMic 5bd5d599ede2810a9e7ebaa34826926d; */ 33 | /* CmtsMic a13d9ed8d41d2da78a2ea5cf8a8527ba; */ 34 | /*EndOfDataMkr*/ 35 | /* Pad */ 36 | } 37 | -------------------------------------------------------------------------------- /tests/TLV_22_43_7_SAVAuthorization.txt: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | NetworkAccess 1; 4 | UsServiceFlow 5 | { 6 | UsServiceFlowRef 1; 7 | QosParamSetType 7; 8 | } 9 | DsServiceFlow 10 | { 11 | DsServiceFlowRef 2; 12 | QosParamSetType 7; 13 | } 14 | UsPacketClass 15 | { 16 | VendorSpecific 17 | { 18 | VendorIdentifier 0xffffff; 19 | SAVAuthorizationEncoding 20 | { 21 | SAVGroupName "SAVGROUPNAME"; 22 | SAVStaticPrefixRule 23 | { 24 | SAVStaticPrefixAddress 2002::2:1; 25 | SAVStaticPrefixLength 128; 26 | } 27 | } 28 | } 29 | ClassifierRef 1; 30 | ServiceFlowRef 1; 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /tests/TLV_22_43_9_CMAttributeMasks.cm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlaager/docsis/d6c9347e6035f8c43f4dff630b0b54e884294c1f/tests/TLV_22_43_9_CMAttributeMasks.cm -------------------------------------------------------------------------------- /tests/TLV_22_43_9_CMAttributeMasks.conf: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | UsPacketClass 4 | { 5 | VendorSpecific 6 | { 7 | VendorIdentifier 0xffffff; 8 | CMAttributeMasks 9 | { 10 | CMDownstreamRequiredAttributeMask 0x00000000; 11 | CMDownstreamForbiddenAttributeMask 0x00000000; 12 | CMUpstreamRequiredAttributeMask 0x00000000; 13 | CMUpstreamForbiddenAttributeMask 0xe0000001; 14 | } 15 | } 16 | ClassifierRef 1; 17 | ServiceFlowRef 1; 18 | } 19 | NetworkAccess 1; 20 | UsServiceFlow 21 | { 22 | UsServiceFlowRef 1; 23 | QosParamSetType 7; 24 | } 25 | DsServiceFlow 26 | { 27 | DsServiceFlowRef 2; 28 | QosParamSetType 7; 29 | } 30 | /* CmMic 4423022bf5735083c78cae21f4b2b59e; */ 31 | /* CmtsMic eb35a6c7fd9c552d9e1af0ac84506837; */ 32 | /*EndOfDataMkr*/ 33 | } 34 | -------------------------------------------------------------------------------- /tests/TLV_22_43_9_CMAttributeMasks.txt: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | UsPacketClass 4 | { 5 | VendorSpecific 6 | { 7 | VendorIdentifier 0xffffff; 8 | CMAttributeMasks 9 | { 10 | CMDownstreamRequiredAttributeMask 0x00000000; 11 | CMDownstreamForbiddenAttributeMask 0x00000000; 12 | CMUpstreamRequiredAttributeMask 0x00000000; 13 | CMUpstreamForbiddenAttributeMask 0xe0000001; 14 | } 15 | } 16 | ClassifierRef 1; 17 | ServiceFlowRef 1; 18 | } 19 | NetworkAccess 1; 20 | UsServiceFlow 21 | { 22 | UsServiceFlowRef 1; 23 | QosParamSetType 7; 24 | } 25 | DsServiceFlow 26 | { 27 | DsServiceFlowRef 2; 28 | QosParamSetType 7; 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /tests/TLV_23_43_1_to_4_CMLoadBalancingPolicyID.cm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlaager/docsis/d6c9347e6035f8c43f4dff630b0b54e884294c1f/tests/TLV_23_43_1_to_4_CMLoadBalancingPolicyID.cm -------------------------------------------------------------------------------- /tests/TLV_23_43_1_to_4_CMLoadBalancingPolicyID.conf: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | NetworkAccess 1; 4 | UsServiceFlow 5 | { 6 | UsServiceFlowRef 1; 7 | QosParamSetType 7; 8 | } 9 | DsServiceFlow 10 | { 11 | DsServiceFlowRef 2; 12 | QosParamSetType 7; 13 | } 14 | DsPacketClass 15 | { 16 | VendorSpecific 17 | { 18 | VendorIdentifier 0xffffff; 19 | CMLoadBalancingPolicyID 1; 20 | CMLoadBalancingPriority 1; 21 | CMLoadBalancingGroupID 1; 22 | CMRangingClassIDExtension 1; 23 | } 24 | } 25 | /* CmMic 0d697a5e73c02fc6b3cc701749374629; */ 26 | /* CmtsMic c40a288fba4db2e9d0679b5a1690a797; */ 27 | /*EndOfDataMkr*/ 28 | /* Pad */ 29 | } 30 | -------------------------------------------------------------------------------- /tests/TLV_23_43_1_to_4_CMLoadBalancingPolicyID.txt: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | NetworkAccess 1; 4 | UsServiceFlow 5 | { 6 | UsServiceFlowRef 1; 7 | QosParamSetType 7; 8 | } 9 | DsServiceFlow 10 | { 11 | DsServiceFlowRef 2; 12 | QosParamSetType 7; 13 | } 14 | DsPacketClass 15 | { 16 | VendorSpecific 17 | { 18 | VendorIdentifier 0xffffff; 19 | CMLoadBalancingPolicyID 1; 20 | CMLoadBalancingPriority 1; 21 | CMLoadBalancingGroupID 1; 22 | CMRangingClassIDExtension 1; 23 | } 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /tests/TLV_23_43_5_10_and_12.cm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlaager/docsis/d6c9347e6035f8c43f4dff630b0b54e884294c1f/tests/TLV_23_43_5_10_and_12.cm -------------------------------------------------------------------------------- /tests/TLV_23_43_5_10_and_12.conf: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | NetworkAccess 1; 4 | UsServiceFlow 5 | { 6 | UsServiceFlowRef 1; 7 | QosParamSetType 7; 8 | } 9 | DsServiceFlow 10 | { 11 | DsServiceFlowRef 2; 12 | QosParamSetType 7; 13 | } 14 | DsPacketClass 15 | { 16 | VendorSpecific 17 | { 18 | VendorIdentifier 0xffffff; 19 | L2VPNEncoding 20 | { 21 | L2VPNSADescriptorSubtype 0x0102030405060708091011121314; 22 | PseudowireType 5; 23 | } 24 | } 25 | ClassifierRef 1; 26 | ServiceFlowRef 1; 27 | } 28 | /* CmMic 2cb0ea4cae952b9abe5db10d27e9abd8; */ 29 | /* CmtsMic 062dfdfac182c3a4215f35e90d9a4511; */ 30 | /*EndOfDataMkr*/ 31 | } 32 | -------------------------------------------------------------------------------- /tests/TLV_23_43_5_10_and_12.txt: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | NetworkAccess 1; 4 | UsServiceFlow 5 | { 6 | UsServiceFlowRef 1; 7 | QosParamSetType 7; 8 | } 9 | DsServiceFlow 10 | { 11 | DsServiceFlowRef 2; 12 | QosParamSetType 7; 13 | } 14 | DsPacketClass 15 | { 16 | VendorSpecific 17 | { 18 | VendorIdentifier 0xffffff; 19 | L2VPNEncoding 20 | { 21 | L2VPNSADescriptorSubtype 0x0102030405060708091011121314; 22 | PseudowireType 5; 23 | } 24 | } 25 | ClassifierRef 1; 26 | ServiceFlowRef 1; 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /tests/TLV_23_43_5_13_L2VPNMode.cm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlaager/docsis/d6c9347e6035f8c43f4dff630b0b54e884294c1f/tests/TLV_23_43_5_13_L2VPNMode.cm -------------------------------------------------------------------------------- /tests/TLV_23_43_5_13_L2VPNMode.conf: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | NetworkAccess 1; 4 | UsServiceFlow 5 | { 6 | UsServiceFlowRef 1; 7 | QosParamSetType 7; 8 | } 9 | DsServiceFlow 10 | { 11 | DsServiceFlowRef 2; 12 | QosParamSetType 7; 13 | } 14 | DsPacketClass 15 | { 16 | VendorSpecific 17 | { 18 | VendorIdentifier 0xffffff; 19 | L2VPNEncoding 20 | { 21 | L2VPNMode 1; 22 | } 23 | } 24 | ClassifierRef 1; 25 | ServiceFlowRef 1; 26 | } 27 | /* CmMic 7deb0bc5556737f737cfeab363c26642; */ 28 | /* CmtsMic ea437aba61fc4f01bde15be2d4d57b25; */ 29 | /*EndOfDataMkr*/ 30 | } 31 | -------------------------------------------------------------------------------- /tests/TLV_23_43_5_13_L2VPNMode.txt: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | NetworkAccess 1; 4 | UsServiceFlow 5 | { 6 | UsServiceFlowRef 1; 7 | QosParamSetType 7; 8 | } 9 | DsServiceFlow 10 | { 11 | DsServiceFlowRef 2; 12 | QosParamSetType 7; 13 | } 14 | DsPacketClass 15 | { 16 | VendorSpecific 17 | { 18 | VendorIdentifier 0xffffff; 19 | L2VPNEncoding 20 | { 21 | L2VPNMode 1; 22 | } 23 | } 24 | ClassifierRef 1; 25 | ServiceFlowRef 1; 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /tests/TLV_23_43_5_14_DPoE.cm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlaager/docsis/d6c9347e6035f8c43f4dff630b0b54e884294c1f/tests/TLV_23_43_5_14_DPoE.cm -------------------------------------------------------------------------------- /tests/TLV_23_43_5_14_DPoE.txt: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | NetworkAccess 1; 4 | UsServiceFlow 5 | { 6 | UsServiceFlowRef 1; 7 | QosParamSetType 7; 8 | } 9 | DsServiceFlow 10 | { 11 | DsServiceFlowRef 2; 12 | QosParamSetType 7; 13 | } 14 | DsPacketClass 15 | { 16 | VendorSpecific 17 | { 18 | VendorIdentifier 0xffffff; 19 | L2VPNEncoding 20 | { 21 | TPIDTranslation 22 | { 23 | UpstreamTPIDTranslation 0x0102; 24 | DownstreamTPIDTranslation 0x0102; 25 | UpstreamSTPIDTranslation 0x0102; 26 | DownstreamSTPIDTranslation 0x0102; 27 | UpstreamBTPIDTranslation 0x0102; 28 | DownstreamBTPIDTranslation 0x0102; 29 | UpstreamITPIDTranslation 0x0102; 30 | DownstreamITPIDTranslation 0x0102; 31 | } 32 | L2CPProcessing 33 | { 34 | L2CPTunnelMode 1; 35 | L2CPDMACAddress 00:11:22:33:44:55; 36 | L2CPOverwrotingDMACAddress 55:44:33:22:11:00; 37 | } 38 | DACDisableEnableConfiguration 1; 39 | PseudowireClass 0x010203; 40 | ServiceDelimiter 41 | { 42 | CVIDDelimiter 0x0102; 43 | SVIDDelimiter 0x0102; 44 | ISIDDelimiter 0x010203; 45 | BVIDDelimiter 0x0102; 46 | } 47 | VirtualSwitchInstanceEncoding 48 | { 49 | VPLSClass 0x0102; 50 | ETreeRole 1; 51 | ETreeRootVID 0x0102; 52 | ETreeLeafVID 0x0304; 53 | } 54 | } 55 | } 56 | ClassifierRef 1; 57 | ServiceFlowRef 1; 58 | } 59 | } 60 | -------------------------------------------------------------------------------- /tests/TLV_23_43_5_24_SOAMSubtype.cm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlaager/docsis/d6c9347e6035f8c43f4dff630b0b54e884294c1f/tests/TLV_23_43_5_24_SOAMSubtype.cm -------------------------------------------------------------------------------- /tests/TLV_23_43_5_24_SOAMSubtype.txt: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | DsPacketClass 4 | { 5 | VendorSpecific 6 | { 7 | VendorIdentifier 0xffffff; 8 | L2VPNEncoding 9 | { 10 | SOAMSubtype 11 | { 12 | MEPConfiguration 13 | { 14 | MDLevel 0; 15 | MDName "MD Name"; 16 | MAName "MA Name"; 17 | MEPID 1; 18 | } 19 | RemoteMEPConfiguration 20 | { 21 | RemoteMDLevel 0; 22 | RemoteMDName "MD Name"; 23 | RemoteMAName "MA Name"; 24 | RemoteMEPID 1; 25 | } 26 | FaultManagementConfiguration 27 | { 28 | ContinuityCheckMessages 0; 29 | LoopbackFunction 0; 30 | LinktraceFunction 0; 31 | } 32 | PerformanceManagementConfiguration 33 | { 34 | FrameDelayMeasurement 35 | { 36 | FrameDelayMeasurementEnable 0; 37 | FrameDelayMeasurementOneWayTwoWay 1; 38 | FrameDelayMeasurementTransmissionPeriodicity 0; 39 | } 40 | FrameLossMeasurement 41 | { 42 | FrameLossMeasurementEnable 0; 43 | FrameLossMeasurementTransmissionPeriodicity 0; 44 | } 45 | } 46 | } 47 | L2VPNDSID 1; 48 | VendorSpecificL2VPNSubtype 49 | { 50 | VendorIdentifier 0x010203; 51 | } 52 | } 53 | } 54 | } 55 | NetworkAccess 1; 56 | UsServiceFlow 57 | { 58 | UsServiceFlowRef 1; 59 | QosParamSetType 7; 60 | } 61 | DsServiceFlow 62 | { 63 | DsServiceFlowRef 2; 64 | QosParamSetType 7; 65 | } 66 | } 67 | -------------------------------------------------------------------------------- /tests/TLV_23_43_5_L2VPNEncoding.cm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlaager/docsis/d6c9347e6035f8c43f4dff630b0b54e884294c1f/tests/TLV_23_43_5_L2VPNEncoding.cm -------------------------------------------------------------------------------- /tests/TLV_23_43_6_ExtendedCMTSMICConfiguration.cm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlaager/docsis/d6c9347e6035f8c43f4dff630b0b54e884294c1f/tests/TLV_23_43_6_ExtendedCMTSMICConfiguration.cm -------------------------------------------------------------------------------- /tests/TLV_23_43_6_ExtendedCMTSMICConfiguration.conf: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | NetworkAccess 1; 4 | UsServiceFlow 5 | { 6 | UsServiceFlowRef 1; 7 | QosParamSetType 7; 8 | } 9 | DsServiceFlow 10 | { 11 | DsServiceFlowRef 2; 12 | QosParamSetType 7; 13 | } 14 | DsPacketClass 15 | { 16 | VendorSpecific 17 | { 18 | VendorIdentifier 0xffffff; 19 | ExtendedCMTSMICConfigurationSetting 20 | { 21 | ExtendedCMTSMICHMACtype 1; 22 | ExtendedCMTSMICBitmap 0x00; 23 | ExplicitExtendedCMTSMICDigest 0x00; 24 | } 25 | } 26 | ClassifierRef 1; 27 | ServiceFlowRef 1; 28 | } 29 | /* CmMic 6536619b882de6e8bcf13fa57f0a3541; */ 30 | /* CmtsMic e0d84fe5b468f083e47e5f3ebee5489e; */ 31 | /*EndOfDataMkr*/ 32 | /* Pad */ 33 | } 34 | -------------------------------------------------------------------------------- /tests/TLV_23_43_6_ExtendedCMTSMICConfiguration.txt: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | NetworkAccess 1; 4 | UsServiceFlow 5 | { 6 | UsServiceFlowRef 1; 7 | QosParamSetType 7; 8 | } 9 | DsServiceFlow 10 | { 11 | DsServiceFlowRef 2; 12 | QosParamSetType 7; 13 | } 14 | DsPacketClass 15 | { 16 | VendorSpecific 17 | { 18 | VendorIdentifier 0xffffff; 19 | ExtendedCMTSMICConfigurationSetting 20 | { 21 | ExtendedCMTSMICHMACtype 1; 22 | ExtendedCMTSMICBitmap 0x00; 23 | ExplicitExtendedCMTSMICDigest 0x00; 24 | } 25 | } 26 | ClassifierRef 1; 27 | ServiceFlowRef 1; 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /tests/TLV_23_43_last_tlvs.cm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlaager/docsis/d6c9347e6035f8c43f4dff630b0b54e884294c1f/tests/TLV_23_43_last_tlvs.cm -------------------------------------------------------------------------------- /tests/TLV_24_3_ServiceIdentifier.cm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlaager/docsis/d6c9347e6035f8c43f4dff630b0b54e884294c1f/tests/TLV_24_3_ServiceIdentifier.cm -------------------------------------------------------------------------------- /tests/TLV_24_3_ServiceIdentifier.conf: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | NetworkAccess 1; 4 | UsServiceFlow 5 | { 6 | UsServiceFlowRef 1; 7 | QosParamSetType 7; 8 | ServiceIdentifier 1024; 9 | } 10 | DsServiceFlow 11 | { 12 | DsServiceFlowRef 2; 13 | QosParamSetType 7; 14 | } 15 | /* CmMic f09d642c66629a89ccc6dbc2eeb5242b; */ 16 | /* CmtsMic c0bc13e31e39837903164e1794f7ca6a; */ 17 | /*EndOfDataMkr*/ 18 | /* Pad */ 19 | } 20 | -------------------------------------------------------------------------------- /tests/TLV_24_3_ServiceIdentifier.txt: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | NetworkAccess 1; 4 | UsServiceFlow 5 | { 6 | UsServiceFlowRef 1; 7 | QosParamSetType 7; 8 | ServiceIdentifier 1024; 9 | } 10 | DsServiceFlow 11 | { 12 | DsServiceFlowRef 2; 13 | QosParamSetType 7; 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /tests/TLV_24_43_1_to_4_CMLoadBalancingPolicyID.cm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlaager/docsis/d6c9347e6035f8c43f4dff630b0b54e884294c1f/tests/TLV_24_43_1_to_4_CMLoadBalancingPolicyID.cm -------------------------------------------------------------------------------- /tests/TLV_24_43_1_to_4_CMLoadBalancingPolicyID.conf: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | NetworkAccess 1; 4 | UsServiceFlow 5 | { 6 | UsServiceFlowRef 1; 7 | QosParamSetType 7; 8 | } 9 | DsServiceFlow 10 | { 11 | DsServiceFlowRef 2; 12 | QosParamSetType 7; 13 | } 14 | UsServiceFlow 15 | { 16 | VendorSpecific 17 | { 18 | VendorIdentifier 0xffffff; 19 | CMLoadBalancingPolicyID 1; 20 | CMLoadBalancingPriority 1; 21 | CMLoadBalancingGroupID 1; 22 | CMRangingClassIDExtension 1; 23 | } 24 | } 25 | /* CmMic d92c093dd8134bd597e1eae929bb12d4; */ 26 | /* CmtsMic 93d22ef287536f6f56583efd7ec9ca67; */ 27 | /*EndOfDataMkr*/ 28 | /* Pad */ 29 | } 30 | -------------------------------------------------------------------------------- /tests/TLV_24_43_1_to_4_CMLoadBalancingPolicyID.txt: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | NetworkAccess 1; 4 | UsServiceFlow 5 | { 6 | UsServiceFlowRef 1; 7 | QosParamSetType 7; 8 | } 9 | DsServiceFlow 10 | { 11 | DsServiceFlowRef 2; 12 | QosParamSetType 7; 13 | } 14 | UsServiceFlow 15 | { 16 | VendorSpecific 17 | { 18 | VendorIdentifier 0xffffff; 19 | CMLoadBalancingPolicyID 1; 20 | CMLoadBalancingPriority 1; 21 | CMLoadBalancingGroupID 1; 22 | CMRangingClassIDExtension 1; 23 | } 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /tests/TLV_24_43_5_10_and_12.cm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlaager/docsis/d6c9347e6035f8c43f4dff630b0b54e884294c1f/tests/TLV_24_43_5_10_and_12.cm -------------------------------------------------------------------------------- /tests/TLV_24_43_5_10_and_12.conf: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | NetworkAccess 1; 4 | UsServiceFlow 5 | { 6 | UsServiceFlowRef 1; 7 | QosParamSetType 7; 8 | } 9 | DsServiceFlow 10 | { 11 | DsServiceFlowRef 2; 12 | QosParamSetType 7; 13 | } 14 | UsServiceFlow 15 | { 16 | VendorSpecific 17 | { 18 | VendorIdentifier 0xffffff; 19 | L2VPNEncoding 20 | { 21 | L2VPNSADescriptorSubtype 0x0102030405060708091011121314; 22 | PseudowireType 5; 23 | } 24 | } 25 | } 26 | /* CmMic b96b292a5fc9706bb7f44f942a69c10c; */ 27 | /* CmtsMic 70fe02a9b9b20b947298129cf669c5e3; */ 28 | /*EndOfDataMkr*/ 29 | } 30 | -------------------------------------------------------------------------------- /tests/TLV_24_43_5_10_and_12.txt: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | NetworkAccess 1; 4 | UsServiceFlow 5 | { 6 | UsServiceFlowRef 1; 7 | QosParamSetType 7; 8 | } 9 | DsServiceFlow 10 | { 11 | DsServiceFlowRef 2; 12 | QosParamSetType 7; 13 | } 14 | UsServiceFlow 15 | { 16 | VendorSpecific 17 | { 18 | VendorIdentifier 0xffffff; 19 | L2VPNEncoding 20 | { 21 | L2VPNSADescriptorSubtype 0x0102030405060708091011121314; 22 | PseudowireType 5; 23 | } 24 | } 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /tests/TLV_24_43_5_13_L2VPNMode.cm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlaager/docsis/d6c9347e6035f8c43f4dff630b0b54e884294c1f/tests/TLV_24_43_5_13_L2VPNMode.cm -------------------------------------------------------------------------------- /tests/TLV_24_43_5_13_L2VPNMode.conf: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | NetworkAccess 1; 4 | UsServiceFlow 5 | { 6 | UsServiceFlowRef 1; 7 | QosParamSetType 7; 8 | } 9 | DsServiceFlow 10 | { 11 | DsServiceFlowRef 2; 12 | QosParamSetType 7; 13 | } 14 | UsServiceFlow 15 | { 16 | VendorSpecific 17 | { 18 | VendorIdentifier 0xffffff; 19 | L2VPNEncoding 20 | { 21 | L2VPNMode 1; 22 | } 23 | } 24 | } 25 | /* CmMic 3f456c16c196aaee0ac2040be07fcf14; */ 26 | /* CmtsMic 0b021d768fa1f45d5188ef26cbec95a4; */ 27 | /*EndOfDataMkr*/ 28 | } 29 | -------------------------------------------------------------------------------- /tests/TLV_24_43_5_13_L2VPNMode.txt: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | NetworkAccess 1; 4 | UsServiceFlow 5 | { 6 | UsServiceFlowRef 1; 7 | QosParamSetType 7; 8 | } 9 | DsServiceFlow 10 | { 11 | DsServiceFlowRef 2; 12 | QosParamSetType 7; 13 | } 14 | UsServiceFlow 15 | { 16 | VendorSpecific 17 | { 18 | VendorIdentifier 0xffffff; 19 | L2VPNEncoding 20 | { 21 | L2VPNMode 1; 22 | } 23 | } 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /tests/TLV_24_43_5_14_DPoE.cm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlaager/docsis/d6c9347e6035f8c43f4dff630b0b54e884294c1f/tests/TLV_24_43_5_14_DPoE.cm -------------------------------------------------------------------------------- /tests/TLV_24_43_5_14_DPoE.txt: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | NetworkAccess 1; 4 | UsServiceFlow 5 | { 6 | UsServiceFlowRef 1; 7 | QosParamSetType 7; 8 | } 9 | DsServiceFlow 10 | { 11 | DsServiceFlowRef 2; 12 | QosParamSetType 7; 13 | } 14 | UsServiceFlow 15 | { 16 | VendorSpecific 17 | { 18 | VendorIdentifier 0xffffff; 19 | L2VPNEncoding 20 | { 21 | TPIDTranslation 22 | { 23 | UpstreamTPIDTranslation 0x0102; 24 | DownstreamTPIDTranslation 0x0102; 25 | UpstreamSTPIDTranslation 0x0102; 26 | DownstreamSTPIDTranslation 0x0102; 27 | UpstreamBTPIDTranslation 0x0102; 28 | DownstreamBTPIDTranslation 0x0102; 29 | UpstreamITPIDTranslation 0x0102; 30 | DownstreamITPIDTranslation 0x0102; 31 | } 32 | L2CPProcessing 33 | { 34 | L2CPTunnelMode 1; 35 | L2CPDMACAddress 00:11:22:33:44:55; 36 | L2CPOverwrotingDMACAddress 55:44:33:22:11:00; 37 | } 38 | DACDisableEnableConfiguration 1; 39 | PseudowireClass 0x010203; 40 | ServiceDelimiter 41 | { 42 | CVIDDelimiter 0x0102; 43 | SVIDDelimiter 0x0102; 44 | ISIDDelimiter 0x010203; 45 | BVIDDelimiter 0x0102; 46 | } 47 | VirtualSwitchInstanceEncoding 48 | { 49 | VPLSClass 0x0102; 50 | ETreeRole 1; 51 | ETreeRootVID 0x0102; 52 | ETreeLeafVID 0x0304; 53 | } 54 | } 55 | } 56 | } 57 | } 58 | -------------------------------------------------------------------------------- /tests/TLV_24_43_5_24_SOAMSubtype.cm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlaager/docsis/d6c9347e6035f8c43f4dff630b0b54e884294c1f/tests/TLV_24_43_5_24_SOAMSubtype.cm -------------------------------------------------------------------------------- /tests/TLV_24_43_5_24_SOAMSubtype.txt: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | UsServiceFlow 4 | { 5 | VendorSpecific 6 | { 7 | VendorIdentifier 0xffffff; 8 | L2VPNEncoding 9 | { 10 | SOAMSubtype 11 | { 12 | MEPConfiguration 13 | { 14 | MDLevel 0; 15 | MDName "MD Name"; 16 | MAName "MA Name"; 17 | MEPID 1; 18 | } 19 | RemoteMEPConfiguration 20 | { 21 | RemoteMDLevel 0; 22 | RemoteMDName "MD Name"; 23 | RemoteMAName "MA Name"; 24 | RemoteMEPID 1; 25 | } 26 | FaultManagementConfiguration 27 | { 28 | ContinuityCheckMessages 0; 29 | LoopbackFunction 0; 30 | LinktraceFunction 0; 31 | } 32 | PerformanceManagementConfiguration 33 | { 34 | FrameDelayMeasurement 35 | { 36 | FrameDelayMeasurementEnable 0; 37 | FrameDelayMeasurementOneWayTwoWay 1; 38 | FrameDelayMeasurementTransmissionPeriodicity 0; 39 | } 40 | FrameLossMeasurement 41 | { 42 | FrameLossMeasurementEnable 0; 43 | FrameLossMeasurementTransmissionPeriodicity 0; 44 | } 45 | } 46 | } 47 | L2VPNDSID 1; 48 | VendorSpecificL2VPNSubtype 49 | { 50 | VendorIdentifier 0x010203; 51 | } 52 | } 53 | } 54 | } 55 | NetworkAccess 1; 56 | UsServiceFlow 57 | { 58 | UsServiceFlowRef 1; 59 | QosParamSetType 7; 60 | } 61 | DsServiceFlow 62 | { 63 | DsServiceFlowRef 2; 64 | QosParamSetType 7; 65 | } 66 | } 67 | -------------------------------------------------------------------------------- /tests/TLV_24_43_5_L2VPNEncoding.cm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlaager/docsis/d6c9347e6035f8c43f4dff630b0b54e884294c1f/tests/TLV_24_43_5_L2VPNEncoding.cm -------------------------------------------------------------------------------- /tests/TLV_24_43_6_ExtendedCMTSMICConfiguration.cm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlaager/docsis/d6c9347e6035f8c43f4dff630b0b54e884294c1f/tests/TLV_24_43_6_ExtendedCMTSMICConfiguration.cm -------------------------------------------------------------------------------- /tests/TLV_24_43_6_ExtendedCMTSMICConfiguration.conf: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | NetworkAccess 1; 4 | UsServiceFlow 5 | { 6 | UsServiceFlowRef 1; 7 | QosParamSetType 7; 8 | } 9 | DsServiceFlow 10 | { 11 | DsServiceFlowRef 2; 12 | QosParamSetType 7; 13 | } 14 | UsServiceFlow 15 | { 16 | VendorSpecific 17 | { 18 | VendorIdentifier 0xffffff; 19 | ExtendedCMTSMICConfigurationSetting 20 | { 21 | ExtendedCMTSMICHMACtype 1; 22 | ExtendedCMTSMICBitmap 0x00; 23 | ExplicitExtendedCMTSMICDigest 0x00; 24 | } 25 | } 26 | } 27 | /* CmMic cdbe9e034251db32c66adc0d10e52288; */ 28 | /* CmtsMic a608167448ce38b1d1c8193d3a917adb; */ 29 | /*EndOfDataMkr*/ 30 | /* Pad */ 31 | } 32 | -------------------------------------------------------------------------------- /tests/TLV_24_43_6_ExtendedCMTSMICConfiguration.txt: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | NetworkAccess 1; 4 | UsServiceFlow 5 | { 6 | UsServiceFlowRef 1; 7 | QosParamSetType 7; 8 | } 9 | DsServiceFlow 10 | { 11 | DsServiceFlowRef 2; 12 | QosParamSetType 7; 13 | } 14 | UsServiceFlow 15 | { 16 | VendorSpecific 17 | { 18 | VendorIdentifier 0xffffff; 19 | ExtendedCMTSMICConfigurationSetting 20 | { 21 | ExtendedCMTSMICHMACtype 1; 22 | ExtendedCMTSMICBitmap 0x00; 23 | ExplicitExtendedCMTSMICDigest 0x00; 24 | } 25 | } 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /tests/TLV_24_43_last_tlvs.cm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlaager/docsis/d6c9347e6035f8c43f4dff630b0b54e884294c1f/tests/TLV_24_43_last_tlvs.cm -------------------------------------------------------------------------------- /tests/TLV_24_last_before_43.cm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlaager/docsis/d6c9347e6035f8c43f4dff630b0b54e884294c1f/tests/TLV_24_last_before_43.cm -------------------------------------------------------------------------------- /tests/TLV_24_last_before_43.conf: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | NetworkAccess 1; 4 | UsServiceFlow 5 | { 6 | UsServiceFlowRef 1; 7 | QosParamSetType 7; 8 | } 9 | DsServiceFlow 10 | { 11 | DsServiceFlowRef 2; 12 | QosParamSetType 7; 13 | } 14 | UsServiceFlow 15 | { 16 | UsServiceFlowRef 3; 17 | QosParamSetType 7; 18 | MultipliertoNumberofBytesRequested 1; 19 | UpstreamPeakTrafficRate 0; 20 | ServiceFlowRequiredAttributeMask 0x00000000; 21 | ApplicationIdentifier 1; 22 | BufferControl 23 | { 24 | MinimumBuffer 0; 25 | TargetBuffer 0; 26 | MaximumBuffer 0; 27 | } 28 | ServiceFlowForbiddenAttributeMask 0x00000000; 29 | ServiceFlowAttributeAggregationRuleMask 0x00000000; 30 | UpstreamAggregateServiceFlowReference 31 | { 32 | GenericTLV TlvCode 1 TlvLength 1 TlvValue 0x01; 33 | } 34 | UpstreamMESPReference 2048; 35 | AQMEncodings 36 | { 37 | SFAQMDisable 1; 38 | SFAQMLatencyTarget 1; 39 | } 40 | DataRateUnitSetting 3; 41 | } 42 | /* CmMic 96de338f39211f703207903087fd1697; */ 43 | /* CmtsMic dbfc25537fe79bd168d238a7e66fa69d; */ 44 | /*EndOfDataMkr*/ 45 | } 46 | -------------------------------------------------------------------------------- /tests/TLV_24_last_before_43.txt: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | NetworkAccess 1; 4 | UsServiceFlow 5 | { 6 | UsServiceFlowRef 1; 7 | QosParamSetType 7; 8 | } 9 | DsServiceFlow 10 | { 11 | DsServiceFlowRef 2; 12 | QosParamSetType 7; 13 | } 14 | UsServiceFlow 15 | { 16 | UsServiceFlowRef 3; 17 | QosParamSetType 7; 18 | MultipliertoNumberofBytesRequested 1; 19 | UpstreamPeakTrafficRate 0; 20 | ServiceFlowRequiredAttributeMask 0x00000000; 21 | ApplicationIdentifier 1; 22 | BufferControl 23 | { 24 | MinimumBuffer 0; 25 | TargetBuffer 0; 26 | MaximumBuffer 0; 27 | } 28 | ServiceFlowForbiddenAttributeMask 0x00000000; 29 | ServiceFlowAttributeAggregationRuleMask 0x00000000; 30 | UpstreamAggregateServiceFlowReference 31 | { 32 | GenericTLV TlvCode 1 TlvLength 1 TlvValue 0x01; 33 | } 34 | UpstreamMESPReference 2048; 35 | AQMEncodings 36 | { 37 | SFAQMDisable 1; 38 | SFAQMLatencyTarget 1; 39 | } 40 | DataRateUnitSetting 3; 41 | } 42 | /* CmMic 7950380317f68630374aa1d09b78d2f7; */ 43 | /* CmtsMic 830d810a330f848c17d651d90128bab1; */ 44 | /*EndOfDataMkr*/ 45 | } 46 | -------------------------------------------------------------------------------- /tests/TLV_25_43_1_to_4_CMLoadBalancingPolicyID.cm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlaager/docsis/d6c9347e6035f8c43f4dff630b0b54e884294c1f/tests/TLV_25_43_1_to_4_CMLoadBalancingPolicyID.cm -------------------------------------------------------------------------------- /tests/TLV_25_43_1_to_4_CMLoadBalancingPolicyID.conf: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | NetworkAccess 1; 4 | UsServiceFlow 5 | { 6 | UsServiceFlowRef 1; 7 | QosParamSetType 7; 8 | } 9 | DsServiceFlow 10 | { 11 | DsServiceFlowRef 2; 12 | QosParamSetType 7; 13 | } 14 | DsServiceFlow 15 | { 16 | VendorSpecific 17 | { 18 | VendorIdentifier 0xffffff; 19 | CMLoadBalancingPolicyID 1; 20 | CMLoadBalancingPriority 1; 21 | CMLoadBalancingGroupID 1; 22 | CMRangingClassIDExtension 1; 23 | } 24 | } 25 | /* CmMic 29bd0fba942858e2fed942514292d24e; */ 26 | /* CmtsMic 68f2c0670e550610c2b10c4c7b712a00; */ 27 | /*EndOfDataMkr*/ 28 | /* Pad */ 29 | } 30 | -------------------------------------------------------------------------------- /tests/TLV_25_43_1_to_4_CMLoadBalancingPolicyID.txt: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | NetworkAccess 1; 4 | UsServiceFlow 5 | { 6 | UsServiceFlowRef 1; 7 | QosParamSetType 7; 8 | } 9 | DsServiceFlow 10 | { 11 | DsServiceFlowRef 2; 12 | QosParamSetType 7; 13 | } 14 | DsServiceFlow 15 | { 16 | VendorSpecific 17 | { 18 | VendorIdentifier 0xffffff; 19 | CMLoadBalancingPolicyID 1; 20 | CMLoadBalancingPriority 1; 21 | CMLoadBalancingGroupID 1; 22 | CMRangingClassIDExtension 1; 23 | } 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /tests/TLV_25_43_5_10_and_12.cm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlaager/docsis/d6c9347e6035f8c43f4dff630b0b54e884294c1f/tests/TLV_25_43_5_10_and_12.cm -------------------------------------------------------------------------------- /tests/TLV_25_43_5_10_and_12.conf: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | NetworkAccess 1; 4 | DsServiceFlow 5 | { 6 | DsServiceFlowRef 1; 7 | QosParamSetType 7; 8 | } 9 | DsServiceFlow 10 | { 11 | DsServiceFlowRef 2; 12 | QosParamSetType 7; 13 | } 14 | DsServiceFlow 15 | { 16 | VendorSpecific 17 | { 18 | VendorIdentifier 0xffffff; 19 | L2VPNEncoding 20 | { 21 | L2VPNSADescriptorSubtype 0x0102030405060708091011121314; 22 | PseudowireType 5; 23 | } 24 | } 25 | } 26 | /* CmMic 32d387f81d75602c0cc45f1a082e5800; */ 27 | /* CmtsMic f4c76af1dc35fc73b04b93a11053d730; */ 28 | /*EndOfDataMkr*/ 29 | } 30 | -------------------------------------------------------------------------------- /tests/TLV_25_43_5_10_and_12.txt: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | NetworkAccess 1; 4 | DsServiceFlow 5 | { 6 | UsServiceFlowRef 1; 7 | QosParamSetType 7; 8 | } 9 | DsServiceFlow 10 | { 11 | DsServiceFlowRef 2; 12 | QosParamSetType 7; 13 | } 14 | DsServiceFlow 15 | { 16 | VendorSpecific 17 | { 18 | VendorIdentifier 0xffffff; 19 | L2VPNEncoding 20 | { 21 | L2VPNSADescriptorSubtype 0x0102030405060708091011121314; 22 | PseudowireType 5; 23 | } 24 | } 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /tests/TLV_25_43_5_13_L2VPNMode.cm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlaager/docsis/d6c9347e6035f8c43f4dff630b0b54e884294c1f/tests/TLV_25_43_5_13_L2VPNMode.cm -------------------------------------------------------------------------------- /tests/TLV_25_43_5_13_L2VPNMode.conf: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | NetworkAccess 1; 4 | DsServiceFlow 5 | { 6 | DsServiceFlowRef 1; 7 | QosParamSetType 7; 8 | } 9 | DsServiceFlow 10 | { 11 | DsServiceFlowRef 2; 12 | QosParamSetType 7; 13 | } 14 | DsServiceFlow 15 | { 16 | VendorSpecific 17 | { 18 | VendorIdentifier 0xffffff; 19 | L2VPNEncoding 20 | { 21 | L2VPNMode 1; 22 | } 23 | } 24 | } 25 | /* CmMic 00bef142ad2be25060c24e8b9c4e8c95; */ 26 | /* CmtsMic 41884b4154c71ecdf79b6a481ba93bc7; */ 27 | /*EndOfDataMkr*/ 28 | } 29 | -------------------------------------------------------------------------------- /tests/TLV_25_43_5_13_L2VPNMode.txt: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | NetworkAccess 1; 4 | DsServiceFlow 5 | { 6 | UsServiceFlowRef 1; 7 | QosParamSetType 7; 8 | } 9 | DsServiceFlow 10 | { 11 | DsServiceFlowRef 2; 12 | QosParamSetType 7; 13 | } 14 | DsServiceFlow 15 | { 16 | VendorSpecific 17 | { 18 | VendorIdentifier 0xffffff; 19 | L2VPNEncoding 20 | { 21 | L2VPNMode 1; 22 | } 23 | } 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /tests/TLV_25_43_5_14_DPoE.cm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlaager/docsis/d6c9347e6035f8c43f4dff630b0b54e884294c1f/tests/TLV_25_43_5_14_DPoE.cm -------------------------------------------------------------------------------- /tests/TLV_25_43_5_14_DPoE.txt: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | NetworkAccess 1; 4 | DsServiceFlow 5 | { 6 | UsServiceFlowRef 1; 7 | QosParamSetType 7; 8 | } 9 | DsServiceFlow 10 | { 11 | DsServiceFlowRef 2; 12 | QosParamSetType 7; 13 | } 14 | DsServiceFlow 15 | { 16 | VendorSpecific 17 | { 18 | VendorIdentifier 0xffffff; 19 | L2VPNEncoding 20 | { 21 | TPIDTranslation 22 | { 23 | UpstreamTPIDTranslation 0x0102; 24 | DownstreamTPIDTranslation 0x0102; 25 | UpstreamSTPIDTranslation 0x0102; 26 | DownstreamSTPIDTranslation 0x0102; 27 | UpstreamBTPIDTranslation 0x0102; 28 | DownstreamBTPIDTranslation 0x0102; 29 | UpstreamITPIDTranslation 0x0102; 30 | DownstreamITPIDTranslation 0x0102; 31 | } 32 | L2CPProcessing 33 | { 34 | L2CPTunnelMode 1; 35 | L2CPDMACAddress 00:11:22:33:44:55; 36 | L2CPOverwrotingDMACAddress 55:44:33:22:11:00; 37 | } 38 | DACDisableEnableConfiguration 1; 39 | PseudowireClass 0x010203; 40 | ServiceDelimiter 41 | { 42 | CVIDDelimiter 0x0102; 43 | SVIDDelimiter 0x0102; 44 | ISIDDelimiter 0x010203; 45 | BVIDDelimiter 0x0102; 46 | } 47 | VirtualSwitchInstanceEncoding 48 | { 49 | VPLSClass 0x0102; 50 | ETreeRole 1; 51 | ETreeRootVID 0x0102; 52 | ETreeLeafVID 0x0304; 53 | } 54 | } 55 | } 56 | } 57 | } 58 | -------------------------------------------------------------------------------- /tests/TLV_25_43_5_24_SOAMSubtype.cm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlaager/docsis/d6c9347e6035f8c43f4dff630b0b54e884294c1f/tests/TLV_25_43_5_24_SOAMSubtype.cm -------------------------------------------------------------------------------- /tests/TLV_25_43_5_24_SOAMSubtype.txt: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | DsServiceFlow 4 | { 5 | VendorSpecific 6 | { 7 | VendorIdentifier 0xffffff; 8 | L2VPNEncoding 9 | { 10 | SOAMSubtype 11 | { 12 | MEPConfiguration 13 | { 14 | MDLevel 0; 15 | MDName "MD Name"; 16 | MAName "MA Name"; 17 | MEPID 1; 18 | } 19 | RemoteMEPConfiguration 20 | { 21 | RemoteMDLevel 0; 22 | RemoteMDName "MD Name"; 23 | RemoteMAName "MA Name"; 24 | RemoteMEPID 1; 25 | } 26 | FaultManagementConfiguration 27 | { 28 | ContinuityCheckMessages 0; 29 | LoopbackFunction 0; 30 | LinktraceFunction 0; 31 | } 32 | PerformanceManagementConfiguration 33 | { 34 | FrameDelayMeasurement 35 | { 36 | FrameDelayMeasurementEnable 0; 37 | FrameDelayMeasurementOneWayTwoWay 1; 38 | FrameDelayMeasurementTransmissionPeriodicity 0; 39 | } 40 | FrameLossMeasurement 41 | { 42 | FrameLossMeasurementEnable 0; 43 | FrameLossMeasurementTransmissionPeriodicity 0; 44 | } 45 | } 46 | } 47 | L2VPNDSID 1; 48 | VendorSpecificL2VPNSubtype 49 | { 50 | VendorIdentifier 0x010203; 51 | } 52 | } 53 | } 54 | } 55 | NetworkAccess 1; 56 | UsServiceFlow 57 | { 58 | UsServiceFlowRef 1; 59 | QosParamSetType 7; 60 | } 61 | DsServiceFlow 62 | { 63 | DsServiceFlowRef 2; 64 | QosParamSetType 7; 65 | } 66 | } 67 | -------------------------------------------------------------------------------- /tests/TLV_25_43_5_L2VPNEncoding.cm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlaager/docsis/d6c9347e6035f8c43f4dff630b0b54e884294c1f/tests/TLV_25_43_5_L2VPNEncoding.cm -------------------------------------------------------------------------------- /tests/TLV_25_43_6_ExtendedCMTSMICConfiguration.cm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlaager/docsis/d6c9347e6035f8c43f4dff630b0b54e884294c1f/tests/TLV_25_43_6_ExtendedCMTSMICConfiguration.cm -------------------------------------------------------------------------------- /tests/TLV_25_43_6_ExtendedCMTSMICConfiguration.conf: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | NetworkAccess 1; 4 | DsServiceFlow 5 | { 6 | DsServiceFlowRef 1; 7 | QosParamSetType 7; 8 | } 9 | DsServiceFlow 10 | { 11 | DsServiceFlowRef 2; 12 | QosParamSetType 7; 13 | } 14 | DsServiceFlow 15 | { 16 | VendorSpecific 17 | { 18 | VendorIdentifier 0xffffff; 19 | ExtendedCMTSMICConfigurationSetting 20 | { 21 | ExtendedCMTSMICHMACtype 1; 22 | ExtendedCMTSMICBitmap 0x00; 23 | ExplicitExtendedCMTSMICDigest 0x00; 24 | } 25 | } 26 | } 27 | /* CmMic 073ba0dfad5a1d659f87862a2cf29e2f; */ 28 | /* CmtsMic 72d7ae74aa7ae3202fc01f5886649111; */ 29 | /*EndOfDataMkr*/ 30 | /* Pad */ 31 | } 32 | -------------------------------------------------------------------------------- /tests/TLV_25_43_6_ExtendedCMTSMICConfiguration.txt: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | NetworkAccess 1; 4 | DsServiceFlow 5 | { 6 | UsServiceFlowRef 1; 7 | QosParamSetType 7; 8 | } 9 | DsServiceFlow 10 | { 11 | DsServiceFlowRef 2; 12 | QosParamSetType 7; 13 | } 14 | DsServiceFlow 15 | { 16 | VendorSpecific 17 | { 18 | VendorIdentifier 0xffffff; 19 | ExtendedCMTSMICConfigurationSetting 20 | { 21 | ExtendedCMTSMICHMACtype 1; 22 | ExtendedCMTSMICBitmap 0x00; 23 | ExplicitExtendedCMTSMICDigest 0x00; 24 | } 25 | } 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /tests/TLV_25_43_last_tlvs.cm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlaager/docsis/d6c9347e6035f8c43f4dff630b0b54e884294c1f/tests/TLV_25_43_last_tlvs.cm -------------------------------------------------------------------------------- /tests/TLV_25_remaining.cm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlaager/docsis/d6c9347e6035f8c43f4dff630b0b54e884294c1f/tests/TLV_25_remaining.cm -------------------------------------------------------------------------------- /tests/TLV_25_remaining.conf: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | NetworkAccess 1; 4 | UsServiceFlow 5 | { 6 | UsServiceFlowRef 1; 7 | QosParamSetType 7; 8 | } 9 | DsServiceFlow 10 | { 11 | DsServiceFlowRef 2; 12 | QosParamSetType 7; 13 | } 14 | DsServiceFlow 15 | { 16 | DsServiceFlowRef 3; 17 | QosParamSetType 7; 18 | DsResequencing 0; 19 | IpTosOverwrite 0xff00; 20 | DownstreamPeakTrafficRate 0; 21 | BufferControl 22 | { 23 | MinimumBuffer 0; 24 | TargetBuffer 0; 25 | MaximumBuffer 0; 26 | } 27 | DownstreamAggregateServiceFlowReference 28 | { 29 | GenericTLV TlvCode 1 TlvLength 1 TlvValue 0x01; 30 | } 31 | DownstreamMESPReference 1; 32 | AQMEncodings 33 | { 34 | SFAQMDisable 1; 35 | SFAQMLatencyTarget 1; 36 | } 37 | DataRateUnitSetting 3; 38 | } 39 | /* CmMic 575b551e8960b8636057ff8ce09cf451; */ 40 | /* CmtsMic 356b5339eb9a5d387601392696d85d80; */ 41 | /*EndOfDataMkr*/ 42 | } 43 | -------------------------------------------------------------------------------- /tests/TLV_25_remaining.txt: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | NetworkAccess 1; 4 | UsServiceFlow 5 | { 6 | UsServiceFlowRef 1; 7 | QosParamSetType 7; 8 | } 9 | DsServiceFlow 10 | { 11 | DsServiceFlowRef 2; 12 | QosParamSetType 7; 13 | } 14 | DsServiceFlow 15 | { 16 | DsServiceFlowRef 3; 17 | QosParamSetType 7; 18 | DsResequencing 0; 19 | IpTosOverwrite 0xff00; 20 | DownstreamPeakTrafficRate 0; 21 | BufferControl 22 | { 23 | MinimumBuffer 0; 24 | TargetBuffer 0; 25 | MaximumBuffer 0; 26 | } 27 | DownstreamAggregateServiceFlowReference 28 | { 29 | GenericTLV TlvCode 1 TlvLength 1 TlvValue 0x01; 30 | } 31 | DownstreamMESPReference 1; 32 | AQMEncodings 33 | { 34 | SFAQMDisable 1; 35 | SFAQMLatencyTarget 1; 36 | } 37 | DataRateUnitSetting 3; 38 | } 39 | } 40 | -------------------------------------------------------------------------------- /tests/TLV_26_43_1_to_4_CMLoadBalancingPolicyID.cm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlaager/docsis/d6c9347e6035f8c43f4dff630b0b54e884294c1f/tests/TLV_26_43_1_to_4_CMLoadBalancingPolicyID.cm -------------------------------------------------------------------------------- /tests/TLV_26_43_1_to_4_CMLoadBalancingPolicyID.conf: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | NetworkAccess 1; 4 | UsServiceFlow 5 | { 6 | UsServiceFlowRef 1; 7 | QosParamSetType 7; 8 | } 9 | DsServiceFlow 10 | { 11 | DsServiceFlowRef 2; 12 | QosParamSetType 7; 13 | } 14 | PHS 15 | { 16 | VendorSpecific 17 | { 18 | VendorIdentifier 0xffffff; 19 | CMLoadBalancingPolicyID 1; 20 | CMLoadBalancingPriority 1; 21 | CMLoadBalancingGroupID 1; 22 | CMRangingClassIDExtension 1; 23 | } 24 | } 25 | /* CmMic a9990007eaaa54228471e552ff4cc499; */ 26 | /* CmtsMic 7372f42c75db457e20ee48490d40730f; */ 27 | /*EndOfDataMkr*/ 28 | /* Pad */ 29 | } 30 | -------------------------------------------------------------------------------- /tests/TLV_26_43_1_to_4_CMLoadBalancingPolicyID.txt: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | NetworkAccess 1; 4 | UsServiceFlow 5 | { 6 | UsServiceFlowRef 1; 7 | QosParamSetType 7; 8 | } 9 | DsServiceFlow 10 | { 11 | DsServiceFlowRef 2; 12 | QosParamSetType 7; 13 | } 14 | PHS 15 | { 16 | VendorSpecific 17 | { 18 | VendorIdentifier 0xffffff; 19 | CMLoadBalancingPolicyID 1; 20 | CMLoadBalancingPriority 1; 21 | CMLoadBalancingGroupID 1; 22 | CMRangingClassIDExtension 1; 23 | } 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /tests/TLV_26_43_5_10_and_12.cm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlaager/docsis/d6c9347e6035f8c43f4dff630b0b54e884294c1f/tests/TLV_26_43_5_10_and_12.cm -------------------------------------------------------------------------------- /tests/TLV_26_43_5_10_and_12.conf: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | NetworkAccess 1; 4 | DsServiceFlow 5 | { 6 | DsServiceFlowRef 1; 7 | QosParamSetType 7; 8 | } 9 | DsServiceFlow 10 | { 11 | DsServiceFlowRef 2; 12 | QosParamSetType 7; 13 | } 14 | PHS 15 | { 16 | VendorSpecific 17 | { 18 | VendorIdentifier 0xffffff; 19 | L2VPNEncoding 20 | { 21 | L2VPNSADescriptorSubtype 0x0102030405060708091011121314; 22 | PseudowireType 5; 23 | } 24 | } 25 | } 26 | /* CmMic 555c2b97be857f149814932ae1cd0ee8; */ 27 | /* CmtsMic e11ce6efa4bbbaf533d31ea64dbc9235; */ 28 | /*EndOfDataMkr*/ 29 | } 30 | -------------------------------------------------------------------------------- /tests/TLV_26_43_5_10_and_12.txt: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | NetworkAccess 1; 4 | DsServiceFlow 5 | { 6 | UsServiceFlowRef 1; 7 | QosParamSetType 7; 8 | } 9 | DsServiceFlow 10 | { 11 | DsServiceFlowRef 2; 12 | QosParamSetType 7; 13 | } 14 | PHS 15 | { 16 | VendorSpecific 17 | { 18 | VendorIdentifier 0xffffff; 19 | L2VPNEncoding 20 | { 21 | L2VPNSADescriptorSubtype 0x0102030405060708091011121314; 22 | PseudowireType 5; 23 | } 24 | } 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /tests/TLV_26_43_5_13_L2VPNMode.cm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlaager/docsis/d6c9347e6035f8c43f4dff630b0b54e884294c1f/tests/TLV_26_43_5_13_L2VPNMode.cm -------------------------------------------------------------------------------- /tests/TLV_26_43_5_13_L2VPNMode.conf: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | NetworkAccess 1; 4 | DsServiceFlow 5 | { 6 | DsServiceFlowRef 1; 7 | QosParamSetType 7; 8 | } 9 | DsServiceFlow 10 | { 11 | DsServiceFlowRef 2; 12 | QosParamSetType 7; 13 | } 14 | PHS 15 | { 16 | VendorSpecific 17 | { 18 | VendorIdentifier 0xffffff; 19 | L2VPNEncoding 20 | { 21 | L2VPNMode 1; 22 | } 23 | } 24 | } 25 | /* CmMic 7bb80bd7abc12c23d8e5fb883bc63225; */ 26 | /* CmtsMic 75b631777ed6d04de82dec58839a6586; */ 27 | /*EndOfDataMkr*/ 28 | } 29 | -------------------------------------------------------------------------------- /tests/TLV_26_43_5_13_L2VPNMode.txt: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | NetworkAccess 1; 4 | DsServiceFlow 5 | { 6 | UsServiceFlowRef 1; 7 | QosParamSetType 7; 8 | } 9 | DsServiceFlow 10 | { 11 | DsServiceFlowRef 2; 12 | QosParamSetType 7; 13 | } 14 | PHS 15 | { 16 | VendorSpecific 17 | { 18 | VendorIdentifier 0xffffff; 19 | L2VPNEncoding 20 | { 21 | L2VPNMode 1; 22 | } 23 | } 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /tests/TLV_26_43_5_14_DPoE.cm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlaager/docsis/d6c9347e6035f8c43f4dff630b0b54e884294c1f/tests/TLV_26_43_5_14_DPoE.cm -------------------------------------------------------------------------------- /tests/TLV_26_43_5_14_DPoE.txt: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | NetworkAccess 1; 4 | DsServiceFlow 5 | { 6 | UsServiceFlowRef 1; 7 | QosParamSetType 7; 8 | } 9 | DsServiceFlow 10 | { 11 | DsServiceFlowRef 2; 12 | QosParamSetType 7; 13 | } 14 | PHS 15 | { 16 | VendorSpecific 17 | { 18 | VendorIdentifier 0xffffff; 19 | L2VPNEncoding 20 | { 21 | TPIDTranslation 22 | { 23 | UpstreamTPIDTranslation 0x0102; 24 | DownstreamTPIDTranslation 0x0102; 25 | UpstreamSTPIDTranslation 0x0102; 26 | DownstreamSTPIDTranslation 0x0102; 27 | UpstreamBTPIDTranslation 0x0102; 28 | DownstreamBTPIDTranslation 0x0102; 29 | UpstreamITPIDTranslation 0x0102; 30 | DownstreamITPIDTranslation 0x0102; 31 | } 32 | L2CPProcessing 33 | { 34 | L2CPTunnelMode 1; 35 | L2CPDMACAddress 00:11:22:33:44:55; 36 | L2CPOverwrotingDMACAddress 55:44:33:22:11:00; 37 | } 38 | DACDisableEnableConfiguration 1; 39 | PseudowireClass 0x010203; 40 | ServiceDelimiter 41 | { 42 | CVIDDelimiter 0x0102; 43 | SVIDDelimiter 0x0102; 44 | ISIDDelimiter 0x010203; 45 | BVIDDelimiter 0x0102; 46 | } 47 | VirtualSwitchInstanceEncoding 48 | { 49 | VPLSClass 0x0102; 50 | ETreeRole 1; 51 | ETreeRootVID 0x0102; 52 | ETreeLeafVID 0x0304; 53 | } 54 | } 55 | } 56 | } 57 | } 58 | -------------------------------------------------------------------------------- /tests/TLV_26_43_5_24_SOAMSubtype.cm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlaager/docsis/d6c9347e6035f8c43f4dff630b0b54e884294c1f/tests/TLV_26_43_5_24_SOAMSubtype.cm -------------------------------------------------------------------------------- /tests/TLV_26_43_5_24_SOAMSubtype.txt: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | PHS 4 | { 5 | VendorSpecific 6 | { 7 | VendorIdentifier 0xffffff; 8 | L2VPNEncoding 9 | { 10 | SOAMSubtype 11 | { 12 | MEPConfiguration 13 | { 14 | MDLevel 0; 15 | MDName "MD Name"; 16 | MAName "MA Name"; 17 | MEPID 1; 18 | } 19 | RemoteMEPConfiguration 20 | { 21 | RemoteMDLevel 0; 22 | RemoteMDName "MD Name"; 23 | RemoteMAName "MA Name"; 24 | RemoteMEPID 1; 25 | } 26 | FaultManagementConfiguration 27 | { 28 | ContinuityCheckMessages 0; 29 | LoopbackFunction 0; 30 | LinktraceFunction 0; 31 | } 32 | PerformanceManagementConfiguration 33 | { 34 | FrameDelayMeasurement 35 | { 36 | FrameDelayMeasurementEnable 0; 37 | FrameDelayMeasurementOneWayTwoWay 1; 38 | FrameDelayMeasurementTransmissionPeriodicity 0; 39 | } 40 | FrameLossMeasurement 41 | { 42 | FrameLossMeasurementEnable 0; 43 | FrameLossMeasurementTransmissionPeriodicity 0; 44 | } 45 | } 46 | } 47 | L2VPNDSID 1; 48 | VendorSpecificL2VPNSubtype 49 | { 50 | VendorIdentifier 0x010203; 51 | } 52 | } 53 | } 54 | } 55 | NetworkAccess 1; 56 | UsServiceFlow 57 | { 58 | UsServiceFlowRef 1; 59 | QosParamSetType 7; 60 | } 61 | DsServiceFlow 62 | { 63 | DsServiceFlowRef 2; 64 | QosParamSetType 7; 65 | } 66 | } 67 | -------------------------------------------------------------------------------- /tests/TLV_26_43_5_L2VPNEncoding.cm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlaager/docsis/d6c9347e6035f8c43f4dff630b0b54e884294c1f/tests/TLV_26_43_5_L2VPNEncoding.cm -------------------------------------------------------------------------------- /tests/TLV_26_43_6_ExtendedCMTSMICConfiguration.cm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlaager/docsis/d6c9347e6035f8c43f4dff630b0b54e884294c1f/tests/TLV_26_43_6_ExtendedCMTSMICConfiguration.cm -------------------------------------------------------------------------------- /tests/TLV_26_43_6_ExtendedCMTSMICConfiguration.conf: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | NetworkAccess 1; 4 | DsServiceFlow 5 | { 6 | DsServiceFlowRef 1; 7 | QosParamSetType 7; 8 | } 9 | DsServiceFlow 10 | { 11 | DsServiceFlowRef 2; 12 | QosParamSetType 7; 13 | } 14 | PHS 15 | { 16 | VendorSpecific 17 | { 18 | VendorIdentifier 0xffffff; 19 | ExtendedCMTSMICConfigurationSetting 20 | { 21 | ExtendedCMTSMICHMACtype 1; 22 | ExtendedCMTSMICBitmap 0x00; 23 | ExplicitExtendedCMTSMICDigest 0x00; 24 | } 25 | } 26 | } 27 | /* CmMic a869a35bcc0902ad0c7a6e51f7bb2a45; */ 28 | /* CmtsMic bdcc592cb6cfa5a9e436e856508c5aee; */ 29 | /*EndOfDataMkr*/ 30 | /* Pad */ 31 | } 32 | -------------------------------------------------------------------------------- /tests/TLV_26_43_6_ExtendedCMTSMICConfiguration.txt: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | NetworkAccess 1; 4 | DsServiceFlow 5 | { 6 | UsServiceFlowRef 1; 7 | QosParamSetType 7; 8 | } 9 | DsServiceFlow 10 | { 11 | DsServiceFlowRef 2; 12 | QosParamSetType 7; 13 | } 14 | PHS 15 | { 16 | VendorSpecific 17 | { 18 | VendorIdentifier 0xffffff; 19 | ExtendedCMTSMICConfigurationSetting 20 | { 21 | ExtendedCMTSMICHMACtype 1; 22 | ExtendedCMTSMICBitmap 0x00; 23 | ExplicitExtendedCMTSMICDigest 0x00; 24 | } 25 | } 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /tests/TLV_26_43_last_tlvs.cm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlaager/docsis/d6c9347e6035f8c43f4dff630b0b54e884294c1f/tests/TLV_26_43_last_tlvs.cm -------------------------------------------------------------------------------- /tests/TLV_26_43_last_tlvs.txt: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | PHS 4 | { 5 | VendorSpecific 6 | { 7 | VendorIdentifier 0xffffff; 8 | SAVAuthorizationEncoding 9 | { 10 | SAVGroupName "SAVGROUPNAME"; 11 | SAVStaticPrefixRule 12 | { 13 | SAVStaticPrefixAddress 0.0.0.0; 14 | SAVStaticPrefixLength 0; 15 | } 16 | } 17 | CMAttributeMasks 18 | { 19 | CMDownstreamRequiredAttributeMask 0x00000000; 20 | CMDownstreamForbiddenAttributeMask 0x00000000; 21 | CMUpstreamRequiredAttributeMask 0x00000000; 22 | CMUpstreamForbiddenAttributeMask 0xe0000001; 23 | } 24 | IPMulticastJoinAuthorization 25 | { 26 | IPMulticastProfileName "profileName"; 27 | IPMulticastJoinAuthStaticSessionRule 28 | { 29 | MulticastRulePriority 0; 30 | AuthorizationAction 0; 31 | SourcePrefixAddress 0.0.0.0; 32 | SourcePrefixAddress 0.0.0.0; 33 | SourcePrefixLength 32; 34 | GroupPrefixAddress 0.0.0.0; 35 | GroupPrefixLength 32; 36 | } 37 | MaximumMulticastSessions 0; 38 | } 39 | ServiceTypeIdentifier "basic"; 40 | DEMARCAutoConfiguration 41 | { 42 | DACDisableEnableConfig 1; 43 | } 44 | } 45 | } 46 | NetworkAccess 1; 47 | UsServiceFlow 48 | { 49 | UsServiceFlowRef 1; 50 | QosParamSetType 7; 51 | } 52 | DsServiceFlow 53 | { 54 | DsServiceFlowRef 2; 55 | QosParamSetType 7; 56 | } 57 | } 58 | -------------------------------------------------------------------------------- /tests/TLV_36_SubscriberManagementCPEIPTable.cm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlaager/docsis/d6c9347e6035f8c43f4dff630b0b54e884294c1f/tests/TLV_36_SubscriberManagementCPEIPTable.cm -------------------------------------------------------------------------------- /tests/TLV_36_SubscriberManagementCPEIPTable.conf: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | NetworkAccess 1; 4 | UsServiceFlow 5 | { 6 | UsServiceFlowRef 1; 7 | QosParamSetType 7; 8 | } 9 | DsServiceFlow 10 | { 11 | DsServiceFlowRef 2; 12 | QosParamSetType 7; 13 | } 14 | SubscriberManagementCPEIPTable 10.11.0.1,1.2.3.5,1.5.4.6,1.1.1.1; 15 | /* CmMic 40d02c6c63018403184b64e7298d2355; */ 16 | /* CmtsMic 6239e8f4973df44bfa9843f8f559312a; */ 17 | /*EndOfDataMkr*/ 18 | } 19 | -------------------------------------------------------------------------------- /tests/TLV_36_SubscriberManagementCPEIPTable.txt: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | NetworkAccess 1; 4 | UsServiceFlow 5 | { 6 | UsServiceFlowRef 1; 7 | QosParamSetType 7; 8 | } 9 | DsServiceFlow 10 | { 11 | DsServiceFlowRef 2; 12 | QosParamSetType 7; 13 | } 14 | SubscriberManagementCPEIPTable 10.11.0.1,1.2.3.5,1.5.4.6,1.1.1.1; 15 | } 16 | -------------------------------------------------------------------------------- /tests/TLV_38_8_SnmpV3TrapRxIP6.cm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlaager/docsis/d6c9347e6035f8c43f4dff630b0b54e884294c1f/tests/TLV_38_8_SnmpV3TrapRxIP6.cm -------------------------------------------------------------------------------- /tests/TLV_38_8_SnmpV3TrapRxIP6.conf: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | NetworkAccess 1; 4 | UsServiceFlow 5 | { 6 | UsServiceFlowRef 1; 7 | QosParamSetType 7; 8 | } 9 | DsServiceFlow 10 | { 11 | DsServiceFlowRef 2; 12 | QosParamSetType 7; 13 | } 14 | SnmpV3TrapReceiver 15 | { 16 | SnmpV3TrapRxIP6 2002::2:2; 17 | } 18 | /* CmMic c298e6e8c58cbcc108ca1514198d1c8c; */ 19 | /* CmtsMic 851dca5a82d3bf721a7e4648099e599d; */ 20 | /*EndOfDataMkr*/ 21 | /* Pad */ 22 | } 23 | -------------------------------------------------------------------------------- /tests/TLV_38_8_SnmpV3TrapRxIP6.txt: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | NetworkAccess 1; 4 | UsServiceFlow 5 | { 6 | UsServiceFlowRef 1; 7 | QosParamSetType 7; 8 | } 9 | DsServiceFlow 10 | { 11 | DsServiceFlowRef 2; 12 | QosParamSetType 7; 13 | } 14 | SnmpV3TrapReceiver 15 | { 16 | SnmpV3TrapRxIP6 2002::2:2; 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /tests/TLV_40_EnableTestModes.cm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlaager/docsis/d6c9347e6035f8c43f4dff630b0b54e884294c1f/tests/TLV_40_EnableTestModes.cm -------------------------------------------------------------------------------- /tests/TLV_40_EnableTestModes.conf: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | NetworkAccess 1; 4 | UsServiceFlow 5 | { 6 | UsServiceFlowRef 1; 7 | QosParamSetType 7; 8 | } 9 | DsServiceFlow 10 | { 11 | DsServiceFlowRef 2; 12 | QosParamSetType 7; 13 | } 14 | EnableTestModes 1; 15 | /* CmMic b99d3ae458b292741d94e4ce1ea09a06; */ 16 | /* CmtsMic 217cda741a762b69c6d0ebfbf698a443; */ 17 | /*EndOfDataMkr*/ 18 | /* Pad */ 19 | } 20 | -------------------------------------------------------------------------------- /tests/TLV_40_EnableTestModes.txt: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | NetworkAccess 1; 4 | UsServiceFlow 5 | { 6 | UsServiceFlowRef 1; 7 | QosParamSetType 7; 8 | } 9 | DsServiceFlow 10 | { 11 | DsServiceFlowRef 2; 12 | QosParamSetType 7; 13 | } 14 | EnableTestModes 1; 15 | } 16 | -------------------------------------------------------------------------------- /tests/TLV_43_1_to_4_CMLoadBalancingPolicyID.cm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlaager/docsis/d6c9347e6035f8c43f4dff630b0b54e884294c1f/tests/TLV_43_1_to_4_CMLoadBalancingPolicyID.cm -------------------------------------------------------------------------------- /tests/TLV_43_1_to_4_CMLoadBalancingPolicyID.conf: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | NetworkAccess 1; 4 | UsServiceFlow 5 | { 6 | UsServiceFlowRef 1; 7 | QosParamSetType 7; 8 | } 9 | DsServiceFlow 10 | { 11 | DsServiceFlowRef 2; 12 | QosParamSetType 7; 13 | } 14 | VendorSpecific 15 | { 16 | VendorIdentifier 0xffffff; 17 | CMLoadBalancingPolicyID 1; 18 | CMLoadBalancingPriority 1; 19 | CMLoadBalancingGroupID 1; 20 | CMRangingClassIDExtension 1; 21 | } 22 | /* CmMic 5ea4aa3314fc9306ce59303039a98eb8; */ 23 | /* CmtsMic 4439f1088e608691a64085c0230d1b85; */ 24 | /*EndOfDataMkr*/ 25 | } 26 | -------------------------------------------------------------------------------- /tests/TLV_43_1_to_4_CMLoadBalancingPolicyID.txt: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | NetworkAccess 1; 4 | UsServiceFlow 5 | { 6 | UsServiceFlowRef 1; 7 | QosParamSetType 7; 8 | } 9 | DsServiceFlow 10 | { 11 | DsServiceFlowRef 2; 12 | QosParamSetType 7; 13 | } 14 | VendorSpecific 15 | { 16 | VendorIdentifier 0xffffff; 17 | CMLoadBalancingPolicyID 1; 18 | CMLoadBalancingPriority 1; 19 | CMLoadBalancingGroupID 1; 20 | CMRangingClassIDExtension 1; 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /tests/TLV_43_5_10_and_12.cm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlaager/docsis/d6c9347e6035f8c43f4dff630b0b54e884294c1f/tests/TLV_43_5_10_and_12.cm -------------------------------------------------------------------------------- /tests/TLV_43_5_10_and_12.conf: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | NetworkAccess 1; 4 | DsServiceFlow 5 | { 6 | DsServiceFlowRef 1; 7 | QosParamSetType 7; 8 | } 9 | DsServiceFlow 10 | { 11 | DsServiceFlowRef 2; 12 | QosParamSetType 7; 13 | } 14 | VendorSpecific 15 | { 16 | VendorIdentifier 0xffffff; 17 | L2VPNEncoding 18 | { 19 | L2VPNSADescriptorSubtype 0x0102030405060708091011121314; 20 | PseudowireType 5; 21 | } 22 | } 23 | /* CmMic 3efa99c35ad3e6e8994f694bdf45e0e8; */ 24 | /* CmtsMic 4783d08cf5822b6099e32b63af57b28f; */ 25 | /*EndOfDataMkr*/ 26 | /* Pad */ 27 | } 28 | -------------------------------------------------------------------------------- /tests/TLV_43_5_10_and_12.txt: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | NetworkAccess 1; 4 | DsServiceFlow 5 | { 6 | UsServiceFlowRef 1; 7 | QosParamSetType 7; 8 | } 9 | DsServiceFlow 10 | { 11 | DsServiceFlowRef 2; 12 | QosParamSetType 7; 13 | } 14 | VendorSpecific 15 | { 16 | VendorIdentifier 0xffffff; 17 | L2VPNEncoding 18 | { 19 | L2VPNSADescriptorSubtype 0x0102030405060708091011121314; 20 | PseudowireType 5; 21 | } 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /tests/TLV_43_5_13_L2VPNMode.cm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlaager/docsis/d6c9347e6035f8c43f4dff630b0b54e884294c1f/tests/TLV_43_5_13_L2VPNMode.cm -------------------------------------------------------------------------------- /tests/TLV_43_5_13_L2VPNMode.conf: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | NetworkAccess 1; 4 | DsServiceFlow 5 | { 6 | DsServiceFlowRef 1; 7 | QosParamSetType 7; 8 | } 9 | DsServiceFlow 10 | { 11 | DsServiceFlowRef 2; 12 | QosParamSetType 7; 13 | } 14 | VendorSpecific 15 | { 16 | VendorIdentifier 0xffffff; 17 | L2VPNEncoding 18 | { 19 | L2VPNMode 1; 20 | } 21 | } 22 | /* CmMic 6fb47d9645ced8cc15b2b981dff40daa; */ 23 | /* CmtsMic eb73a64a98453ec4d871cf0bdb358d9c; */ 24 | /*EndOfDataMkr*/ 25 | /* Pad */ 26 | } 27 | -------------------------------------------------------------------------------- /tests/TLV_43_5_13_L2VPNMode.txt: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | NetworkAccess 1; 4 | DsServiceFlow 5 | { 6 | UsServiceFlowRef 1; 7 | QosParamSetType 7; 8 | } 9 | DsServiceFlow 10 | { 11 | DsServiceFlowRef 2; 12 | QosParamSetType 7; 13 | } 14 | VendorSpecific 15 | { 16 | VendorIdentifier 0xffffff; 17 | L2VPNEncoding 18 | { 19 | L2VPNMode 1; 20 | } 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /tests/TLV_43_5_14_DPoE.cm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlaager/docsis/d6c9347e6035f8c43f4dff630b0b54e884294c1f/tests/TLV_43_5_14_DPoE.cm -------------------------------------------------------------------------------- /tests/TLV_43_5_14_DPoE.txt: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | NetworkAccess 1; 4 | DsServiceFlow 5 | { 6 | UsServiceFlowRef 1; 7 | QosParamSetType 7; 8 | } 9 | DsServiceFlow 10 | { 11 | DsServiceFlowRef 2; 12 | QosParamSetType 7; 13 | } 14 | VendorSpecific 15 | { 16 | VendorIdentifier 0xffffff; 17 | L2VPNEncoding 18 | { 19 | TPIDTranslation 20 | { 21 | UpstreamTPIDTranslation 0x0102; 22 | DownstreamTPIDTranslation 0x0102; 23 | UpstreamSTPIDTranslation 0x0102; 24 | DownstreamSTPIDTranslation 0x0102; 25 | UpstreamBTPIDTranslation 0x0102; 26 | DownstreamBTPIDTranslation 0x0102; 27 | UpstreamITPIDTranslation 0x0102; 28 | DownstreamITPIDTranslation 0x0102; 29 | } 30 | L2CPProcessing 31 | { 32 | L2CPTunnelMode 1; 33 | L2CPDMACAddress 00:11:22:33:44:55; 34 | L2CPOverwrotingDMACAddress 55:44:33:22:11:00; 35 | } 36 | DACDisableEnableConfiguration 1; 37 | PseudowireClass 0x010203; 38 | ServiceDelimiter 39 | { 40 | CVIDDelimiter 0x0102; 41 | SVIDDelimiter 0x0102; 42 | ISIDDelimiter 0x010203; 43 | BVIDDelimiter 0x0102; 44 | } 45 | VirtualSwitchInstanceEncoding 46 | { 47 | VPLSClass 0x0102; 48 | ETreeRole 1; 49 | ETreeRootVID 0x0102; 50 | ETreeLeafVID 0x0304; 51 | } 52 | } 53 | } 54 | } 55 | -------------------------------------------------------------------------------- /tests/TLV_43_5_24_SOAMSubtype.cm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlaager/docsis/d6c9347e6035f8c43f4dff630b0b54e884294c1f/tests/TLV_43_5_24_SOAMSubtype.cm -------------------------------------------------------------------------------- /tests/TLV_43_5_24_SOAMSubtype.txt: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | VendorSpecific 4 | { 5 | VendorIdentifier 0xffffff; 6 | L2VPNEncoding 7 | { 8 | SOAMSubtype 9 | { 10 | MEPConfiguration 11 | { 12 | MDLevel 0; 13 | MDName "MD Name"; 14 | MAName "MA Name"; 15 | MEPID 1; 16 | } 17 | RemoteMEPConfiguration 18 | { 19 | RemoteMDLevel 0; 20 | RemoteMDName "MD Name"; 21 | RemoteMAName "MA Name"; 22 | RemoteMEPID 1; 23 | } 24 | FaultManagementConfiguration 25 | { 26 | ContinuityCheckMessages 0; 27 | LoopbackFunction 0; 28 | LinktraceFunction 0; 29 | } 30 | PerformanceManagementConfiguration 31 | { 32 | FrameDelayMeasurement 33 | { 34 | FrameDelayMeasurementEnable 0; 35 | FrameDelayMeasurementOneWayTwoWay 1; 36 | FrameDelayMeasurementTransmissionPeriodicity 0; 37 | } 38 | FrameLossMeasurement 39 | { 40 | FrameLossMeasurementEnable 0; 41 | FrameLossMeasurementTransmissionPeriodicity 0; 42 | } 43 | } 44 | } 45 | L2VPNDSID 1; 46 | VendorSpecificL2VPNSubtype 47 | { 48 | VendorIdentifier 0x010203; 49 | } 50 | } 51 | } 52 | NetworkAccess 1; 53 | UsServiceFlow 54 | { 55 | UsServiceFlowRef 1; 56 | QosParamSetType 7; 57 | } 58 | DsServiceFlow 59 | { 60 | DsServiceFlowRef 2; 61 | QosParamSetType 7; 62 | } 63 | } 64 | -------------------------------------------------------------------------------- /tests/TLV_43_5_3_to_13.cm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlaager/docsis/d6c9347e6035f8c43f4dff630b0b54e884294c1f/tests/TLV_43_5_3_to_13.cm -------------------------------------------------------------------------------- /tests/TLV_43_5_3_to_13.conf: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | NetworkAccess 1; 4 | UsServiceFlow 5 | { 6 | UsServiceFlowRef 1; 7 | QosParamSetType 7; 8 | } 9 | DsServiceFlow 10 | { 11 | DsServiceFlowRef 2; 12 | QosParamSetType 7; 13 | } 14 | UpstreamDropPacketClassification 15 | { 16 | VendorSpecific 17 | { 18 | VendorIdentifier 0xffffff; 19 | L2VPNEncoding 20 | { 21 | eSAFEDHCPSnooping 0x000000; 22 | CMInterfaceMaskCMIMSubtype 0x000080; 23 | AttachmentGroupID 0x0102; 24 | SourceAttachmentIndividualID 0x0102; 25 | TargetAttachmentIndividualID 0x0102; 26 | IngressUserPriority 1; 27 | UserPriorityRange 1,2; 28 | L2VPNSADescriptorSubtype 0x0102030405060708091011121314; 29 | PseudowireType 4; 30 | L2VPNMode 1; 31 | } 32 | } 33 | } 34 | /* CmMic ddc38b3a5de8fa8f85ef910911342f1d; */ 35 | /* CmtsMic 0c5f464d3d663a8fa6751d7cb016da63; */ 36 | /*EndOfDataMkr*/ 37 | } 38 | -------------------------------------------------------------------------------- /tests/TLV_43_5_3_to_13.txt: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | NetworkAccess 1; 4 | UsServiceFlow 5 | { 6 | UsServiceFlowRef 1; 7 | QosParamSetType 7; 8 | } 9 | DsServiceFlow 10 | { 11 | DsServiceFlowRef 2; 12 | QosParamSetType 7; 13 | } 14 | UpstreamDropPacketClassification 15 | { 16 | VendorSpecific 17 | { 18 | VendorIdentifier 0xffffff; 19 | L2VPNEncoding 20 | { 21 | eSAFEDHCPSnooping 0x000000; 22 | CMInterfaceMaskCMIMSubtype 0x000080; 23 | AttachmentGroupID 0x0102; 24 | SourceAttachmentIndividualID 0x0102; 25 | TargetAttachmentIndividualID 0x0102; 26 | IngressUserPriority 1; 27 | UserPriorityRange 1,2; 28 | L2VPNSADescriptorSubtype 0x0102030405060708091011121314; 29 | PseudowireType 4; 30 | L2VPNMode 1; 31 | } 32 | } 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /tests/TLV_43_5_L2VPNEncoding.cm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlaager/docsis/d6c9347e6035f8c43f4dff630b0b54e884294c1f/tests/TLV_43_5_L2VPNEncoding.cm -------------------------------------------------------------------------------- /tests/TLV_43_6_ExtendedCMTSMICConfiguration.cm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlaager/docsis/d6c9347e6035f8c43f4dff630b0b54e884294c1f/tests/TLV_43_6_ExtendedCMTSMICConfiguration.cm -------------------------------------------------------------------------------- /tests/TLV_43_6_ExtendedCMTSMICConfiguration.conf: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | NetworkAccess 1; 4 | DsServiceFlow 5 | { 6 | DsServiceFlowRef 1; 7 | QosParamSetType 7; 8 | } 9 | DsServiceFlow 10 | { 11 | DsServiceFlowRef 2; 12 | QosParamSetType 7; 13 | } 14 | VendorSpecific 15 | { 16 | VendorIdentifier 0xffffff; 17 | ExtendedCMTSMICConfiguration 18 | { 19 | ExtendedCMTSMICHMACDigestType 1; 20 | ExtendedCMTSMICHMACBitmap 0x00; 21 | ExtendedCMTSMICHMACDigest 0x00; 22 | } 23 | } 24 | /* CmMic 700b341d1bd4b070f634c373420e6b64; */ 25 | /* CmtsMic ed4e0dea906a3d6fdbb52f7de4b82bd0; */ 26 | /*EndOfDataMkr*/ 27 | } 28 | -------------------------------------------------------------------------------- /tests/TLV_43_6_ExtendedCMTSMICConfiguration.txt: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | NetworkAccess 1; 4 | DsServiceFlow 5 | { 6 | UsServiceFlowRef 1; 7 | QosParamSetType 7; 8 | } 9 | DsServiceFlow 10 | { 11 | DsServiceFlowRef 2; 12 | QosParamSetType 7; 13 | } 14 | VendorSpecific 15 | { 16 | VendorIdentifier 0xffffff; 17 | ExtendedCMTSMICConfigurationSetting 18 | { 19 | ExtendedCMTSMICHMACtype 1; 20 | ExtendedCMTSMICBitmap 0x00; 21 | ExplicitExtendedCMTSMICDigest 0x00; 22 | } 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /tests/TLV_43_last_tlvs.cm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlaager/docsis/d6c9347e6035f8c43f4dff630b0b54e884294c1f/tests/TLV_43_last_tlvs.cm -------------------------------------------------------------------------------- /tests/TLV_43_last_tlvs.txt: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | VendorSpecific 4 | { 5 | VendorIdentifier 0xffffff; 6 | SAVAuthorizationEncoding 7 | { 8 | SAVGroupName "SAVGROUPNAME"; 9 | SAVStaticPrefixRule 10 | { 11 | SAVStaticPrefixAddress 0.0.0.0; 12 | SAVStaticPrefixLength 0; 13 | } 14 | } 15 | CMAttributeMasks 16 | { 17 | CMDownstreamRequiredAttributeMask 0x00000000; 18 | CMDownstreamForbiddenAttributeMask 0x00000000; 19 | CMUpstreamRequiredAttributeMask 0x00000000; 20 | CMUpstreamForbiddenAttributeMask 0xe0000001; 21 | } 22 | IPMulticastJoinAuthorization 23 | { 24 | IPMulticastProfileName "profileName"; 25 | IPMulticastJoinAuthStaticSessionRule 26 | { 27 | MulticastRulePriority 0; 28 | AuthorizationAction 0; 29 | SourcePrefixAddress 0.0.0.0; 30 | SourcePrefixAddress 0.0.0.0; 31 | SourcePrefixLength 32; 32 | GroupPrefixAddress 0.0.0.0; 33 | GroupPrefixLength 32; 34 | } 35 | MaximumMulticastSessions 0; 36 | } 37 | ServiceTypeIdentifier "basic"; 38 | DEMARCAutoConfiguration 39 | { 40 | DACDisableEnableConfig 1; 41 | } 42 | } 43 | NetworkAccess 1; 44 | UsServiceFlow 45 | { 46 | UsServiceFlowRef 1; 47 | QosParamSetType 7; 48 | } 49 | DsServiceFlow 50 | { 51 | DsServiceFlowRef 2; 52 | QosParamSetType 7; 53 | } 54 | } 55 | -------------------------------------------------------------------------------- /tests/TLV_53_SNMPv1v2cCoexistenceConfig.cm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlaager/docsis/d6c9347e6035f8c43f4dff630b0b54e884294c1f/tests/TLV_53_SNMPv1v2cCoexistenceConfig.cm -------------------------------------------------------------------------------- /tests/TLV_53_SNMPv1v2cCoexistenceConfig.conf: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | NetworkAccess 1; 4 | UsServiceFlow 5 | { 6 | UsServiceFlowRef 1; 7 | QosParamSetType 7; 8 | } 9 | DsServiceFlow 10 | { 11 | DsServiceFlowRef 2; 12 | QosParamSetType 7; 13 | } 14 | SNMPv1v2cCoexistenceConfig 15 | { 16 | SNMPv1v2cCommunityName "public"; 17 | SNMPv1v2cTransportAddressAccess 18 | { 19 | SNMPv1v2cTransportAddress 1.2.3.4/69; 20 | SNMPv1v2cTransportAddressMask 2002::2:2/23; 21 | } 22 | SNMPv1v2cAccessViewType 1; 23 | SNMPv1v2cAccessViewName "public"; 24 | } 25 | /* CmMic c06e401e7aa35ec665e9a7690dc2f8f3; */ 26 | /* CmtsMic 83aeca8d8fc5fc37d05ba4fc876cc631; */ 27 | /*EndOfDataMkr*/ 28 | /* Pad */ 29 | } 30 | -------------------------------------------------------------------------------- /tests/TLV_53_SNMPv1v2cCoexistenceConfig.txt: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | NetworkAccess 1; 4 | UsServiceFlow 5 | { 6 | UsServiceFlowRef 1; 7 | QosParamSetType 7; 8 | } 9 | DsServiceFlow 10 | { 11 | DsServiceFlowRef 2; 12 | QosParamSetType 7; 13 | } 14 | SNMPv1v2cCoexistenceConfig 15 | { 16 | SNMPv1v2cCommunityName "public"; 17 | SNMPv1v2cTransportAddressAccess 18 | { 19 | SNMPv1v2cTransportAddress 1.2.3.4/69; 20 | SNMPv1v2cTransportAddressMask 2002::2:2/23; 21 | } 22 | SNMPv1v2cAccessViewType 1; 23 | SNMPv1v2cAccessViewName "public"; 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /tests/TLV_54_SNMPv3AccessViewConfiguration.cm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlaager/docsis/d6c9347e6035f8c43f4dff630b0b54e884294c1f/tests/TLV_54_SNMPv3AccessViewConfiguration.cm -------------------------------------------------------------------------------- /tests/TLV_54_SNMPv3AccessViewConfiguration.conf: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | SNMPv3AccessViewConfiguration 4 | { 5 | SNMPv3AccessViewName "public"; 6 | SNMPv3AccessViewSubtree .1.3.6; 7 | SNMPv3AccessViewMask 0x00; 8 | SNMPv3AccessViewType 1; 9 | } 10 | NetworkAccess 1; 11 | UsServiceFlow 12 | { 13 | UsServiceFlowRef 1; 14 | QosParamSetType 7; 15 | } 16 | DsServiceFlow 17 | { 18 | DsServiceFlowRef 2; 19 | QosParamSetType 7; 20 | } 21 | /* CmMic 8753d9d72ec0090af488a223a805d6e7; */ 22 | /* CmtsMic fcf5a1c58ad889dc608720d2747634ca; */ 23 | /*EndOfDataMkr*/ 24 | } 25 | -------------------------------------------------------------------------------- /tests/TLV_54_SNMPv3AccessViewConfiguration.txt: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | SNMPv3AccessViewConfiguration 4 | { 5 | SNMPv3AccessViewName "public"; 6 | SNMPv3AccessViewSubtree .1.3.6; 7 | SNMPv3AccessViewMask 0x00; 8 | SNMPv3AccessViewType 1; 9 | } 10 | NetworkAccess 1; 11 | UsServiceFlow 12 | { 13 | UsServiceFlowRef 1; 14 | QosParamSetType 7; 15 | } 16 | DsServiceFlow 17 | { 18 | DsServiceFlowRef 2; 19 | QosParamSetType 7; 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /tests/TLV_55_SNMPCPEAccessControl.cm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlaager/docsis/d6c9347e6035f8c43f4dff630b0b54e884294c1f/tests/TLV_55_SNMPCPEAccessControl.cm -------------------------------------------------------------------------------- /tests/TLV_55_SNMPCPEAccessControl.conf: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | NetworkAccess 1; 4 | UsServiceFlow 5 | { 6 | UsServiceFlowRef 1; 7 | QosParamSetType 7; 8 | } 9 | DsServiceFlow 10 | { 11 | DsServiceFlowRef 2; 12 | QosParamSetType 7; 13 | } 14 | SNMPCPEAccessControl 1; 15 | /* CmMic c33ea00b14c99a4263009c15b98a8941; */ 16 | /* CmtsMic d91a2d59880d849dc143809474ce956d; */ 17 | /*EndOfDataMkr*/ 18 | /* Pad */ 19 | } 20 | -------------------------------------------------------------------------------- /tests/TLV_55_SNMPCPEAccessControl.txt: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | NetworkAccess 1; 4 | UsServiceFlow 5 | { 6 | UsServiceFlowRef 1; 7 | QosParamSetType 7; 8 | } 9 | DsServiceFlow 10 | { 11 | DsServiceFlowRef 2; 12 | QosParamSetType 7; 13 | } 14 | SNMPCPEAccessControl 1; 15 | } 16 | -------------------------------------------------------------------------------- /tests/TLV_59_TFTPProvisionedModemIPv6Address.cm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlaager/docsis/d6c9347e6035f8c43f4dff630b0b54e884294c1f/tests/TLV_59_TFTPProvisionedModemIPv6Address.cm -------------------------------------------------------------------------------- /tests/TLV_59_TFTPProvisionedModemIPv6Address.conf: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | NetworkAccess 1; 4 | UsServiceFlow 5 | { 6 | UsServiceFlowRef 1; 7 | QosParamSetType 7; 8 | } 9 | DsServiceFlow 10 | { 11 | DsServiceFlowRef 2; 12 | QosParamSetType 7; 13 | } 14 | TFTPProvisionedModemIPv6Address 2002::2:2; 15 | /* CmMic 419dbb12160f11c2e3e72035dc27415b; */ 16 | /* CmtsMic 8032abb1b7d45fc6ed041c39fe7b4666; */ 17 | /*EndOfDataMkr*/ 18 | } 19 | -------------------------------------------------------------------------------- /tests/TLV_59_TFTPProvisionedModemIPv6Address.txt: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | NetworkAccess 1; 4 | UsServiceFlow 5 | { 6 | UsServiceFlowRef 1; 7 | QosParamSetType 7; 8 | } 9 | DsServiceFlow 10 | { 11 | DsServiceFlowRef 2; 12 | QosParamSetType 7; 13 | } 14 | TFTPProvisionedModemIPv6Address 2002::2:2; 15 | } 16 | -------------------------------------------------------------------------------- /tests/TLV_60_12_IPv6PacketClassification.cm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlaager/docsis/d6c9347e6035f8c43f4dff630b0b54e884294c1f/tests/TLV_60_12_IPv6PacketClassification.cm -------------------------------------------------------------------------------- /tests/TLV_60_12_IPv6PacketClassification.conf: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | UpstreamDropPacketClassification 4 | { 5 | IPv6PacketClassification 6 | { 7 | IPv6TrafficClassRangeandMask 0x00ffff; 8 | IPv6FlowLabel 0x00000000; 9 | IPv6NextHeaderType 0; 10 | IPv6SourceAddress ::; 11 | IPv6SourcePrefixLength 0; 12 | IPv6DestinationAddress ::; 13 | IPv6DestinationPrefixLength 0; 14 | } 15 | } 16 | NetworkAccess 1; 17 | UsServiceFlow 18 | { 19 | UsServiceFlowRef 1; 20 | QosParamSetType 7; 21 | } 22 | DsServiceFlow 23 | { 24 | DsServiceFlowRef 2; 25 | QosParamSetType 7; 26 | } 27 | /* CmMic 14be2a1773f13de08c0bf5ecf34de3e5; */ 28 | /* CmtsMic f00a1525225f06b59e3c6702f291a488; */ 29 | /*EndOfDataMkr*/ 30 | } 31 | -------------------------------------------------------------------------------- /tests/TLV_60_12_IPv6PacketClassification.txt: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | UpstreamDropPacketClassification 4 | { 5 | IPv6PacketClassification 6 | { 7 | IPv6TrafficClassRangeandMask 0x00ffff; 8 | IPv6FlowLabel 0x00000000; 9 | IPv6NextHeaderType 0; 10 | IPv6SourceAddress ::; 11 | IPv6SourcePrefixLength 0; 12 | IPv6DestinationAddress ::; 13 | IPv6DestinationPrefixLength 0; 14 | } 15 | } 16 | NetworkAccess 1; 17 | UsServiceFlow 18 | { 19 | UsServiceFlowRef 1; 20 | QosParamSetType 7; 21 | } 22 | DsServiceFlow 23 | { 24 | DsServiceFlowRef 2; 25 | QosParamSetType 7; 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /tests/TLV_60_13_to_17.cm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlaager/docsis/d6c9347e6035f8c43f4dff630b0b54e884294c1f/tests/TLV_60_13_to_17.cm -------------------------------------------------------------------------------- /tests/TLV_60_13_to_17.txt: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | UpstreamDropPacketClassification 4 | { 5 | CMInterfaceMaskEncoding 0x80; 6 | STagCTagFrameClassification 7 | { 8 | STPID 0x88a8; 9 | SVID 0x0102; 10 | SPCP 0x01; 11 | SDEI 0x01; 12 | CTPID 0x8100; 13 | CVID 0x0001; 14 | CPCP 0x01; 15 | CCFI 0x01; 16 | STCI 0x0102; 17 | CTCI 0x0102; 18 | } 19 | IEEE8021ahPacketClassification 20 | { 21 | ITPID 0x88e7; 22 | ISID 0x010203; 23 | ITCI 0x0102030405; 24 | IPCP 0x01; 25 | IDEI 0x01; 26 | IUCA 0x01; 27 | BTPID 0x88a8; 28 | BTCI 0x0102; 29 | BPCP 0x01; 30 | BDEI 0x01; 31 | BVID 0x0102; 32 | BDA 01:02:03:04:05:06; 33 | BSA 01:02:03:04:05:06; 34 | } 35 | ICMPv4ICMPv6PacketClassification 36 | { 37 | ICMPv4ICMPv6TypeStart 0; 38 | ICMPv4ICMPv6TypeEnd 255; 39 | } 40 | MPLSClassificationEncoding 41 | { 42 | MPLSTCbits 0x01; 43 | MPLSLabel 0x010203; 44 | } 45 | } 46 | NetworkAccess 1; 47 | UsServiceFlow 48 | { 49 | UsServiceFlowRef 1; 50 | QosParamSetType 7; 51 | } 52 | DsServiceFlow 53 | { 54 | DsServiceFlowRef 2; 55 | QosParamSetType 7; 56 | } 57 | } 58 | -------------------------------------------------------------------------------- /tests/TLV_60_43_1_to_4.cm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlaager/docsis/d6c9347e6035f8c43f4dff630b0b54e884294c1f/tests/TLV_60_43_1_to_4.cm -------------------------------------------------------------------------------- /tests/TLV_60_43_1_to_4.conf: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | NetworkAccess 1; 4 | UsServiceFlow 5 | { 6 | UsServiceFlowRef 1; 7 | QosParamSetType 7; 8 | } 9 | DsServiceFlow 10 | { 11 | DsServiceFlowRef 2; 12 | QosParamSetType 7; 13 | } 14 | UpstreamDropPacketClassification 15 | { 16 | VendorSpecific 17 | { 18 | VendorIdentifier 0xffffff; 19 | CMLoadBalancingPolicyID 1; 20 | CMLoadBalancingPriority 1; 21 | CMLoadBalancingGroupID 1; 22 | CMRangingClassIDExtension 1; 23 | } 24 | } 25 | /* CmMic 0ab99a3f153dc8e89939cfe73210c48d; */ 26 | /* CmtsMic 455fde8dd0f7f4c0cf1fb445225a74d0; */ 27 | /*EndOfDataMkr*/ 28 | /* Pad */ 29 | } 30 | -------------------------------------------------------------------------------- /tests/TLV_60_43_1_to_4.txt: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | NetworkAccess 1; 4 | UsServiceFlow 5 | { 6 | UsServiceFlowRef 1; 7 | QosParamSetType 7; 8 | } 9 | DsServiceFlow 10 | { 11 | DsServiceFlowRef 2; 12 | QosParamSetType 7; 13 | } 14 | UpstreamDropPacketClassification 15 | { 16 | VendorSpecific 17 | { 18 | VendorIdentifier 0xffffff; 19 | CMLoadBalancingPolicyID 1; 20 | CMLoadBalancingPriority 1; 21 | CMLoadBalancingGroupID 1; 22 | CMRangingClassIDExtension 1; 23 | } 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /tests/TLV_60_43_5_14_TPIDTranslation.cm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlaager/docsis/d6c9347e6035f8c43f4dff630b0b54e884294c1f/tests/TLV_60_43_5_14_TPIDTranslation.cm -------------------------------------------------------------------------------- /tests/TLV_60_43_5_14_TPIDTranslation.conf: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | UpstreamDropPacketClassification 4 | { 5 | VendorSpecific 6 | { 7 | VendorIdentifier 0xffffff; 8 | L2VPNEncoding 9 | { 10 | TPIDTranslation 11 | { 12 | UpstreamTPIDTranslation 0x0102; 13 | DownstreamTPIDTranslation 0x0102; 14 | UpstreamSTPIDTranslation 0x0102; 15 | DownstreamSTPIDTranslation 0x0102; 16 | UpstreamBTPIDTranslation 0x0102; 17 | DownstreamBTPIDTranslation 0x0102; 18 | UpstreamITPIDTranslation 0x0102; 19 | DownstreamITPIDTranslation 0x0102; 20 | } 21 | } 22 | } 23 | } 24 | NetworkAccess 1; 25 | UsServiceFlow 26 | { 27 | UsServiceFlowRef 1; 28 | QosParamSetType 7; 29 | } 30 | DsServiceFlow 31 | { 32 | DsServiceFlowRef 2; 33 | QosParamSetType 7; 34 | } 35 | /* CmMic 65591e7b7e89f0be5d85e8c0e20c323b; */ 36 | /* CmtsMic 8611d8649ce15bb01614a53e3fd41623; */ 37 | /*EndOfDataMkr*/ 38 | } 39 | -------------------------------------------------------------------------------- /tests/TLV_60_43_5_14_TPIDTranslation.txt: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | UpstreamDropPacketClassification 4 | { 5 | VendorSpecific 6 | { 7 | VendorIdentifier 0xffffff; 8 | L2VPNEncoding 9 | { 10 | TPIDTranslation 11 | { 12 | UpstreamTPIDTranslation 0x0102; 13 | DownstreamTPIDTranslation 0x0102; 14 | UpstreamSTPIDTranslation 0x0102; 15 | DownstreamSTPIDTranslation 0x0102; 16 | UpstreamBTPIDTranslation 0x0102; 17 | DownstreamBTPIDTranslation 0x0102; 18 | UpstreamITPIDTranslation 0x0102; 19 | DownstreamITPIDTranslation 0x0102; 20 | } 21 | } 22 | } 23 | } 24 | NetworkAccess 1; 25 | UsServiceFlow 26 | { 27 | UsServiceFlowRef 1; 28 | QosParamSetType 7; 29 | } 30 | DsServiceFlow 31 | { 32 | DsServiceFlowRef 2; 33 | QosParamSetType 7; 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /tests/TLV_60_43_5_15_L2CPProcessing.cm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlaager/docsis/d6c9347e6035f8c43f4dff630b0b54e884294c1f/tests/TLV_60_43_5_15_L2CPProcessing.cm -------------------------------------------------------------------------------- /tests/TLV_60_43_5_15_L2CPProcessing.conf: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | NetworkAccess 1; 4 | UsServiceFlow 5 | { 6 | UsServiceFlowRef 1; 7 | QosParamSetType 7; 8 | } 9 | DsServiceFlow 10 | { 11 | DsServiceFlowRef 2; 12 | QosParamSetType 7; 13 | } 14 | UpstreamDropPacketClassification 15 | { 16 | VendorSpecific 17 | { 18 | VendorIdentifier 0xffffff; 19 | L2VPNEncoding 20 | { 21 | L2CPProcessing 22 | { 23 | L2CPTunnelMode 1; 24 | L2CPDMACAddress 00:11:22:33:44:55; 25 | L2CPOverwrotingDMACAddress 55:44:33:22:11:00; 26 | } 27 | DACDisableEnableConfiguration 1; 28 | PseudowireClass 0x010203; 29 | ServiceDelimiter 30 | { 31 | CVIDDelimiter 0x0102; 32 | SVIDDelimiter 0x0102; 33 | ISIDDelimiter 0x010203; 34 | BVIDDelimiter 0x0102; 35 | } 36 | VirtualSwitchInstanceEncoding 37 | { 38 | VPLSClass 0x0102; 39 | ETreeRole 1; 40 | ETreeRootVID 0x0102; 41 | ETreeLeafVID 0x0304; 42 | } 43 | } 44 | } 45 | } 46 | /* CmMic 68529086e9df3e426d3cb8cd9312c4f2; */ 47 | /* CmtsMic 31f0d56bc5f92cf1ad9948898b331284; */ 48 | /*EndOfDataMkr*/ 49 | /* Pad */ 50 | } 51 | -------------------------------------------------------------------------------- /tests/TLV_60_43_5_15_L2CPProcessing.txt: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | NetworkAccess 1; 4 | UsServiceFlow 5 | { 6 | UsServiceFlowRef 1; 7 | QosParamSetType 7; 8 | } 9 | DsServiceFlow 10 | { 11 | DsServiceFlowRef 2; 12 | QosParamSetType 7; 13 | } 14 | UpstreamDropPacketClassification 15 | { 16 | VendorSpecific 17 | { 18 | VendorIdentifier 0xffffff; 19 | L2VPNEncoding 20 | { 21 | L2CPProcessing 22 | { 23 | L2CPTunnelMode 1; 24 | L2CPDMACAddress 00:11:22:33:44:55; 25 | L2CPOverwrotingDMACAddress 55:44:33:22:11:00; 26 | } 27 | DACDisableEnableConfiguration 1; 28 | PseudowireClass 0x010203; 29 | ServiceDelimiter 30 | { 31 | CVIDDelimiter 0x0102; 32 | SVIDDelimiter 0x0102; 33 | ISIDDelimiter 0x010203; 34 | BVIDDelimiter 0x0102; 35 | } 36 | VirtualSwitchInstanceEncoding 37 | { 38 | VPLSClass 0x0102; 39 | ETreeRole 1; 40 | ETreeRootVID 0x0102; 41 | ETreeLeafVID 0x0304; 42 | } 43 | } 44 | } 45 | } 46 | } 47 | -------------------------------------------------------------------------------- /tests/TLV_60_43_5_21_BGPAttribute.cm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlaager/docsis/d6c9347e6035f8c43f4dff630b0b54e884294c1f/tests/TLV_60_43_5_21_BGPAttribute.cm -------------------------------------------------------------------------------- /tests/TLV_60_43_5_21_BGPAttribute.conf: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | UpstreamDropPacketClassification 4 | { 5 | VendorSpecific 6 | { 7 | VendorIdentifier 0xffffff; 8 | L2VPNEncoding 9 | { 10 | BGPAttribute 11 | { 12 | BGPVPNID 1; 13 | RouteDistinguisher 0x0101010100000001; 14 | RouteTargetImport 0x0000000101010101; 15 | RouteTargetExport 0x0000000101010101; 16 | CEIDVEID 5; 17 | } 18 | } 19 | } 20 | } 21 | NetworkAccess 1; 22 | UsServiceFlow 23 | { 24 | UsServiceFlowRef 1; 25 | QosParamSetType 7; 26 | } 27 | DsServiceFlow 28 | { 29 | DsServiceFlowRef 2; 30 | QosParamSetType 7; 31 | } 32 | /* CmMic a242bf8795aa3c886bab0a15aade358c; */ 33 | /* CmtsMic 995808f5938a77a8653143a29b5eee5f; */ 34 | /*EndOfDataMkr*/ 35 | } 36 | -------------------------------------------------------------------------------- /tests/TLV_60_43_5_21_BGPAttribute.txt: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | UpstreamDropPacketClassification 4 | { 5 | VendorSpecific 6 | { 7 | VendorIdentifier 0xffffff; 8 | L2VPNEncoding 9 | { 10 | BGPAttribute 11 | { 12 | BGPVPNID 1; 13 | RouteDistinguisher 0x0101010100000001; 14 | RouteTargetImport 0x0000000101010101; 15 | RouteTargetExport 0x0000000101010101; 16 | CEIDVEID 5; 17 | } 18 | } 19 | } 20 | } 21 | NetworkAccess 1; 22 | UsServiceFlow 23 | { 24 | UsServiceFlowRef 1; 25 | QosParamSetType 7; 26 | } 27 | DsServiceFlow 28 | { 29 | DsServiceFlowRef 2; 30 | QosParamSetType 7; 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /tests/TLV_60_43_5_24_SOAMSubtype.cm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlaager/docsis/d6c9347e6035f8c43f4dff630b0b54e884294c1f/tests/TLV_60_43_5_24_SOAMSubtype.cm -------------------------------------------------------------------------------- /tests/TLV_60_43_5_24_SOAMSubtype.txt: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | NetworkAccess 1; 4 | UsServiceFlow 5 | { 6 | UsServiceFlowRef 1; 7 | QosParamSetType 7; 8 | } 9 | DsServiceFlow 10 | { 11 | DsServiceFlowRef 2; 12 | QosParamSetType 7; 13 | } 14 | UpstreamDropPacketClassification 15 | { 16 | VendorSpecific 17 | { 18 | VendorIdentifier 0xffffff; 19 | L2VPNEncoding 20 | { 21 | PseudowireSignaling 0; 22 | SOAMSubtype 23 | { 24 | MEPConfiguration 25 | { 26 | MDLevel 0; 27 | MDName "MD Name"; 28 | MAName "MA Name"; 29 | MEPID 1; 30 | } 31 | RemoteMEPConfiguration 32 | { 33 | RemoteMDLevel 0; 34 | RemoteMDName "MD Name"; 35 | RemoteMAName "MA Name"; 36 | RemoteMEPID 1; 37 | } 38 | FaultManagementConfiguration 39 | { 40 | ContinuityCheckMessages 0; 41 | LoopbackFunction 0; 42 | LinktraceFunction 0; 43 | } 44 | PerformanceManagementConfiguration 45 | { 46 | FrameDelayMeasurement 47 | { 48 | FrameDelayMeasurementEnable 0; 49 | FrameDelayMeasurementOneWayTwoWay 1; 50 | FrameDelayMeasurementTransmissionPeriodicity 0; 51 | } 52 | FrameLossMeasurement 53 | { 54 | FrameLossMeasurementEnable 0; 55 | FrameLossMeasurementTransmissionPeriodicity 0; 56 | } 57 | } 58 | } 59 | } 60 | } 61 | } 62 | } 63 | -------------------------------------------------------------------------------- /tests/TLV_60_43_5_2_NSIEncapsulationSubtype.cm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlaager/docsis/d6c9347e6035f8c43f4dff630b0b54e884294c1f/tests/TLV_60_43_5_2_NSIEncapsulationSubtype.cm -------------------------------------------------------------------------------- /tests/TLV_60_43_last_tlvs.cm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlaager/docsis/d6c9347e6035f8c43f4dff630b0b54e884294c1f/tests/TLV_60_43_last_tlvs.cm -------------------------------------------------------------------------------- /tests/TLV_60_UpstreamDropPacketClassification.cm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlaager/docsis/d6c9347e6035f8c43f4dff630b0b54e884294c1f/tests/TLV_60_UpstreamDropPacketClassification.cm -------------------------------------------------------------------------------- /tests/TLV_60_UpstreamDropPacketClassification.txt: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | UpstreamDropPacketClassification 4 | { 5 | ClassifierReference 1; 6 | ClassifierIdentifier 65000; 7 | RulePriority 0; 8 | DynamicServiceChangeAction 2; 9 | IPv4PacketClassification 10 | { 11 | IPv4Tos 0x00ffff; 12 | IPProtocol 256; 13 | IPv4SourceAddress 10.11.0.1; 14 | IPv4SourceMask 255.255.255.255; 15 | IPv4DestinationAddress 10.11.0.1; 16 | IPv4DestinationMask 255.255.255.255; 17 | SourcePortStart 0; 18 | SourcePortEnd 65535; 19 | DestinationPortStart 0; 20 | DestinationPortEnd 65535; 21 | } 22 | EthernetLLCPacketClassification 23 | { 24 | DestinationMACAddress 01:02:03:04:05:06/ff:ff:ff:ff:ff:ff; 25 | SourceMACAddress 01:02:03:04:05:06; 26 | EthertypeDSAPMacType 0x00ffff; 27 | } 28 | IEEE8021PQPacketClassification 29 | { 30 | UserPriority 0,0; 31 | VlanID 0; 32 | } 33 | } 34 | NetworkAccess 1; 35 | UsServiceFlow 36 | { 37 | UsServiceFlowRef 1; 38 | QosParamSetType 7; 39 | } 40 | DsServiceFlow 41 | { 42 | DsServiceFlowRef 2; 43 | QosParamSetType 7; 44 | } 45 | } 46 | -------------------------------------------------------------------------------- /tests/TLV_61_SubMgmtCPEIPv6PrefixList.cm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlaager/docsis/d6c9347e6035f8c43f4dff630b0b54e884294c1f/tests/TLV_61_SubMgmtCPEIPv6PrefixList.cm -------------------------------------------------------------------------------- /tests/TLV_61_SubMgmtCPEIPv6PrefixList.conf: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | NetworkAccess 1; 4 | UsServiceFlow 5 | { 6 | UsServiceFlowRef 1; 7 | QosParamSetType 7; 8 | } 9 | DsServiceFlow 10 | { 11 | DsServiceFlowRef 2; 12 | QosParamSetType 7; 13 | } 14 | SubMgmtCPEIPv6PrefixList 5005::5:5/16,2033:2:2:33::3/32,2002::2:2/127; 15 | /* CmMic bddb849d542b36b15fef18b86d2d716c; */ 16 | /* CmtsMic 2c5535196e51c0b2fbe6d81319bd5801; */ 17 | /*EndOfDataMkr*/ 18 | } 19 | -------------------------------------------------------------------------------- /tests/TLV_61_SubMgmtCPEIPv6PrefixList.txt: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | NetworkAccess 1; 4 | UsServiceFlow 5 | { 6 | UsServiceFlowRef 1; 7 | QosParamSetType 7; 8 | } 9 | DsServiceFlow 10 | { 11 | DsServiceFlowRef 2; 12 | QosParamSetType 7; 13 | } 14 | SubMgmtCPEIPv6PrefixList 5005::5:5/16,2033:2:2:33::3/32,2002::2:2/127; 15 | } 16 | -------------------------------------------------------------------------------- /tests/TLV_62_UpstreamDropClassifierGroupID.cm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlaager/docsis/d6c9347e6035f8c43f4dff630b0b54e884294c1f/tests/TLV_62_UpstreamDropClassifierGroupID.cm -------------------------------------------------------------------------------- /tests/TLV_62_UpstreamDropClassifierGroupID.conf: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | NetworkAccess 1; 4 | UsServiceFlow 5 | { 6 | UsServiceFlowRef 1; 7 | QosParamSetType 7; 8 | } 9 | DsServiceFlow 10 | { 11 | DsServiceFlowRef 2; 12 | QosParamSetType 7; 13 | } 14 | UpstreamDropClassifierGroupID 1,2,3,4,5,6; 15 | /* CmMic cb1f8900ade68c381bf27acd603dab9d; */ 16 | /* CmtsMic a3f9a9360085e37a62bd1b599fb424b7; */ 17 | /*EndOfDataMkr*/ 18 | /* Pad */ 19 | } 20 | -------------------------------------------------------------------------------- /tests/TLV_62_UpstreamDropClassifierGroupID.txt: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | NetworkAccess 1; 4 | UsServiceFlow 5 | { 6 | UsServiceFlowRef 1; 7 | QosParamSetType 7; 8 | } 9 | DsServiceFlow 10 | { 11 | DsServiceFlowRef 2; 12 | QosParamSetType 7; 13 | } 14 | UpstreamDropClassifierGroupID 1,2,3,4,5,6; 15 | } 16 | -------------------------------------------------------------------------------- /tests/TLV_65_L2VPNMACAgingEncoding.cm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlaager/docsis/d6c9347e6035f8c43f4dff630b0b54e884294c1f/tests/TLV_65_L2VPNMACAgingEncoding.cm -------------------------------------------------------------------------------- /tests/TLV_65_L2VPNMACAgingEncoding.conf: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | NetworkAccess 1; 4 | UsServiceFlow 5 | { 6 | UsServiceFlowRef 1; 7 | QosParamSetType 7; 8 | } 9 | DsServiceFlow 10 | { 11 | DsServiceFlowRef 2; 12 | QosParamSetType 7; 13 | } 14 | L2VPNMACAgingEncoding 15 | { 16 | L2VPNMACAgingMode 1; 17 | } 18 | /* CmMic 069952adbba1bfe61021257a1b0e4c4f; */ 19 | /* CmtsMic 8c7db773b649e9ee3042ec568fda9bde; */ 20 | /*EndOfDataMkr*/ 21 | } 22 | -------------------------------------------------------------------------------- /tests/TLV_65_L2VPNMACAgingEncoding.txt: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | NetworkAccess 1; 4 | UsServiceFlow 5 | { 6 | UsServiceFlowRef 1; 7 | QosParamSetType 7; 8 | } 9 | DsServiceFlow 10 | { 11 | DsServiceFlowRef 2; 12 | QosParamSetType 7; 13 | } 14 | L2VPNMACAgingEncoding 15 | { 16 | L2VPNMACAgingMode 1; 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /tests/TLV_66_ManagementEventControl.cm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlaager/docsis/d6c9347e6035f8c43f4dff630b0b54e884294c1f/tests/TLV_66_ManagementEventControl.cm -------------------------------------------------------------------------------- /tests/TLV_66_ManagementEventControl.conf: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | NetworkAccess 1; 4 | UsServiceFlow 5 | { 6 | UsServiceFlowRef 1; 7 | QosParamSetType 7; 8 | } 9 | DsServiceFlow 10 | { 11 | DsServiceFlowRef 2; 12 | QosParamSetType 7; 13 | } 14 | ManagementEventControl 0; 15 | /* CmMic ff96a8f85968b4f779757eb33e072715; */ 16 | /* CmtsMic 7aabcf6e54524886a7696cf7ed90d1bb; */ 17 | /*EndOfDataMkr*/ 18 | } 19 | -------------------------------------------------------------------------------- /tests/TLV_66_ManagementEventControl.txt: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | NetworkAccess 1; 4 | UsServiceFlow 5 | { 6 | UsServiceFlowRef 1; 7 | QosParamSetType 7; 8 | } 9 | DsServiceFlow 10 | { 11 | DsServiceFlowRef 2; 12 | QosParamSetType 7; 13 | } 14 | ManagementEventControl 0; 15 | } 16 | -------------------------------------------------------------------------------- /tests/TLV_67_SubscriberManagementCPEIPv6Table.cm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlaager/docsis/d6c9347e6035f8c43f4dff630b0b54e884294c1f/tests/TLV_67_SubscriberManagementCPEIPv6Table.cm -------------------------------------------------------------------------------- /tests/TLV_67_SubscriberManagementCPEIPv6Table.conf: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | NetworkAccess 1; 4 | UsServiceFlow 5 | { 6 | UsServiceFlowRef 1; 7 | QosParamSetType 7; 8 | } 9 | DsServiceFlow 10 | { 11 | DsServiceFlowRef 2; 12 | QosParamSetType 7; 13 | } 14 | SubscriberManagementCPEIPv6Table 1111::1:1,2222::2:2,3333::3:3,4444::4:4,5555::5:5; 15 | /* CmMic 9126beb22d3700181b48a48c53ef62a7; */ 16 | /* CmtsMic 3db155a00eca5bae2ed4ae3c83fe7460; */ 17 | /*EndOfDataMkr*/ 18 | } 19 | -------------------------------------------------------------------------------- /tests/TLV_67_SubscriberManagementCPEIPv6Table.txt: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | NetworkAccess 1; 4 | UsServiceFlow 5 | { 6 | UsServiceFlowRef 1; 7 | QosParamSetType 7; 8 | } 9 | DsServiceFlow 10 | { 11 | DsServiceFlowRef 2; 12 | QosParamSetType 7; 13 | } 14 | SubscriberManagementCPEIPv6Table 1111::1:1,2222::2:2,3333::3:3,4444::4:4,5555::5:5; 15 | } 16 | -------------------------------------------------------------------------------- /tests/TLV_68_DefaultUpstreamTargetBuffer.cm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlaager/docsis/d6c9347e6035f8c43f4dff630b0b54e884294c1f/tests/TLV_68_DefaultUpstreamTargetBuffer.cm -------------------------------------------------------------------------------- /tests/TLV_68_DefaultUpstreamTargetBuffer.conf: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | DefaultUpstreamTargetBuffer 1000; 4 | NetworkAccess 1; 5 | UsServiceFlow 6 | { 7 | UsServiceFlowRef 1; 8 | QosParamSetType 7; 9 | } 10 | DsServiceFlow 11 | { 12 | DsServiceFlowRef 2; 13 | QosParamSetType 7; 14 | } 15 | /* CmMic f2f34c889bef4ba1f10fc04dbe7722ae; */ 16 | /* CmtsMic 02837067ab3f2b2bfcbf3728d8ce9fb6; */ 17 | /*EndOfDataMkr*/ 18 | /* Pad */ 19 | } 20 | -------------------------------------------------------------------------------- /tests/TLV_68_DefaultUpstreamTargetBuffer.txt: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | DefaultUpstreamTargetBuffer 1000; 4 | NetworkAccess 1; 5 | UsServiceFlow 6 | { 7 | UsServiceFlowRef 1; 8 | QosParamSetType 7; 9 | } 10 | DsServiceFlow 11 | { 12 | DsServiceFlowRef 2; 13 | QosParamSetType 7; 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /tests/TLV_69_MACAddressLearningControlEncoding.cm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlaager/docsis/d6c9347e6035f8c43f4dff630b0b54e884294c1f/tests/TLV_69_MACAddressLearningControlEncoding.cm -------------------------------------------------------------------------------- /tests/TLV_69_MACAddressLearningControlEncoding.conf: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | NetworkAccess 1; 4 | UsServiceFlow 5 | { 6 | UsServiceFlowRef 1; 7 | QosParamSetType 7; 8 | } 9 | DsServiceFlow 10 | { 11 | DsServiceFlowRef 2; 12 | QosParamSetType 7; 13 | } 14 | MACAddressLearningControlEncoding 15 | { 16 | MACAddressLearningControl 1; 17 | MACAddressLearningHoldoffTimer 10; 18 | } 19 | /* CmMic cfd74bcf255e60248305d7aa1e9aa610; */ 20 | /* CmtsMic 34068513d0bd74d33fe4f3e08a27b7bc; */ 21 | /*EndOfDataMkr*/ 22 | /* Pad */ 23 | } 24 | -------------------------------------------------------------------------------- /tests/TLV_69_MACAddressLearningControlEncoding.txt: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | NetworkAccess 1; 4 | UsServiceFlow 5 | { 6 | UsServiceFlowRef 1; 7 | QosParamSetType 7; 8 | } 9 | DsServiceFlow 10 | { 11 | DsServiceFlowRef 2; 12 | QosParamSetType 7; 13 | } 14 | MACAddressLearningControlEncoding 15 | { 16 | MACAddressLearningControl 1; 17 | MACAddressLearningHoldoffTimer 10; 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /tests/TLV_70_TLV_71_AggregateServiceFlow.cm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlaager/docsis/d6c9347e6035f8c43f4dff630b0b54e884294c1f/tests/TLV_70_TLV_71_AggregateServiceFlow.cm -------------------------------------------------------------------------------- /tests/TLV_70_TLV_71_AggregateServiceFlow.conf: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | NetworkAccess 1; 4 | UsServiceFlow 5 | { 6 | UsServiceFlowRef 1; 7 | QosParamSetType 7; 8 | } 9 | DsServiceFlow 10 | { 11 | DsServiceFlowRef 2; 12 | QosParamSetType 7; 13 | } 14 | UpstreamAggregateServiceFlow 15 | { 16 | UpstreamServiceFlowReference 10; 17 | UpstreamAggregateServiceFlowReference 18 | { 19 | GenericTLV TlvCode 1 TlvLength 2 TlvValue 0x0102; 20 | } 21 | UpstreamMESPReference 10; 22 | } 23 | DownstreamAggregateServiceFlow 24 | { 25 | DownstreamServiceFlowReference 20; 26 | DownstreamAggregateServiceFlowReference 27 | { 28 | GenericTLV TlvCode 1 TlvLength 2 TlvValue 0x0102; 29 | } 30 | DownstreamMESPReference 20; 31 | } 32 | /* CmMic 507af92d635d9ad2fac39092eeb96112; */ 33 | /* CmtsMic 8fa525ceda33924136da8d481cd00e1f; */ 34 | /*EndOfDataMkr*/ 35 | /* Pad */ 36 | } 37 | -------------------------------------------------------------------------------- /tests/TLV_70_TLV_71_AggregateServiceFlow.txt: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | NetworkAccess 1; 4 | UsServiceFlow 5 | { 6 | UsServiceFlowRef 1; 7 | QosParamSetType 7; 8 | } 9 | DsServiceFlow 10 | { 11 | DsServiceFlowRef 2; 12 | QosParamSetType 7; 13 | } 14 | UpstreamAggregateServiceFlow 15 | { 16 | UpstreamServiceFlowReference 10; 17 | UpstreamAggregateServiceFlowReference 18 | { 19 | GenericTLV TlvCode 1 TlvLength 2 TlvValue 0x0102; 20 | } 21 | UpstreamMESPReference 10; 22 | } 23 | DownstreamAggregateServiceFlow 24 | { 25 | DownstreamServiceFlowReference 20; 26 | DownstreamAggregateServiceFlowReference 27 | { 28 | GenericTLV TlvCode 1 TlvLength 2 TlvValue 0x0102; 29 | } 30 | DownstreamMESPReference 20; 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /tests/TLV_72_MetroEthernetServiceProfile.cm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlaager/docsis/d6c9347e6035f8c43f4dff630b0b54e884294c1f/tests/TLV_72_MetroEthernetServiceProfile.cm -------------------------------------------------------------------------------- /tests/TLV_72_MetroEthernetServiceProfile.conf: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | NetworkAccess 1; 4 | UsServiceFlow 5 | { 6 | UsServiceFlowRef 1; 7 | QosParamSetType 7; 8 | } 9 | DsServiceFlow 10 | { 11 | DsServiceFlowRef 2; 12 | QosParamSetType 7; 13 | } 14 | MetroEthernetServiceProfile 15 | { 16 | MESPReference 1; 17 | MESPBandwidthProfile 18 | { 19 | CIR 1024; 20 | CBR 2048; 21 | EIR 512; 22 | EBS 256; 23 | CouplingFlag 1; 24 | ColorMode 25 | { 26 | ColorIdentificationField 8; 27 | ColorIdentificationFieldValue 0x01; 28 | } 29 | ColorMarking 30 | { 31 | ColorMarkingField 4; 32 | ColorMarkingFieldValue 0x01; 33 | } 34 | } 35 | MESPName "MESPName"; 36 | } 37 | /* CmMic 23a551574da818b393b4aa59280b2b2f; */ 38 | /* CmtsMic d60d8e64bee620566eb384cd7458308c; */ 39 | /*EndOfDataMkr*/ 40 | } 41 | -------------------------------------------------------------------------------- /tests/TLV_72_MetroEthernetServiceProfile.txt: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | NetworkAccess 1; 4 | UsServiceFlow 5 | { 6 | UsServiceFlowRef 1; 7 | QosParamSetType 7; 8 | } 9 | DsServiceFlow 10 | { 11 | DsServiceFlowRef 2; 12 | QosParamSetType 7; 13 | } 14 | MetroEthernetServiceProfile 15 | { 16 | MESPReference 1; 17 | MESPBandwidthProfile 18 | { 19 | CIR 1024; 20 | CBR 2048; 21 | EIR 512; 22 | EBS 256; 23 | CouplingFlag 1; 24 | ColorMode 25 | { 26 | ColorIdentificationField 8; 27 | ColorIdentificationFieldValue 0x01; 28 | } 29 | ColorMarking 30 | { 31 | ColorMarkingField 4; 32 | ColorMarkingFieldValue 0x01; 33 | } 34 | } 35 | MESPName "MESPName"; 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /tests/TLV_73_NetworkTimingProfile.cm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlaager/docsis/d6c9347e6035f8c43f4dff630b0b54e884294c1f/tests/TLV_73_NetworkTimingProfile.cm -------------------------------------------------------------------------------- /tests/TLV_73_NetworkTimingProfile.conf: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | NetworkAccess 1; 4 | UsServiceFlow 5 | { 6 | UsServiceFlowRef 1; 7 | QosParamSetType 7; 8 | } 9 | DsServiceFlow 10 | { 11 | DsServiceFlowRef 2; 12 | QosParamSetType 7; 13 | } 14 | NetworkTimingProfile 15 | { 16 | NetworkTimingProfileReference 1024; 17 | NetworkTimingProfileName "ProfileName"; 18 | } 19 | /* CmMic 0045192fe304ea6d652ac6673e3d54eb; */ 20 | /* CmtsMic 3a6803fde0a0246cffb09503fcc3f981; */ 21 | /*EndOfDataMkr*/ 22 | /* Pad */ 23 | } 24 | -------------------------------------------------------------------------------- /tests/TLV_73_NetworkTimingProfile.txt: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | NetworkAccess 1; 4 | UsServiceFlow 5 | { 6 | UsServiceFlowRef 1; 7 | QosParamSetType 7; 8 | } 9 | DsServiceFlow 10 | { 11 | DsServiceFlowRef 2; 12 | QosParamSetType 7; 13 | } 14 | NetworkTimingProfile 15 | { 16 | NetworkTimingProfileReference 1024; 17 | NetworkTimingProfileName "ProfileName"; 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /tests/TLV_74_EnergyParameters.cm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlaager/docsis/d6c9347e6035f8c43f4dff630b0b54e884294c1f/tests/TLV_74_EnergyParameters.cm -------------------------------------------------------------------------------- /tests/TLV_74_EnergyParameters.conf: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | NetworkAccess 1; 4 | UsServiceFlow 5 | { 6 | UsServiceFlowRef 1; 7 | QosParamSetType 7; 8 | } 9 | DsServiceFlow 10 | { 11 | DsServiceFlowRef 2; 12 | QosParamSetType 7; 13 | } 14 | EnergyManagementParameter 15 | { 16 | EnergyManagementFeatureControl 1; 17 | EnergyManagement1x1Mode 18 | { 19 | DownstreamActivityDetectionParameters 20 | { 21 | DownstreamEntryBitrateThreshold 1024; 22 | DownstreamEntryTimeThreshold 3600; 23 | DownstreamExitBitrateThreshold 1024; 24 | DownstreamExitTimeThreshold 60; 25 | } 26 | UpstreamActivityDetectionParameters 27 | { 28 | UpstreamEntryBitrateThreshold 0; 29 | UpstreamEntryTimeThreshold 1; 30 | UpstreamExitBitrateThreshold 0; 31 | UpstreamExitTimeThreshold 1; 32 | } 33 | } 34 | EnergyManagementCyclePeriod 900; 35 | } 36 | /* CmMic 7c0a5b24b1d960f06f29566f7be81300; */ 37 | /* CmtsMic 0f8d9df5e161b51bae9f1cd2daf4c681; */ 38 | /*EndOfDataMkr*/ 39 | } 40 | -------------------------------------------------------------------------------- /tests/TLV_74_EnergyParameters.txt: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | NetworkAccess 1; 4 | UsServiceFlow 5 | { 6 | UsServiceFlowRef 1; 7 | QosParamSetType 7; 8 | } 9 | DsServiceFlow 10 | { 11 | DsServiceFlowRef 2; 12 | QosParamSetType 7; 13 | } 14 | EnergyManagementParameter 15 | { 16 | EnergyManagementFeatureControl 1; 17 | EnergyManagement1x1Mode 18 | { 19 | DownstreamActivityDetectionParameters 20 | { 21 | DownstreamEntryBitrateThreshold 1024; 22 | DownstreamEntryTimeThreshold 3600; 23 | DownstreamExitBitrateThreshold 1024; 24 | DownstreamExitTimeThreshold 60; 25 | } 26 | UpstreamActivityDetectionParameters 27 | { 28 | UpstreamEntryBitrateThreshold 0; 29 | UpstreamEntryTimeThreshold 1; 30 | UpstreamExitBitrateThreshold 0; 31 | UpstreamExitTimeThreshold 1; 32 | } 33 | } 34 | EnergyManagementCyclePeriod 900; 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /tests/TLV_75_and_76_CMUpstreamAQMDisable.cm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlaager/docsis/d6c9347e6035f8c43f4dff630b0b54e884294c1f/tests/TLV_75_and_76_CMUpstreamAQMDisable.cm -------------------------------------------------------------------------------- /tests/TLV_75_and_76_CMUpstreamAQMDisable.conf: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | NetworkAccess 1; 4 | UsServiceFlow 5 | { 6 | UsServiceFlowRef 1; 7 | QosParamSetType 7; 8 | } 9 | DsServiceFlow 10 | { 11 | DsServiceFlowRef 2; 12 | QosParamSetType 7; 13 | } 14 | EnergyManagement1x1ModeIndicator 1; 15 | CMUpstreamAQMDisable 1; 16 | /* CmMic dc53069accad335b554dfa216b873d1b; */ 17 | /* CmtsMic 2764bad276af05effbb30eda1e01c248; */ 18 | /*EndOfDataMkr*/ 19 | } 20 | -------------------------------------------------------------------------------- /tests/TLV_75_and_76_CMUpstreamAQMDisable.txt: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | NetworkAccess 1; 4 | UsServiceFlow 5 | { 6 | UsServiceFlowRef 1; 7 | QosParamSetType 7; 8 | } 9 | DsServiceFlow 10 | { 11 | DsServiceFlowRef 2; 12 | QosParamSetType 7; 13 | } 14 | EnergyManagement1x1ModeIndicator 1; 15 | CMUpstreamAQMDisable 1; 16 | } 17 | -------------------------------------------------------------------------------- /tests/TLV_79_UNIControlEncodings.cm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlaager/docsis/d6c9347e6035f8c43f4dff630b0b54e884294c1f/tests/TLV_79_UNIControlEncodings.cm -------------------------------------------------------------------------------- /tests/TLV_79_UNIControlEncodings.conf: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | NetworkAccess 1; 4 | UsServiceFlow 5 | { 6 | UsServiceFlowRef 1; 7 | QosParamSetType 7; 8 | } 9 | DsServiceFlow 10 | { 11 | DsServiceFlowRef 2; 12 | QosParamSetType 7; 13 | } 14 | UNIControlEncodings 15 | { 16 | ContextCMIM 0x80; 17 | UNIAdminStatus 1; 18 | UNIAutoNegotiationStatus 1; 19 | UNIOperatingSpeed 3; 20 | UNIDuplex 2; 21 | EEEStatus 0; 22 | MaximumFrameSize 1518; 23 | PowerOverEthernetStatus 1; 24 | MediaType 1; 25 | } 26 | /* CmMic 641f74c323cbe4c05686bf6c8f4cf7a2; */ 27 | /* CmtsMic c8b409da6eda045ff35ed6d92f9ac4f6; */ 28 | /*EndOfDataMkr*/ 29 | } 30 | -------------------------------------------------------------------------------- /tests/TLV_79_UNIControlEncodings.txt: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | NetworkAccess 1; 4 | UsServiceFlow 5 | { 6 | UsServiceFlowRef 1; 7 | QosParamSetType 7; 8 | } 9 | DsServiceFlow 10 | { 11 | DsServiceFlowRef 2; 12 | QosParamSetType 7; 13 | } 14 | UNIControlEncodings 15 | { 16 | ContextCMIM 0x80; 17 | UNIAdminStatus 1; 18 | UNIAutoNegotiationStatus 1; 19 | UNIOperatingSpeed 3; 20 | UNIDuplex 2; 21 | EEEStatus 0; 22 | MaximumFrameSize 1518; 23 | PowerOverEthernetStatus 1; 24 | MediaType 1; 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /tests/UserPriority.cm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlaager/docsis/d6c9347e6035f8c43f4dff630b0b54e884294c1f/tests/UserPriority.cm -------------------------------------------------------------------------------- /tests/UserPriority.conf: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | NetworkAccess 1; 4 | UsServiceFlow 5 | { 6 | UsServiceFlowRef 1; 7 | QosParamSetType 7; 8 | } 9 | DsServiceFlow 10 | { 11 | DsServiceFlowRef 2; 12 | QosParamSetType 7; 13 | } 14 | UsPacketClass 15 | { 16 | IEEE802Classifier 17 | { 18 | UserPriority 1,2; 19 | } 20 | ClassifierRef 1; 21 | ServiceFlowRef 1; 22 | } 23 | /* CmMic 6969e43a4293b55e36b46658cb4775b2; */ 24 | /* CmtsMic d0a309c4cc700056f9f0fb8432fe5cc1; */ 25 | /*EndOfDataMkr*/ 26 | /* Pad */ 27 | } 28 | -------------------------------------------------------------------------------- /tests/UserPriority.txt: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | NetworkAccess 1; 4 | UsServiceFlow 5 | { 6 | UsServiceFlowRef 1; 7 | QosParamSetType 7; 8 | } 9 | DsServiceFlow 10 | { 11 | DsServiceFlowRef 2; 12 | QosParamSetType 7; 13 | } 14 | UsPacketClass 15 | { 16 | IEEE802Classifier 17 | { 18 | UserPriority 1,2; 19 | } 20 | ClassifierRef 1; 21 | ServiceFlowRef 1; 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /tests/docsis1_0_basic.cm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlaager/docsis/d6c9347e6035f8c43f4dff630b0b54e884294c1f/tests/docsis1_0_basic.cm -------------------------------------------------------------------------------- /tests/docsis1_0_basic.conf: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | NetworkAccess 1; 4 | MaxCPE 3; 5 | ClassOfService 6 | { 7 | ClassID 1; 8 | MaxRateDown 20000000; 9 | MaxRateUp 10000000; 10 | PrivacyEnable 0; 11 | } 12 | /* CmMic 817865a1f6e47e81a7364ff607a24648; */ 13 | /* CmtsMic f90e368f5d979a2d5093bbaba37f1497; */ 14 | /*EndOfDataMkr*/ 15 | } 16 | -------------------------------------------------------------------------------- /tests/docsis1_0_basic.txt: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | NetworkAccess 1; 4 | MaxCPE 3; 5 | ClassOfService 6 | { 7 | ClassID 1; 8 | MaxRateDown 20000000; 9 | MaxRateUp 10000000; 10 | PrivacyEnable 0; 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /tests/docsis1_0_basic_bpi.cm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlaager/docsis/d6c9347e6035f8c43f4dff630b0b54e884294c1f/tests/docsis1_0_basic_bpi.cm -------------------------------------------------------------------------------- /tests/docsis1_0_basic_bpi.conf: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | NetworkAccess 1; 4 | ClassOfService 5 | { 6 | ClassID 1; 7 | MaxRateDown 20000000; 8 | MaxRateUp 10000000; 9 | PriorityUp 3; 10 | GuaranteedUp 56072; 11 | MaxBurstUp 1722; 12 | PrivacyEnable 1; 13 | } 14 | BaselinePrivacy 15 | { 16 | AuthTimeout 10; 17 | ReAuthTimeout 10; 18 | AuthGraceTime 600; 19 | OperTimeout 10; 20 | ReKeyTimeout 10; 21 | TEKGraceTime 600; 22 | AuthRejectTimeout 9; 23 | } 24 | MaxCPE 3; 25 | /* CmMic f18f77aa3574a3d73bdd1592711c0160; */ 26 | /* CmtsMic 054c9bbbaa0d3f745af2513747554830; */ 27 | /*EndOfDataMkr*/ 28 | } 29 | -------------------------------------------------------------------------------- /tests/docsis1_0_basic_bpi.txt: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | NetworkAccess 1; 4 | ClassOfService 5 | { 6 | ClassID 1; 7 | MaxRateDown 20000000; 8 | MaxRateUp 10000000; 9 | PriorityUp 3; 10 | GuaranteedUp 56072; 11 | MaxBurstUp 1722; 12 | PrivacyEnable 1; 13 | } 14 | BaselinePrivacy 15 | { 16 | AuthTimeout 10; 17 | ReAuthTimeout 10; 18 | AuthGraceTime 600; 19 | OperTimeout 10; 20 | ReKeyTimeout 10; 21 | TEKGraceTime 600; 22 | AuthRejectTimeout 9; 23 | } 24 | MaxCPE 3; 25 | } 26 | -------------------------------------------------------------------------------- /tests/docsis1_0_basic_upgrade.cm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlaager/docsis/d6c9347e6035f8c43f4dff630b0b54e884294c1f/tests/docsis1_0_basic_upgrade.cm -------------------------------------------------------------------------------- /tests/docsis1_0_basic_upgrade.conf: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | DownstreamFrequency 130000000; 4 | UpstreamChannelId 123; 5 | NetworkAccess 1; 6 | ClassOfService 7 | { 8 | ClassID 5; 9 | MaxRateDown 512000; 10 | MaxRateUp 64000; 11 | PriorityUp 3; 12 | GuaranteedUp 32000; 13 | MaxBurstUp 54314; 14 | PrivacyEnable 1; 15 | } 16 | SwUpgradeFilename "filename1.bin"; 17 | BaselinePrivacy 18 | { 19 | AuthTimeout 25; 20 | ReAuthTimeout 15; 21 | AuthGraceTime 120; 22 | OperTimeout 9; 23 | ReKeyTimeout 10; 24 | TEKGraceTime 600; 25 | } 26 | MaxCPE 13; 27 | SwUpgradeServer 10.1.1.1; 28 | /* CmMic e241803a16fa62269f90d6e1619a59d3; */ 29 | /* CmtsMic 41141948116bcc38f6a20ec485fcd0f2; */ 30 | /*EndOfDataMkr*/ 31 | } 32 | -------------------------------------------------------------------------------- /tests/docsis1_0_basic_upgrade.txt: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | DownstreamFrequency 130000000; 4 | UpstreamChannelId 123; 5 | NetworkAccess 1; 6 | ClassOfService 7 | { 8 | ClassID 5; 9 | MaxRateDown 512000; 10 | MaxRateUp 64000; 11 | PriorityUp 3; 12 | GuaranteedUp 32000; 13 | MaxBurstUp 54314; 14 | PrivacyEnable 1; 15 | } 16 | SwUpgradeFilename "filename1.bin"; 17 | BaselinePrivacy 18 | { 19 | AuthTimeout 25; 20 | ReAuthTimeout 15; 21 | AuthGraceTime 120; 22 | OperTimeout 9; 23 | ReKeyTimeout 10; 24 | TEKGraceTime 600; 25 | } 26 | MaxCPE 13; 27 | SwUpgradeServer 10.1.1.1; 28 | } 29 | -------------------------------------------------------------------------------- /tests/docsis1_0_compatiblity_TLV12.cm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlaager/docsis/d6c9347e6035f8c43f4dff630b0b54e884294c1f/tests/docsis1_0_compatiblity_TLV12.cm -------------------------------------------------------------------------------- /tests/docsis1_0_compatiblity_TLV12.conf: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | NetworkAccess 1; 4 | UsServiceFlow 5 | { 6 | UsServiceFlowRef 1; 7 | QosParamSetType 7; 8 | } 9 | DsServiceFlow 10 | { 11 | DsServiceFlowRef 2; 12 | QosParamSetType 7; 13 | } 14 | ModemIPAddress 1.2.3.4; 15 | /* CmMic b7200e32c0274e4a8a5b7d261834080c; */ 16 | /* CmtsMic 7b6fb753e3c98af1fd4bb14d385f524e; */ 17 | /*EndOfDataMkr*/ 18 | } 19 | -------------------------------------------------------------------------------- /tests/docsis1_0_compatiblity_TLV12.txt: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | NetworkAccess 1; 4 | UsServiceFlow 5 | { 6 | UsServiceFlowRef 1; 7 | QosParamSetType 7; 8 | } 9 | DsServiceFlow 10 | { 11 | DsServiceFlowRef 2; 12 | QosParamSetType 7; 13 | } 14 | ModemIPAddress 1.2.3.4; 15 | } 16 | -------------------------------------------------------------------------------- /tests/docsis1_0_example.cm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlaager/docsis/d6c9347e6035f8c43f4dff630b0b54e884294c1f/tests/docsis1_0_example.cm -------------------------------------------------------------------------------- /tests/docsis1_0_filters2_oidnum.cm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlaager/docsis/d6c9347e6035f8c43f4dff630b0b54e884294c1f/tests/docsis1_0_filters2_oidnum.cm -------------------------------------------------------------------------------- /tests/docsis1_0_filters2_oidtext.cm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlaager/docsis/d6c9347e6035f8c43f4dff630b0b54e884294c1f/tests/docsis1_0_filters2_oidtext.cm -------------------------------------------------------------------------------- /tests/docsis1_0_filters_oidnum.cm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlaager/docsis/d6c9347e6035f8c43f4dff630b0b54e884294c1f/tests/docsis1_0_filters_oidnum.cm -------------------------------------------------------------------------------- /tests/docsis1_0_filters_oidtext.cm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlaager/docsis/d6c9347e6035f8c43f4dff630b0b54e884294c1f/tests/docsis1_0_filters_oidtext.cm -------------------------------------------------------------------------------- /tests/docsis1_1_802_1ah.cm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlaager/docsis/d6c9347e6035f8c43f4dff630b0b54e884294c1f/tests/docsis1_1_802_1ah.cm -------------------------------------------------------------------------------- /tests/docsis1_1_802_1ah.conf: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | DsPacketClass 4 | { 5 | IEEE8021ahPacketClassification 6 | { 7 | ITPID 0x88e7; 8 | ISID 0x010203; 9 | ITCI 0x0102030405; 10 | IPCP 0x01; 11 | IDEI 0x01; 12 | IUCA 0x01; 13 | BTPID 0x88a8; 14 | BTCI 0x0102; 15 | BPCP 0x01; 16 | BDEI 0x01; 17 | BVID 0x0102; 18 | BDA 01:02:03:04:05:06; 19 | BSA 01:02:03:04:05:06; 20 | } 21 | } 22 | UsPacketClass 23 | { 24 | IEEE8021ahPacketClassification 25 | { 26 | ITPID 0x88e7; 27 | ISID 0x010203; 28 | ITCI 0x0102030405; 29 | IPCP 0x01; 30 | IDEI 0x01; 31 | IUCA 0x01; 32 | BTPID 0x88a8; 33 | BTCI 0x0102; 34 | BPCP 0x01; 35 | BDEI 0x01; 36 | BVID 0x0102; 37 | BDA 01:02:03:04:05:06; 38 | BSA 01:02:03:04:05:06; 39 | } 40 | } 41 | NetworkAccess 1; 42 | UsServiceFlow 43 | { 44 | UsServiceFlowRef 1; 45 | QosParamSetType 7; 46 | } 47 | DsServiceFlow 48 | { 49 | DsServiceFlowRef 2; 50 | QosParamSetType 7; 51 | } 52 | /* CmMic 604bca8a607b4590745fdd4da6b2fef3; */ 53 | /* CmtsMic a767f7fb9dfeb4522b6e1b7df2348677; */ 54 | /*EndOfDataMkr*/ 55 | } 56 | -------------------------------------------------------------------------------- /tests/docsis1_1_802_1ah.txt: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | DsPacketClass 4 | { 5 | IEEE8021ahPacketClassification 6 | { 7 | ITPID 0x88e7; 8 | ISID 0x010203; 9 | ITCI 0x0102030405; 10 | IPCP 0x01; 11 | IDEI 0x01; 12 | IUCA 0x01; 13 | BTPID 0x88a8; 14 | BTCI 0x0102; 15 | BPCP 0x01; 16 | BDEI 0x01; 17 | BVID 0x0102; 18 | BDA 01:02:03:04:05:06; 19 | BSA 01:02:03:04:05:06; 20 | } 21 | } 22 | UsPacketClass 23 | { 24 | IEEE8021ahPacketClassification 25 | { 26 | ITPID 0x88e7; 27 | ISID 0x010203; 28 | ITCI 0x0102030405; 29 | IPCP 0x01; 30 | IDEI 0x01; 31 | IUCA 0x01; 32 | BTPID 0x88a8; 33 | BTCI 0x0102; 34 | BPCP 0x01; 35 | BDEI 0x01; 36 | BVID 0x0102; 37 | BDA 01:02:03:04:05:06; 38 | BSA 01:02:03:04:05:06; 39 | } 40 | } 41 | NetworkAccess 1; 42 | UsServiceFlow 43 | { 44 | UsServiceFlowRef 1; 45 | QosParamSetType 7; 46 | } 47 | DsServiceFlow 48 | { 49 | DsServiceFlowRef 2; 50 | QosParamSetType 7; 51 | } 52 | } 53 | -------------------------------------------------------------------------------- /tests/docsis1_1_ICMPv4ICMPv6_type_classification.cm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlaager/docsis/d6c9347e6035f8c43f4dff630b0b54e884294c1f/tests/docsis1_1_ICMPv4ICMPv6_type_classification.cm -------------------------------------------------------------------------------- /tests/docsis1_1_ICMPv4ICMPv6_type_classification.conf: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | DsPacketClass 4 | { 5 | ICMPv4ICMPv6PacketClassification 6 | { 7 | ICMPv4ICMPv6TypeStart 0; 8 | ICMPv4ICMPv6TypeEnd 255; 9 | } 10 | } 11 | UsPacketClass 12 | { 13 | ICMPv4ICMPv6PacketClassification 14 | { 15 | ICMPv4ICMPv6TypeStart 0; 16 | ICMPv4ICMPv6TypeEnd 255; 17 | } 18 | } 19 | NetworkAccess 1; 20 | UsServiceFlow 21 | { 22 | UsServiceFlowRef 1; 23 | QosParamSetType 7; 24 | } 25 | DsServiceFlow 26 | { 27 | DsServiceFlowRef 2; 28 | QosParamSetType 7; 29 | } 30 | /* CmMic b4ff4bfb713349e4fc804b0da6d4df89; */ 31 | /* CmtsMic 8875744eabf5db9ab8e44b08888bfa06; */ 32 | /*EndOfDataMkr*/ 33 | /* Pad */ 34 | } 35 | -------------------------------------------------------------------------------- /tests/docsis1_1_ICMPv4ICMPv6_type_classification.txt: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | DsPacketClass 4 | { 5 | ICMPv4ICMPv6PacketClassification 6 | { 7 | ICMPv4ICMPv6TypeStart 0; 8 | ICMPv4ICMPv6TypeEnd 255; 9 | } 10 | } 11 | UsPacketClass 12 | { 13 | ICMPv4ICMPv6PacketClassification 14 | { 15 | ICMPv4ICMPv6TypeStart 0; 16 | ICMPv4ICMPv6TypeEnd 255; 17 | } 18 | } 19 | NetworkAccess 1; 20 | UsServiceFlow 21 | { 22 | UsServiceFlowRef 1; 23 | QosParamSetType 7; 24 | } 25 | DsServiceFlow 26 | { 27 | DsServiceFlowRef 2; 28 | QosParamSetType 7; 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /tests/docsis1_1_MPLSClassification.cm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlaager/docsis/d6c9347e6035f8c43f4dff630b0b54e884294c1f/tests/docsis1_1_MPLSClassification.cm -------------------------------------------------------------------------------- /tests/docsis1_1_MPLSClassification.conf: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | DsPacketClass 4 | { 5 | MPLSClassificationEncoding 6 | { 7 | MPLSTCbits 0x01; 8 | MPLSLabel 0x010203; 9 | } 10 | } 11 | UsPacketClass 12 | { 13 | MPLSClassificationEncoding 14 | { 15 | MPLSTCbits 0x01; 16 | MPLSLabel 0x010203; 17 | } 18 | } 19 | NetworkAccess 1; 20 | UsServiceFlow 21 | { 22 | UsServiceFlowRef 1; 23 | QosParamSetType 7; 24 | } 25 | DsServiceFlow 26 | { 27 | DsServiceFlowRef 2; 28 | QosParamSetType 7; 29 | } 30 | /* CmMic 9444e6c7e37d09e2d62e7fae46a136b3; */ 31 | /* CmtsMic c27a75eb1c273433d992592ac9078a5c; */ 32 | /*EndOfDataMkr*/ 33 | /* Pad */ 34 | } 35 | -------------------------------------------------------------------------------- /tests/docsis1_1_MPLSClassification.txt: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | DsPacketClass 4 | { 5 | MPLSClassificationEncoding 6 | { 7 | MPLSTCbits 0x01; 8 | MPLSLabel 0x010203; 9 | } 10 | } 11 | UsPacketClass 12 | { 13 | MPLSClassificationEncoding 14 | { 15 | MPLSTCbits 0x01; 16 | MPLSLabel 0x010203; 17 | } 18 | } 19 | NetworkAccess 1; 20 | UsServiceFlow 21 | { 22 | UsServiceFlowRef 1; 23 | QosParamSetType 7; 24 | } 25 | DsServiceFlow 26 | { 27 | DsServiceFlowRef 2; 28 | QosParamSetType 7; 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /tests/docsis1_1_STagCTag.cm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlaager/docsis/d6c9347e6035f8c43f4dff630b0b54e884294c1f/tests/docsis1_1_STagCTag.cm -------------------------------------------------------------------------------- /tests/docsis1_1_STagCTag.conf: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | DsPacketClass 4 | { 5 | STagCTagFrameClassification 6 | { 7 | STPID 0x88a8; 8 | SVID 0x0102; 9 | SPCP 0x01; 10 | SDEI 0x01; 11 | CTPID 0x8100; 12 | CVID 0x0001; 13 | CPCP 0x01; 14 | CCFI 0x01; 15 | STCI 0x0102; 16 | CTCI 0x0102; 17 | } 18 | } 19 | NetworkAccess 1; 20 | UsServiceFlow 21 | { 22 | UsServiceFlowRef 1; 23 | QosParamSetType 7; 24 | } 25 | DsServiceFlow 26 | { 27 | DsServiceFlowRef 2; 28 | QosParamSetType 7; 29 | } 30 | UsPacketClass 31 | { 32 | STagCTagFrameClassification 33 | { 34 | STPID 0x88a8; 35 | SVID 0x0102; 36 | SPCP 0x01; 37 | SDEI 0x01; 38 | CTPID 0x8100; 39 | CVID 0x0001; 40 | CPCP 0x01; 41 | CCFI 0x01; 42 | STCI 0x0102; 43 | CTCI 0x0102; 44 | } 45 | } 46 | /* CmMic c2ef1bb86c52c77f73cd21b954e6a85e; */ 47 | /* CmtsMic 53ce4697f22f2104a422b97ca15bd6d2; */ 48 | /*EndOfDataMkr*/ 49 | /* Pad */ 50 | } 51 | -------------------------------------------------------------------------------- /tests/docsis1_1_STagCTag.txt: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | DsPacketClass 4 | { 5 | STagCTagFrameClassification 6 | { 7 | STPID 0x88a8; 8 | SVID 0x0102; 9 | SPCP 0x01; 10 | SDEI 0x01; 11 | CTPID 0x8100; 12 | CVID 0x0001; 13 | CPCP 0x01; 14 | CCFI 0x01; 15 | STCI 0x0102; 16 | CTCI 0x0102; 17 | } 18 | } 19 | NetworkAccess 1; 20 | UsServiceFlow 21 | { 22 | UsServiceFlowRef 1; 23 | QosParamSetType 7; 24 | } 25 | DsServiceFlow 26 | { 27 | DsServiceFlowRef 2; 28 | QosParamSetType 7; 29 | } 30 | UsPacketClass 31 | { 32 | STagCTagFrameClassification 33 | { 34 | STPID 0x88a8; 35 | SVID 0x0102; 36 | SPCP 0x01; 37 | SDEI 0x01; 38 | CTPID 0x8100; 39 | CVID 0x0001; 40 | CPCP 0x01; 41 | CCFI 0x01; 42 | STCI 0x0102; 43 | CTCI 0x0102; 44 | } 45 | } 46 | } 47 | -------------------------------------------------------------------------------- /tests/docsis1_1_classifiers.cm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlaager/docsis/d6c9347e6035f8c43f4dff630b0b54e884294c1f/tests/docsis1_1_classifiers.cm -------------------------------------------------------------------------------- /tests/docsis1_1_classifiers2.cm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlaager/docsis/d6c9347e6035f8c43f4dff630b0b54e884294c1f/tests/docsis1_1_classifiers2.cm -------------------------------------------------------------------------------- /tests/docsis1_1_mandatory_param.cm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlaager/docsis/d6c9347e6035f8c43f4dff630b0b54e884294c1f/tests/docsis1_1_mandatory_param.cm -------------------------------------------------------------------------------- /tests/docsis1_1_oss_v3coex.cm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlaager/docsis/d6c9347e6035f8c43f4dff630b0b54e884294c1f/tests/docsis1_1_oss_v3coex.cm -------------------------------------------------------------------------------- /tests/docsis1_1_simple.cm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlaager/docsis/d6c9347e6035f8c43f4dff630b0b54e884294c1f/tests/docsis1_1_simple.cm -------------------------------------------------------------------------------- /tests/docsis1_1_simple.conf: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | NetworkAccess 1; 4 | DownstreamFrequency 681000000; 5 | SwUpgradeServer 10.50.50.50; 6 | SwUpgradeFilename "SomeFile.bin"; 7 | MaxCPE 16; 8 | MaxClassifiers 20; 9 | GlobalPrivacyEnable 0; 10 | UsServiceFlow 11 | { 12 | UsServiceFlowRef 1; 13 | QosParamSetType 7; 14 | TrafficPriority 1; 15 | MaxRateSustained 256000; 16 | SchedulingType 2; 17 | RequestOrTxPolicy 0x0000008a; 18 | } 19 | DsServiceFlow 20 | { 21 | DsServiceFlowRef 101; 22 | QosParamSetType 7; 23 | TrafficPriority 1; 24 | MaxRateSustained 1000000; 25 | } 26 | /* CmMic 43f19c8d8b93b667a2bbb123a081ff6a; */ 27 | /* CmtsMic 0d0bbbc6fa59c362cf894ac16834772d; */ 28 | /*EndOfDataMkr*/ 29 | /* Pad */ 30 | } 31 | -------------------------------------------------------------------------------- /tests/docsis1_1_simple.txt: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | NetworkAccess 1; 4 | DownstreamFrequency 681000000; 5 | SwUpgradeServer 10.50.50.50; 6 | SwUpgradeFilename "SomeFile.bin"; 7 | MaxCPE 16; 8 | MaxClassifiers 20; 9 | GlobalPrivacyEnable 0; 10 | UsServiceFlow 11 | { 12 | UsServiceFlowRef 1; 13 | QosParamSetType 7; 14 | TrafficPriority 1; 15 | MaxRateSustained 256000; 16 | SchedulingType 2; 17 | RequestOrTxPolicy 0x0000008a; 18 | } 19 | DsServiceFlow 20 | { 21 | DsServiceFlowRef 101; 22 | QosParamSetType 7; 23 | TrafficPriority 1; 24 | MaxRateSustained 1000000; 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /tests/docsis1_1_stress_test.cm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlaager/docsis/d6c9347e6035f8c43f4dff630b0b54e884294c1f/tests/docsis1_1_stress_test.cm -------------------------------------------------------------------------------- /tests/docsis20.cm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlaager/docsis/d6c9347e6035f8c43f4dff630b0b54e884294c1f/tests/docsis20.cm -------------------------------------------------------------------------------- /tests/docsis20_no_snmp.cm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlaager/docsis/d6c9347e6035f8c43f4dff630b0b54e884294c1f/tests/docsis20_no_snmp.cm -------------------------------------------------------------------------------- /tests/docsis2_0_DUTFiltering.failed: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | NetworkAccess 1; 4 | MaxCPE 16; 5 | DUTFiltering 6 | { 7 | DUTControl 1; 8 | DUTCMIM 0x1725; 9 | } 10 | UsServiceFlow 11 | { 12 | UsServiceFlowRef 1; 13 | QosParamSetType 7; 14 | SchedulingType 2; 15 | } 16 | DsServiceFlow 17 | { 18 | DsServiceFlowRef 5; 19 | QosParamSetType 7; 20 | } 21 | GlobalPrivacyEnable 0; 22 | GenericTLV TlvCode 53 TlvLength 90 TlvValue 0x01067075626c69630210010600000000000002060000000000000228011200000000000000000000000000000000000002120000000000000000000000000000000000000301020411646f637369734d616e6167657256696577; 23 | GenericTLV TlvCode 53 TlvLength 91 TlvValue 0x0107707269766174650210010600000000000002060000000000000228011200000000000000000000000000000000000002120000000000000000000000000000000000000301020411646f637369734d616e6167657256696577; 24 | GenericTLV TlvCode 55 TlvLength 1 TlvValue 0x01; 25 | } 26 | -------------------------------------------------------------------------------- /tests/docsis2_0_L2VPN_DualQTag.cm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlaager/docsis/d6c9347e6035f8c43f4dff630b0b54e884294c1f/tests/docsis2_0_L2VPN_DualQTag.cm -------------------------------------------------------------------------------- /tests/docsis2_0_L2VPN_SingleQTag.cm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlaager/docsis/d6c9347e6035f8c43f4dff630b0b54e884294c1f/tests/docsis2_0_L2VPN_SingleQTag.cm -------------------------------------------------------------------------------- /tests/docsis30_ModemCapabilities.cm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlaager/docsis/d6c9347e6035f8c43f4dff630b0b54e884294c1f/tests/docsis30_ModemCapabilities.cm -------------------------------------------------------------------------------- /tests/docsis3_0_ChannelAssignment.cm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlaager/docsis/d6c9347e6035f8c43f4dff630b0b54e884294c1f/tests/docsis3_0_ChannelAssignment.cm -------------------------------------------------------------------------------- /tests/docsis3_0_ChannelAssignment.conf: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | NetworkAccess 1; 4 | UsServiceFlow 5 | { 6 | UsServiceFlowRef 1; 7 | QosParamSetType 7; 8 | } 9 | DsServiceFlow 10 | { 11 | DsServiceFlowRef 2; 12 | QosParamSetType 7; 13 | } 14 | ChannelAssignmentConfig 15 | { 16 | CaTransmit 1; 17 | CaTransmit 10; 18 | CaReceive 410000000; 19 | CaReceive 418000000; 20 | CaReceive 426000000; 21 | CaReceive 434000000; 22 | } 23 | /* CmMic 95760f70759e16e320ad0a9162c05eef; */ 24 | /* CmtsMic 86d8197b8aa81e300620379e8ed3fe97; */ 25 | /*EndOfDataMkr*/ 26 | /* Pad */ 27 | } 28 | -------------------------------------------------------------------------------- /tests/docsis3_0_ChannelAssignment.txt: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | NetworkAccess 1; 4 | UsServiceFlow 5 | { 6 | UsServiceFlowRef 1; 7 | QosParamSetType 7; 8 | } 9 | DsServiceFlow 10 | { 11 | DsServiceFlowRef 2; 12 | QosParamSetType 7; 13 | } 14 | ChannelAssignmentConfig 15 | { 16 | CaTransmit 1; 17 | CaTransmit 10; 18 | CaReceive 410000000; 19 | CaReceive 418000000; 20 | CaReceive 426000000; 21 | CaReceive 434000000; 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /tests/docsis3_0_InitializationModeOverride.cm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlaager/docsis/d6c9347e6035f8c43f4dff630b0b54e884294c1f/tests/docsis3_0_InitializationModeOverride.cm -------------------------------------------------------------------------------- /tests/docsis3_0_InitializationModeOverride.conf: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | NetworkAccess 1; 4 | UsServiceFlow 5 | { 6 | UsServiceFlowRef 1; 7 | QosParamSetType 7; 8 | } 9 | DsServiceFlow 10 | { 11 | DsServiceFlowRef 2; 12 | QosParamSetType 7; 13 | } 14 | eRouter 15 | { 16 | InitializationModeOverride 1; 17 | } 18 | /* CmMic 7ac5da893c765764a0b1b18bc6b91b07; */ 19 | /* CmtsMic 8a71fa02bbcd9afe8bf524e612a4aebc; */ 20 | /*EndOfDataMkr*/ 21 | } 22 | -------------------------------------------------------------------------------- /tests/docsis3_0_InitializationModeOverride.txt: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | NetworkAccess 1; 4 | UsServiceFlow 5 | { 6 | UsServiceFlowRef 1; 7 | QosParamSetType 7; 8 | } 9 | DsServiceFlow 10 | { 11 | DsServiceFlowRef 2; 12 | QosParamSetType 7; 13 | } 14 | eRouter 15 | { 16 | InitializationModeOverride 1; 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /tests/docsis_ipv6.cm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlaager/docsis/d6c9347e6035f8c43f4dff630b0b54e884294c1f/tests/docsis_ipv6.cm -------------------------------------------------------------------------------- /tests/docsis_ipv6.conf: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | DownstreamFrequency 130000000; 4 | UpstreamChannelId 123; 5 | NetworkAccess 1; 6 | ClassOfService 7 | { 8 | ClassID 5; 9 | MaxRateDown 512000; 10 | MaxRateUp 64000; 11 | PriorityUp 3; 12 | GuaranteedUp 32000; 13 | MaxBurstUp 54314; 14 | PrivacyEnable 1; 15 | } 16 | SwUpgradeFilename "filename1.bin"; 17 | BaselinePrivacy 18 | { 19 | AuthTimeout 25; 20 | ReAuthTimeout 15; 21 | AuthGraceTime 120; 22 | OperTimeout 9; 23 | ReKeyTimeout 10; 24 | TEKGraceTime 600; 25 | } 26 | MaxCPE 13; 27 | SwUpgradeServer 10.1.1.1; 28 | SwUpgradeServer6 2001:db8::1; 29 | /* CmMic 775d20a2183878cd8351c58087183561; */ 30 | /* CmtsMic 81c6aa8340dab8e0d508fecf9c766fc4; */ 31 | /*EndOfDataMkr*/ 32 | /* Pad */ 33 | } 34 | -------------------------------------------------------------------------------- /tests/docsis_ipv6.txt: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | DownstreamFrequency 130000000; 4 | UpstreamChannelId 123; 5 | NetworkAccess 1; 6 | ClassOfService 7 | { 8 | ClassID 5; 9 | MaxRateDown 512000; 10 | MaxRateUp 64000; 11 | PriorityUp 3; 12 | GuaranteedUp 32000; 13 | MaxBurstUp 54314; 14 | PrivacyEnable 1; 15 | } 16 | SwUpgradeFilename "filename1.bin"; 17 | BaselinePrivacy 18 | { 19 | AuthTimeout 25; 20 | ReAuthTimeout 15; 21 | AuthGraceTime 120; 22 | OperTimeout 9; 23 | ReKeyTimeout 10; 24 | TEKGraceTime 600; 25 | } 26 | MaxCPE 13; 27 | SwUpgradeServer 10.1.1.1; 28 | SwUpgradeServer6 2001:db8::1; 29 | } 30 | -------------------------------------------------------------------------------- /tests/eRouter_InitMode_TR69.cm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlaager/docsis/d6c9347e6035f8c43f4dff630b0b54e884294c1f/tests/eRouter_InitMode_TR69.cm -------------------------------------------------------------------------------- /tests/eRouter_InitMode_TR69.conf: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | NetworkAccess 1; 4 | UsServiceFlow 5 | { 6 | UsServiceFlowRef 1; 7 | QosParamSetType 7; 8 | } 9 | DsServiceFlow 10 | { 11 | DsServiceFlowRef 2; 12 | QosParamSetType 7; 13 | } 14 | eRouter 15 | { 16 | InitializationMode 1; 17 | TR69ManagementServer 18 | { 19 | EnableCWMP 1; 20 | URL "https://www.example.com/index.xml"; 21 | Username "ExampleUsername"; 22 | Password "ExamplePassword"; 23 | ConnectionRequestUsername "ConnectionUsername"; 24 | ConnectionRequestPassword "ConnectionPassword"; 25 | ACSOverride 0; 26 | } 27 | } 28 | /* CmMic 25a823457d112076a8b586b687f27f41; */ 29 | /* CmtsMic ce23716193b592ade7186db7900440bb; */ 30 | /*EndOfDataMkr*/ 31 | } 32 | -------------------------------------------------------------------------------- /tests/eRouter_InitMode_TR69.txt: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | NetworkAccess 1; 4 | UsServiceFlow 5 | { 6 | UsServiceFlowRef 1; 7 | QosParamSetType 7; 8 | } 9 | DsServiceFlow 10 | { 11 | DsServiceFlowRef 2; 12 | QosParamSetType 7; 13 | } 14 | eRouter 15 | { 16 | InitializationMode 1; 17 | TR69ManagementServer 18 | { 19 | EnableCWMP 1; 20 | URL "https://www.example.com/index.xml"; 21 | Username "ExampleUsername"; 22 | Password "ExamplePassword"; 23 | ConnectionRequestUsername "ConnectionUsername"; 24 | ConnectionRequestPassword "ConnectionPassword"; 25 | ACSOverride 0; 26 | } 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /tests/eRouter_RATransmissionInterval.cm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlaager/docsis/d6c9347e6035f8c43f4dff630b0b54e884294c1f/tests/eRouter_RATransmissionInterval.cm -------------------------------------------------------------------------------- /tests/eRouter_RATransmissionInterval.conf: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | eRouter 4 | { 5 | RATransmissionInterval 1800; 6 | } 7 | NetworkAccess 1; 8 | UsServiceFlow 9 | { 10 | UsServiceFlowRef 1; 11 | QosParamSetType 7; 12 | } 13 | DsServiceFlow 14 | { 15 | DsServiceFlowRef 2; 16 | QosParamSetType 7; 17 | } 18 | /* CmMic b2fa2ed42b5d1e67d8466840a92686ff; */ 19 | /* CmtsMic d35a652f486da2ec6bf610aa911dcf2d; */ 20 | /*EndOfDataMkr*/ 21 | } 22 | -------------------------------------------------------------------------------- /tests/eRouter_RATransmissionInterval.txt: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | eRouter 4 | { 5 | RATransmissionInterval 1800; 6 | } 7 | NetworkAccess 1; 8 | UsServiceFlow 9 | { 10 | UsServiceFlowRef 1; 11 | QosParamSetType 7; 12 | } 13 | DsServiceFlow 14 | { 15 | DsServiceFlowRef 2; 16 | QosParamSetType 7; 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /tests/eRouter_SNMPv1v2cCoexistance.cm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlaager/docsis/d6c9347e6035f8c43f4dff630b0b54e884294c1f/tests/eRouter_SNMPv1v2cCoexistance.cm -------------------------------------------------------------------------------- /tests/eRouter_SNMPv1v2cCoexistance.conf: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | NetworkAccess 1; 4 | UsServiceFlow 5 | { 6 | UsServiceFlowRef 1; 7 | QosParamSetType 7; 8 | } 9 | DsServiceFlow 10 | { 11 | DsServiceFlowRef 2; 12 | QosParamSetType 7; 13 | } 14 | eRouter 15 | { 16 | SNMPv1v2cCoexistenceConfig 17 | { 18 | SNMPv1v2cCommunityName "public"; 19 | SNMPv1v2cTransportAddressAccess 20 | { 21 | SNMPv1v2cTransportAddress 2002::22:1/1234; 22 | SNMPv1v2cTransportAddressMask 11.22.33.44/4321; 23 | } 24 | SNMPv1v2cAccessViewType 2; 25 | SNMPv1v2cAccessViewName "write"; 26 | } 27 | } 28 | /* CmMic 72415a207e9b326740adc4edf12ec1ec; */ 29 | /* CmtsMic 005355b692863c638204ae2ba9ef591e; */ 30 | /*EndOfDataMkr*/ 31 | /* Pad */ 32 | } 33 | -------------------------------------------------------------------------------- /tests/eRouter_SNMPv1v2cCoexistance.txt: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | NetworkAccess 1; 4 | UsServiceFlow 5 | { 6 | UsServiceFlowRef 1; 7 | QosParamSetType 7; 8 | } 9 | DsServiceFlow 10 | { 11 | DsServiceFlowRef 2; 12 | QosParamSetType 7; 13 | } 14 | eRouter 15 | { 16 | SNMPv1v2cCoexistenceConfig 17 | { 18 | SNMPv1v2cCommunityName "public"; 19 | SNMPv1v2cTransportAddressAccess 20 | { 21 | SNMPv1v2cTransportAddress 2002::22:1/1234; 22 | SNMPv1v2cTransportAddressMask 11.22.33.44/4321; 23 | } 24 | SNMPv1v2cAccessViewType 2; 25 | SNMPv1v2cAccessViewName "write"; 26 | } 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /tests/eRouter_SNMPv3AccessView.cm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlaager/docsis/d6c9347e6035f8c43f4dff630b0b54e884294c1f/tests/eRouter_SNMPv3AccessView.cm -------------------------------------------------------------------------------- /tests/eRouter_SNMPv3AccessView.conf: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | NetworkAccess 1; 4 | UsServiceFlow 5 | { 6 | UsServiceFlowRef 1; 7 | QosParamSetType 7; 8 | } 9 | DsServiceFlow 10 | { 11 | DsServiceFlowRef 2; 12 | QosParamSetType 7; 13 | } 14 | eRouter 15 | { 16 | SNMPv3AccessViewConfiguration 17 | { 18 | SNMPv3AccessViewName "accessviewname"; 19 | SNMPv3AccessViewSubtree .1.3.6.1.1.2.1.2.3; 20 | SNMPv3AccessViewMask 0x0102; 21 | SNMPv3AccessViewType 2; 22 | } 23 | } 24 | /* CmMic 644df8c53e6c3bdbaea42c9d2c29a467; */ 25 | /* CmtsMic 5771949370cfbeb12ca243eba60b5563; */ 26 | /*EndOfDataMkr*/ 27 | /* Pad */ 28 | } 29 | -------------------------------------------------------------------------------- /tests/eRouter_SNMPv3AccessView.txt: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | NetworkAccess 1; 4 | UsServiceFlow 5 | { 6 | UsServiceFlowRef 1; 7 | QosParamSetType 7; 8 | } 9 | DsServiceFlow 10 | { 11 | DsServiceFlowRef 2; 12 | QosParamSetType 7; 13 | } 14 | eRouter 15 | { 16 | SNMPv3AccessViewConfiguration 17 | { 18 | SNMPv3AccessViewName "accessviewname"; 19 | SNMPv3AccessViewSubtree .1.3.6.1.1.2.1.2.3; 20 | SNMPv3AccessViewMask 0x0102; 21 | SNMPv3AccessViewType 2; 22 | } 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /tests/eRouter_SnmpMibObject.cm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlaager/docsis/d6c9347e6035f8c43f4dff630b0b54e884294c1f/tests/eRouter_SnmpMibObject.cm -------------------------------------------------------------------------------- /tests/eRouter_SnmpMibObject.conf: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | eRouter 4 | { 5 | SnmpMibObject sysName.0 String "Cisco"; 6 | } 7 | NetworkAccess 1; 8 | UsServiceFlow 9 | { 10 | UsServiceFlowRef 1; 11 | QosParamSetType 7; 12 | } 13 | DsServiceFlow 14 | { 15 | DsServiceFlowRef 2; 16 | QosParamSetType 7; 17 | } 18 | /* CmMic c453b0d85e0a559594831c97d2e9d54d; */ 19 | /* CmtsMic acf4311b948bc0cf688837e896d5b1ec; */ 20 | /*EndOfDataMkr*/ 21 | /* Pad */ 22 | } 23 | -------------------------------------------------------------------------------- /tests/eRouter_SnmpMibObject.txt: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | eRouter 4 | { 5 | SnmpMibObject sysName.0 String "Cisco"; 6 | } 7 | NetworkAccess 1; 8 | UsServiceFlow 9 | { 10 | UsServiceFlowRef 1; 11 | QosParamSetType 7; 12 | } 13 | DsServiceFlow 14 | { 15 | DsServiceFlowRef 2; 16 | QosParamSetType 7; 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /tests/eRouter_TopologyModeEncoding.cm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlaager/docsis/d6c9347e6035f8c43f4dff630b0b54e884294c1f/tests/eRouter_TopologyModeEncoding.cm -------------------------------------------------------------------------------- /tests/eRouter_TopologyModeEncoding.conf: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | NetworkAccess 1; 4 | UsServiceFlow 5 | { 6 | UsServiceFlowRef 1; 7 | QosParamSetType 7; 8 | } 9 | DsServiceFlow 10 | { 11 | DsServiceFlowRef 2; 12 | QosParamSetType 7; 13 | } 14 | eRouter 15 | { 16 | TopologyModeEncoding 2; 17 | } 18 | /* CmMic 8759d15c1354d1cdbdc5c469e650af20; */ 19 | /* CmtsMic d88a5e8a310dd4666f7e6f6642e8d4ad; */ 20 | /*EndOfDataMkr*/ 21 | } 22 | -------------------------------------------------------------------------------- /tests/eRouter_TopologyModeEncoding.txt: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | NetworkAccess 1; 4 | UsServiceFlow 5 | { 6 | UsServiceFlowRef 1; 7 | QosParamSetType 7; 8 | } 9 | DsServiceFlow 10 | { 11 | DsServiceFlowRef 2; 12 | QosParamSetType 7; 13 | } 14 | eRouter 15 | { 16 | TopologyModeEncoding 2; 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /tests/eRouter_VendorSpecific.cm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlaager/docsis/d6c9347e6035f8c43f4dff630b0b54e884294c1f/tests/eRouter_VendorSpecific.cm -------------------------------------------------------------------------------- /tests/eRouter_VendorSpecific.conf: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | NetworkAccess 1; 4 | UsServiceFlow 5 | { 6 | UsServiceFlowRef 1; 7 | QosParamSetType 7; 8 | } 9 | DsServiceFlow 10 | { 11 | DsServiceFlowRef 2; 12 | QosParamSetType 7; 13 | } 14 | eRouter 15 | { 16 | VendorSpecific 17 | { 18 | VendorIdentifier 0x010203; 19 | } 20 | } 21 | /* CmMic 226b32e43a0bdd20f1941e32146faca7; */ 22 | /* CmtsMic b0a60c54b725d7b06ae05148aa7bc63b; */ 23 | /*EndOfDataMkr*/ 24 | } 25 | -------------------------------------------------------------------------------- /tests/eRouter_VendorSpecific.txt: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | NetworkAccess 1; 4 | UsServiceFlow 5 | { 6 | UsServiceFlowRef 1; 7 | QosParamSetType 7; 8 | } 9 | DsServiceFlow 10 | { 11 | DsServiceFlowRef 2; 12 | QosParamSetType 7; 13 | } 14 | eRouter 15 | { 16 | VendorSpecific 17 | { 18 | VendorIdentifier 0x010203; 19 | } 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /tests/key: -------------------------------------------------------------------------------- 1 | DOCSIS 2 | -------------------------------------------------------------------------------- /tests/tlv43_vendor_specific.cm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlaager/docsis/d6c9347e6035f8c43f4dff630b0b54e884294c1f/tests/tlv43_vendor_specific.cm -------------------------------------------------------------------------------- /tests/tlv43_vendor_specific.conf: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | VendorSpecific 4 | { 5 | VendorIdentifier 0x00407b; 6 | GenericTLV TlvCode 4 TlvLength 1 TlvValue 0x00; 7 | GenericTLV TlvCode 6 TlvLength 1 TlvValue 0x01; 8 | } 9 | VendorSpecific 10 | { 11 | VendorIdentifier 0x000f21; 12 | GenericTLV TlvCode 4 TlvLength 1 TlvValue 0x00; 13 | GenericTLV TlvCode 6 TlvLength 1 TlvValue 0x01; 14 | } 15 | VendorSpecific 16 | { 17 | VendorIdentifier 0x000a73; 18 | GenericTLV TlvCode 4 TlvLength 1 TlvValue 0x00; 19 | GenericTLV TlvCode 6 TlvLength 1 TlvValue 0x01; 20 | } 21 | VendorSpecific 22 | { 23 | VendorIdentifier 0xffffff; 24 | CMRangingClassIDExtension 2; 25 | CMLoadBalancingGroupID 3; 26 | } 27 | /* CmMic 3ae43ec5223bc90ecec10761eaf83b4a; */ 28 | /* CmtsMic 0a2cdd49ed7b1c361a7e9d0a23141e41; */ 29 | /*EndOfDataMkr*/ 30 | /* Pad */ 31 | } 32 | -------------------------------------------------------------------------------- /tests/tlv43_vendor_specific.txt: -------------------------------------------------------------------------------- 1 | Main 2 | { 3 | VendorSpecific 4 | { 5 | VendorIdentifier 0x00407b; 6 | GenericTLV TlvCode 4 TlvLength 1 TlvValue 0x00; 7 | GenericTLV TlvCode 6 TlvLength 1 TlvValue 0x01; 8 | } 9 | VendorSpecific 10 | { 11 | VendorIdentifier 0x000f21; 12 | GenericTLV TlvCode 4 TlvLength 1 TlvValue 0x00; 13 | GenericTLV TlvCode 6 TlvLength 1 TlvValue 0x01; 14 | } 15 | VendorSpecific 16 | { 17 | VendorIdentifier 0x000a73; 18 | GenericTLV TlvCode 4 TlvLength 1 TlvValue 0x00; 19 | GenericTLV TlvCode 6 TlvLength 1 TlvValue 0x01; 20 | } 21 | VendorSpecific 22 | { 23 | VendorIdentifier 0xffffff; 24 | CMRangingClassIDExtension 2; 25 | CMLoadBalancingGroupID 3; 26 | } 27 | } 28 | --------------------------------------------------------------------------------