From 78313c67ff5e7aa42c7e920e28cb3c3910bcae52 Mon Sep 17 00:00:00 2001 From: vhowdhur Date: Tue, 9 Jan 2024 14:36:56 +0530 Subject: [PATCH] "version 1.1.12" --- RELEASENOTES.md | 4 + ixnetwork_restpy/connection.py | 2 + .../pytest_tests/.pytest_cache/.gitignore | 2 + .../pytest_tests/.pytest_cache/CACHEDIR.TAG | 4 + .../pytest_tests/.pytest_cache/README.md | 8 + .../.pytest_cache/v/cache/lastfailed | 10 + .../.pytest_cache/v/cache/nodeids | 242 +++++ .../.pytest_cache/v/cache/stepwise | 1 + .../pytest_tests/tests/test_find_with_href.py | 17 + .../chassis/card/aggregation/aggregation.py | 31 +- .../availablehardware/chassis/card/card.py | 31 +- .../sessions/ixnetwork/globals/globals.py | 13 + .../globals/preferences/preferences.py | 24 +- .../ixnetwork/globals/scriptgen/scriptgen.py | 64 +- .../reportgenerator/reportgenerator.py | 184 +++- .../portstatistics/portstatistics.py | 886 +++++++++++++++- .../topology/ptprobeinstancesrv6/__init__.py | 0 ...cesrv6_42465f189e48f32cc2859230c2df9e11.py | 184 ++++ ...pology_678a8dc80c9b4b2b5c741072eab4305d.py | 20 + .../sessions/ixnetwork/ixnetwork.py | 223 ++++ ...hernet_16074ace2e581d9f35640391bde73384.py | 40 + ...obfdv4_4aa9ebac618b5beec5e63d28011a2415.py | 868 +++++++++++++++ ...obfdv6_e86be7acb660f720ee657e139f44950f.py | 868 +++++++++++++++ .../sessions/ixnetwork/locations/locations.py | 20 +- .../ixnetwork/locations/ports/ports.py | 23 +- .../resourcegroups/resourcegroups.py | 4 +- ...ughput_86fc74b3228f97518d2513e6b33a3960.py | 4 +- ...egated_1577cf9dc401fdcbed618d982960f3b4.py | 4 +- ...onfig_441ecf1e60d026ff62a8d3adf1da1c81.py} | 18 + ...onfig_b7542a159234b25ac24f861a7db389e1.py} | 218 +++- .../resourcemanager/resourcemanager.py | 40 +- .../ixnetwork/statistics/statistics.py | 28 +- ...action_910bcbfd3b7898385321127395ab1bd5.py | 21 + ...ctions_6cb23f03bfbe3aff4491fd746dbe2956.py | 21 + ...rofile_c65384e18e20517e184ef23474b0b960.py | 21 + ...ptions_b2029cff9a0e1b9db1c05c032a4f003c.py | 21 + .../ancp_32ef0f30885d45a86fb93ff8c22f3107.py | 21 + ...pelist_1842feb618447c4d27d3b4a492f9af9e.py | 21 + ...lvlist_5c4e305687043a6232999175d09f7f65.py | 21 + ...onlist_00191c1165a6248dea286f67cd56938f.py | 21 + ...tslist_0daa9e1df4598df831fc9c6266f38cb9.py | 21 + .../bands_392f44cb40ca53ad5e0fc665cc14dea3.py | 21 + ...idlist_0854f00d7287dd167f5cc03126e3011d.py | 21 + ...idlist_145d5b3b39acf879821ed1634b49f17f.py | 21 + ...router_deb1cea5df395bf5b6957f7f9cde8ef4.py | 21 + ...erface_91b557a3f744baf442dbe21ac75e8f2e.py | 53 +- ...ession_dfe5a64bfc5795e7fe612df749b6836a.py | 21 + ...erface_b9a91920db1b70c8c6410d2de0b438d3.py | 53 +- ...ession_0227b1efa1d435dd43ed809b84abf3ba.py | 21 + ...idlist_0718aa70c2b1ee20aec9def96e59fdcc.py | 21 + ...gplist_b76a0c0926b383c03300a5c9015e1c36.py | 21 + ...erlist_1529f0c2f511c5c16621b75c6205cf08.py | 21 + ...ntlist_4d209c5ac36c18374125f19531d4795f.py | 21 + ...idlist_82b17094a31a96f755045be572017577.py | 21 + ...eslist_2963fcaf235bccb665be655ea86cee0f.py | 21 + ...safiv4_3755a44fa17f2a2c8666f79d7f4bbce7.py | 21 + ...safiv6_31ae8bd98f331c2119281ac977022fca.py | 21 + ...nklist_763f9e1a55aa38eb16e9aa15af5fbd00.py | 21 + ...erlist_8d99c24c6bc075dd9519d2ac06779a94.py | 21 + ...etlist_ece8f83471c092e69963d1f732d4f4fb.py | 21 + ...erlist_b7dca522ef99eb22707bd5da943fc120.py | 21 + ...mentv4_2514045783c23a908611c72c13ab7e8f.py | 21 + ...mentv6_58e9b55555c9ee871244737f09405ae0.py | 21 + ...chigmp_f89f38fca85b1442229391afe5b95e76.py | 21 + ...nchmld_4f5a831aa8e923cbdbff69a4f078837d.py | 21 + ...chigmp_411f258090ec14c0d716cabc5159977e.py | 21 + ...nchmld_226fbb8fe75f87a6460aecae872f059a.py | 21 + ...etigmp_68fa5fa63ce581945025c1253038bccb.py | 21 + ...metmld_8d81cf97f583ad4547c03c6110c5168a.py | 21 + ...pmsiv4_1a04dcc2041028074ff091c8cf9f0f9c.py | 21 + ...etlist_ce93ce056c01eaf7643c31a7fd67768c.py | 21 + ...eslist_8226f9a3ca5552e5a51e89a45cfc1b7e.py | 21 + ...eslist_6369634b1dc049c4e02574db74970dd8.py | 21 + ...eslist_850749b96bb629595bbddf006a29b1eb.py | 21 + ...listv4_0163de8cc99a19d1385a21d26b93a544.py | 21 + ...listv6_c579a493ccdc64a6383fef9d60aac4cc.py | 21 + ...etlist_99470595cc13238e15b19c07b8af6021.py | 21 + ...operty_ffd9071ae88c6283e9f54ec948882405.py | 25 +- ...dl2vpn_08c7fedfc475cb9798d64a65caa67e97.py | 21 + ...vpnevi_05f1ea70759fa1436b3981f124b83276.py | 21 + ...vpnpbb_f1db536c355bf8211909601b21790955.py | 21 + ...pnvpws_e8af65dd80ab4466e956b1bd0656c202.py | 21 + ...nvxlan_ac7a890f916ca5599eb4618d697c2f6e.py | 21 + ...anvpws_8885c446b89d80aaa511ee82c37e924f.py | 21 + ...l2site_3fc887aa9816db034ba10b85d4b057ee.py | 21 + ...v4mvrf_200ce763656bd00177bc416b83bf991a.py | 21 + ...v4peer_2e2c3c2ad1ad138953e43543afb88841.py | 21 + ...dl2vpn_dfa30e45f6798c9ecc0ef8b85351cb5d.py | 21 + ...vpnevi_7c0bb620c8b4c2fccbb4102758771ea6.py | 21 + ...vpnpbb_7e3d31c960a96c76772f39596f4e0b6c.py | 21 + ...pnvpws_7e7a3dec141df7b1c974f723df7f4814.py | 21 + ...nvxlan_1a74cee0f392d412526e30bcedb3e032.py | 21 + ...anvpws_4fb221f4b88d4df5dde7203f6194f25d.py | 21 + ...l2site_91dde52dc0cc2c12360c0d436c8db2fe.py | 21 + ...v6mvrf_1027ad3d610d0cb975a481909144cac3.py | 21 + ...v6peer_cc4b2c56b540aa17ec1d2d616e50cd4b.py | 21 + ...etlist_0ceb637a2c3fee9e0d0bdf68e75d9054.py | 21 + ...etlist_f9fc41787790538b1714fae483245f7d.py | 21 + ...operty_3b5e18e475abdb9b6f2bf410d51d886a.py | 21 + ...eslist_4e8b7e63fdd826da6c354669eb5e3ed0.py | 21 + ...ntlist_fed4f671dbff6ccda8e8824fbe375856.py | 21 + ...idlist_7b4bcec76ea98c69afbc1dcb2556f669.py | 21 + ...eslist_fdb216f1d4195f82ad738e19cb2b5d32.py | 21 + ...eslist_122b706e8dda6c5aa9ede89bef707eb5.py | 21 + ...esipv4_279b1194a64614140f00d08a876cb61b.py | 21 + ...esipv6_49c886be42acc1f3fc70df1023ccb0bd.py | 21 + ...esipv4_83c1dffccb6359eeaa27efcb24b1e2a2.py | 21 + ...esipv6_432522ec6a3a94bf0469071086aef3c0.py | 21 + ...eslist_11861be5207f57b1a32d83eeb1d62224.py | 21 + ...tslist_6e28159e439bbeffe19ca2de4c7f7879.py | 21 + ...listv4_f2d756189af5037098439a3ddb4c82c5.py | 21 + ...listv6_777d4342234c70b57248a06e0ef16746.py | 21 + ...listv4_6336750dadf06a61a8083b94d2a11d76.py | 21 + ...listv6_91fa8741933da16ce10c43e89b06bc9e.py | 21 + ...tionv4_464f2f3f365df8acdb82ae879a9fd9a4.py | 21 + ...tionv6_36fca517ef159515fd45af1719a56398.py | 21 + ...listv6_d990deabbefe4f6abf91dcb7a675d82a.py | 21 + ...listv4_9031e764336dd61c6ed0b672cca24aab.py | 21 + ...listv6_ba44b4c7321d78274052ebe9409a31c5.py | 21 + ...etlist_536e8a485efae5ffcda5cfc4f848255b.py | 21 + ...etlist_02ef98778defb99b99d0de435c533ff0.py | 21 + ...iplist_9ea54e6390e4283600c8840153ae453b.py | 21 + ...iplist_817eaa9cef28501f557db118314de575.py | 21 + ...operty_e31f5dc41e1565260f4ddeb2f61efe60.py | 25 +- ...operty_15999adbfe8d61825751768ad5e0ddda.py | 21 + ...pv6vrf_4210da29fcbfb992a73dbc8ddd6c31ca.py | 21 + ...bgpvrf_0cb79569071cf4c1cb6a19d71168e407.py | 21 + ...dedgre_09eda4ea678bfaf1026122797df45443.py | 21 + ...gedata_46f9e50d9befc7b4e2640ba4217a2af2.py | 21 + ...mainv4_0ca34c3c4185383a70655f140c0f0999.py | 21 + ...mainv4_ada8e5062c0947bde8a3de0fc7b9d534.py | 21 + ...mainv4_b480f8504233bfe084a59cf7d9584195.py | 21 + ...v4vpws_551439dee67bf2b6850c89116ff8bcad.py | 21 + ...anvpws_3e3308b3d257cad5357a25598992ae5e.py | 21 + ...mainv6_8cb8a8dc728dc6c9d561711a707e762b.py | 21 + ...mainv6_f52f2d23ece3114c2b2d1e550e07fc42.py | 21 + ...v6vpws_59a832939f2a9320bf834055352368fd.py | 21 + ...anvpws_f6a54b2f0eb7348dd75d0ba4e2153c7b.py | 21 + ...uckets_bd4257b6720604ee2ee57801dd96774d.py | 21 + ...kcache_82f6cb884290798c18c712f1e527033c.py | 21 + ...bridge_0d1f83a1e9fee8ee7d444b2a33a0e03b.py | 21 + ...lvlist_798bcbc04fddcff054434d56d2b00117.py | 21 + .../cfmmp_8584bca4487041ab880565a01c8deaf3.py | 21 + ...dlinks_ed9491a56ff2748e2dde581267b5d86e.py | 21 + ...atedmp_d0096b7abd3340f4c8bdf5e2ba2578fb.py | 21 + ...pology_dc7c77f2f0651bc2e9e2b4796e7969b8.py | 21 + ...cfmslm_a552256bb40704de586bc05808a60f7f.py | 21 + ...erdata_14465bf77bf9eb0d40ce3ac056e3b337.py | 21 + ...erlist_6e3b9385a37769c7040d46a28feaa819.py | 21 + ...erties_ecb45bfaef4008cb27346c98c45748b2.py | 21 + ...tsdata_bfd4407665f4331cd53fee07f65b1820.py | 21 + ...params_122374d4856af71309d8e8b3391bfdcd.py | 21 + ...params_1bf3d8514855f50e409c0aef7ac6bf1e.py | 21 + ...params_ab1a6e3f956da910a4175820dceb06bd.py | 21 + ...nector_d0d942810e4010add7642d3914a1f29b.py | 21 + ...cuspcp_1ab532ec5eaeec746678378f2443dafe.py | 21 + ...iglist_f29584fdbf397b7eaaaf4b30da24c4f0.py | 21 + ...ollist_455d9f6528efb822a61db2ff9130065f.py | 21 + ...iglist_0f48cf3d55c41393db2f61c60efcf9b8.py | 21 + ...cuspup_a452407df164d641b27491106f32c6de.py | 21 + ...folist_6dabe687a7e1c3b332a4e0a1c44faa98.py | 21 + ...folist_b37b2361843f64c9dd7a7cca4c54541f.py | 21 + ...ollist_79632bb6ecb359c28cc6ecb682282c28.py | 21 + ...folist_c6cbdb43b7a4b861579b90c6eb645cdb.py | 21 + ...folist_30553bdb9ea57538a078853b0707e8c7.py | 21 + ...tomtlv_9dedbdbc1a4a245cbe35b21b51fa3a57.py | 21 + ...uplist_a8b0a14d8e77939b2e00841f8ca4aa44.py | 21 + ...uplist_48e0f523130d7b4e7948cb21c19b53d3.py | 21 + ...uplist_1115ac54d89360ba3a14a6027a9eda75.py | 21 + ...gylist_88a5fd3dfb37184b7299bc183cfa4683.py | 21 + ...uplist_81627c13e7781d475d54b1321526cb62.py | 21 + ...uplist_7fbea0bd4f7507b7b0d975bb7a4d36b7.py | 21 + ...uplist_d6ad8319ad4117715425a07710acdbc7.py | 21 + ...gylist_c10ab6e3d1d7e663c0f17b8227b0dafe.py | 21 + ...ddress_82bc6a41b9337a2dedf7e396720959e4.py | 21 + ...ddress_6333f28bd3662f5a8f83aabc7ece2d2a.py | 21 + ...egroup_fe4647b311377ec16edf5dcfe93dca09.py | 21 + ...rofile_1f5a4a0853366dc50313b9b3e8f6e68d.py | 21 + ...ssions_3f809ab43e58e348a7e95564311b0ea1.py | 21 + ...6iana1_afae4078d5465a41b7a0b1fa28f04ed6.py | 21 + ...6iana2_8780d42215180f08e6e8445b53170c10.py | 21 + ...6iana3_d9182a6f15c9c4511011e7796b6e6482.py | 21 + ...6iana4_59de65e7b5806938834b0b31ab911645.py | 21 + ...6iana5_9f29804966bbe93dd53900eafa383c22.py | 21 + ...6iana6_7939c0233bac17c3e3764bc9bc1a9571.py | 21 + ...6iana7_e0f696023e5c20916196c8d33f395cae.py | 21 + ...p6iana_1fdc932fd14b686d54038abe7dbb6f0c.py | 21 + ...6iapd1_7faba276e9bd1fe8044fca79065254a7.py | 21 + ...6iapd2_a86dfc2bcc765583bc7cf336b264c68b.py | 21 + ...6iapd3_ba20e56748a428c3b9345cf88c1539fd.py | 21 + ...6iapd4_491b33d4a7b6a77105854603fd6a9004.py | 21 + ...6iapd5_36145a5bec4444c5107e1c59676ab3a1.py | 21 + ...6iapd6_1010a4aa43f5dd9a03d6aab4c6a66a68.py | 21 + ...6iapd7_156f14311910b918f77a699ecec78e79.py | 21 + ...p6iapd_b6cbdab151b403cbbdb4bf99e1caf7b1.py | 21 + ...edinfo_096f62fbfd89979e813da06c573399d9.py | 21 + ...rofile_26571057903c7fcd2a20eb10f55be22f.py | 21 + ...ssions_0c878921a71494f8bce977ffffb48289.py | 21 + ...rslist_c3a3d3b5bb7a4a92267fb9a903ea682c.py | 21 + ...client_51940f357e701f382297f94c99af7a22.py | 21 + ...yagent_f4cc56bb53d1903e9ec0dfc563d37d9c.py | 21 + ...server_13987db4805a0afc3bd20d9b3fecdd35.py | 21 + ...lient_64480d87e9c578f0a0b7d3415d792d7e.py} | 58 + ...yagent_98152227df750678a31eb6776380facc.py | 21 + ...server_df745f3926c8653c96b69175854d0c80.py | 21 + ...tonex_f7548c0c1b98bf9d2d34b32ee557fec4.py} | 88 +- ...lpools_d9b929e10c822a015fb7026b5bad393a.py | 21 + ...arrier_153ae93d502f0581e2ae35d9f51bca07.py | 21 + ...cplane_84f46276a04c4895c6fe4e96027e1f05.py | 21 + ...uplane_552b538c8627003544bf2ab434c809ef.py | 21 + ...uplane_c9477b2ed619d1459be1f2c472176a7e.py | 21 + ...tslist_066a935ffc4b8b88998000da08d713eb.py | 21 + ...cprire_51f1030cbafd2e567d3b517032a1b011.py | 21 + ...prirec_129f1d43f285a4f806ade4e0df814255.py | 21 + ...rusers_5814e34000b9bdc960142e49f7af3c67.py | 21 + ...rusers_d1f6861b47ba784e3298939a333f12b9.py | 21 + ...orinfo_d1a52084750f6e3362b71d1591073670.py | 21 + .../esmc_4d9a2f8edc72794b61857303b0afb00d.py | 21 + ...hernet_18677f1f170027c217563a3250b1f635.py | 73 +- ...xrange_f9fe868ed341d666199597001888e18d.py | 21 + ...xrange_907e82e321deae422b0ee1ed0f82f2f3.py | 21 + ...splist_c1edb3ac572c229482ac3b16768b81b1.py | 21 + ...allink_92dfe6bfe971a09aeb88dd947516d4b8.py | 21 + ...routes_1ced449f46e284c113ae2194af2ffb97.py | 21 + .../field_f65a45047b747ab6446cd586626ccd2d.py | 21 + ...mplate_8e0816b88fc7b32d81aaa2e2335895f1.py | 21 + ...rofile_a1f78cfc247b918e0d8219ac19d05f87.py | 21 + ...lowset_4668cc7c02c6c6c6cb9975c2ed2dbda5.py | 21 + ...params_6a6e5a59a1ed54f9f9343ab3545821c1.py | 21 + ...params_117e1ed7232c32aa1932f4f8d5499699.py | 21 + ...geneve_14ab6f140956b4fc77d1d0f03c5e7514.py | 21 + ...eoipv4_9efa17b6a965b57b3e13cf2957418d99.py | 25 +- ...eoipv6_aad01583ffa3746a541812fe996bbcd0.py | 25 +- ...client_65aedfb6ef9fd1516821d85f102b2821.py | 21 + ...4entry_ed5330eae91aea3aecb945c3eda32ad4.py | 21 + ...exthop_9c90b1a16614ab034f81611321f3f6a9.py | 21 + ...pgroup_d6641050fbcfc8e488a8b77af527d5b2.py | 21 + ...groups_b0203364879843ea921d92b31d3b37a9.py | 21 + ...client_7579119d1fa07cc33f5866d00da204cf.py | 21 + ...mphost_8940887674c0387469423e8df3a33854.py | 21 + ...uplist_9d36f1712e120291f6d70f4be5ea1fe4.py | 21 + ...uerier_38c883b0cec7ffb5405af90bf1b8cda5.py | 21 + ...celist_f050f3572b51b1edb51a7f959ebf249f.py | 21 + ...params_4d60eb735df5bf7c597595458b68aa31.py | 29 +- ...anlist_e709d209ac3f7ec472b5b8b70db9e853.py | 21 + ...uction_8a003508af27a2b8465616f1246a834c.py | 21 + ...ctions_c6523447e39f8424f52417c8fe0de9ff.py | 21 + ...prefix_d5c1af5dfb80980a591c026bbf1a1217.py | 21 + ...router_e3708b9636f21a071f8de5213e1653fb.py | 21 + ...anlist_728a61dfe3033f50a4c4b24dd65f6d27.py | 21 + ...anlist_73520df8ad4853f551ecc4bd98996b9f.py | 21 + ...anlist_c042412b751d673b9fbaaf71ca229e77.py | 21 + ...anlist_c4246703970074b5d8b3f8c491eb8622.py | 21 + ...prefix_948ccdbed233cc17b5c5cd2caa82b61f.py | 21 + .../iptv_0fb517c26bbef4136d857dbc8aaa8c72.py | 21 + .../ipv4_8cb960b62ae85a03e1b40a57bfaeb7bb.py | 25 +- ...opback_f84286c6e2c90f5267670278dde3f258.py | 21 + ...nodeid_0058dcb0072bd8ec4de31da83d10b96a.py | 21 + ...xpools_2d6f2aedde61c058965d4e1b21741352.py | 21 + ...routes_0980784fe65301807a1930977579d2b1.py | 21 + .../ipv6_b40789fa49420009901a46b8dc683afc.py | 45 +- ...ration_30e04d0136286f29e3d34b2c9405e01e.py | 41 + ...opback_c5557054afff2b9cc84b7676de50b805.py | 41 + ...nodeid_4387c92ac6681abc984b1a38400183c9.py | 21 + ...xpools_f83aba85ff769655b348dc60ddcb30f2.py | 21 + ...routes_bcae68d87ea9e8a15aceb277f8bd6246.py | 21 + ...tslist_b22beddfcd690829abbee2bde5eaa96d.py | 21 + ...ipv6sr_5d596ce1a2d00c8f120ae357d45b9a46.py | 21 + ...ersion_f8376a4cfcc15328a4fe9a3fb44f6670.py | 21 + ...idlist_e6ba204fca19b050969280a4a79443f8.py | 21 + ...lglist_c86dcbcff988ad5c54aecdd16dd33b6f.py | 21 + ...ctlist_72488dadc9d26969d482f402d7de2734.py | 21 + ...inlist_e392fab58663b756ea9ae50d89caf0aa.py | 21 + ...config_dce0066317952a09c055b9f568621953.py | 21 + ...config_08c96458d8806c0878ba2591f7235870.py | 21 + ...donode_6416adf40a9c10f6ed462f220e3c16ff.py | 21 + ...router_92c9662fb6421c6639f138f508faf4d4.py | 21 + ...config_4d88faaf0dcf92c0db3815f377d8e18d.py | 21 + ...icpath_49ed8317c28295615f21a4a8362c2b95.py | 21 + ...router_3484383ef19d547bbf8b6a3a8701d8ab.py | 21 + ...hmlist_d9008e99957f9f9e1c7f80b24180ceb1.py | 21 + ...isisl3_2471ee7fdf32e67045bfc6c9e14f54d6.py | 21 + ...telist_ae7695e0538209b004b305811ac652f1.py | 21 + ...telist_305cdb4f4026728819c2e41364d4f782.py | 21 + ...esmtid_586e046161234c1eaaab8136f246c47b.py | 21 + ...ssrsid_d90ea659336c02c3669004f4825a6c15.py | 21 + ...config_e6b2374da4892fed3474f1ab974dbf1c.py | 21 + ...config_37681cb7f2d7b1eb6c812c1b9f243542.py | 21 + ...erface_9126bc028693cbbf9d918cf385cfa24d.py | 21 + ...idipv6_b4a9d75a0ea192e5bc7f5118726e154a.py | 21 + ...router_cc48b213b1c82a8d7545254aacd48ebb.py | 21 + ...operty_b92337ebc659bd40bd9c30fab98749e7.py | 21 + ...router_ee6787dad8e647ada652869eb34c5d06.py | 21 + ...config_1890e701c5ec6fe1e10b65bd6dd71fb5.py | 21 + ...v4list_c7d4f6854a653f4b6b5515d4e80967be.py | 21 + ...v6list_1942b0df99563e99e9978de27ba52354.py | 21 + ...idlist_8fd17f74f5299000c0f93d3d190aee51.py | 21 + ...eslist_aade22a247f2e2b1f2285c77e9114dda.py | 21 + ...lglist_16c6e7265cceee1929bab1415b66b941.py | 21 + ...orithm_da21ce814ae20d74de8689303f8c2e83.py | 21 + ...erface_c1f1f37e55c1225f223c72b348d63875.py | 21 + ...idlist_953f6f5d73f9f8b772ed5ed34413424e.py | 21 + ...eslist_611d6ab2b1a502e3b27f153266aa7670.py | 21 + ...idlist_4bf1c7cd2b913a5dfd4e1e7ab2e4a493.py | 21 + ...idlist_7f1f5407e7e0f543c58ead0450ef8be9.py | 21 + ...rylist_41e56680c4c88d313d713433ca07cac5.py | 21 + ...rofile_4b26eb844b57581d51b1f16b6e17c94a.py | 21 + ...ntlist_28066a67f7cf6594d73c8fed733b33f6.py | 21 + ...spbbcb_d576c38717539c1b1768a3a9f8ab5670.py | 21 + ...spbbeb_82771ae7e9ec8dfc9848a0c0aa078da2.py | 21 + ...config_791b0bf61c8f6877cabfa2621478ab8a.py | 21 + ...config_04ab03c0f19e657e435c655358111db5.py | 21 + ...config_0781ccf029e86f2c708647212802930e.py | 21 + ...donode_e0862fd97cf99212ff106c16f6c049cb.py | 21 + ...router_7f125b55fde121bdcf257dc13c69a82b.py | 21 + ...router_4d8d2b3596c2f006afcd75a76b6934ff.py | 21 + ...config_768b370addc0695580bc7b46b573d5a7.py | 21 + ...hmlist_a50f1cd4168a3642597a66e7f63343e6.py | 21 + ...tslist_6180dd47f637b6f4581c2dcaa7a1a071.py | 21 + ...orlist_1eec075b53920dfd5040006478718f6a.py | 21 + ...ellist_4c3217e504788bc35135af392bfa9c40.py | 21 + ...idlist_dd39940f27d58c46a476b64e85215861.py | 21 + ...idlist_02de140eb2719a0e953620cb8889e8d6.py | 21 + ...rylist_5ee5b2e2a8030f335563cdbbee99f17a.py | 21 + ...eering_6032af9b157866ba1321273f0c47a612.py | 21 + ...lelist_c47e6899658130ebf14e5ea5147ac23a.py | 21 + ...strill_e1cc1866688f861871e06513525d235b.py | 21 + ...config_4c83cc199df8becee43d785e9ef03dc7.py | 21 + ...config_1910327d5bcdde39c812851ec539a846.py | 21 + ...donode_173e4463dccc2001457569c77f3570e0.py | 21 + ...router_a0dffe09cb3b7d2c96fc3b3507112129.py | 21 + ...router_7f0721f1a50df44db865ccea96c8f735.py | 21 + ...config_75756af58887c54a1ba308c360c558c6.py | 21 + ...config_a91c5b3e28b2bee04ff08d2e22fad1e2.py | 21 + ...iglist_ad60832e8d7a25f523df493978d207eb.py | 21 + ...rslist_ce8cd9708539a28d42c5e60e8ee06be6.py | 21 + ...iglist_e4b7d7588a02ced03144622ed1204c25.py | 21 + ...iglist_2a6816a36136a04d56df7f1df9b0ea06.py | 21 + ...cklist_7243cf48ef4a1cf284a8988d7ce69917.py | 21 + .../lac_92ac6d7a9bf02ade5331532b27bfa0ea.py | 21 + .../lacp_b6b488f98125e4a7318076cb1375941b.py | 21 + ...rtlacp_ed42d76e076cab1a6c2369b757a5d616.py | 21 + ...ticlag_f67759421ceee90b665b41bf19b8202d.py | 21 + ...router_53e2de40003674322c811a1ba519dbb6.py | 21 + ...uterv6_b554f464616f39033d7acad4846e556c.py | 21 + ...erface_be8d40bb9f96a3d7371ddaf597237ff0.py | 21 + ...operty_9d07999903dc2acadf9a2f44f8a94399.py | 21 + ...operty_408cfe80a37623da202d7739fba9b830.py | 21 + ...angev4_64ffd765b330a8258acc11f24f129e85.py | 21 + ...angev6_3dad6635b6afcf8ce78906311e26bfe0.py | 21 + ...erface_a8182405aecaf64e394e960bc0e2f18f.py | 21 + ...herpws_c7a119da3cff2b6dc1e78257b76d70b9.py | 21 + ...router_5f6f01cad846224121837f6b8e6bf015.py | 21 + ...pwvpls_e691d6b250f877cef17952ec6e6b30b9.py | 21 + ...angev4_dff1472f0e097599081a58904541ec31.py | 21 + ...angev6_45885b6f21e934c88aa56da8381f4ec3.py | 21 + ...config_2643921a67ce50542ef3fd34b8bbaa14.py | 21 + ...v6peer_cf8c841244e1f69d674a5c2fa9c4b473.py | 21 + ...edpeer_3f5aecf84abee4c45cfdedcf70163bfc.py | 21 + ...router_85c7a9993d80996c22a9dbd739df9692.py | 21 + ...uterv6_e86e77f17dfccefac9e15769756089cf.py | 21 + ...lvlist_30bf84fe9b838fe1c5800e633f13cff2.py | 21 + ...erface_c2cbc5e29b8ad12450804681ee48ce22.py | 21 + ...erface_1c613e9df4bfa76dac19166ff3ca5017.py | 21 + ...sbgpad_0f32fa32863dd9e13cd7e772a3fb8771.py | 21 + ...onlist_57354c012aa6110e6483c4eaf33a2438.py | 21 + ...ltable_bef6632b895c626cc7174eb89a76162c.py | 21 + .../col_82c9f692cc4dfbaf274869de8a335e5e.py | 21 + ...rofile_2ba597be74523b48fa398c0fe5ce3acf.py | 21 + ...rofile_d56a9c24805ae788ef01a9b7a86babf1.py | 21 + ...edinfo_ff4d5e5643a63bccb40b6cf64fc58100.py | 21 + ...update_0f2cd377c44f7dfc2c15b68516dc2707.py | 21 + ...update_c16222bcf67d5a605c480c375e0fa938.py | 21 + ...update_dd43ce3af7af258dc032dc87aa945c8b.py | 21 + ...update_f0f5d88734eb95208b4f723819a57481.py | 21 + ...edinfo_2e820550fd3f57d4f0b6d57e32ffa0df.py | 21 + ...edinfo_dc0fb9c204191e64878422c6a8604d01.py | 21 + ...rofile_7087734f0df99cfe7bfd9afab773a120.py | 21 + ...params_a744c997c9b882a5c54b978095fc5398.py | 21 + ...params_fba7719ac304788aa97d45eb6b6115cb.py | 21 + ...params_86ab1246139fe62f74705dedfe30b987.py | 21 + ...params_0c9e029a38fba6fae93fa53a8f46b4bb.py | 21 + ...params_951cdbe14befd4ee3c5048628bfc6d65.py | 21 + ...params_914bb4f12b1f9c2014caf436b5fa2d28.py | 21 + ...lvlist_12acfda98ab8bf91c183199c30f2f953.py | 21 + ...ctlist_067a0a0a0d8b8dbf8239b459127bf201.py | 21 + ...ctlist_f72a62fe60fa1ddf919cc7fba7858d6e.py | 21 + ...ctlist_fd8fa1e77098fa6f4bc87b12a1ed3fcb.py | 21 + ...ctlist_d9e41e4990a041fcca2fc6fd076cf303.py | 21 + ...ctlist_161f8505e21b0db145157226f5332ddd.py | 21 + ...ctlist_bbcc97d115dea1f934b86dd3b1d0e7e2.py | 21 + ...ctlist_39e8f2176cc00efc53dbcdedfed0385e.py | 21 + ...ctlist_3cb16b2513bf72ff7ee4a5e0387625cf.py | 21 + .../row_dbafc34e8c4bf46a4ac7b647400c39d3.py | 21 + ...edinfo_f23e4b1863e7d88a413da0903c4db161.py | 21 + .../table_5866003f22dc964c958a5bc4c3040ef4.py | 21 + ...pindex_c701313bed13ee8aba049d45e00b1355.py | 21 + ...dbtype_d3eeda9354841cd7f27654332e67c26b.py | 21 + .../level_2d6a41b0a919905f176ad907ea4fdab6.py | 21 + ...rofile_987f303b51886f2a61c9c1388518f037.py | 21 + ...yagent_f435ed323783b3dadd80a122fef5c031.py | 21 + .../link_3c4eb8730b5826d36118e54600a5188b.py | 21 + ...routes_a80c9071154775869e327a02125984ee.py | 21 + ...ktable_208cab015f6cc01eff274874a65e7fec.py | 21 + .../lns_a4b3be663ffb1dfb1f114cda5dbbcd4e.py | 21 + ...ntials_caa048d94ca4e6927df8160f32c829bf.py | 21 + ...faceid_ae40044a30782cee0087b08a288efe1d.py | 21 + ...ddress_b81d048af8b00be0fd4fded7e4d28574.py | 21 + ...ddress_db0b032b0167051f08ee1b875f3bb0d5.py | 21 + ...nodeid_a2150e20db7b7e8a73277c2b4581702d.py | 21 + ...cpools_414597218f17eaa9c882bf703e2d0bdd.py | 21 + ...macsec_8816f28c50db5a9224d83bc7b8e0744d.py | 25 +- ...anager_c6443684a3a8badebe021783a46d1b90.py | 21 + ...action_374907a1c7c7401f92b5c005c8ea16f6.py | 21 + ...iteria_0cfbf8546f5ee9d503c47b3a37bded66.py | 21 + ...levels_139c757bfb085e85b81902e33a549b1f.py | 21 + ...meters_8b28210732dd4e9a4bab19a7e6241a11.py | 21 + ...obfdv4_141c58b1c08e07212b7c46d9ec8495c1.py | 991 ++++++++++++++++++ ...obfdv6_6b0c1a370d37aab2ddafd875d7778d93.py | 991 ++++++++++++++++++ .../mka_263a86da717fe553c3af300d3bfb0cab.py | 21 + ...ldhost_824a1bed927138d4bb32f7d2631197a5.py | 21 + ...uplist_62c8609753f136498d5149746f36e12e.py | 21 + ...uerier_e20671d730d138d65036e88d7cad63ac.py | 21 + ...celist_d83ad2fbae6376e2b6cb9b364249dbb9.py | 21 + .../mpls_ffaab24246ff53741a201b0a48e8e3f1.py | 25 +- ...slabel_f0b733862256902b721f5de4e5a0c542.py | 21 + ...ellist_37213b54082ea2315b262cbc86661827.py | 21 + ...plsoam_e01bb6affe899a4731aa60619f4aeadc.py | 21 + ...router_845700fadfdfffc9273541ede90252e5.py | 21 + ...irlist_522227bcb3532730013667b2ead2e53a.py | 21 + ...stener_e4c5ef0942a99c83ab955893f78633c0.py | 21 + ...omains_f2fe387dee9561ca08fc00cc9bf60ef4.py | 21 + ...talker_ac4e61374b0b4d8500aef7076a2cda89.py | 21 + ...omains_0f385bfc871543091b3fa2e404918150.py | 21 + ...aitype_53c2cdf91ca50e9351d06a63484d2cf1.py | 21 + ...client_1eaa2ab0efacd988796bdc1f5fe4291c.py | 21 + ...ientip_1ca73df9abc671deff57310d4038d7fc.py | 21 + ...server_e950d02d6ac3e8926118c0f058a2b64e.py | 21 + ...custom_bb47a11f6f5e815f215a8a6cd753c1de.py | 21 + ...attree_da9d3b86dfd4429aea6fd83e55f04c9b.py | 21 + ...gygrid_83b3d6466db720e42f8941917ac35776.py | 21 + ...nspoke_6bab635dca26252c93ca0fa925b87be2.py | 21 + ...linear_293f26b1484d1839fe8dc0ad00ed2bd5.py | 21 + ...gymesh_517b38131e86c1d1de945da2a10cb914.py | 21 + ...gyring_53b30b7628c14a65021b6e4a332bfa7c.py | 21 + ...gytree_89d07e1ee9645fffc22bcedbb938f9f7.py | 21 + ...kgroup_4a63874e791827c3a0361c2d201dbc0c.py | 21 + ...geinfo_cbb1e7fa358c353ee8fd62246a36a824.py | 21 + ...pology_8aeb1c02ce88d0f4f656681df998fe83.py | 21 + ...rdlist_035390df83e22e146cb32cc19244f93b.py | 21 + ...rdlist_5633e9074910fb78b98b5edd7b09d613.py | 21 + ...tsdata_5b1f4007b065dbd052ff309a40e6be0a.py | 21 + ...routes_ff8ecb21072a534ab3d887c03c4e1cc2.py | 21 + ...pclock_0d879e81ae3d4c658c1fddb7e0bca059.py | 21 + ...ervers_ae6323e734ac8bd0f5ab0ebe5be69cfc.py | 21 + ...stdata_bd823feb7a8ba9bb9ba77fa35a83dce3.py | 21 + ...hannel_73fc107210c8f2c174f0a9ff032ae654.py | 21 + ...config_e82ac94514eca4bb9bcfc04c550a7144.py | 21 + ...hports_f9b16b436eb30e1711de8e369383df29.py | 21 + ...queues_9037a6161291f813628ddfbefe3df8ed.py | 21 + ...hannel_97012d0be69c2c7c1b2ca179dbbe39ac.py | 21 + ...roller_855b90b006cc4c874a779dee4d2b3eb2.py | 21 + ...switch_11d07d0a0b339c8fe20b86a2badffa69.py | 21 + ...orandu_3c913d8352aa36ef882a1ba8a0683584.py | 21 + ...oranru_c5d61b81f2557e778753a97ef8b7363b.py | 21 + ...ctlist_d963618a7e3bb458722a4ffc379ac86a.py | 21 + ...inlist_a244513d4753b7b3d307266e2c9b6c70.py | 21 + ...hmlist_4ae63bf2db7540120979d438049bb34e.py | 21 + ...xessid_0f9cc11eabc0cd859e93abb4b233dcb5.py | 21 + ...erface_b7d6951378c8349a1b4de8073141e419.py | 21 + ...xessid_3b1ec47376666bd4309a78f3999c54d1.py | 21 + ...router_4f8ac1720e067552c5d841a1a42fd3a1.py | 21 + ...tworks_529623b7b4a99bce259e7e9cc31d4740.py | 21 + ...routes_412e064d08a94b4fcc40c44dd11c5318.py | 21 + ...routes_5e51c97c0564d672f57ec5fd0f34b1cb.py | 21 + ...routes_8af6c2f32014611d60e64f734921e6df.py | 21 + ...routes_1eb6898acd2430328b24bfa765a4dc59.py | 21 + ...lelist_7498333e0485bcf98fa50adfd0dc76c8.py | 21 + ...operty_d69371739e1874a63feb0c8493c3f052.py | 21 + ...erssid_5e55e392a518bc7ace38c8d3b21972c4.py | 21 + ...config_97e4d55091dcce69020c77d08e90eee0.py | 21 + ...hmlist_6d5b092154ba202ff142c9a80bdf1352.py | 21 + ...tslist_3183939e699e6d81694733106246396f.py | 21 + ...tslist_3469b01175113efcd50b58a826370e91.py | 21 + ...erlist_862027d65187e27ca0fba54bb0c8b3f4.py | 21 + ...eering_d69348cf2c027c25fac7ced298f72f15.py | 21 + ...lelist_401775f4ebafd104abb270e025fbc95e.py | 21 + ...ospfv2_eb5737de1e17134d62e78286b93d24ac.py | 21 + ...router_cbf436add158272345961e609dd48227.py | 21 + ...ospfv3_3fea0f5606ed503cbf2020d4f305b6fa.py | 21 + ...erface_1f2c21f89a2195f0af73017a746752a7.py | 21 + ...router_c91985aa394a58376f1a6a15792ca69e.py | 21 + ...idlist_08a5b0e6d4fa3ec826e164debaebe1cc.py | 21 + ...idlist_664f21e5ae553ce8025b79ed0c8636ab.py | 21 + ...rylist_189ed001286030b51baefaa3e501a216.py | 21 + ...operty_daf6d024b6ece255d2d043618b13bae5.py | 21 + ...router_8b017f50055a8a8daa11df922db1a75a.py | 21 + ...config_497060526b39fa396a89711564688ce1.py | 21 + ...tslist_be527e153c8e6d4e5c3f4321aa8409c4.py | 21 + ...idlist_bbaf05c92b116fc5c4157a7367085df2.py | 21 + ...idlist_875e11f14eaca0bdcf1a1b187b7273f2.py | 21 + ...rylist_f393d213b0ac35e68b8e463997a4d1c9.py | 21 + ...roller_789ff2911c009a5ce719da4041ccbf73.py | 21 + ...server_54c04aa8692b2b034dcd8eac05978340.py | 21 + ...inlist_10d8adb40e4e05f4b37904f2c6428ca9.py | 21 + ...ameter_d05ae0a5a8ee8ea80a2b7ad1c575fa72.py | 21 + .../pcc_4539e0756de0d95d8087c284ae0e24f7.py | 21 + ...cgroup_aeb7ce3c3de9283edc987dc379d35208.py | 21 + ...dlspdb_1f09e65ced78209c908d7bf80bf0e73d.py | 21 + ...tslist_c24616543d14c4003121b08785bb4446.py | 21 + .../pce_bd5f6a11078a4f0deb5d56bef8e9674f.py | 21 + ...meters_1c9b366144f491bf4e7b932c68a9f208.py | 21 + ...object_4394b1635bed370ec02e722a5dab40b6.py | 21 + ...tslist_809d161eaa571fb4817c7358cc0e660c.py | 21 + ...tslist_9cf08bd9ed27af6e5f7fe48f9c58d0f9.py | 21 + ...rparam_6b13018b4290569a0b0887965ecab0ca.py | 21 + ...uppces_f780e95e8b1b209ab7ad3ca8a9f3a4c6.py | 21 + ...rparam_7a5c524782bff6932bd99b311c55e9ad.py | 21 + ...tslist_86d5cc1708b448f03a004b8dddbd83d7.py | 21 + ...tslist_9817af6d0e89111784eda2c3b9333ff5.py | 21 + ...tslist_b1398d82dd25e8e98d50662ebf5ba3d1.py | 21 + ...rparam_de2e60079005ccd984641de408d76c7e.py | 21 + ...tslist_205ff487307c7e9626812588ef2b6684.py | 21 + ...lvlist_a446e2f09315dac50332432f39dfd53a.py | 21 + ...lvlist_f4c1df238c92bb045645b2a65159e09e.py | 21 + ...rparam_73209d05e577378a56b9722352f1235b.py | 21 + ...rparam_5f7b6057618984dd647c0e901b41ccfc.py | 21 + ...tslist_a61cc0ded9b5e7cc900bb16a43234a56.py | 21 + ...amlist_f73e78368b17b6d0af989167da955078.py | 21 + ...tslist_497bc286ebfb51b8813947a23cd5817a.py | 21 + ...meters_20e35ff81e20c98310382047d3d57147.py | 21 + ...iteria_cae99ca09ed6f91e6ae87cc2a32eeb6f.py | 21 + ...router_fdf354c2c4e318a7557c536f097648a7.py | 21 + ...pslist_8f7559105ce2b97021af17fcfae64d10.py | 21 + ...erface_92603cbceaf153039f7575ed9bc4aa67.py | 21 + ...nelist_6cf76e8d5773a1dc5c5562875733510d.py | 21 + ...eslist_75a6674b863a284f98faeffbb0b40d9f.py | 21 + ...pslist_844aa043d76dc15890b467e44e8f739e.py | 21 + ...erface_74a3aa08a315ca50732e853e3e8cdc43.py | 21 + ...nelist_45b4e701e80080858668a0625c9a948b.py | 21 + ...eslist_7c181c77974667394bfee5e6920a7772.py | 21 + ...plspid_051d75d17e1fb1b13dc5de62dda1109d.py | 21 + ...lvlist_f29efa99695d122f75b5efd68698cd57.py | 21 + ...rslist_403d5b77357bdd46c760bcc6e328f73b.py | 21 + ...client_f43b198156c11196dbbd8c4dbee2af9d.py | 45 +- ...server_622ad1c6d961bb8e246b079c72242bfa.py | 41 + ...ssions_34f51eaa47353aae9b360c64589d7c32.py | 21 + ...srlsps_967b2455bf37443139cbc5750c81086f.py | 21 + ...tessid_623bc67162f81219eae7debb23b5fa39.py | 21 + ...> ptp_159da219e0807ce6756d8a5214d56f70.py} | 145 +++ ...v6node_57584654422cd1bfce41de6bebd4e6b5.py | 257 +++++ ...velist_95420ff08c49e28cbca41e3d66ac6215.py | 21 + ...cesrv6_79ffe5c7f81290d2749e262cddea5618.py | 859 +++++++++++++++ ...faceid_c8d71be034f0bce6f7e7fee6fc575d5a.py | 21 + ...ddress_ce13915019bdc07322aaeadd4f34e428.py | 21 + ...ddress_4387d585717913933b818a169b61aa59.py | 21 + ...nodeid_26967b9b8d67f080911a80d276776a63.py | 21 + ...edlsps_3803e9646b728f0afe03f56c6e8b3a6b.py | 21 + ...uestid_4bb823de2302ea46c48b53652c8059b5.py | 21 + ...lstack_c6a926d8802154f2012482423beab167.py | 21 + ...erdata_48b2bbc3e057b769b893f4a6c10ed927.py | 21 + ...lsdata_b67065e8b7cf28df452aef1e0a5d9096.py | 21 + ...tslist_9740d38add800b02d578822ebd9149be.py | 21 + ...tslist_a93377fcf5a0e9cd238eac8616f8ff4c.py | 21 + ...tslist_c0ebecb067ebf96898ae4f90af81d688.py | 21 + ...tslist_a21ca5185e1490831d56bb810b32d086.py | 21 + ...tslist_cae3516af342fb3a35d3ff26ac4f830e.py | 21 + ...sslsps_a7be6d237185c970a66235441605770c.py | 21 + ...sslsps_7b38fc09ccf52081a0ef372f9492b887.py | 21 + ...ublsps_c610bddfdb08c054e463708b863af4f0.py | 21 + ...sslsps_9f054ab50236d49eeef8a9fbc0ba1127.py | 21 + ...sslsps_b3cad06292c51571163e9346869405a0.py | 21 + ...edlsps_64b47067effbb8886f7ee1d4dd6e8560.py | 21 + ...tslist_77057ceebebb20e47d2ca898582fad61.py | 21 + ...tslist_b3619f826be3c6dc7d602fee61c4c981.py | 21 + ...vpteif_e2b2ecdbf1fa5e15d2f6d87dd1789f1c.py | 21 + ...telsps_c853570a71a8549c854868139dd47959.py | 21 + ...arrier_9fc1ca05aa71639ef4aa1bf05267ec32.py | 21 + ...uplane_5a30497b19e2a66b22c8822c83c1df83.py | 21 + ...uplane_49d312b91abfe9fd6bdfee21a53fb842.py | 21 + ...akpool_22340fe5cb5d81664cab595d3e6d08ef.py | 21 + ...tiator_ef4ed37c4520e95225e35be31ea6dde4.py | 21 + ...ponder_e89a7c6cba0a1f66c71ecb217db4ccfd.py | 21 + .../sid_8c2f535b036e46b302b17150b1058608.py | 21 + ...idtype_579b966f4e4c3d833da37f5f97dc08ee.py | 21 + ...erface_c5ed266ee5e10544297ff85a7ebe3c50.py | 21 + ...config_1d251364611e333123819f3a7098b591.py | 21 + ...config_e6c1aa40e073d14efc69d40d8efd0f6b.py | 21 + ...config_189f3bfbc365f2b105e35cd8b9d542d6.py | 21 + ...router_6b838313b6104e3f157ae2656c6afbb1.py | 21 + ...bridge_7a0805a6e8bddd5a066f100c0b0a7df2.py | 21 + ...iplist_d6039702331b26e43f5ce57099bf9120.py | 21 + ...ddress_707bf2f3cc4230a0651eaf5afdefe498.py | 21 + ...ddress_37f328eecbea00714a96da2c073f4428.py | 21 + ...gylist_97764ea2c3708885007bc4d842895ee4.py | 21 + ...idlist_166a7ab8274498ee804810aa449de276.py | 21 + ...idlist_cfeb124762b8e4653da4ea2e084e78c8.py | 21 + ...gylist_5e9b551439bb252c1fa3e2c6948a1432.py | 21 + ...gylist_079e088e28e1c709b12ccf5543f3c230.py | 21 + ...uelist_355b617a5f46ce90d800290d21158418.py | 21 + ...rv6oam_677f5b387d62a13791d7d97f690e2b56.py | 21 + ...nation_4c1ece21781b682b07f8d26d61f2b8b6.py | 21 + ...sebsid_32c773aa5ec81fe48c4dde8135918746.py | 21 + ...ntnode_4504116c9d97fb3485d94c3ced1752bc.py | 21 + ...ntnode_d3b3fcd80f1d1cbaba726b72e946acc7.py | 21 + ...ponder_aeecc02f1736a0513600da92f49c6d9f.py | 21 + ...params_62b1a2be6189ae1e1aa5f0cee8254081.py | 21 + ...params_4c311ea185eeaa4106e3c4181a4ec347.py | 21 + ...ticlag_d16a8997708d466db9c9f007ce04724e.py | 21 + ...macsec_b2bfb1c8c259661514373bf3afb4450d.py | 21 + ...rslist_0a954635b5a06973caa3d52037ef1fb4.py | 21 + ...params_a24dfdb02ad9d3f95459876f02f9eff0.py | 21 + ...params_93b05cff27480ec5b14accd9b8a754a7.py | 21 + ...params_2117fd9e6d0ad885042f04f4604813e9.py | 21 + ...treams_dcd5bdb9e0099c6354f7bed1be55d8f6.py | 21 + ...treams_b01da202c4f5221aa9094d86a288d1bd.py | 21 + ...pslist_8730e37b1ef4012ce871082b246f9630.py | 21 + ...eslist_73e39ebca0d77977f214e593d8a686a4.py | 21 + ...thname_ed1c62d2f4f0680292dada315970feea.py | 21 + ...tables_3d687bbed07969785585da03f7a19e75.py | 21 + .../tag_e30f24de79247381d4dfd423b2f6986d.py | 21 + ...tainer_ad14fff79850a810bf70af3c662f313a.py | 21 + ...ulttlv_8e41257d3d01ec013783dd0fd6697862.py | 21 + .../field_e196f9febcf3a6c28484d9f1e36ac377.py | 21 + ...length_0bd681ada144795cbd0b8c30dee1562d.py | 21 + ...object_1ba6063c8cfb61359d0cafa499ed49e4.py | 21 + ...tainer_a17d3ce6bb8123640f8dd7d1e6a6435c.py | 21 + ...iction_cf6d803d11c6dbc385b70d3f8adf1e34.py | 21 + ...subtlv_7c94061598b794f7b720de3bb85f6cdb.py | 21 + .../tlv_d2b702d35a057ccb264f716c5f342298.py | 21 + ...rofile_421be1db953efaf826fe146cf9700e26.py | 21 + .../type_b3f7b13bb03ac01972b75a01e4f61712.py | 21 + .../value_ac1d7b13584a86b9cf1c28dca3390bca.py | 21 + ...pology_9d0fe0bb2c064aa7010adbdb6cf68958.py | 52 + ...uplist_067fcb786745f03382b0f3242126f4a0.py | 21 + ...uplist_18b118137ec4704f682253ecb0f4797b.py | 21 + ...uplist_fef95367003707238873712058525e55.py | 21 + ...gylist_4077d4c2167806db82745c07dd5d7357.py | 21 + ...uplist_c79d67ba115d7ed47c7c73c05670cc0d.py | 21 + ...uplist_89c8c841a0a83999d64fdbb091de6f9e.py | 21 + ...uplist_ddbcd1cff50daaf74cd80d85ea7655da.py | 21 + ...gylist_d5329b70c837a29596a33cda2c9bc96d.py | 21 + ...mpipv4_eb2d65f1b7241489a109cf98d171b047.py | 21 + ...stlist_71a0edca2f4ac671c689f9a13c1374b6.py | 21 + ...mpipv6_72c7939993683cf2a1b8b4518a76974c.py | 21 + ...stlist_42a3d2c6bdade1f2352572052b2c13ab.py | 21 + ...annels_a961f7f036af2edebf4e1957fed8ab53.py | 21 + ...akpool_7ab8c0a10359fbab4d0c5bd3dab1bfb2.py | 21 + ...upinfo_a6f4a99dcdd5ccbad002b6727b9165b1.py | 21 + .../vlan_a3ff17a54eb8b0ce450fbc0fd0191f37.py | 21 + ...ameter_399bfde0d4939f8b431c339b39bb4720.py | 21 + .../vxlan_ed3df6fe7146492fc5fe0f77f53f9473.py | 21 + ...langpe_e779e9783907b2c61304fff3bae70291.py | 21 + ...icinfo_940382845c720a1a0c82b7648f383c6f.py | 21 + ...icinfo_6879422db4d58cf50c6662a6238ea2d4.py | 21 + ...xlanv6_c18187deccae3db44b9e9de30ad538ec.py | 21 + ...nv6gpe_c816572194cd020274b16a0978c849fa.py | 21 + ...dAtomicExtendedTransportHeader_template.py | 81 ++ .../infiniBandBaseTransportHeader_template.py | 2 +- ...tagramExtendedTransportHeader_template.py} | 12 +- ...emplate.py => ipEspOverMacsec_template.py} | 6 +- .../configelement/stack/roe_template.py | 80 ++ .../trafficitem/configelement/stack/stack.py | 48 +- .../__init__.py | 0 .../aresoneeighthundredgiglanosfpc.py | 704 +++++++++++++ .../fcoe/__init__.py | 0 .../fcoe/fcoe.py | 270 +++++ .../txlane/__init__.py | 0 .../txlane/txlane.py | 265 +++++ .../aresoneeighthundredgiglanqddc.py | 108 +- .../aresonefourhundredgiglan.py | 4 +- .../vport/l1config/aresonem/__init__.py | 0 .../vport/l1config/aresonem/aresonem.py | 893 ++++++++++++++++ .../vport/l1config/aresonem/fcoe/__init__.py | 0 .../vport/l1config/aresonem/fcoe/fcoe.py | 270 +++++ .../atlasfourhundredgiglan.py | 4 +- .../ixnetwork/vport/l1config/atm/atm.py | 4 +- .../vport/l1config/ethernet/ethernet.py | 4 +- .../ethernetimpairment/ethernetimpairment.py | 4 +- .../vport/l1config/ethernetvm/ethernetvm.py | 4 +- .../ixnetwork/vport/l1config/fc/fc.py | 4 +- .../vport/l1config/fortygiglan/fortygiglan.py | 4 +- .../l1config/hundredgiglan/hundredgiglan.py | 4 +- .../krakenfourhundredgiglan.py | 4 +- .../ixnetwork/vport/l1config/l1config.py | 93 +- .../novus5gtentwentyfivegiglan.py | 4 +- .../novushundredgiglan/novushundredgiglan.py | 4 +- .../vport/l1config/novusmini/__init__.py | 0 .../vport/l1config/novusmini/novusmini.py | 229 ++++ .../l1config/novustengiglan/novustengiglan.py | 124 ++- .../ixnetwork/vport/l1config/pos/pos.py | 4 +- .../l1config/rangerhundredgiglan/__init__.py | 0 .../rangerhundredgiglan/fcoe/__init__.py | 0 .../l1config/rangerhundredgiglan/fcoe/fcoe.py | 270 +++++ .../rangerhundredgiglan.py | 817 +++++++++++++++ .../raveneighthundredgiglan.py | 4 +- .../starfourhundredgiglan.py | 4 +- .../tenfortyhundredgiglan.py | 4 +- .../vport/l1config/tengiglan/tengiglan.py | 4 +- .../vport/l1config/tengigwan/tengigwan.py | 4 +- .../uhdonehundredgiglan.py | 4 +- .../vport/tapsettings/tapsettings.py | 40 + .../tapsettings/transceiverdom/__init__.py | 0 .../transceiverdom/transceiverdom.py | 538 ++++++++++ .../transceiveroptions/__init__.py | 0 .../appselmatch/__init__.py | 0 .../appselmatch/appselmatch.py | 227 ++++ .../availableapplications/__init__.py | 0 .../availableapplications.py | 253 +++++ .../transceiveroptions/transceiveroptions.py | 292 ++++++ .../sessions/ixnetwork/vport/vport.py | 88 +- uhd_restpy/connection.py | 2 + version.txt | 2 +- 713 files changed, 26332 insertions(+), 201 deletions(-) create mode 100644 ixnetwork_restpy/pytest_tests/.pytest_cache/.gitignore create mode 100644 ixnetwork_restpy/pytest_tests/.pytest_cache/CACHEDIR.TAG create mode 100644 ixnetwork_restpy/pytest_tests/.pytest_cache/README.md create mode 100644 ixnetwork_restpy/pytest_tests/.pytest_cache/v/cache/lastfailed create mode 100644 ixnetwork_restpy/pytest_tests/.pytest_cache/v/cache/nodeids create mode 100644 ixnetwork_restpy/pytest_tests/.pytest_cache/v/cache/stepwise create mode 100644 ixnetwork_restpy/pytest_tests/tests/test_find_with_href.py create mode 100644 ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/ptprobeinstancesrv6/__init__.py create mode 100644 ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/ptprobeinstancesrv6/ptprobeinstancesrv6_42465f189e48f32cc2859230c2df9e11.py create mode 100644 ixnetwork_restpy/testplatform/sessions/ixnetwork/lag/microbfdv4_4aa9ebac618b5beec5e63d28011a2415.py create mode 100644 ixnetwork_restpy/testplatform/sessions/ixnetwork/lag/microbfdv6_e86be7acb660f720ee657e139f44950f.py rename ixnetwork_restpy/testplatform/sessions/ixnetwork/quicktest/{testconfig_7ca2c82735006c164901bba6588dc318.py => testconfig_441ecf1e60d026ff62a8d3adf1da1c81.py} (99%) rename ixnetwork_restpy/testplatform/sessions/ixnetwork/quicktest/{testconfig_d40b9b52e3b77bf028e4505da3e65ee9.py => testconfig_b7542a159234b25ac24f861a7db389e1.py} (88%) rename ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/{dhcpv6client_355391ba11ab3c1555c827e2e4ac3c4c.py => dhcpv6client_64480d87e9c578f0a0b7d3415d792d7e.py} (96%) rename ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/{dotonex_3c5f4866d22ca0e44e5ea4b7ef5bacca.py => dotonex_f7548c0c1b98bf9d2d34b32ee557fec4.py} (94%) create mode 100644 ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/microbfdv4_141c58b1c08e07212b7c46d9ec8495c1.py create mode 100644 ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/microbfdv6_6b0c1a370d37aab2ddafd875d7778d93.py rename ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/{ptp_10b9c21d9c7cf77e86ec2d87b28de348.py => ptp_159da219e0807ce6756d8a5214d56f70.py} (96%) create mode 100644 ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ptpathsegmentsrv6node_57584654422cd1bfce41de6bebd4e6b5.py create mode 100644 ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ptprobeinstancesrv6_79ffe5c7f81290d2749e262cddea5618.py create mode 100644 ixnetwork_restpy/testplatform/sessions/ixnetwork/traffic/trafficitem/configelement/stack/infiniBandAtomicExtendedTransportHeader_template.py rename ixnetwork_restpy/testplatform/sessions/ixnetwork/traffic/trafficitem/configelement/stack/{infiniBandRdExtendedTransportHeader_template.py => infiniBandReliableDatagramExtendedTransportHeader_template.py} (74%) rename ixnetwork_restpy/testplatform/sessions/ixnetwork/traffic/trafficitem/configelement/stack/{ipEspOverMACsec_template.py => ipEspOverMacsec_template.py} (98%) create mode 100644 ixnetwork_restpy/testplatform/sessions/ixnetwork/traffic/trafficitem/configelement/stack/roe_template.py create mode 100644 ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/l1config/aresoneeighthundredgiglanosfpc/__init__.py create mode 100644 ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/l1config/aresoneeighthundredgiglanosfpc/aresoneeighthundredgiglanosfpc.py create mode 100644 ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/l1config/aresoneeighthundredgiglanosfpc/fcoe/__init__.py create mode 100644 ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/l1config/aresoneeighthundredgiglanosfpc/fcoe/fcoe.py create mode 100644 ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/l1config/aresoneeighthundredgiglanosfpc/txlane/__init__.py create mode 100644 ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/l1config/aresoneeighthundredgiglanosfpc/txlane/txlane.py create mode 100644 ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/l1config/aresonem/__init__.py create mode 100644 ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/l1config/aresonem/aresonem.py create mode 100644 ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/l1config/aresonem/fcoe/__init__.py create mode 100644 ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/l1config/aresonem/fcoe/fcoe.py create mode 100644 ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/l1config/novusmini/__init__.py create mode 100644 ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/l1config/novusmini/novusmini.py create mode 100644 ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/l1config/rangerhundredgiglan/__init__.py create mode 100644 ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/l1config/rangerhundredgiglan/fcoe/__init__.py create mode 100644 ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/l1config/rangerhundredgiglan/fcoe/fcoe.py create mode 100644 ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/l1config/rangerhundredgiglan/rangerhundredgiglan.py create mode 100644 ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/tapsettings/transceiverdom/__init__.py create mode 100644 ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/tapsettings/transceiverdom/transceiverdom.py create mode 100644 ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/tapsettings/transceiveroptions/__init__.py create mode 100644 ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/tapsettings/transceiveroptions/appselmatch/__init__.py create mode 100644 ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/tapsettings/transceiveroptions/appselmatch/appselmatch.py create mode 100644 ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/tapsettings/transceiveroptions/availableapplications/__init__.py create mode 100644 ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/tapsettings/transceiveroptions/availableapplications/availableapplications.py create mode 100644 ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/tapsettings/transceiveroptions/transceiveroptions.py diff --git a/RELEASENOTES.md b/RELEASENOTES.md index bac0466ab..7b5850947 100644 --- a/RELEASENOTES.md +++ b/RELEASENOTES.md @@ -1,4 +1,8 @@ # Release Notes +### January 2024 +* 1.1.12 + * support ixnetwork version 10.00.2312.4 (10.00 EA) + * fixed an issue with find() on a restpy node with href ### November 2023 * 1.1.11 * support ixnetwork version 9.30.2309.46 (9.30 Update-3) diff --git a/ixnetwork_restpy/connection.py b/ixnetwork_restpy/connection.py index c2efd0375..b01893968 100644 --- a/ixnetwork_restpy/connection.py +++ b/ixnetwork_restpy/connection.py @@ -444,6 +444,7 @@ def _process_response_status_code(self, url, headers, response, async_status=Fal 0 : url.find("/", url.find("/sessions/") + len("/sessions/")) ] url = preamble + "/ixnetwork/globals/appErrors/error" + self._print_request("GET", url) error_response = self._session.request( "GET", url, @@ -470,6 +471,7 @@ def _process_response_status_code(self, url, headers, response, async_status=Fal pass # raise the appropriate error message = "\n".join(errors) + logging.getLogger(__name__).debug(message) if response.status_code == 400: raise BadRequestError(message, response.status_code) elif response.status_code == 401: diff --git a/ixnetwork_restpy/pytest_tests/.pytest_cache/.gitignore b/ixnetwork_restpy/pytest_tests/.pytest_cache/.gitignore new file mode 100644 index 000000000..bc1a1f616 --- /dev/null +++ b/ixnetwork_restpy/pytest_tests/.pytest_cache/.gitignore @@ -0,0 +1,2 @@ +# Created by pytest automatically. +* diff --git a/ixnetwork_restpy/pytest_tests/.pytest_cache/CACHEDIR.TAG b/ixnetwork_restpy/pytest_tests/.pytest_cache/CACHEDIR.TAG new file mode 100644 index 000000000..fce15ad7e --- /dev/null +++ b/ixnetwork_restpy/pytest_tests/.pytest_cache/CACHEDIR.TAG @@ -0,0 +1,4 @@ +Signature: 8a477f597d28d172789f06886806bc55 +# This file is a cache directory tag created by pytest. +# For information about cache directory tags, see: +# https://bford.info/cachedir/spec.html diff --git a/ixnetwork_restpy/pytest_tests/.pytest_cache/README.md b/ixnetwork_restpy/pytest_tests/.pytest_cache/README.md new file mode 100644 index 000000000..b89018ced --- /dev/null +++ b/ixnetwork_restpy/pytest_tests/.pytest_cache/README.md @@ -0,0 +1,8 @@ +# pytest cache directory # + +This directory contains data from the pytest's cache plugin, +which provides the `--lf` and `--ff` options, as well as the `cache` fixture. + +**Do not** commit this to version control. + +See [the docs](https://docs.pytest.org/en/stable/how-to/cache.html) for more information. diff --git a/ixnetwork_restpy/pytest_tests/.pytest_cache/v/cache/lastfailed b/ixnetwork_restpy/pytest_tests/.pytest_cache/v/cache/lastfailed new file mode 100644 index 000000000..502ae9b45 --- /dev/null +++ b/ixnetwork_restpy/pytest_tests/.pytest_cache/v/cache/lastfailed @@ -0,0 +1,10 @@ +{ + "tests/batch/test_batch_find.py::test_bath_find_on_mix_of_nodes_with_different_multiplicity[10.39.38.127:443:linux]": true, + "tests/batch/batch_add/test_batch_add_classic.py::test_batch_add_with_dependent_attr[10.39.38.127:443:linux]": true, + "tests/batch/batch_add/test_batch_add_classic.py::test_batch_add_with_classic_config[10.39.38.127:443:linux]": true, + "tests/batch/batch_add/test_batch_add_traffic.py::test_batch_add_with_traffic[10.39.38.127:443:linux]": true, + "tests/batch/batch_add/test_batch_add_traffic.py::test_batch_add_with_multicast_traffic[10.39.38.127:443:linux]": true, + "tests/batch/batch_add/test_batch_add_traffic.py::test_batch_add_with_traffic_having_href_objects[10.39.38.127:443:linux]": true, + "tests/batch/batch_add/test_batch_add_with_load_config.py::test_batch_add_with_multiple_nodes[10.39.38.127:443:linux]": true, + "tests/batch/batch_add/test_batch_add_with_load_config.py::test_precedence_with_batch_add[10.39.38.127:443:linux]": true +} \ No newline at end of file diff --git a/ixnetwork_restpy/pytest_tests/.pytest_cache/v/cache/nodeids b/ixnetwork_restpy/pytest_tests/.pytest_cache/v/cache/nodeids new file mode 100644 index 000000000..0bbc763f7 --- /dev/null +++ b/ixnetwork_restpy/pytest_tests/.pytest_cache/v/cache/nodeids @@ -0,0 +1,242 @@ +[ + "tests/batch/batch_add/test_batch_add_basic.py::test_batch_add_with_batch_find[10.39.38.127:443:linux]", + "tests/batch/batch_add/test_batch_add_basic.py::test_batch_add_with_batch_find[10.39.47.41:11012:windows]", + "tests/batch/batch_add/test_batch_add_basic.py::test_batch_add_with_delete_operation[10.39.38.127:443:linux]", + "tests/batch/batch_add/test_batch_add_basic.py::test_batch_add_with_delete_operation[10.39.47.41:11012:windows]", + "tests/batch/batch_add/test_batch_add_basic.py::test_batch_add_with_indexing[10.39.38.127:443:linux]", + "tests/batch/batch_add/test_batch_add_basic.py::test_batch_add_with_indexing[10.39.47.41:11012:windows]", + "tests/batch/batch_add/test_batch_add_basic.py::test_batch_add_with_only_updates[10.39.38.127:443:linux]", + "tests/batch/batch_add/test_batch_add_basic.py::test_batch_add_with_only_updates[10.39.47.41:11012:windows]", + "tests/batch/batch_add/test_batch_add_basic.py::test_batch_add_with_update_function[10.39.38.127:443:linux]", + "tests/batch/batch_add/test_batch_add_basic.py::test_batch_add_with_update_function[10.39.47.41:11012:windows]", + "tests/batch/batch_add/test_batch_add_basic.py::test_multiple_batch_add_calls[10.39.38.127:443:linux]", + "tests/batch/batch_add/test_batch_add_basic.py::test_multiple_batch_add_calls[10.39.47.41:11012:windows]", + "tests/batch/batch_add/test_batch_add_basic.py::test_simple_batch_add[10.39.38.127:443:linux]", + "tests/batch/batch_add/test_batch_add_basic.py::test_simple_batch_add[10.39.47.41:11012:windows]", + "tests/batch/batch_add/test_batch_add_classic.py::test_batch_add_with_classic_config[10.39.38.127:443:linux]", + "tests/batch/batch_add/test_batch_add_classic.py::test_batch_add_with_classic_config[10.39.47.41:11012:windows]", + "tests/batch/batch_add/test_batch_add_classic.py::test_batch_add_with_dependent_attr[10.39.38.127:443:linux]", + "tests/batch/batch_add/test_batch_add_classic.py::test_batch_add_with_dependent_attr[10.39.47.41:11012:windows]", + "tests/batch/batch_add/test_batch_add_multivalues.py::test_batch_add_with_combination_of_multivalue_pattern[10.39.38.127:443:linux]", + "tests/batch/batch_add/test_batch_add_multivalues.py::test_batch_add_with_combination_of_multivalue_pattern[10.39.47.41:11012:windows]", + "tests/batch/batch_add/test_batch_add_multivalues.py::test_batch_add_with_custom_distributed_multivalue_pattern[10.39.38.127:443:linux]", + "tests/batch/batch_add/test_batch_add_multivalues.py::test_batch_add_with_custom_distributed_multivalue_pattern[10.39.47.41:11012:windows]", + "tests/batch/batch_add/test_batch_add_multivalues.py::test_batch_add_with_custom_multivalue_pattern[10.39.38.127:443:linux]", + "tests/batch/batch_add/test_batch_add_multivalues.py::test_batch_add_with_custom_multivalue_pattern[10.39.47.41:11012:windows]", + "tests/batch/batch_add/test_batch_add_multivalues.py::test_batch_add_with_decrement_multivalue_pattern[10.39.38.127:443:linux]", + "tests/batch/batch_add/test_batch_add_multivalues.py::test_batch_add_with_decrement_multivalue_pattern[10.39.47.41:11012:windows]", + "tests/batch/batch_add/test_batch_add_multivalues.py::test_batch_add_with_increment_multivalue_pattern[10.39.38.127:443:linux]", + "tests/batch/batch_add/test_batch_add_multivalues.py::test_batch_add_with_increment_multivalue_pattern[10.39.47.41:11012:windows]", + "tests/batch/batch_add/test_batch_add_multivalues.py::test_batch_add_with_overlay_multivalue_pattern[10.39.38.127:443:linux]", + "tests/batch/batch_add/test_batch_add_multivalues.py::test_batch_add_with_overlay_multivalue_pattern[10.39.47.41:11012:windows]", + "tests/batch/batch_add/test_batch_add_multivalues.py::test_batch_add_with_random_mask_multivalue_pattern[10.39.38.127:443:linux]", + "tests/batch/batch_add/test_batch_add_multivalues.py::test_batch_add_with_random_mask_multivalue_pattern[10.39.47.41:11012:windows]", + "tests/batch/batch_add/test_batch_add_multivalues.py::test_batch_add_with_random_multivalue_pattern[10.39.38.127:443:linux]", + "tests/batch/batch_add/test_batch_add_multivalues.py::test_batch_add_with_random_multivalue_pattern[10.39.47.41:11012:windows]", + "tests/batch/batch_add/test_batch_add_multivalues.py::test_batch_add_with_random_range_multivalue_pattern[10.39.38.127:443:linux]", + "tests/batch/batch_add/test_batch_add_multivalues.py::test_batch_add_with_random_range_multivalue_pattern[10.39.47.41:11012:windows]", + "tests/batch/batch_add/test_batch_add_multivalues.py::test_batch_add_with_single_multivalue_pattern[10.39.38.127:443:linux]", + "tests/batch/batch_add/test_batch_add_multivalues.py::test_batch_add_with_single_multivalue_pattern[10.39.47.41:11012:windows]", + "tests/batch/batch_add/test_batch_add_multivalues.py::test_batch_add_with_value_list_multivalue_pattern[10.39.38.127:443:linux]", + "tests/batch/batch_add/test_batch_add_multivalues.py::test_batch_add_with_value_list_multivalue_pattern[10.39.47.41:11012:windows]", + "tests/batch/batch_add/test_batch_add_multivalues.py::test_only_update_multivalues_with_batch_add[10.39.38.127:443:linux]", + "tests/batch/batch_add/test_batch_add_multivalues.py::test_only_update_multivalues_with_batch_add[10.39.47.41:11012:windows]", + "tests/batch/batch_add/test_batch_add_traffic.py::test_batch_add_with_autogen_traffic_templates[10.39.38.127:443:linux]", + "tests/batch/batch_add/test_batch_add_traffic.py::test_batch_add_with_autogen_traffic_templates[10.39.47.41:11012:windows]", + "tests/batch/batch_add/test_batch_add_traffic.py::test_batch_add_with_multicast_traffic[10.39.38.127:443:linux]", + "tests/batch/batch_add/test_batch_add_traffic.py::test_batch_add_with_multicast_traffic[10.39.47.41:11012:windows]", + "tests/batch/batch_add/test_batch_add_traffic.py::test_batch_add_with_quick_flow_traffic[10.39.38.127:443:linux]", + "tests/batch/batch_add/test_batch_add_traffic.py::test_batch_add_with_quick_flow_traffic[10.39.47.41:11012:windows]", + "tests/batch/batch_add/test_batch_add_traffic.py::test_batch_add_with_traditional_traffic[10.39.38.127:443:linux]", + "tests/batch/batch_add/test_batch_add_traffic.py::test_batch_add_with_traditional_traffic[10.39.47.41:11012:windows]", + "tests/batch/batch_add/test_batch_add_traffic.py::test_batch_add_with_traffic[10.39.38.127:443:linux]", + "tests/batch/batch_add/test_batch_add_traffic.py::test_batch_add_with_traffic[10.39.47.41:11012:windows]", + "tests/batch/batch_add/test_batch_add_traffic.py::test_batch_add_with_traffic_having_href_objects[10.39.38.127:443:linux]", + "tests/batch/batch_add/test_batch_add_traffic.py::test_batch_add_with_traffic_having_href_objects[10.39.47.41:11012:windows]", + "tests/batch/batch_add/test_batch_add_with_load_config.py::test_batch_add_with_load_config[10.39.38.127:443:linux]", + "tests/batch/batch_add/test_batch_add_with_load_config.py::test_batch_add_with_load_config[10.39.47.41:11012:windows]", + "tests/batch/batch_add/test_batch_add_with_load_config.py::test_batch_add_with_load_config_and_update_function[10.39.38.127:443:linux]", + "tests/batch/batch_add/test_batch_add_with_load_config.py::test_batch_add_with_load_config_and_update_function[10.39.47.41:11012:windows]", + "tests/batch/batch_add/test_batch_add_with_load_config.py::test_batch_add_with_multiple_nodes[10.39.38.127:443:linux]", + "tests/batch/batch_add/test_batch_add_with_load_config.py::test_batch_add_with_multiple_nodes[10.39.47.41:11012:windows]", + "tests/batch/batch_add/test_batch_add_with_load_config.py::test_precedence_with_batch_add[10.39.38.127:443:linux]", + "tests/batch/batch_add/test_batch_add_with_load_config.py::test_precedence_with_batch_add[10.39.47.41:11012:windows]", + "tests/batch/batch_add/test_config_property_in_batch_add.py::test_config_property[10.39.38.127:443:linux]", + "tests/batch/batch_add/test_config_property_in_batch_add.py::test_config_property[10.39.47.41:11012:windows]", + "tests/batch/batch_add/test_config_property_in_batch_add.py::test_exception_for_config_property_in_batch_add[10.39.38.127:443:linux]", + "tests/batch/batch_add/test_config_property_in_batch_add.py::test_exception_for_config_property_in_batch_add[10.39.47.41:11012:windows]", + "tests/batch/test_batch_find.py::test_bath_find_on_mix_of_nodes_with_different_multiplicity[10.39.38.127:443:linux]", + "tests/batch/test_batch_find.py::test_bath_find_on_mix_of_nodes_with_different_multiplicity[10.39.47.41:11012:windows]", + "tests/batch/test_batch_find.py::test_mix_of_required_and_primitive_nodes[10.39.38.127:443:linux]", + "tests/batch/test_batch_find.py::test_mix_of_required_and_primitive_nodes[10.39.47.41:11012:windows]", + "tests/batch/test_batch_find.py::test_multiple_from[10.39.38.127:443:linux]", + "tests/batch/test_batch_find.py::test_multiple_from[10.39.47.41:11012:windows]", + "tests/batch/test_batch_find.py::test_required_find[10.39.38.127:443:linux]", + "tests/batch/test_batch_find.py::test_required_find[10.39.47.41:11012:windows]", + "tests/batch/test_batch_update.py::test_batch_update_for_multivalue_attributes[10.39.38.127:443:linux]", + "tests/batch/test_batch_update.py::test_batch_update_for_multivalue_attributes[10.39.47.41:11012:windows]", + "tests/batch/test_batch_update.py::test_batch_update_for_primitive_attributes[10.39.38.127:443:linux]", + "tests/batch/test_batch_update.py::test_batch_update_for_primitive_attributes[10.39.47.41:11012:windows]", + "tests/batch/test_batch_update.py::test_batch_update_mix_of_multivalue_and_primitive_attributes[10.39.38.127:443:linux]", + "tests/batch/test_batch_update.py::test_batch_update_mix_of_multivalue_and_primitive_attributes[10.39.47.41:11012:windows]", + "tests/batch/test_batch_update.py::test_batch_update_with_nodes_of_multiplicity_one[10.39.38.127:443:linux]", + "tests/batch/test_batch_update.py::test_batch_update_with_nodes_of_multiplicity_one[10.39.47.41:11012:windows]", + "tests/classic/test_classic.py::test_can_add_interfaces[10.39.38.127:443:linux]", + "tests/classic/test_classic.py::test_can_add_interfaces[10.39.47.41:11012:windows]", + "tests/classic/test_classic.py::test_can_configure_bgp_neighbor[10.39.38.127:443:linux]", + "tests/classic/test_classic.py::test_can_configure_bgp_neighbor[10.39.47.41:11012:windows]", + "tests/files_tests/test_import_functions.py::test_can_save_ixncfg_config_from_sessions[10.39.38.127:443:linux]", + "tests/files_tests/test_import_functions.py::test_can_save_ixncfg_config_from_sessions[10.39.47.41:11012:windows]", + "tests/files_tests/test_import_functions.py::test_can_upload_ixncfg_config_to_session[10.39.38.127:443:linux]", + "tests/files_tests/test_import_functions.py::test_can_upload_ixncfg_config_to_session[10.39.47.41:11012:windows]", + "tests/files_tests/test_import_functions.py::test_upload_filename_with_special_chars[10.39.38.127:443:linux]", + "tests/files_tests/test_import_functions.py::test_upload_filename_with_special_chars[10.39.47.41:11012:windows]", + "tests/multivalue_tests/test_get_multivalue_from_href.py::test_get_multivalue_from_href[10.39.38.127:443:linux]", + "tests/multivalue_tests/test_get_multivalue_from_href.py::test_get_multivalue_from_href[10.39.47.41:11012:windows]", + "tests/multivalue_tests/test_multivalue_patterns.py::test_can_check_available_enums_from_multivalue[10.39.38.127:443:linux]", + "tests/multivalue_tests/test_multivalue_patterns.py::test_can_check_available_enums_from_multivalue[10.39.47.41:11012:windows]", + "tests/multivalue_tests/test_multivalue_patterns.py::test_mulivalue_can_set_distributed[10.39.38.127:443:linux]", + "tests/multivalue_tests/test_multivalue_patterns.py::test_mulivalue_can_set_distributed[10.39.47.41:11012:windows]", + "tests/multivalue_tests/test_multivalue_patterns.py::test_multivalue_can_clear_overlay[10.39.38.127:443:linux]", + "tests/multivalue_tests/test_multivalue_patterns.py::test_multivalue_can_clear_overlay[10.39.47.41:11012:windows]", + "tests/multivalue_tests/test_multivalue_patterns.py::test_multivalue_can_retrieve_available_patterns[10.39.38.127:443:linux]", + "tests/multivalue_tests/test_multivalue_patterns.py::test_multivalue_can_retrieve_available_patterns[10.39.47.41:11012:windows]", + "tests/multivalue_tests/test_multivalue_patterns.py::test_multivalue_can_retrieve_format[10.39.38.127:443:linux]", + "tests/multivalue_tests/test_multivalue_patterns.py::test_multivalue_can_retrieve_format[10.39.47.41:11012:windows]", + "tests/multivalue_tests/test_multivalue_patterns.py::test_multivalue_can_retrieve_info[10.39.38.127:443:linux]", + "tests/multivalue_tests/test_multivalue_patterns.py::test_multivalue_can_retrieve_info[10.39.47.41:11012:windows]", + "tests/multivalue_tests/test_multivalue_patterns.py::test_multivalue_can_retrieve_source[10.39.38.127:443:linux]", + "tests/multivalue_tests/test_multivalue_patterns.py::test_multivalue_can_retrieve_source[10.39.47.41:11012:windows]", + "tests/multivalue_tests/test_multivalue_patterns.py::test_multivalue_can_set_alternate_values[10.39.38.127:443:linux]", + "tests/multivalue_tests/test_multivalue_patterns.py::test_multivalue_can_set_alternate_values[10.39.47.41:11012:windows]", + "tests/multivalue_tests/test_multivalue_patterns.py::test_multivalue_can_set_custom[10.39.38.127:443:linux]", + "tests/multivalue_tests/test_multivalue_patterns.py::test_multivalue_can_set_custom[10.39.47.41:11012:windows]", + "tests/multivalue_tests/test_multivalue_patterns.py::test_multivalue_can_set_decrement_pattern[10.39.38.127:443:linux]", + "tests/multivalue_tests/test_multivalue_patterns.py::test_multivalue_can_set_decrement_pattern[10.39.47.41:11012:windows]", + "tests/multivalue_tests/test_multivalue_patterns.py::test_multivalue_can_set_increment_pattern[10.39.38.127:443:linux]", + "tests/multivalue_tests/test_multivalue_patterns.py::test_multivalue_can_set_increment_pattern[10.39.47.41:11012:windows]", + "tests/multivalue_tests/test_multivalue_patterns.py::test_multivalue_can_set_overlay[10.39.38.127:443:linux]", + "tests/multivalue_tests/test_multivalue_patterns.py::test_multivalue_can_set_overlay[10.39.47.41:11012:windows]", + "tests/multivalue_tests/test_multivalue_patterns.py::test_multivalue_can_set_random_mask[10.39.38.127:443:linux]", + "tests/multivalue_tests/test_multivalue_patterns.py::test_multivalue_can_set_random_mask[10.39.47.41:11012:windows]", + "tests/multivalue_tests/test_multivalue_patterns.py::test_multivalue_can_set_random_range[10.39.38.127:443:linux]", + "tests/multivalue_tests/test_multivalue_patterns.py::test_multivalue_can_set_random_range[10.39.47.41:11012:windows]", + "tests/multivalue_tests/test_multivalue_patterns.py::test_multivalue_can_set_single_value[10.39.38.127:443:linux]", + "tests/multivalue_tests/test_multivalue_patterns.py::test_multivalue_can_set_single_value[10.39.47.41:11012:windows]", + "tests/multivalue_tests/test_multivalue_patterns.py::test_multivalue_can_set_string[10.39.38.127:443:linux]", + "tests/multivalue_tests/test_multivalue_patterns.py::test_multivalue_can_set_string[10.39.47.41:11012:windows]", + "tests/multivalue_tests/test_multivalue_patterns.py::test_multivalue_can_set_value_list[10.39.38.127:443:linux]", + "tests/multivalue_tests/test_multivalue_patterns.py::test_multivalue_can_set_value_list[10.39.47.41:11012:windows]", + "tests/multivalue_tests/test_multivalue_patterns.py::test_overlay_with_count[10.39.38.127:443:linux]", + "tests/multivalue_tests/test_multivalue_patterns.py::test_overlay_with_count[10.39.47.41:11012:windows]", + "tests/multivalue_tests/test_multivalue_patterns.py::test_set_random_multivalue[10.39.38.127:443:linux]", + "tests/multivalue_tests/test_multivalue_patterns.py::test_set_random_multivalue[10.39.47.41:11012:windows]", + "tests/multivalue_tests/test_multivalue_port_step.py::test_can_disbale_port_step[10.39.38.127:443:linux]", + "tests/multivalue_tests/test_multivalue_port_step.py::test_can_disbale_port_step[10.39.47.41:11012:windows]", + "tests/multivalue_tests/test_multivalue_port_step.py::test_can_set_incremental_port_step_ipv4_address[10.39.38.127:443:linux]", + "tests/multivalue_tests/test_multivalue_port_step.py::test_can_set_incremental_port_step_ipv4_address[10.39.47.41:11012:windows]", + "tests/multivalue_tests/test_multivalue_port_step.py::test_port_step_can_retrieve_description[10.39.38.127:443:linux]", + "tests/multivalue_tests/test_multivalue_port_step.py::test_port_step_can_retrieve_description[10.39.47.41:11012:windows]", + "tests/multivalue_tests/test_multivalue_port_step.py::test_port_step_can_retrieve_owner[10.39.38.127:443:linux]", + "tests/multivalue_tests/test_multivalue_port_step.py::test_port_step_can_retrieve_owner[10.39.47.41:11012:windows]", + "tests/multivalue_tests/test_multivalue_refresh.py::test_multivalue_refresh[10.39.38.127:443:linux]", + "tests/multivalue_tests/test_multivalue_refresh.py::test_multivalue_refresh[10.39.47.41:11012:windows]", + "tests/multivalue_tests/test_multivalue_valuelist.py::test_multivalue_valuelist[10.39.38.127:443:linux]", + "tests/multivalue_tests/test_multivalue_valuelist.py::test_multivalue_valuelist[10.39.47.41:11012:windows]", + "tests/port_tests/test_port_add_remove_update.py::test_add_vports[10.39.38.127:443:linux]", + "tests/port_tests/test_port_add_remove_update.py::test_add_vports[10.39.47.41:11012:windows]", + "tests/port_tests/test_port_add_remove_update.py::test_can_add_lag_ports[10.39.38.127:443:linux]", + "tests/port_tests/test_port_add_remove_update.py::test_can_add_lag_ports[10.39.47.41:11012:windows]", + "tests/port_tests/test_port_add_remove_update.py::test_can_change_uppercase_property_names[10.39.38.127:443:linux]", + "tests/port_tests/test_port_add_remove_update.py::test_can_change_uppercase_property_names[10.39.47.41:11012:windows]", + "tests/port_tests/test_port_add_remove_update.py::test_can_change_vport_attributes[10.39.38.127:443:linux]", + "tests/port_tests/test_port_add_remove_update.py::test_can_change_vport_attributes[10.39.47.41:11012:windows]", + "tests/port_tests/test_port_add_remove_update.py::test_can_remove_vport[10.39.38.127:443:linux]", + "tests/port_tests/test_port_add_remove_update.py::test_can_remove_vport[10.39.47.41:11012:windows]", + "tests/quick_test/test_rfc2544back2back.py::test_timeline_node[10.39.38.127:443:linux]", + "tests/quick_test/test_rfc2544back2back.py::test_timeline_node[10.39.47.41:11012:windows]", + "tests/session_tests/test_qt_or_ixnrest.py::test_add_ixnrest_session[10.39.38.127:443:linux]", + "tests/session_tests/test_qt_or_ixnrest.py::test_add_ixnrest_session[10.39.47.41:11012:windows]", + "tests/session_tests/test_qt_or_ixnrest.py::test_add_quicktest_session[10.39.38.127:443:linux]", + "tests/session_tests/test_qt_or_ixnrest.py::test_add_quicktest_session[10.39.47.41:11012:windows]", + "tests/session_tests/test_sessions.py::test_can_add_remove_session[10.39.38.127:443:linux]", + "tests/session_tests/test_sessions.py::test_can_add_remove_session[10.39.47.41:11012:windows]", + "tests/session_tests/test_sessions.py::test_can_create_sessions[10.39.38.127:443:linux]", + "tests/session_tests/test_sessions.py::test_can_create_sessions[10.39.47.41:11012:windows]", + "tests/session_tests/test_sessions.py::test_can_fetch_invalid_session[10.39.38.127:443:linux]", + "tests/session_tests/test_sessions.py::test_can_fetch_invalid_session[10.39.47.41:11012:windows]", + "tests/session_tests/test_sessions.py::test_can_fetch_valid_session[10.39.38.127:443:linux]", + "tests/session_tests/test_sessions.py::test_can_fetch_valid_session[10.39.47.41:11012:windows]", + "tests/session_tests/test_sessions.py::test_can_login_to_server_by_api_key[10.39.38.127:443:linux]", + "tests/session_tests/test_sessions.py::test_can_login_to_server_by_api_key[10.39.47.41:11012:windows]", + "tests/session_tests/test_sessions.py::test_can_retrieve_sessions_by_id[10.39.38.127:443:linux]", + "tests/session_tests/test_sessions.py::test_can_retrieve_sessions_by_id[10.39.47.41:11012:windows]", + "tests/session_tests/test_sessions.py::test_can_set_session_name[10.39.38.127:443:linux]", + "tests/session_tests/test_sessions.py::test_can_set_session_name[10.39.47.41:11012:windows]", + "tests/session_tests/test_sessions.py::test_should_fail_on_wrong_api_key[10.39.38.127:443:linux]", + "tests/session_tests/test_sessions.py::test_should_fail_on_wrong_api_key[10.39.47.41:11012:windows]", + "tests/session_tests/test_sessions.py::test_should_fail_on_wrong_auth_creds[10.39.38.127:443:linux]", + "tests/session_tests/test_sessions.py::test_should_fail_on_wrong_auth_creds[10.39.47.41:11012:windows]", + "tests/session_tests/test_sessions.py::test_should_return_no_session_when_wrong_session_id_provided[10.39.38.127:443:linux]", + "tests/session_tests/test_sessions.py::test_should_return_no_session_when_wrong_session_id_provided[10.39.47.41:11012:windows]", + "tests/session_tests/test_sessions_remove.py::test_can_create_multiple_sessions_and_remove_all[10.39.38.127:443:linux]", + "tests/session_tests/test_sessions_remove.py::test_can_create_multiple_sessions_and_remove_all[10.39.47.41:11012:windows]", + "tests/test_async_operation.py::test_async_operation[10.39.38.127:443:linux]", + "tests/test_async_operation.py::test_async_operation[10.39.47.41:11012:windows]", + "tests/test_async_operation.py::test_async_operation_for_errors[10.39.38.127:443:linux]", + "tests/test_async_operation.py::test_async_operation_for_errors[10.39.47.41:11012:windows]", + "tests/test_errors.py::test_operation_improper_name[10.39.38.127:443:linux]", + "tests/test_errors.py::test_operation_improper_name[10.39.47.41:11012:windows]", + "tests/test_errors.py::test_operation_returns_404_error[10.39.38.127:443:linux]", + "tests/test_errors.py::test_operation_returns_404_error[10.39.47.41:11012:windows]", + "tests/test_find.py::test_find_classic[10.39.38.127:443:linux]", + "tests/test_find.py::test_find_classic[10.39.47.41:11012:windows]", + "tests/test_find.py::test_find_ngpf[10.39.38.127:443:linux]", + "tests/test_find.py::test_find_ngpf[10.39.47.41:11012:windows]", + "tests/test_find.py::test_find_with_kwargs[10.39.38.127:443:linux]", + "tests/test_find.py::test_find_with_kwargs[10.39.47.41:11012:windows]", + "tests/test_find_with_href.py::test_select_call_with_list_of_hrefs[10.39.38.127:443:linux]", + "tests/test_find_with_href.py::test_select_call_with_list_of_hrefs[10.39.47.41:11012:windows]", + "tests/test_iterators.py::test_can_add_remove_containers[10.39.38.127:443:linux]", + "tests/test_iterators.py::test_can_add_remove_containers[10.39.47.41:11012:windows]", + "tests/test_multi_thread_scenario.py::test_thread_safe_nature_of_connection_object[10.39.38.127:443:linux]", + "tests/test_multi_thread_scenario.py::test_thread_safe_nature_of_connection_object[10.39.47.41:11012:windows]", + "tests/test_ngpf_device_id.py::test_can_fetch_device_id_with_filter[10.39.38.127:443:linux]", + "tests/test_ngpf_device_id.py::test_can_fetch_device_id_with_filter[10.39.47.41:11012:windows]", + "tests/test_ngpf_device_id.py::test_can_fetch_device_id_without_filter[10.39.38.127:443:linux]", + "tests/test_ngpf_device_id.py::test_can_fetch_device_id_without_filter[10.39.47.41:11012:windows]", + "tests/test_ngpf_ipv4.py::test_can_configure_ngpf_ipv4[10.39.38.127:443:linux]", + "tests/test_ngpf_ipv4.py::test_can_configure_ngpf_ipv4[10.39.47.41:11012:windows]", + "tests/test_obj_from_obj_ref.py::test_can_get_object_from_ref[10.39.38.127:443:linux]", + "tests/test_obj_from_obj_ref.py::test_can_get_object_from_ref[10.39.47.41:11012:windows]", + "tests/test_pcep_learned_info.py::test_gen_nodes_for_pcep_learned_info_update[10.39.38.127:443:linux]", + "tests/test_pcep_learned_info.py::test_gen_nodes_for_pcep_learned_info_update[10.39.47.41:11012:windows]", + "tests/test_refresh.py::test_refresh_for_classic_nodes[10.39.38.127:443:linux]", + "tests/test_refresh.py::test_refresh_for_classic_nodes[10.39.47.41:11012:windows]", + "tests/test_refresh.py::test_update[10.39.38.127:443:linux]", + "tests/test_refresh.py::test_update[10.39.47.41:11012:windows]", + "tests/test_resource_manager.py::test_can_import_export_json_as_file[10.39.38.127:443:linux]", + "tests/test_resource_manager.py::test_can_import_export_json_as_file[10.39.47.41:11012:windows]", + "tests/test_resource_manager.py::test_can_import_export_json_as_string[10.39.38.127:443:linux]", + "tests/test_resource_manager.py::test_can_import_export_json_as_string[10.39.47.41:11012:windows]", + "tests/test_update.py::test_update[10.39.38.127:443:linux]", + "tests/test_update.py::test_update[10.39.47.41:11012:windows]", + "tests/test_update.py::test_update_for_classic_nodes[10.39.38.127:443:linux]", + "tests/test_update.py::test_update_for_classic_nodes[10.39.47.41:11012:windows]", + "tests/test_update.py::test_update_for_nodes_with_kwargs[10.39.38.127:443:linux]", + "tests/test_update.py::test_update_for_nodes_with_kwargs[10.39.47.41:11012:windows]", + "tests/traffic/test_quick_flow_traffic.py::test_quick_flow_traffic[10.39.38.127:443:linux]", + "tests/traffic/test_quick_flow_traffic.py::test_quick_flow_traffic[10.39.47.41:11012:windows]", + "tests/traffic/test_traffic.py::test_can_add_ipv4_traffic_over_protocols[10.39.38.127:443:linux]", + "tests/traffic/test_traffic.py::test_can_add_ipv4_traffic_over_protocols[10.39.47.41:11012:windows]", + "tests/traffic/test_traffic.py::test_can_add_ipv4_traffic_over_scalable_source_multicast_receivers[10.39.38.127:443:linux]", + "tests/traffic/test_traffic.py::test_can_add_ipv4_traffic_over_scalable_source_multicast_receivers[10.39.47.41:11012:windows]", + "tests/traffic/test_traffic.py::test_can_add_raw_traffic_over_custom_stack[10.39.38.127:443:linux]", + "tests/traffic/test_traffic.py::test_can_add_raw_traffic_over_custom_stack[10.39.47.41:11012:windows]", + "tests/traffic/test_traffic.py::test_can_add_raw_traffic_over_lags[10.39.38.127:443:linux]", + "tests/traffic/test_traffic.py::test_can_add_raw_traffic_over_lags[10.39.47.41:11012:windows]", + "tests/traffic/test_traffic.py::test_can_add_raw_traffic_over_vports[10.39.38.127:443:linux]", + "tests/traffic/test_traffic.py::test_can_add_raw_traffic_over_vports[10.39.47.41:11012:windows]", + "tests/traffic/test_update_stack_field.py::test_update_stack_field[10.39.38.127:443:linux]", + "tests/traffic/test_update_stack_field.py::test_update_stack_field[10.39.47.41:11012:windows]" +] \ No newline at end of file diff --git a/ixnetwork_restpy/pytest_tests/.pytest_cache/v/cache/stepwise b/ixnetwork_restpy/pytest_tests/.pytest_cache/v/cache/stepwise new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/ixnetwork_restpy/pytest_tests/.pytest_cache/v/cache/stepwise @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/ixnetwork_restpy/pytest_tests/tests/test_find_with_href.py b/ixnetwork_restpy/pytest_tests/tests/test_find_with_href.py new file mode 100644 index 000000000..5ae353d6a --- /dev/null +++ b/ixnetwork_restpy/pytest_tests/tests/test_find_with_href.py @@ -0,0 +1,17 @@ +import pytest + + +def test_select_call_with_list_of_hrefs(ixnetwork): + ixnetwork.Vport.add().add().add().add() + vps = ixnetwork.Vport.find() + assert len(vps) == 4 + + ixnetwork.Topology.add(Vports=vps[0:2]).add(Vports=vps[2:]) + tp = ixnetwork.Topology.find(Ports=vps[1].href + "|" + vps[0].href) + assert len(tp) == 1 + tp = ixnetwork.Topology.find(Ports=vps[3].href + "|" + vps[0].href) + assert len(tp) == 2 + + +if __name__ == "__main__": + pytest.main(["-v", "-s", "--server", "localhost:11009:windows", __file__]) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/availablehardware/chassis/card/aggregation/aggregation.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/availablehardware/chassis/card/aggregation/aggregation.py index a41141012..5b67c79e7 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/availablehardware/chassis/card/aggregation/aggregation.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/availablehardware/chassis/card/aggregation/aggregation.py @@ -72,7 +72,8 @@ class Aggregation(Base): "krakenTwoByOneHundredGigFanOut", "krakenFourByFiftyGigFanOut", "aresOneOneByFourHundredGigNonFanOut", - "aresOneOneByFourHundredGigMacSecNonFanOut", + "aresOneOneByFourHundredGigMacSec128NonFanOut", + "aresOneOneByFourHundredGigMacSec256NonFanOut", "aresOneTwoByTwoHundredGigFanOut", "aresOneTwoByTwoHundredGigMacSecFanOut", "aresOneFourByOneHundredGigFanOut", @@ -90,7 +91,9 @@ class Aggregation(Base): "novus5GOneByHundredGigNonFanOutHighStream", "starTwoByFourHundredGigNonFannedOutPAM4", "starFourByTwoHundredGigFannedOutPAM4", + "starTwoByTwoHundredGigFannedOutNRZ", "starEightByHundredGigFannedOutPAM4", + "starEightByHundredGigFannedOutPAM4RoCEv2", "starFourByHundredGigFannedOutNRZ", "starSixteenByFiftyGigFannedOutPAM4", "starEightByFiftyGigFannedOutNRZ", @@ -123,6 +126,20 @@ class Aggregation(Base): "aresOneEightHundredOsfpCFourByTwoHundredGigFannedOutPAM4", "aresOneEightHundredOsfpCTwoByFourHundredGigFannedOutPAM4", "aresOneEightHundredOsfpCOneByEightHundredGigNonFannedOutPAM4", + "aresOne-M-OneByEightHundredGigPAM4-106G", + "aresOne-M-TwoByFourHundredGigPAM4-106G", + "aresOne-M-FourByTwoHundredGigPAM4-106G", + "aresOne-M-EightByOneHundredGigPAM4-106G", + "aresOne-M-OneByFourHundredGigPAM4-53G", + "aresOne-M-TwoByTwoHundredGigPAM4-53G", + "aresOne-M-FourByOneHundredGigPAM4-53G", + "aresOne-M-EightByFiftyGigPAM4-53G", + "aresOne-M-OneByTwoHundredGigNRZ-26G", + "aresOne-M-TwoByOneHundredGigNRZ-26G", + "aresOne-M-FourByFiftyGigNRZ-26G", + "aresOne-M-TwoByFortyGigNRZ-10G", + "aresOne-M-EightByTwentyFiveGigNRZ-26G", + "aresOne-M-EightByTenGigNRZ-10G", ], } @@ -155,7 +172,7 @@ def AvailableModes(self): """ Returns ------- - - list(str[normal | tenGig | fortyGig | singleMode | dualMode | hundredGigNonFanOut | fortyGigFanOut | threeByTenGigFanOut | eightByTenGigFanOut | fourByTwentyFiveGigNonFanOut | twoByTwentyFiveGigNonFanOut | oneByFiftyGigNonFanOut | fortyGigNonFanOut | oneByTenGigFanOut | fourByTenGigFanOut | incompatibleMode | hundredGigCapturePlayback | fortyGigCapturePlayback | novusHundredGigNonFanOut | novusFourByTwentyFiveGigNonFanOut | novusTwoByFiftyGigNonFanOut | novusOneByFortyGigNonFanOut | novusFourByTenGigNonFanOut | krakenOneByFourHundredGigNonFanOut | krakenOneByTwoHundredGigNonFanOut | krakenTwoByOneHundredGigFanOut | krakenFourByFiftyGigFanOut | aresOneOneByFourHundredGigNonFanOut | aresOneOneByFourHundredGigMacSecNonFanOut | aresOneTwoByTwoHundredGigFanOut | aresOneTwoByTwoHundredGigMacSecFanOut | aresOneFourByOneHundredGigFanOut | aresOneFourByOneHundredGigMacSecFanOut | aresOneEightByFiftyGigFanOut | uhdOneHundredEightByHundredGigNonFanOut | uhdOneHundredEightByFortyGigNonFanOut | uhdOneHundredSixteenByFiftyGigFanOut | uhdOneHundredThirtyTwoByTwentyFiveGigFanOut | uhdOneHundredThirtyTwoByTenGigFanOut | novus5GOneByTenGigNonFanOut | novus5GOneByTwentyFiveGigNonFanOut | novus5GOneByFiftyGigNonFanOut | novus5GOneByHundredGigNonFanOut | novus5GOneByHundredGigNonFanOutHighStream | starTwoByFourHundredGigNonFannedOutPAM4 | starFourByTwoHundredGigFannedOutPAM4 | starEightByHundredGigFannedOutPAM4 | starFourByHundredGigFannedOutNRZ | starSixteenByFiftyGigFannedOutPAM4 | starEightByFiftyGigFannedOutNRZ | starFourByFortyGigFannedOutNRZ | starSixteenByTwentyFiveGigFannedOutNRZ | starSixteenByTenGigFannedOutNRZ | starFourByHundredGigFannedOutPAM4HalfDensityHighStream | starEightByFiftyGigFannedOutPAM4HalfDensityHighStream | starEightByTwentyFiveGigFannedOutNRZHalfDensityHighStream | starEightByTenGigFannedOutNRZHalfDensityHighStream | novusHundredGigNonFanOutHighStream | novusFourByTwentyFiveGigNonFanOutHighStream | novusTwoByFiftyGigNonFanOutHighStream | novusOneByFortyGigNonFanOutHighStream | novusFourByTenGigNonFanOutHighStream | ravenEightByHundredGigFannedOutPAM4 | ravenFourByTwoHundredGigFannedOutPAM4 | ravenTwoByFourHundredGigFannedOutPAM4 | ravenOneByEightHundredGigNonFannedOutPAM4 | aresOneEightHundredQddCEightByHundredGigFannedOutPAM4 | aresOneEightHundredQddCFourByTwoHundredGigFannedOutPAM4 | aresOneEightHundredQddCTwoByFourHundredGigFannedOutPAM4 | aresOneEightHundredQddCOneByEightHundredGigNonFannedOutPAM4 | rangerHundredGig | rangerFiftyGig | rangerFourtyGig | rangerTwentyFiveGig | rangerTenGig | aresOneEightHundredOsfpCEightByHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCFourByTwoHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCTwoByFourHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCOneByEightHundredGigNonFannedOutPAM4]): Gets the supported resource group modes. + - list(str[normal | tenGig | fortyGig | singleMode | dualMode | hundredGigNonFanOut | fortyGigFanOut | threeByTenGigFanOut | eightByTenGigFanOut | fourByTwentyFiveGigNonFanOut | twoByTwentyFiveGigNonFanOut | oneByFiftyGigNonFanOut | fortyGigNonFanOut | oneByTenGigFanOut | fourByTenGigFanOut | incompatibleMode | hundredGigCapturePlayback | fortyGigCapturePlayback | novusHundredGigNonFanOut | novusFourByTwentyFiveGigNonFanOut | novusTwoByFiftyGigNonFanOut | novusOneByFortyGigNonFanOut | novusFourByTenGigNonFanOut | krakenOneByFourHundredGigNonFanOut | krakenOneByTwoHundredGigNonFanOut | krakenTwoByOneHundredGigFanOut | krakenFourByFiftyGigFanOut | aresOneOneByFourHundredGigNonFanOut | aresOneOneByFourHundredGigMacSec128NonFanOut | aresOneOneByFourHundredGigMacSec256NonFanOut | aresOneTwoByTwoHundredGigFanOut | aresOneTwoByTwoHundredGigMacSecFanOut | aresOneFourByOneHundredGigFanOut | aresOneFourByOneHundredGigMacSecFanOut | aresOneEightByFiftyGigFanOut | uhdOneHundredEightByHundredGigNonFanOut | uhdOneHundredEightByFortyGigNonFanOut | uhdOneHundredSixteenByFiftyGigFanOut | uhdOneHundredThirtyTwoByTwentyFiveGigFanOut | uhdOneHundredThirtyTwoByTenGigFanOut | novus5GOneByTenGigNonFanOut | novus5GOneByTwentyFiveGigNonFanOut | novus5GOneByFiftyGigNonFanOut | novus5GOneByHundredGigNonFanOut | novus5GOneByHundredGigNonFanOutHighStream | starTwoByFourHundredGigNonFannedOutPAM4 | starFourByTwoHundredGigFannedOutPAM4 | starTwoByTwoHundredGigFannedOutNRZ | starEightByHundredGigFannedOutPAM4 | starEightByHundredGigFannedOutPAM4RoCEv2 | starFourByHundredGigFannedOutNRZ | starSixteenByFiftyGigFannedOutPAM4 | starEightByFiftyGigFannedOutNRZ | starFourByFortyGigFannedOutNRZ | starSixteenByTwentyFiveGigFannedOutNRZ | starSixteenByTenGigFannedOutNRZ | starFourByHundredGigFannedOutPAM4HalfDensityHighStream | starEightByFiftyGigFannedOutPAM4HalfDensityHighStream | starEightByTwentyFiveGigFannedOutNRZHalfDensityHighStream | starEightByTenGigFannedOutNRZHalfDensityHighStream | novusHundredGigNonFanOutHighStream | novusFourByTwentyFiveGigNonFanOutHighStream | novusTwoByFiftyGigNonFanOutHighStream | novusOneByFortyGigNonFanOutHighStream | novusFourByTenGigNonFanOutHighStream | ravenEightByHundredGigFannedOutPAM4 | ravenFourByTwoHundredGigFannedOutPAM4 | ravenTwoByFourHundredGigFannedOutPAM4 | ravenOneByEightHundredGigNonFannedOutPAM4 | aresOneEightHundredQddCEightByHundredGigFannedOutPAM4 | aresOneEightHundredQddCFourByTwoHundredGigFannedOutPAM4 | aresOneEightHundredQddCTwoByFourHundredGigFannedOutPAM4 | aresOneEightHundredQddCOneByEightHundredGigNonFannedOutPAM4 | rangerHundredGig | rangerFiftyGig | rangerFourtyGig | rangerTwentyFiveGig | rangerTenGig | aresOneEightHundredOsfpCEightByHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCFourByTwoHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCTwoByFourHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCOneByEightHundredGigNonFannedOutPAM4 | aresOne-M-OneByEightHundredGigPAM4-106G | aresOne-M-TwoByFourHundredGigPAM4-106G | aresOne-M-FourByTwoHundredGigPAM4-106G | aresOne-M-EightByOneHundredGigPAM4-106G | aresOne-M-OneByFourHundredGigPAM4-53G | aresOne-M-TwoByTwoHundredGigPAM4-53G | aresOne-M-FourByOneHundredGigPAM4-53G | aresOne-M-EightByFiftyGigPAM4-53G | aresOne-M-OneByTwoHundredGigNRZ-26G | aresOne-M-TwoByOneHundredGigNRZ-26G | aresOne-M-FourByFiftyGigNRZ-26G | aresOne-M-TwoByFortyGigNRZ-10G | aresOne-M-EightByTwentyFiveGigNRZ-26G | aresOne-M-EightByTenGigNRZ-10G]): Gets the supported resource group modes. """ return self._get_attribute(self._SDM_ATT_MAP["AvailableModes"]) @@ -165,7 +182,7 @@ def Mode(self): """ Returns ------- - - str(normal | tenGig | fortyGig | singleMode | dualMode | hundredGigNonFanOut | fortyGigFanOut | threeByTenGigFanOut | eightByTenGigFanOut | fourByTwentyFiveGigNonFanOut | twoByTwentyFiveGigNonFanOut | oneByFiftyGigNonFanOut | fortyGigNonFanOut | oneByTenGigFanOut | fourByTenGigFanOut | incompatibleMode | hundredGigCapturePlayback | fortyGigCapturePlayback | novusHundredGigNonFanOut | novusFourByTwentyFiveGigNonFanOut | novusTwoByFiftyGigNonFanOut | novusOneByFortyGigNonFanOut | novusFourByTenGigNonFanOut | krakenOneByFourHundredGigNonFanOut | krakenOneByTwoHundredGigNonFanOut | krakenTwoByOneHundredGigFanOut | krakenFourByFiftyGigFanOut | aresOneOneByFourHundredGigNonFanOut | aresOneOneByFourHundredGigMacSecNonFanOut | aresOneTwoByTwoHundredGigFanOut | aresOneTwoByTwoHundredGigMacSecFanOut | aresOneFourByOneHundredGigFanOut | aresOneFourByOneHundredGigMacSecFanOut | aresOneEightByFiftyGigFanOut | uhdOneHundredEightByHundredGigNonFanOut | uhdOneHundredEightByFortyGigNonFanOut | uhdOneHundredSixteenByFiftyGigFanOut | uhdOneHundredThirtyTwoByTwentyFiveGigFanOut | uhdOneHundredThirtyTwoByTenGigFanOut | novus5GOneByTenGigNonFanOut | novus5GOneByTwentyFiveGigNonFanOut | novus5GOneByFiftyGigNonFanOut | novus5GOneByHundredGigNonFanOut | novus5GOneByHundredGigNonFanOutHighStream | starTwoByFourHundredGigNonFannedOutPAM4 | starFourByTwoHundredGigFannedOutPAM4 | starEightByHundredGigFannedOutPAM4 | starFourByHundredGigFannedOutNRZ | starSixteenByFiftyGigFannedOutPAM4 | starEightByFiftyGigFannedOutNRZ | starFourByFortyGigFannedOutNRZ | starSixteenByTwentyFiveGigFannedOutNRZ | starSixteenByTenGigFannedOutNRZ | starFourByHundredGigFannedOutPAM4HalfDensityHighStream | starEightByFiftyGigFannedOutPAM4HalfDensityHighStream | starEightByTwentyFiveGigFannedOutNRZHalfDensityHighStream | starEightByTenGigFannedOutNRZHalfDensityHighStream | novusHundredGigNonFanOutHighStream | novusFourByTwentyFiveGigNonFanOutHighStream | novusTwoByFiftyGigNonFanOutHighStream | novusOneByFortyGigNonFanOutHighStream | novusFourByTenGigNonFanOutHighStream | ravenEightByHundredGigFannedOutPAM4 | ravenFourByTwoHundredGigFannedOutPAM4 | ravenTwoByFourHundredGigFannedOutPAM4 | ravenOneByEightHundredGigNonFannedOutPAM4 | aresOneEightHundredQddCEightByHundredGigFannedOutPAM4 | aresOneEightHundredQddCFourByTwoHundredGigFannedOutPAM4 | aresOneEightHundredQddCTwoByFourHundredGigFannedOutPAM4 | aresOneEightHundredQddCOneByEightHundredGigNonFannedOutPAM4 | rangerHundredGig | rangerFiftyGig | rangerFourtyGig | rangerTwentyFiveGig | rangerTenGig | aresOneEightHundredOsfpCEightByHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCFourByTwoHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCTwoByFourHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCOneByEightHundredGigNonFannedOutPAM4): Resource Group mode. + - str(normal | tenGig | fortyGig | singleMode | dualMode | hundredGigNonFanOut | fortyGigFanOut | threeByTenGigFanOut | eightByTenGigFanOut | fourByTwentyFiveGigNonFanOut | twoByTwentyFiveGigNonFanOut | oneByFiftyGigNonFanOut | fortyGigNonFanOut | oneByTenGigFanOut | fourByTenGigFanOut | incompatibleMode | hundredGigCapturePlayback | fortyGigCapturePlayback | novusHundredGigNonFanOut | novusFourByTwentyFiveGigNonFanOut | novusTwoByFiftyGigNonFanOut | novusOneByFortyGigNonFanOut | novusFourByTenGigNonFanOut | krakenOneByFourHundredGigNonFanOut | krakenOneByTwoHundredGigNonFanOut | krakenTwoByOneHundredGigFanOut | krakenFourByFiftyGigFanOut | aresOneOneByFourHundredGigNonFanOut | aresOneOneByFourHundredGigMacSec128NonFanOut | aresOneOneByFourHundredGigMacSec256NonFanOut | aresOneTwoByTwoHundredGigFanOut | aresOneTwoByTwoHundredGigMacSecFanOut | aresOneFourByOneHundredGigFanOut | aresOneFourByOneHundredGigMacSecFanOut | aresOneEightByFiftyGigFanOut | uhdOneHundredEightByHundredGigNonFanOut | uhdOneHundredEightByFortyGigNonFanOut | uhdOneHundredSixteenByFiftyGigFanOut | uhdOneHundredThirtyTwoByTwentyFiveGigFanOut | uhdOneHundredThirtyTwoByTenGigFanOut | novus5GOneByTenGigNonFanOut | novus5GOneByTwentyFiveGigNonFanOut | novus5GOneByFiftyGigNonFanOut | novus5GOneByHundredGigNonFanOut | novus5GOneByHundredGigNonFanOutHighStream | starTwoByFourHundredGigNonFannedOutPAM4 | starFourByTwoHundredGigFannedOutPAM4 | starTwoByTwoHundredGigFannedOutNRZ | starEightByHundredGigFannedOutPAM4 | starEightByHundredGigFannedOutPAM4RoCEv2 | starFourByHundredGigFannedOutNRZ | starSixteenByFiftyGigFannedOutPAM4 | starEightByFiftyGigFannedOutNRZ | starFourByFortyGigFannedOutNRZ | starSixteenByTwentyFiveGigFannedOutNRZ | starSixteenByTenGigFannedOutNRZ | starFourByHundredGigFannedOutPAM4HalfDensityHighStream | starEightByFiftyGigFannedOutPAM4HalfDensityHighStream | starEightByTwentyFiveGigFannedOutNRZHalfDensityHighStream | starEightByTenGigFannedOutNRZHalfDensityHighStream | novusHundredGigNonFanOutHighStream | novusFourByTwentyFiveGigNonFanOutHighStream | novusTwoByFiftyGigNonFanOutHighStream | novusOneByFortyGigNonFanOutHighStream | novusFourByTenGigNonFanOutHighStream | ravenEightByHundredGigFannedOutPAM4 | ravenFourByTwoHundredGigFannedOutPAM4 | ravenTwoByFourHundredGigFannedOutPAM4 | ravenOneByEightHundredGigNonFannedOutPAM4 | aresOneEightHundredQddCEightByHundredGigFannedOutPAM4 | aresOneEightHundredQddCFourByTwoHundredGigFannedOutPAM4 | aresOneEightHundredQddCTwoByFourHundredGigFannedOutPAM4 | aresOneEightHundredQddCOneByEightHundredGigNonFannedOutPAM4 | rangerHundredGig | rangerFiftyGig | rangerFourtyGig | rangerTwentyFiveGig | rangerTenGig | aresOneEightHundredOsfpCEightByHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCFourByTwoHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCTwoByFourHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCOneByEightHundredGigNonFannedOutPAM4 | aresOne-M-OneByEightHundredGigPAM4-106G | aresOne-M-TwoByFourHundredGigPAM4-106G | aresOne-M-FourByTwoHundredGigPAM4-106G | aresOne-M-EightByOneHundredGigPAM4-106G | aresOne-M-OneByFourHundredGigPAM4-53G | aresOne-M-TwoByTwoHundredGigPAM4-53G | aresOne-M-FourByOneHundredGigPAM4-53G | aresOne-M-EightByFiftyGigPAM4-53G | aresOne-M-OneByTwoHundredGigNRZ-26G | aresOne-M-TwoByOneHundredGigNRZ-26G | aresOne-M-FourByFiftyGigNRZ-26G | aresOne-M-TwoByFortyGigNRZ-10G | aresOne-M-EightByTwentyFiveGigNRZ-26G | aresOne-M-EightByTenGigNRZ-10G): Resource Group mode. """ return self._get_attribute(self._SDM_ATT_MAP["Mode"]) @@ -190,7 +207,7 @@ def update(self, Mode=None): Args ---- - - Mode (str(normal | tenGig | fortyGig | singleMode | dualMode | hundredGigNonFanOut | fortyGigFanOut | threeByTenGigFanOut | eightByTenGigFanOut | fourByTwentyFiveGigNonFanOut | twoByTwentyFiveGigNonFanOut | oneByFiftyGigNonFanOut | fortyGigNonFanOut | oneByTenGigFanOut | fourByTenGigFanOut | incompatibleMode | hundredGigCapturePlayback | fortyGigCapturePlayback | novusHundredGigNonFanOut | novusFourByTwentyFiveGigNonFanOut | novusTwoByFiftyGigNonFanOut | novusOneByFortyGigNonFanOut | novusFourByTenGigNonFanOut | krakenOneByFourHundredGigNonFanOut | krakenOneByTwoHundredGigNonFanOut | krakenTwoByOneHundredGigFanOut | krakenFourByFiftyGigFanOut | aresOneOneByFourHundredGigNonFanOut | aresOneOneByFourHundredGigMacSecNonFanOut | aresOneTwoByTwoHundredGigFanOut | aresOneTwoByTwoHundredGigMacSecFanOut | aresOneFourByOneHundredGigFanOut | aresOneFourByOneHundredGigMacSecFanOut | aresOneEightByFiftyGigFanOut | uhdOneHundredEightByHundredGigNonFanOut | uhdOneHundredEightByFortyGigNonFanOut | uhdOneHundredSixteenByFiftyGigFanOut | uhdOneHundredThirtyTwoByTwentyFiveGigFanOut | uhdOneHundredThirtyTwoByTenGigFanOut | novus5GOneByTenGigNonFanOut | novus5GOneByTwentyFiveGigNonFanOut | novus5GOneByFiftyGigNonFanOut | novus5GOneByHundredGigNonFanOut | novus5GOneByHundredGigNonFanOutHighStream | starTwoByFourHundredGigNonFannedOutPAM4 | starFourByTwoHundredGigFannedOutPAM4 | starEightByHundredGigFannedOutPAM4 | starFourByHundredGigFannedOutNRZ | starSixteenByFiftyGigFannedOutPAM4 | starEightByFiftyGigFannedOutNRZ | starFourByFortyGigFannedOutNRZ | starSixteenByTwentyFiveGigFannedOutNRZ | starSixteenByTenGigFannedOutNRZ | starFourByHundredGigFannedOutPAM4HalfDensityHighStream | starEightByFiftyGigFannedOutPAM4HalfDensityHighStream | starEightByTwentyFiveGigFannedOutNRZHalfDensityHighStream | starEightByTenGigFannedOutNRZHalfDensityHighStream | novusHundredGigNonFanOutHighStream | novusFourByTwentyFiveGigNonFanOutHighStream | novusTwoByFiftyGigNonFanOutHighStream | novusOneByFortyGigNonFanOutHighStream | novusFourByTenGigNonFanOutHighStream | ravenEightByHundredGigFannedOutPAM4 | ravenFourByTwoHundredGigFannedOutPAM4 | ravenTwoByFourHundredGigFannedOutPAM4 | ravenOneByEightHundredGigNonFannedOutPAM4 | aresOneEightHundredQddCEightByHundredGigFannedOutPAM4 | aresOneEightHundredQddCFourByTwoHundredGigFannedOutPAM4 | aresOneEightHundredQddCTwoByFourHundredGigFannedOutPAM4 | aresOneEightHundredQddCOneByEightHundredGigNonFannedOutPAM4 | rangerHundredGig | rangerFiftyGig | rangerFourtyGig | rangerTwentyFiveGig | rangerTenGig | aresOneEightHundredOsfpCEightByHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCFourByTwoHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCTwoByFourHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCOneByEightHundredGigNonFannedOutPAM4)): Resource Group mode. + - Mode (str(normal | tenGig | fortyGig | singleMode | dualMode | hundredGigNonFanOut | fortyGigFanOut | threeByTenGigFanOut | eightByTenGigFanOut | fourByTwentyFiveGigNonFanOut | twoByTwentyFiveGigNonFanOut | oneByFiftyGigNonFanOut | fortyGigNonFanOut | oneByTenGigFanOut | fourByTenGigFanOut | incompatibleMode | hundredGigCapturePlayback | fortyGigCapturePlayback | novusHundredGigNonFanOut | novusFourByTwentyFiveGigNonFanOut | novusTwoByFiftyGigNonFanOut | novusOneByFortyGigNonFanOut | novusFourByTenGigNonFanOut | krakenOneByFourHundredGigNonFanOut | krakenOneByTwoHundredGigNonFanOut | krakenTwoByOneHundredGigFanOut | krakenFourByFiftyGigFanOut | aresOneOneByFourHundredGigNonFanOut | aresOneOneByFourHundredGigMacSec128NonFanOut | aresOneOneByFourHundredGigMacSec256NonFanOut | aresOneTwoByTwoHundredGigFanOut | aresOneTwoByTwoHundredGigMacSecFanOut | aresOneFourByOneHundredGigFanOut | aresOneFourByOneHundredGigMacSecFanOut | aresOneEightByFiftyGigFanOut | uhdOneHundredEightByHundredGigNonFanOut | uhdOneHundredEightByFortyGigNonFanOut | uhdOneHundredSixteenByFiftyGigFanOut | uhdOneHundredThirtyTwoByTwentyFiveGigFanOut | uhdOneHundredThirtyTwoByTenGigFanOut | novus5GOneByTenGigNonFanOut | novus5GOneByTwentyFiveGigNonFanOut | novus5GOneByFiftyGigNonFanOut | novus5GOneByHundredGigNonFanOut | novus5GOneByHundredGigNonFanOutHighStream | starTwoByFourHundredGigNonFannedOutPAM4 | starFourByTwoHundredGigFannedOutPAM4 | starTwoByTwoHundredGigFannedOutNRZ | starEightByHundredGigFannedOutPAM4 | starEightByHundredGigFannedOutPAM4RoCEv2 | starFourByHundredGigFannedOutNRZ | starSixteenByFiftyGigFannedOutPAM4 | starEightByFiftyGigFannedOutNRZ | starFourByFortyGigFannedOutNRZ | starSixteenByTwentyFiveGigFannedOutNRZ | starSixteenByTenGigFannedOutNRZ | starFourByHundredGigFannedOutPAM4HalfDensityHighStream | starEightByFiftyGigFannedOutPAM4HalfDensityHighStream | starEightByTwentyFiveGigFannedOutNRZHalfDensityHighStream | starEightByTenGigFannedOutNRZHalfDensityHighStream | novusHundredGigNonFanOutHighStream | novusFourByTwentyFiveGigNonFanOutHighStream | novusTwoByFiftyGigNonFanOutHighStream | novusOneByFortyGigNonFanOutHighStream | novusFourByTenGigNonFanOutHighStream | ravenEightByHundredGigFannedOutPAM4 | ravenFourByTwoHundredGigFannedOutPAM4 | ravenTwoByFourHundredGigFannedOutPAM4 | ravenOneByEightHundredGigNonFannedOutPAM4 | aresOneEightHundredQddCEightByHundredGigFannedOutPAM4 | aresOneEightHundredQddCFourByTwoHundredGigFannedOutPAM4 | aresOneEightHundredQddCTwoByFourHundredGigFannedOutPAM4 | aresOneEightHundredQddCOneByEightHundredGigNonFannedOutPAM4 | rangerHundredGig | rangerFiftyGig | rangerFourtyGig | rangerTwentyFiveGig | rangerTenGig | aresOneEightHundredOsfpCEightByHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCFourByTwoHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCTwoByFourHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCOneByEightHundredGigNonFannedOutPAM4 | aresOne-M-OneByEightHundredGigPAM4-106G | aresOne-M-TwoByFourHundredGigPAM4-106G | aresOne-M-FourByTwoHundredGigPAM4-106G | aresOne-M-EightByOneHundredGigPAM4-106G | aresOne-M-OneByFourHundredGigPAM4-53G | aresOne-M-TwoByTwoHundredGigPAM4-53G | aresOne-M-FourByOneHundredGigPAM4-53G | aresOne-M-EightByFiftyGigPAM4-53G | aresOne-M-OneByTwoHundredGigNRZ-26G | aresOne-M-TwoByOneHundredGigNRZ-26G | aresOne-M-FourByFiftyGigNRZ-26G | aresOne-M-TwoByFortyGigNRZ-10G | aresOne-M-EightByTwentyFiveGigNRZ-26G | aresOne-M-EightByTenGigNRZ-10G)): Resource Group mode. Raises ------ @@ -204,7 +221,7 @@ def add(self, Mode=None): Args ---- - - Mode (str(normal | tenGig | fortyGig | singleMode | dualMode | hundredGigNonFanOut | fortyGigFanOut | threeByTenGigFanOut | eightByTenGigFanOut | fourByTwentyFiveGigNonFanOut | twoByTwentyFiveGigNonFanOut | oneByFiftyGigNonFanOut | fortyGigNonFanOut | oneByTenGigFanOut | fourByTenGigFanOut | incompatibleMode | hundredGigCapturePlayback | fortyGigCapturePlayback | novusHundredGigNonFanOut | novusFourByTwentyFiveGigNonFanOut | novusTwoByFiftyGigNonFanOut | novusOneByFortyGigNonFanOut | novusFourByTenGigNonFanOut | krakenOneByFourHundredGigNonFanOut | krakenOneByTwoHundredGigNonFanOut | krakenTwoByOneHundredGigFanOut | krakenFourByFiftyGigFanOut | aresOneOneByFourHundredGigNonFanOut | aresOneOneByFourHundredGigMacSecNonFanOut | aresOneTwoByTwoHundredGigFanOut | aresOneTwoByTwoHundredGigMacSecFanOut | aresOneFourByOneHundredGigFanOut | aresOneFourByOneHundredGigMacSecFanOut | aresOneEightByFiftyGigFanOut | uhdOneHundredEightByHundredGigNonFanOut | uhdOneHundredEightByFortyGigNonFanOut | uhdOneHundredSixteenByFiftyGigFanOut | uhdOneHundredThirtyTwoByTwentyFiveGigFanOut | uhdOneHundredThirtyTwoByTenGigFanOut | novus5GOneByTenGigNonFanOut | novus5GOneByTwentyFiveGigNonFanOut | novus5GOneByFiftyGigNonFanOut | novus5GOneByHundredGigNonFanOut | novus5GOneByHundredGigNonFanOutHighStream | starTwoByFourHundredGigNonFannedOutPAM4 | starFourByTwoHundredGigFannedOutPAM4 | starEightByHundredGigFannedOutPAM4 | starFourByHundredGigFannedOutNRZ | starSixteenByFiftyGigFannedOutPAM4 | starEightByFiftyGigFannedOutNRZ | starFourByFortyGigFannedOutNRZ | starSixteenByTwentyFiveGigFannedOutNRZ | starSixteenByTenGigFannedOutNRZ | starFourByHundredGigFannedOutPAM4HalfDensityHighStream | starEightByFiftyGigFannedOutPAM4HalfDensityHighStream | starEightByTwentyFiveGigFannedOutNRZHalfDensityHighStream | starEightByTenGigFannedOutNRZHalfDensityHighStream | novusHundredGigNonFanOutHighStream | novusFourByTwentyFiveGigNonFanOutHighStream | novusTwoByFiftyGigNonFanOutHighStream | novusOneByFortyGigNonFanOutHighStream | novusFourByTenGigNonFanOutHighStream | ravenEightByHundredGigFannedOutPAM4 | ravenFourByTwoHundredGigFannedOutPAM4 | ravenTwoByFourHundredGigFannedOutPAM4 | ravenOneByEightHundredGigNonFannedOutPAM4 | aresOneEightHundredQddCEightByHundredGigFannedOutPAM4 | aresOneEightHundredQddCFourByTwoHundredGigFannedOutPAM4 | aresOneEightHundredQddCTwoByFourHundredGigFannedOutPAM4 | aresOneEightHundredQddCOneByEightHundredGigNonFannedOutPAM4 | rangerHundredGig | rangerFiftyGig | rangerFourtyGig | rangerTwentyFiveGig | rangerTenGig | aresOneEightHundredOsfpCEightByHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCFourByTwoHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCTwoByFourHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCOneByEightHundredGigNonFannedOutPAM4)): Resource Group mode. + - Mode (str(normal | tenGig | fortyGig | singleMode | dualMode | hundredGigNonFanOut | fortyGigFanOut | threeByTenGigFanOut | eightByTenGigFanOut | fourByTwentyFiveGigNonFanOut | twoByTwentyFiveGigNonFanOut | oneByFiftyGigNonFanOut | fortyGigNonFanOut | oneByTenGigFanOut | fourByTenGigFanOut | incompatibleMode | hundredGigCapturePlayback | fortyGigCapturePlayback | novusHundredGigNonFanOut | novusFourByTwentyFiveGigNonFanOut | novusTwoByFiftyGigNonFanOut | novusOneByFortyGigNonFanOut | novusFourByTenGigNonFanOut | krakenOneByFourHundredGigNonFanOut | krakenOneByTwoHundredGigNonFanOut | krakenTwoByOneHundredGigFanOut | krakenFourByFiftyGigFanOut | aresOneOneByFourHundredGigNonFanOut | aresOneOneByFourHundredGigMacSec128NonFanOut | aresOneOneByFourHundredGigMacSec256NonFanOut | aresOneTwoByTwoHundredGigFanOut | aresOneTwoByTwoHundredGigMacSecFanOut | aresOneFourByOneHundredGigFanOut | aresOneFourByOneHundredGigMacSecFanOut | aresOneEightByFiftyGigFanOut | uhdOneHundredEightByHundredGigNonFanOut | uhdOneHundredEightByFortyGigNonFanOut | uhdOneHundredSixteenByFiftyGigFanOut | uhdOneHundredThirtyTwoByTwentyFiveGigFanOut | uhdOneHundredThirtyTwoByTenGigFanOut | novus5GOneByTenGigNonFanOut | novus5GOneByTwentyFiveGigNonFanOut | novus5GOneByFiftyGigNonFanOut | novus5GOneByHundredGigNonFanOut | novus5GOneByHundredGigNonFanOutHighStream | starTwoByFourHundredGigNonFannedOutPAM4 | starFourByTwoHundredGigFannedOutPAM4 | starTwoByTwoHundredGigFannedOutNRZ | starEightByHundredGigFannedOutPAM4 | starEightByHundredGigFannedOutPAM4RoCEv2 | starFourByHundredGigFannedOutNRZ | starSixteenByFiftyGigFannedOutPAM4 | starEightByFiftyGigFannedOutNRZ | starFourByFortyGigFannedOutNRZ | starSixteenByTwentyFiveGigFannedOutNRZ | starSixteenByTenGigFannedOutNRZ | starFourByHundredGigFannedOutPAM4HalfDensityHighStream | starEightByFiftyGigFannedOutPAM4HalfDensityHighStream | starEightByTwentyFiveGigFannedOutNRZHalfDensityHighStream | starEightByTenGigFannedOutNRZHalfDensityHighStream | novusHundredGigNonFanOutHighStream | novusFourByTwentyFiveGigNonFanOutHighStream | novusTwoByFiftyGigNonFanOutHighStream | novusOneByFortyGigNonFanOutHighStream | novusFourByTenGigNonFanOutHighStream | ravenEightByHundredGigFannedOutPAM4 | ravenFourByTwoHundredGigFannedOutPAM4 | ravenTwoByFourHundredGigFannedOutPAM4 | ravenOneByEightHundredGigNonFannedOutPAM4 | aresOneEightHundredQddCEightByHundredGigFannedOutPAM4 | aresOneEightHundredQddCFourByTwoHundredGigFannedOutPAM4 | aresOneEightHundredQddCTwoByFourHundredGigFannedOutPAM4 | aresOneEightHundredQddCOneByEightHundredGigNonFannedOutPAM4 | rangerHundredGig | rangerFiftyGig | rangerFourtyGig | rangerTwentyFiveGig | rangerTenGig | aresOneEightHundredOsfpCEightByHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCFourByTwoHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCTwoByFourHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCOneByEightHundredGigNonFannedOutPAM4 | aresOne-M-OneByEightHundredGigPAM4-106G | aresOne-M-TwoByFourHundredGigPAM4-106G | aresOne-M-FourByTwoHundredGigPAM4-106G | aresOne-M-EightByOneHundredGigPAM4-106G | aresOne-M-OneByFourHundredGigPAM4-53G | aresOne-M-TwoByTwoHundredGigPAM4-53G | aresOne-M-FourByOneHundredGigPAM4-53G | aresOne-M-EightByFiftyGigPAM4-53G | aresOne-M-OneByTwoHundredGigNRZ-26G | aresOne-M-TwoByOneHundredGigNRZ-26G | aresOne-M-FourByFiftyGigNRZ-26G | aresOne-M-TwoByFortyGigNRZ-10G | aresOne-M-EightByTwentyFiveGigNRZ-26G | aresOne-M-EightByTenGigNRZ-10G)): Resource Group mode. Returns ------- @@ -235,8 +252,8 @@ def find( ---- - ActivePort (str(None | /api/v1/sessions/1/ixnetwork/availableHardware/chassis/card/port)): Deprecated. Use activePorts instead. - ActivePorts (list(str[None | /api/v1/sessions/1/ixnetwork/availableHardware/chassis/card/port])): All active ports from Resource Group. - - AvailableModes (list(str[normal | tenGig | fortyGig | singleMode | dualMode | hundredGigNonFanOut | fortyGigFanOut | threeByTenGigFanOut | eightByTenGigFanOut | fourByTwentyFiveGigNonFanOut | twoByTwentyFiveGigNonFanOut | oneByFiftyGigNonFanOut | fortyGigNonFanOut | oneByTenGigFanOut | fourByTenGigFanOut | incompatibleMode | hundredGigCapturePlayback | fortyGigCapturePlayback | novusHundredGigNonFanOut | novusFourByTwentyFiveGigNonFanOut | novusTwoByFiftyGigNonFanOut | novusOneByFortyGigNonFanOut | novusFourByTenGigNonFanOut | krakenOneByFourHundredGigNonFanOut | krakenOneByTwoHundredGigNonFanOut | krakenTwoByOneHundredGigFanOut | krakenFourByFiftyGigFanOut | aresOneOneByFourHundredGigNonFanOut | aresOneOneByFourHundredGigMacSecNonFanOut | aresOneTwoByTwoHundredGigFanOut | aresOneTwoByTwoHundredGigMacSecFanOut | aresOneFourByOneHundredGigFanOut | aresOneFourByOneHundredGigMacSecFanOut | aresOneEightByFiftyGigFanOut | uhdOneHundredEightByHundredGigNonFanOut | uhdOneHundredEightByFortyGigNonFanOut | uhdOneHundredSixteenByFiftyGigFanOut | uhdOneHundredThirtyTwoByTwentyFiveGigFanOut | uhdOneHundredThirtyTwoByTenGigFanOut | novus5GOneByTenGigNonFanOut | novus5GOneByTwentyFiveGigNonFanOut | novus5GOneByFiftyGigNonFanOut | novus5GOneByHundredGigNonFanOut | novus5GOneByHundredGigNonFanOutHighStream | starTwoByFourHundredGigNonFannedOutPAM4 | starFourByTwoHundredGigFannedOutPAM4 | starEightByHundredGigFannedOutPAM4 | starFourByHundredGigFannedOutNRZ | starSixteenByFiftyGigFannedOutPAM4 | starEightByFiftyGigFannedOutNRZ | starFourByFortyGigFannedOutNRZ | starSixteenByTwentyFiveGigFannedOutNRZ | starSixteenByTenGigFannedOutNRZ | starFourByHundredGigFannedOutPAM4HalfDensityHighStream | starEightByFiftyGigFannedOutPAM4HalfDensityHighStream | starEightByTwentyFiveGigFannedOutNRZHalfDensityHighStream | starEightByTenGigFannedOutNRZHalfDensityHighStream | novusHundredGigNonFanOutHighStream | novusFourByTwentyFiveGigNonFanOutHighStream | novusTwoByFiftyGigNonFanOutHighStream | novusOneByFortyGigNonFanOutHighStream | novusFourByTenGigNonFanOutHighStream | ravenEightByHundredGigFannedOutPAM4 | ravenFourByTwoHundredGigFannedOutPAM4 | ravenTwoByFourHundredGigFannedOutPAM4 | ravenOneByEightHundredGigNonFannedOutPAM4 | aresOneEightHundredQddCEightByHundredGigFannedOutPAM4 | aresOneEightHundredQddCFourByTwoHundredGigFannedOutPAM4 | aresOneEightHundredQddCTwoByFourHundredGigFannedOutPAM4 | aresOneEightHundredQddCOneByEightHundredGigNonFannedOutPAM4 | rangerHundredGig | rangerFiftyGig | rangerFourtyGig | rangerTwentyFiveGig | rangerTenGig | aresOneEightHundredOsfpCEightByHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCFourByTwoHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCTwoByFourHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCOneByEightHundredGigNonFannedOutPAM4])): Gets the supported resource group modes. - - Mode (str(normal | tenGig | fortyGig | singleMode | dualMode | hundredGigNonFanOut | fortyGigFanOut | threeByTenGigFanOut | eightByTenGigFanOut | fourByTwentyFiveGigNonFanOut | twoByTwentyFiveGigNonFanOut | oneByFiftyGigNonFanOut | fortyGigNonFanOut | oneByTenGigFanOut | fourByTenGigFanOut | incompatibleMode | hundredGigCapturePlayback | fortyGigCapturePlayback | novusHundredGigNonFanOut | novusFourByTwentyFiveGigNonFanOut | novusTwoByFiftyGigNonFanOut | novusOneByFortyGigNonFanOut | novusFourByTenGigNonFanOut | krakenOneByFourHundredGigNonFanOut | krakenOneByTwoHundredGigNonFanOut | krakenTwoByOneHundredGigFanOut | krakenFourByFiftyGigFanOut | aresOneOneByFourHundredGigNonFanOut | aresOneOneByFourHundredGigMacSecNonFanOut | aresOneTwoByTwoHundredGigFanOut | aresOneTwoByTwoHundredGigMacSecFanOut | aresOneFourByOneHundredGigFanOut | aresOneFourByOneHundredGigMacSecFanOut | aresOneEightByFiftyGigFanOut | uhdOneHundredEightByHundredGigNonFanOut | uhdOneHundredEightByFortyGigNonFanOut | uhdOneHundredSixteenByFiftyGigFanOut | uhdOneHundredThirtyTwoByTwentyFiveGigFanOut | uhdOneHundredThirtyTwoByTenGigFanOut | novus5GOneByTenGigNonFanOut | novus5GOneByTwentyFiveGigNonFanOut | novus5GOneByFiftyGigNonFanOut | novus5GOneByHundredGigNonFanOut | novus5GOneByHundredGigNonFanOutHighStream | starTwoByFourHundredGigNonFannedOutPAM4 | starFourByTwoHundredGigFannedOutPAM4 | starEightByHundredGigFannedOutPAM4 | starFourByHundredGigFannedOutNRZ | starSixteenByFiftyGigFannedOutPAM4 | starEightByFiftyGigFannedOutNRZ | starFourByFortyGigFannedOutNRZ | starSixteenByTwentyFiveGigFannedOutNRZ | starSixteenByTenGigFannedOutNRZ | starFourByHundredGigFannedOutPAM4HalfDensityHighStream | starEightByFiftyGigFannedOutPAM4HalfDensityHighStream | starEightByTwentyFiveGigFannedOutNRZHalfDensityHighStream | starEightByTenGigFannedOutNRZHalfDensityHighStream | novusHundredGigNonFanOutHighStream | novusFourByTwentyFiveGigNonFanOutHighStream | novusTwoByFiftyGigNonFanOutHighStream | novusOneByFortyGigNonFanOutHighStream | novusFourByTenGigNonFanOutHighStream | ravenEightByHundredGigFannedOutPAM4 | ravenFourByTwoHundredGigFannedOutPAM4 | ravenTwoByFourHundredGigFannedOutPAM4 | ravenOneByEightHundredGigNonFannedOutPAM4 | aresOneEightHundredQddCEightByHundredGigFannedOutPAM4 | aresOneEightHundredQddCFourByTwoHundredGigFannedOutPAM4 | aresOneEightHundredQddCTwoByFourHundredGigFannedOutPAM4 | aresOneEightHundredQddCOneByEightHundredGigNonFannedOutPAM4 | rangerHundredGig | rangerFiftyGig | rangerFourtyGig | rangerTwentyFiveGig | rangerTenGig | aresOneEightHundredOsfpCEightByHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCFourByTwoHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCTwoByFourHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCOneByEightHundredGigNonFannedOutPAM4)): Resource Group mode. + - AvailableModes (list(str[normal | tenGig | fortyGig | singleMode | dualMode | hundredGigNonFanOut | fortyGigFanOut | threeByTenGigFanOut | eightByTenGigFanOut | fourByTwentyFiveGigNonFanOut | twoByTwentyFiveGigNonFanOut | oneByFiftyGigNonFanOut | fortyGigNonFanOut | oneByTenGigFanOut | fourByTenGigFanOut | incompatibleMode | hundredGigCapturePlayback | fortyGigCapturePlayback | novusHundredGigNonFanOut | novusFourByTwentyFiveGigNonFanOut | novusTwoByFiftyGigNonFanOut | novusOneByFortyGigNonFanOut | novusFourByTenGigNonFanOut | krakenOneByFourHundredGigNonFanOut | krakenOneByTwoHundredGigNonFanOut | krakenTwoByOneHundredGigFanOut | krakenFourByFiftyGigFanOut | aresOneOneByFourHundredGigNonFanOut | aresOneOneByFourHundredGigMacSec128NonFanOut | aresOneOneByFourHundredGigMacSec256NonFanOut | aresOneTwoByTwoHundredGigFanOut | aresOneTwoByTwoHundredGigMacSecFanOut | aresOneFourByOneHundredGigFanOut | aresOneFourByOneHundredGigMacSecFanOut | aresOneEightByFiftyGigFanOut | uhdOneHundredEightByHundredGigNonFanOut | uhdOneHundredEightByFortyGigNonFanOut | uhdOneHundredSixteenByFiftyGigFanOut | uhdOneHundredThirtyTwoByTwentyFiveGigFanOut | uhdOneHundredThirtyTwoByTenGigFanOut | novus5GOneByTenGigNonFanOut | novus5GOneByTwentyFiveGigNonFanOut | novus5GOneByFiftyGigNonFanOut | novus5GOneByHundredGigNonFanOut | novus5GOneByHundredGigNonFanOutHighStream | starTwoByFourHundredGigNonFannedOutPAM4 | starFourByTwoHundredGigFannedOutPAM4 | starTwoByTwoHundredGigFannedOutNRZ | starEightByHundredGigFannedOutPAM4 | starEightByHundredGigFannedOutPAM4RoCEv2 | starFourByHundredGigFannedOutNRZ | starSixteenByFiftyGigFannedOutPAM4 | starEightByFiftyGigFannedOutNRZ | starFourByFortyGigFannedOutNRZ | starSixteenByTwentyFiveGigFannedOutNRZ | starSixteenByTenGigFannedOutNRZ | starFourByHundredGigFannedOutPAM4HalfDensityHighStream | starEightByFiftyGigFannedOutPAM4HalfDensityHighStream | starEightByTwentyFiveGigFannedOutNRZHalfDensityHighStream | starEightByTenGigFannedOutNRZHalfDensityHighStream | novusHundredGigNonFanOutHighStream | novusFourByTwentyFiveGigNonFanOutHighStream | novusTwoByFiftyGigNonFanOutHighStream | novusOneByFortyGigNonFanOutHighStream | novusFourByTenGigNonFanOutHighStream | ravenEightByHundredGigFannedOutPAM4 | ravenFourByTwoHundredGigFannedOutPAM4 | ravenTwoByFourHundredGigFannedOutPAM4 | ravenOneByEightHundredGigNonFannedOutPAM4 | aresOneEightHundredQddCEightByHundredGigFannedOutPAM4 | aresOneEightHundredQddCFourByTwoHundredGigFannedOutPAM4 | aresOneEightHundredQddCTwoByFourHundredGigFannedOutPAM4 | aresOneEightHundredQddCOneByEightHundredGigNonFannedOutPAM4 | rangerHundredGig | rangerFiftyGig | rangerFourtyGig | rangerTwentyFiveGig | rangerTenGig | aresOneEightHundredOsfpCEightByHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCFourByTwoHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCTwoByFourHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCOneByEightHundredGigNonFannedOutPAM4 | aresOne-M-OneByEightHundredGigPAM4-106G | aresOne-M-TwoByFourHundredGigPAM4-106G | aresOne-M-FourByTwoHundredGigPAM4-106G | aresOne-M-EightByOneHundredGigPAM4-106G | aresOne-M-OneByFourHundredGigPAM4-53G | aresOne-M-TwoByTwoHundredGigPAM4-53G | aresOne-M-FourByOneHundredGigPAM4-53G | aresOne-M-EightByFiftyGigPAM4-53G | aresOne-M-OneByTwoHundredGigNRZ-26G | aresOne-M-TwoByOneHundredGigNRZ-26G | aresOne-M-FourByFiftyGigNRZ-26G | aresOne-M-TwoByFortyGigNRZ-10G | aresOne-M-EightByTwentyFiveGigNRZ-26G | aresOne-M-EightByTenGigNRZ-10G])): Gets the supported resource group modes. + - Mode (str(normal | tenGig | fortyGig | singleMode | dualMode | hundredGigNonFanOut | fortyGigFanOut | threeByTenGigFanOut | eightByTenGigFanOut | fourByTwentyFiveGigNonFanOut | twoByTwentyFiveGigNonFanOut | oneByFiftyGigNonFanOut | fortyGigNonFanOut | oneByTenGigFanOut | fourByTenGigFanOut | incompatibleMode | hundredGigCapturePlayback | fortyGigCapturePlayback | novusHundredGigNonFanOut | novusFourByTwentyFiveGigNonFanOut | novusTwoByFiftyGigNonFanOut | novusOneByFortyGigNonFanOut | novusFourByTenGigNonFanOut | krakenOneByFourHundredGigNonFanOut | krakenOneByTwoHundredGigNonFanOut | krakenTwoByOneHundredGigFanOut | krakenFourByFiftyGigFanOut | aresOneOneByFourHundredGigNonFanOut | aresOneOneByFourHundredGigMacSec128NonFanOut | aresOneOneByFourHundredGigMacSec256NonFanOut | aresOneTwoByTwoHundredGigFanOut | aresOneTwoByTwoHundredGigMacSecFanOut | aresOneFourByOneHundredGigFanOut | aresOneFourByOneHundredGigMacSecFanOut | aresOneEightByFiftyGigFanOut | uhdOneHundredEightByHundredGigNonFanOut | uhdOneHundredEightByFortyGigNonFanOut | uhdOneHundredSixteenByFiftyGigFanOut | uhdOneHundredThirtyTwoByTwentyFiveGigFanOut | uhdOneHundredThirtyTwoByTenGigFanOut | novus5GOneByTenGigNonFanOut | novus5GOneByTwentyFiveGigNonFanOut | novus5GOneByFiftyGigNonFanOut | novus5GOneByHundredGigNonFanOut | novus5GOneByHundredGigNonFanOutHighStream | starTwoByFourHundredGigNonFannedOutPAM4 | starFourByTwoHundredGigFannedOutPAM4 | starTwoByTwoHundredGigFannedOutNRZ | starEightByHundredGigFannedOutPAM4 | starEightByHundredGigFannedOutPAM4RoCEv2 | starFourByHundredGigFannedOutNRZ | starSixteenByFiftyGigFannedOutPAM4 | starEightByFiftyGigFannedOutNRZ | starFourByFortyGigFannedOutNRZ | starSixteenByTwentyFiveGigFannedOutNRZ | starSixteenByTenGigFannedOutNRZ | starFourByHundredGigFannedOutPAM4HalfDensityHighStream | starEightByFiftyGigFannedOutPAM4HalfDensityHighStream | starEightByTwentyFiveGigFannedOutNRZHalfDensityHighStream | starEightByTenGigFannedOutNRZHalfDensityHighStream | novusHundredGigNonFanOutHighStream | novusFourByTwentyFiveGigNonFanOutHighStream | novusTwoByFiftyGigNonFanOutHighStream | novusOneByFortyGigNonFanOutHighStream | novusFourByTenGigNonFanOutHighStream | ravenEightByHundredGigFannedOutPAM4 | ravenFourByTwoHundredGigFannedOutPAM4 | ravenTwoByFourHundredGigFannedOutPAM4 | ravenOneByEightHundredGigNonFannedOutPAM4 | aresOneEightHundredQddCEightByHundredGigFannedOutPAM4 | aresOneEightHundredQddCFourByTwoHundredGigFannedOutPAM4 | aresOneEightHundredQddCTwoByFourHundredGigFannedOutPAM4 | aresOneEightHundredQddCOneByEightHundredGigNonFannedOutPAM4 | rangerHundredGig | rangerFiftyGig | rangerFourtyGig | rangerTwentyFiveGig | rangerTenGig | aresOneEightHundredOsfpCEightByHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCFourByTwoHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCTwoByFourHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCOneByEightHundredGigNonFannedOutPAM4 | aresOne-M-OneByEightHundredGigPAM4-106G | aresOne-M-TwoByFourHundredGigPAM4-106G | aresOne-M-FourByTwoHundredGigPAM4-106G | aresOne-M-EightByOneHundredGigPAM4-106G | aresOne-M-OneByFourHundredGigPAM4-53G | aresOne-M-TwoByTwoHundredGigPAM4-53G | aresOne-M-FourByOneHundredGigPAM4-53G | aresOne-M-EightByFiftyGigPAM4-53G | aresOne-M-OneByTwoHundredGigNRZ-26G | aresOne-M-TwoByOneHundredGigNRZ-26G | aresOne-M-FourByFiftyGigNRZ-26G | aresOne-M-TwoByFortyGigNRZ-10G | aresOne-M-EightByTwentyFiveGigNRZ-26G | aresOne-M-EightByTenGigNRZ-10G)): Resource Group mode. - ResourcePorts (list(str[None | /api/v1/sessions/1/ixnetwork/availableHardware/chassis/card/port])): All ports from Resource Group. Returns diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/availablehardware/chassis/card/card.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/availablehardware/chassis/card/card.py index 22a3b62a0..4834258b3 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/availablehardware/chassis/card/card.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/availablehardware/chassis/card/card.py @@ -75,7 +75,8 @@ class Card(Base): "krakenTwoByOneHundredGigFanOut", "krakenFourByFiftyGigFanOut", "aresOneOneByFourHundredGigNonFanOut", - "aresOneOneByFourHundredGigMacSecNonFanOut", + "aresOneOneByFourHundredGigMacSec128NonFanOut", + "aresOneOneByFourHundredGigMacSec256NonFanOut", "aresOneTwoByTwoHundredGigFanOut", "aresOneTwoByTwoHundredGigMacSecFanOut", "aresOneFourByOneHundredGigFanOut", @@ -93,7 +94,9 @@ class Card(Base): "novus5GOneByHundredGigNonFanOutHighStream", "starTwoByFourHundredGigNonFannedOutPAM4", "starFourByTwoHundredGigFannedOutPAM4", + "starTwoByTwoHundredGigFannedOutNRZ", "starEightByHundredGigFannedOutPAM4", + "starEightByHundredGigFannedOutPAM4RoCEv2", "starFourByHundredGigFannedOutNRZ", "starSixteenByFiftyGigFannedOutPAM4", "starEightByFiftyGigFannedOutNRZ", @@ -126,6 +129,20 @@ class Card(Base): "aresOneEightHundredOsfpCFourByTwoHundredGigFannedOutPAM4", "aresOneEightHundredOsfpCTwoByFourHundredGigFannedOutPAM4", "aresOneEightHundredOsfpCOneByEightHundredGigNonFannedOutPAM4", + "aresOne-M-OneByEightHundredGigPAM4-106G", + "aresOne-M-TwoByFourHundredGigPAM4-106G", + "aresOne-M-FourByTwoHundredGigPAM4-106G", + "aresOne-M-EightByOneHundredGigPAM4-106G", + "aresOne-M-OneByFourHundredGigPAM4-53G", + "aresOne-M-TwoByTwoHundredGigPAM4-53G", + "aresOne-M-FourByOneHundredGigPAM4-53G", + "aresOne-M-EightByFiftyGigPAM4-53G", + "aresOne-M-OneByTwoHundredGigNRZ-26G", + "aresOne-M-TwoByOneHundredGigNRZ-26G", + "aresOne-M-FourByFiftyGigNRZ-26G", + "aresOne-M-TwoByFortyGigNRZ-10G", + "aresOne-M-EightByTwentyFiveGigNRZ-26G", + "aresOne-M-EightByTenGigNRZ-10G", ], "portNamingScheme": ["v1", "v2"], } @@ -179,7 +196,7 @@ def AggregationMode(self): """ Returns ------- - - str(notSupported | mixed | normal | tenGigAggregation | fortyGigAggregation | singleMode | dualMode | hundredGigNonFanOut | fortyGigFanOut | threeByTenGigFanOut | eightByTenGigFanOut | fourByTwentyFiveGigNonFanOut | twoByTwentyFiveGigNonFanOut | oneByFiftyGigNonFanOut | fortyGigNonFanOut | oneByTenGigFanOut | fourByTenGigFanOut | incompatibleMode | hundredGigCapturePlayback | fortyGigCapturePlayback | novusHundredGigNonFanOut | novusFourByTwentyFiveGigNonFanOut | novusTwoByFiftyGigNonFanOut | novusOneByFortyGigNonFanOut | novusFourByTenGigNonFanOut | krakenOneByFourHundredGigNonFanOut | krakenOneByTwoHundredGigNonFanOut | krakenTwoByOneHundredGigFanOut | krakenFourByFiftyGigFanOut | aresOneOneByFourHundredGigNonFanOut | aresOneOneByFourHundredGigMacSecNonFanOut | aresOneTwoByTwoHundredGigFanOut | aresOneTwoByTwoHundredGigMacSecFanOut | aresOneFourByOneHundredGigFanOut | aresOneFourByOneHundredGigMacSecFanOut | aresOneEightByFiftyGigFanOut | uhdOneHundredEightByHundredGigNonFanOut | uhdOneHundredEightByFortyGigNonFanOut | uhdOneHundredSixteenByFiftyGigFanOut | uhdOneHundredThirtyTwoByTwentyFiveGigFanOut | uhdOneHundredThirtyTwoByTenGigFanOut | novus5GOneByTenGigNonFanOut | novus5GOneByTwentyFiveGigNonFanOut | novus5GOneByFiftyGigNonFanOut | novus5GOneByHundredGigNonFanOut | novus5GOneByHundredGigNonFanOutHighStream | starTwoByFourHundredGigNonFannedOutPAM4 | starFourByTwoHundredGigFannedOutPAM4 | starEightByHundredGigFannedOutPAM4 | starFourByHundredGigFannedOutNRZ | starSixteenByFiftyGigFannedOutPAM4 | starEightByFiftyGigFannedOutNRZ | starFourByFortyGigFannedOutNRZ | starSixteenByTwentyFiveGigFannedOutNRZ | starSixteenByTenGigFannedOutNRZ | starFourByHundredGigFannedOutPAM4HalfDensityHighStream | starEightByFiftyGigFannedOutPAM4HalfDensityHighStream | starEightByTwentyFiveGigFannedOutNRZHalfDensityHighStream | starEightByTenGigFannedOutNRZHalfDensityHighStream | novusHundredGigNonFanOutHighStream | novusFourByTwentyFiveGigNonFanOutHighStream | novusTwoByFiftyGigNonFanOutHighStream | novusOneByFortyGigNonFanOutHighStream | novusFourByTenGigNonFanOutHighStream | ravenEightByHundredGigFannedOutPAM4 | ravenFourByTwoHundredGigFannedOutPAM4 | ravenTwoByFourHundredGigFannedOutPAM4 | ravenOneByEightHundredGigNonFannedOutPAM4 | aresOneEightHundredQddCEightByHundredGigFannedOutPAM4 | aresOneEightHundredQddCFourByTwoHundredGigFannedOutPAM4 | aresOneEightHundredQddCTwoByFourHundredGigFannedOutPAM4 | aresOneEightHundredQddCOneByEightHundredGigNonFannedOutPAM4 | rangerHundredGig | rangerFiftyGig | rangerFourtyGig | rangerTwentyFiveGig | rangerTenGig | aresOneEightHundredOsfpCEightByHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCFourByTwoHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCTwoByFourHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCOneByEightHundredGigNonFannedOutPAM4): Gets or sets the aggregation mode. + - str(notSupported | mixed | normal | tenGigAggregation | fortyGigAggregation | singleMode | dualMode | hundredGigNonFanOut | fortyGigFanOut | threeByTenGigFanOut | eightByTenGigFanOut | fourByTwentyFiveGigNonFanOut | twoByTwentyFiveGigNonFanOut | oneByFiftyGigNonFanOut | fortyGigNonFanOut | oneByTenGigFanOut | fourByTenGigFanOut | incompatibleMode | hundredGigCapturePlayback | fortyGigCapturePlayback | novusHundredGigNonFanOut | novusFourByTwentyFiveGigNonFanOut | novusTwoByFiftyGigNonFanOut | novusOneByFortyGigNonFanOut | novusFourByTenGigNonFanOut | krakenOneByFourHundredGigNonFanOut | krakenOneByTwoHundredGigNonFanOut | krakenTwoByOneHundredGigFanOut | krakenFourByFiftyGigFanOut | aresOneOneByFourHundredGigNonFanOut | aresOneOneByFourHundredGigMacSec128NonFanOut | aresOneOneByFourHundredGigMacSec256NonFanOut | aresOneTwoByTwoHundredGigFanOut | aresOneTwoByTwoHundredGigMacSecFanOut | aresOneFourByOneHundredGigFanOut | aresOneFourByOneHundredGigMacSecFanOut | aresOneEightByFiftyGigFanOut | uhdOneHundredEightByHundredGigNonFanOut | uhdOneHundredEightByFortyGigNonFanOut | uhdOneHundredSixteenByFiftyGigFanOut | uhdOneHundredThirtyTwoByTwentyFiveGigFanOut | uhdOneHundredThirtyTwoByTenGigFanOut | novus5GOneByTenGigNonFanOut | novus5GOneByTwentyFiveGigNonFanOut | novus5GOneByFiftyGigNonFanOut | novus5GOneByHundredGigNonFanOut | novus5GOneByHundredGigNonFanOutHighStream | starTwoByFourHundredGigNonFannedOutPAM4 | starFourByTwoHundredGigFannedOutPAM4 | starTwoByTwoHundredGigFannedOutNRZ | starEightByHundredGigFannedOutPAM4 | starEightByHundredGigFannedOutPAM4RoCEv2 | starFourByHundredGigFannedOutNRZ | starSixteenByFiftyGigFannedOutPAM4 | starEightByFiftyGigFannedOutNRZ | starFourByFortyGigFannedOutNRZ | starSixteenByTwentyFiveGigFannedOutNRZ | starSixteenByTenGigFannedOutNRZ | starFourByHundredGigFannedOutPAM4HalfDensityHighStream | starEightByFiftyGigFannedOutPAM4HalfDensityHighStream | starEightByTwentyFiveGigFannedOutNRZHalfDensityHighStream | starEightByTenGigFannedOutNRZHalfDensityHighStream | novusHundredGigNonFanOutHighStream | novusFourByTwentyFiveGigNonFanOutHighStream | novusTwoByFiftyGigNonFanOutHighStream | novusOneByFortyGigNonFanOutHighStream | novusFourByTenGigNonFanOutHighStream | ravenEightByHundredGigFannedOutPAM4 | ravenFourByTwoHundredGigFannedOutPAM4 | ravenTwoByFourHundredGigFannedOutPAM4 | ravenOneByEightHundredGigNonFannedOutPAM4 | aresOneEightHundredQddCEightByHundredGigFannedOutPAM4 | aresOneEightHundredQddCFourByTwoHundredGigFannedOutPAM4 | aresOneEightHundredQddCTwoByFourHundredGigFannedOutPAM4 | aresOneEightHundredQddCOneByEightHundredGigNonFannedOutPAM4 | rangerHundredGig | rangerFiftyGig | rangerFourtyGig | rangerTwentyFiveGig | rangerTenGig | aresOneEightHundredOsfpCEightByHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCFourByTwoHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCTwoByFourHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCOneByEightHundredGigNonFannedOutPAM4 | aresOne-M-OneByEightHundredGigPAM4-106G | aresOne-M-TwoByFourHundredGigPAM4-106G | aresOne-M-FourByTwoHundredGigPAM4-106G | aresOne-M-EightByOneHundredGigPAM4-106G | aresOne-M-OneByFourHundredGigPAM4-53G | aresOne-M-TwoByTwoHundredGigPAM4-53G | aresOne-M-FourByOneHundredGigPAM4-53G | aresOne-M-EightByFiftyGigPAM4-53G | aresOne-M-OneByTwoHundredGigNRZ-26G | aresOne-M-TwoByOneHundredGigNRZ-26G | aresOne-M-FourByFiftyGigNRZ-26G | aresOne-M-TwoByFortyGigNRZ-10G | aresOne-M-EightByTwentyFiveGigNRZ-26G | aresOne-M-EightByTenGigNRZ-10G): Gets or sets the aggregation mode. """ return self._get_attribute(self._SDM_ATT_MAP["AggregationMode"]) @@ -204,7 +221,7 @@ def AvailableModes(self): """ Returns ------- - - list(str[notSupported | mixed | normal | tenGigAggregation | fortyGigAggregation | singleMode | dualMode | hundredGigNonFanOut | fortyGigFanOut | threeByTenGigFanOut | eightByTenGigFanOut | fourByTwentyFiveGigNonFanOut | twoByTwentyFiveGigNonFanOut | oneByFiftyGigNonFanOut | fortyGigNonFanOut | oneByTenGigFanOut | fourByTenGigFanOut | incompatibleMode | hundredGigCapturePlayback | fortyGigCapturePlayback | novusHundredGigNonFanOut | novusFourByTwentyFiveGigNonFanOut | novusTwoByFiftyGigNonFanOut | novusOneByFortyGigNonFanOut | novusFourByTenGigNonFanOut | krakenOneByFourHundredGigNonFanOut | krakenOneByTwoHundredGigNonFanOut | krakenTwoByOneHundredGigFanOut | krakenFourByFiftyGigFanOut | aresOneOneByFourHundredGigNonFanOut | aresOneOneByFourHundredGigMacSecNonFanOut | aresOneTwoByTwoHundredGigFanOut | aresOneTwoByTwoHundredGigMacSecFanOut | aresOneFourByOneHundredGigFanOut | aresOneFourByOneHundredGigMacSecFanOut | aresOneEightByFiftyGigFanOut | uhdOneHundredEightByHundredGigNonFanOut | uhdOneHundredEightByFortyGigNonFanOut | uhdOneHundredSixteenByFiftyGigFanOut | uhdOneHundredThirtyTwoByTwentyFiveGigFanOut | uhdOneHundredThirtyTwoByTenGigFanOut | novus5GOneByTenGigNonFanOut | novus5GOneByTwentyFiveGigNonFanOut | novus5GOneByFiftyGigNonFanOut | novus5GOneByHundredGigNonFanOut | novus5GOneByHundredGigNonFanOutHighStream | starTwoByFourHundredGigNonFannedOutPAM4 | starFourByTwoHundredGigFannedOutPAM4 | starEightByHundredGigFannedOutPAM4 | starFourByHundredGigFannedOutNRZ | starSixteenByFiftyGigFannedOutPAM4 | starEightByFiftyGigFannedOutNRZ | starFourByFortyGigFannedOutNRZ | starSixteenByTwentyFiveGigFannedOutNRZ | starSixteenByTenGigFannedOutNRZ | starFourByHundredGigFannedOutPAM4HalfDensityHighStream | starEightByFiftyGigFannedOutPAM4HalfDensityHighStream | starEightByTwentyFiveGigFannedOutNRZHalfDensityHighStream | starEightByTenGigFannedOutNRZHalfDensityHighStream | novusHundredGigNonFanOutHighStream | novusFourByTwentyFiveGigNonFanOutHighStream | novusTwoByFiftyGigNonFanOutHighStream | novusOneByFortyGigNonFanOutHighStream | novusFourByTenGigNonFanOutHighStream | ravenEightByHundredGigFannedOutPAM4 | ravenFourByTwoHundredGigFannedOutPAM4 | ravenTwoByFourHundredGigFannedOutPAM4 | ravenOneByEightHundredGigNonFannedOutPAM4 | aresOneEightHundredQddCEightByHundredGigFannedOutPAM4 | aresOneEightHundredQddCFourByTwoHundredGigFannedOutPAM4 | aresOneEightHundredQddCTwoByFourHundredGigFannedOutPAM4 | aresOneEightHundredQddCOneByEightHundredGigNonFannedOutPAM4 | rangerHundredGig | rangerFiftyGig | rangerFourtyGig | rangerTwentyFiveGig | rangerTenGig | aresOneEightHundredOsfpCEightByHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCFourByTwoHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCTwoByFourHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCOneByEightHundredGigNonFannedOutPAM4]): Gets the supported port resource group modes on the card. + - list(str[notSupported | mixed | normal | tenGigAggregation | fortyGigAggregation | singleMode | dualMode | hundredGigNonFanOut | fortyGigFanOut | threeByTenGigFanOut | eightByTenGigFanOut | fourByTwentyFiveGigNonFanOut | twoByTwentyFiveGigNonFanOut | oneByFiftyGigNonFanOut | fortyGigNonFanOut | oneByTenGigFanOut | fourByTenGigFanOut | incompatibleMode | hundredGigCapturePlayback | fortyGigCapturePlayback | novusHundredGigNonFanOut | novusFourByTwentyFiveGigNonFanOut | novusTwoByFiftyGigNonFanOut | novusOneByFortyGigNonFanOut | novusFourByTenGigNonFanOut | krakenOneByFourHundredGigNonFanOut | krakenOneByTwoHundredGigNonFanOut | krakenTwoByOneHundredGigFanOut | krakenFourByFiftyGigFanOut | aresOneOneByFourHundredGigNonFanOut | aresOneOneByFourHundredGigMacSec128NonFanOut | aresOneOneByFourHundredGigMacSec256NonFanOut | aresOneTwoByTwoHundredGigFanOut | aresOneTwoByTwoHundredGigMacSecFanOut | aresOneFourByOneHundredGigFanOut | aresOneFourByOneHundredGigMacSecFanOut | aresOneEightByFiftyGigFanOut | uhdOneHundredEightByHundredGigNonFanOut | uhdOneHundredEightByFortyGigNonFanOut | uhdOneHundredSixteenByFiftyGigFanOut | uhdOneHundredThirtyTwoByTwentyFiveGigFanOut | uhdOneHundredThirtyTwoByTenGigFanOut | novus5GOneByTenGigNonFanOut | novus5GOneByTwentyFiveGigNonFanOut | novus5GOneByFiftyGigNonFanOut | novus5GOneByHundredGigNonFanOut | novus5GOneByHundredGigNonFanOutHighStream | starTwoByFourHundredGigNonFannedOutPAM4 | starFourByTwoHundredGigFannedOutPAM4 | starTwoByTwoHundredGigFannedOutNRZ | starEightByHundredGigFannedOutPAM4 | starEightByHundredGigFannedOutPAM4RoCEv2 | starFourByHundredGigFannedOutNRZ | starSixteenByFiftyGigFannedOutPAM4 | starEightByFiftyGigFannedOutNRZ | starFourByFortyGigFannedOutNRZ | starSixteenByTwentyFiveGigFannedOutNRZ | starSixteenByTenGigFannedOutNRZ | starFourByHundredGigFannedOutPAM4HalfDensityHighStream | starEightByFiftyGigFannedOutPAM4HalfDensityHighStream | starEightByTwentyFiveGigFannedOutNRZHalfDensityHighStream | starEightByTenGigFannedOutNRZHalfDensityHighStream | novusHundredGigNonFanOutHighStream | novusFourByTwentyFiveGigNonFanOutHighStream | novusTwoByFiftyGigNonFanOutHighStream | novusOneByFortyGigNonFanOutHighStream | novusFourByTenGigNonFanOutHighStream | ravenEightByHundredGigFannedOutPAM4 | ravenFourByTwoHundredGigFannedOutPAM4 | ravenTwoByFourHundredGigFannedOutPAM4 | ravenOneByEightHundredGigNonFannedOutPAM4 | aresOneEightHundredQddCEightByHundredGigFannedOutPAM4 | aresOneEightHundredQddCFourByTwoHundredGigFannedOutPAM4 | aresOneEightHundredQddCTwoByFourHundredGigFannedOutPAM4 | aresOneEightHundredQddCOneByEightHundredGigNonFannedOutPAM4 | rangerHundredGig | rangerFiftyGig | rangerFourtyGig | rangerTwentyFiveGig | rangerTenGig | aresOneEightHundredOsfpCEightByHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCFourByTwoHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCTwoByFourHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCOneByEightHundredGigNonFannedOutPAM4 | aresOne-M-OneByEightHundredGigPAM4-106G | aresOne-M-TwoByFourHundredGigPAM4-106G | aresOne-M-FourByTwoHundredGigPAM4-106G | aresOne-M-EightByOneHundredGigPAM4-106G | aresOne-M-OneByFourHundredGigPAM4-53G | aresOne-M-TwoByTwoHundredGigPAM4-53G | aresOne-M-FourByOneHundredGigPAM4-53G | aresOne-M-EightByFiftyGigPAM4-53G | aresOne-M-OneByTwoHundredGigNRZ-26G | aresOne-M-TwoByOneHundredGigNRZ-26G | aresOne-M-FourByFiftyGigNRZ-26G | aresOne-M-TwoByFortyGigNRZ-10G | aresOne-M-EightByTwentyFiveGigNRZ-26G | aresOne-M-EightByTenGigNRZ-10G]): Gets the supported port resource group modes on the card. """ return self._get_attribute(self._SDM_ATT_MAP["AvailableModes"]) @@ -244,7 +261,7 @@ def update(self, AggregationMode=None): Args ---- - - AggregationMode (str(notSupported | mixed | normal | tenGigAggregation | fortyGigAggregation | singleMode | dualMode | hundredGigNonFanOut | fortyGigFanOut | threeByTenGigFanOut | eightByTenGigFanOut | fourByTwentyFiveGigNonFanOut | twoByTwentyFiveGigNonFanOut | oneByFiftyGigNonFanOut | fortyGigNonFanOut | oneByTenGigFanOut | fourByTenGigFanOut | incompatibleMode | hundredGigCapturePlayback | fortyGigCapturePlayback | novusHundredGigNonFanOut | novusFourByTwentyFiveGigNonFanOut | novusTwoByFiftyGigNonFanOut | novusOneByFortyGigNonFanOut | novusFourByTenGigNonFanOut | krakenOneByFourHundredGigNonFanOut | krakenOneByTwoHundredGigNonFanOut | krakenTwoByOneHundredGigFanOut | krakenFourByFiftyGigFanOut | aresOneOneByFourHundredGigNonFanOut | aresOneOneByFourHundredGigMacSecNonFanOut | aresOneTwoByTwoHundredGigFanOut | aresOneTwoByTwoHundredGigMacSecFanOut | aresOneFourByOneHundredGigFanOut | aresOneFourByOneHundredGigMacSecFanOut | aresOneEightByFiftyGigFanOut | uhdOneHundredEightByHundredGigNonFanOut | uhdOneHundredEightByFortyGigNonFanOut | uhdOneHundredSixteenByFiftyGigFanOut | uhdOneHundredThirtyTwoByTwentyFiveGigFanOut | uhdOneHundredThirtyTwoByTenGigFanOut | novus5GOneByTenGigNonFanOut | novus5GOneByTwentyFiveGigNonFanOut | novus5GOneByFiftyGigNonFanOut | novus5GOneByHundredGigNonFanOut | novus5GOneByHundredGigNonFanOutHighStream | starTwoByFourHundredGigNonFannedOutPAM4 | starFourByTwoHundredGigFannedOutPAM4 | starEightByHundredGigFannedOutPAM4 | starFourByHundredGigFannedOutNRZ | starSixteenByFiftyGigFannedOutPAM4 | starEightByFiftyGigFannedOutNRZ | starFourByFortyGigFannedOutNRZ | starSixteenByTwentyFiveGigFannedOutNRZ | starSixteenByTenGigFannedOutNRZ | starFourByHundredGigFannedOutPAM4HalfDensityHighStream | starEightByFiftyGigFannedOutPAM4HalfDensityHighStream | starEightByTwentyFiveGigFannedOutNRZHalfDensityHighStream | starEightByTenGigFannedOutNRZHalfDensityHighStream | novusHundredGigNonFanOutHighStream | novusFourByTwentyFiveGigNonFanOutHighStream | novusTwoByFiftyGigNonFanOutHighStream | novusOneByFortyGigNonFanOutHighStream | novusFourByTenGigNonFanOutHighStream | ravenEightByHundredGigFannedOutPAM4 | ravenFourByTwoHundredGigFannedOutPAM4 | ravenTwoByFourHundredGigFannedOutPAM4 | ravenOneByEightHundredGigNonFannedOutPAM4 | aresOneEightHundredQddCEightByHundredGigFannedOutPAM4 | aresOneEightHundredQddCFourByTwoHundredGigFannedOutPAM4 | aresOneEightHundredQddCTwoByFourHundredGigFannedOutPAM4 | aresOneEightHundredQddCOneByEightHundredGigNonFannedOutPAM4 | rangerHundredGig | rangerFiftyGig | rangerFourtyGig | rangerTwentyFiveGig | rangerTenGig | aresOneEightHundredOsfpCEightByHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCFourByTwoHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCTwoByFourHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCOneByEightHundredGigNonFannedOutPAM4)): Gets or sets the aggregation mode. + - AggregationMode (str(notSupported | mixed | normal | tenGigAggregation | fortyGigAggregation | singleMode | dualMode | hundredGigNonFanOut | fortyGigFanOut | threeByTenGigFanOut | eightByTenGigFanOut | fourByTwentyFiveGigNonFanOut | twoByTwentyFiveGigNonFanOut | oneByFiftyGigNonFanOut | fortyGigNonFanOut | oneByTenGigFanOut | fourByTenGigFanOut | incompatibleMode | hundredGigCapturePlayback | fortyGigCapturePlayback | novusHundredGigNonFanOut | novusFourByTwentyFiveGigNonFanOut | novusTwoByFiftyGigNonFanOut | novusOneByFortyGigNonFanOut | novusFourByTenGigNonFanOut | krakenOneByFourHundredGigNonFanOut | krakenOneByTwoHundredGigNonFanOut | krakenTwoByOneHundredGigFanOut | krakenFourByFiftyGigFanOut | aresOneOneByFourHundredGigNonFanOut | aresOneOneByFourHundredGigMacSec128NonFanOut | aresOneOneByFourHundredGigMacSec256NonFanOut | aresOneTwoByTwoHundredGigFanOut | aresOneTwoByTwoHundredGigMacSecFanOut | aresOneFourByOneHundredGigFanOut | aresOneFourByOneHundredGigMacSecFanOut | aresOneEightByFiftyGigFanOut | uhdOneHundredEightByHundredGigNonFanOut | uhdOneHundredEightByFortyGigNonFanOut | uhdOneHundredSixteenByFiftyGigFanOut | uhdOneHundredThirtyTwoByTwentyFiveGigFanOut | uhdOneHundredThirtyTwoByTenGigFanOut | novus5GOneByTenGigNonFanOut | novus5GOneByTwentyFiveGigNonFanOut | novus5GOneByFiftyGigNonFanOut | novus5GOneByHundredGigNonFanOut | novus5GOneByHundredGigNonFanOutHighStream | starTwoByFourHundredGigNonFannedOutPAM4 | starFourByTwoHundredGigFannedOutPAM4 | starTwoByTwoHundredGigFannedOutNRZ | starEightByHundredGigFannedOutPAM4 | starEightByHundredGigFannedOutPAM4RoCEv2 | starFourByHundredGigFannedOutNRZ | starSixteenByFiftyGigFannedOutPAM4 | starEightByFiftyGigFannedOutNRZ | starFourByFortyGigFannedOutNRZ | starSixteenByTwentyFiveGigFannedOutNRZ | starSixteenByTenGigFannedOutNRZ | starFourByHundredGigFannedOutPAM4HalfDensityHighStream | starEightByFiftyGigFannedOutPAM4HalfDensityHighStream | starEightByTwentyFiveGigFannedOutNRZHalfDensityHighStream | starEightByTenGigFannedOutNRZHalfDensityHighStream | novusHundredGigNonFanOutHighStream | novusFourByTwentyFiveGigNonFanOutHighStream | novusTwoByFiftyGigNonFanOutHighStream | novusOneByFortyGigNonFanOutHighStream | novusFourByTenGigNonFanOutHighStream | ravenEightByHundredGigFannedOutPAM4 | ravenFourByTwoHundredGigFannedOutPAM4 | ravenTwoByFourHundredGigFannedOutPAM4 | ravenOneByEightHundredGigNonFannedOutPAM4 | aresOneEightHundredQddCEightByHundredGigFannedOutPAM4 | aresOneEightHundredQddCFourByTwoHundredGigFannedOutPAM4 | aresOneEightHundredQddCTwoByFourHundredGigFannedOutPAM4 | aresOneEightHundredQddCOneByEightHundredGigNonFannedOutPAM4 | rangerHundredGig | rangerFiftyGig | rangerFourtyGig | rangerTwentyFiveGig | rangerTenGig | aresOneEightHundredOsfpCEightByHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCFourByTwoHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCTwoByFourHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCOneByEightHundredGigNonFannedOutPAM4 | aresOne-M-OneByEightHundredGigPAM4-106G | aresOne-M-TwoByFourHundredGigPAM4-106G | aresOne-M-FourByTwoHundredGigPAM4-106G | aresOne-M-EightByOneHundredGigPAM4-106G | aresOne-M-OneByFourHundredGigPAM4-53G | aresOne-M-TwoByTwoHundredGigPAM4-53G | aresOne-M-FourByOneHundredGigPAM4-53G | aresOne-M-EightByFiftyGigPAM4-53G | aresOne-M-OneByTwoHundredGigNRZ-26G | aresOne-M-TwoByOneHundredGigNRZ-26G | aresOne-M-FourByFiftyGigNRZ-26G | aresOne-M-TwoByFortyGigNRZ-10G | aresOne-M-EightByTwentyFiveGigNRZ-26G | aresOne-M-EightByTenGigNRZ-10G)): Gets or sets the aggregation mode. Raises ------ @@ -258,7 +275,7 @@ def add(self, AggregationMode=None): Args ---- - - AggregationMode (str(notSupported | mixed | normal | tenGigAggregation | fortyGigAggregation | singleMode | dualMode | hundredGigNonFanOut | fortyGigFanOut | threeByTenGigFanOut | eightByTenGigFanOut | fourByTwentyFiveGigNonFanOut | twoByTwentyFiveGigNonFanOut | oneByFiftyGigNonFanOut | fortyGigNonFanOut | oneByTenGigFanOut | fourByTenGigFanOut | incompatibleMode | hundredGigCapturePlayback | fortyGigCapturePlayback | novusHundredGigNonFanOut | novusFourByTwentyFiveGigNonFanOut | novusTwoByFiftyGigNonFanOut | novusOneByFortyGigNonFanOut | novusFourByTenGigNonFanOut | krakenOneByFourHundredGigNonFanOut | krakenOneByTwoHundredGigNonFanOut | krakenTwoByOneHundredGigFanOut | krakenFourByFiftyGigFanOut | aresOneOneByFourHundredGigNonFanOut | aresOneOneByFourHundredGigMacSecNonFanOut | aresOneTwoByTwoHundredGigFanOut | aresOneTwoByTwoHundredGigMacSecFanOut | aresOneFourByOneHundredGigFanOut | aresOneFourByOneHundredGigMacSecFanOut | aresOneEightByFiftyGigFanOut | uhdOneHundredEightByHundredGigNonFanOut | uhdOneHundredEightByFortyGigNonFanOut | uhdOneHundredSixteenByFiftyGigFanOut | uhdOneHundredThirtyTwoByTwentyFiveGigFanOut | uhdOneHundredThirtyTwoByTenGigFanOut | novus5GOneByTenGigNonFanOut | novus5GOneByTwentyFiveGigNonFanOut | novus5GOneByFiftyGigNonFanOut | novus5GOneByHundredGigNonFanOut | novus5GOneByHundredGigNonFanOutHighStream | starTwoByFourHundredGigNonFannedOutPAM4 | starFourByTwoHundredGigFannedOutPAM4 | starEightByHundredGigFannedOutPAM4 | starFourByHundredGigFannedOutNRZ | starSixteenByFiftyGigFannedOutPAM4 | starEightByFiftyGigFannedOutNRZ | starFourByFortyGigFannedOutNRZ | starSixteenByTwentyFiveGigFannedOutNRZ | starSixteenByTenGigFannedOutNRZ | starFourByHundredGigFannedOutPAM4HalfDensityHighStream | starEightByFiftyGigFannedOutPAM4HalfDensityHighStream | starEightByTwentyFiveGigFannedOutNRZHalfDensityHighStream | starEightByTenGigFannedOutNRZHalfDensityHighStream | novusHundredGigNonFanOutHighStream | novusFourByTwentyFiveGigNonFanOutHighStream | novusTwoByFiftyGigNonFanOutHighStream | novusOneByFortyGigNonFanOutHighStream | novusFourByTenGigNonFanOutHighStream | ravenEightByHundredGigFannedOutPAM4 | ravenFourByTwoHundredGigFannedOutPAM4 | ravenTwoByFourHundredGigFannedOutPAM4 | ravenOneByEightHundredGigNonFannedOutPAM4 | aresOneEightHundredQddCEightByHundredGigFannedOutPAM4 | aresOneEightHundredQddCFourByTwoHundredGigFannedOutPAM4 | aresOneEightHundredQddCTwoByFourHundredGigFannedOutPAM4 | aresOneEightHundredQddCOneByEightHundredGigNonFannedOutPAM4 | rangerHundredGig | rangerFiftyGig | rangerFourtyGig | rangerTwentyFiveGig | rangerTenGig | aresOneEightHundredOsfpCEightByHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCFourByTwoHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCTwoByFourHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCOneByEightHundredGigNonFannedOutPAM4)): Gets or sets the aggregation mode. + - AggregationMode (str(notSupported | mixed | normal | tenGigAggregation | fortyGigAggregation | singleMode | dualMode | hundredGigNonFanOut | fortyGigFanOut | threeByTenGigFanOut | eightByTenGigFanOut | fourByTwentyFiveGigNonFanOut | twoByTwentyFiveGigNonFanOut | oneByFiftyGigNonFanOut | fortyGigNonFanOut | oneByTenGigFanOut | fourByTenGigFanOut | incompatibleMode | hundredGigCapturePlayback | fortyGigCapturePlayback | novusHundredGigNonFanOut | novusFourByTwentyFiveGigNonFanOut | novusTwoByFiftyGigNonFanOut | novusOneByFortyGigNonFanOut | novusFourByTenGigNonFanOut | krakenOneByFourHundredGigNonFanOut | krakenOneByTwoHundredGigNonFanOut | krakenTwoByOneHundredGigFanOut | krakenFourByFiftyGigFanOut | aresOneOneByFourHundredGigNonFanOut | aresOneOneByFourHundredGigMacSec128NonFanOut | aresOneOneByFourHundredGigMacSec256NonFanOut | aresOneTwoByTwoHundredGigFanOut | aresOneTwoByTwoHundredGigMacSecFanOut | aresOneFourByOneHundredGigFanOut | aresOneFourByOneHundredGigMacSecFanOut | aresOneEightByFiftyGigFanOut | uhdOneHundredEightByHundredGigNonFanOut | uhdOneHundredEightByFortyGigNonFanOut | uhdOneHundredSixteenByFiftyGigFanOut | uhdOneHundredThirtyTwoByTwentyFiveGigFanOut | uhdOneHundredThirtyTwoByTenGigFanOut | novus5GOneByTenGigNonFanOut | novus5GOneByTwentyFiveGigNonFanOut | novus5GOneByFiftyGigNonFanOut | novus5GOneByHundredGigNonFanOut | novus5GOneByHundredGigNonFanOutHighStream | starTwoByFourHundredGigNonFannedOutPAM4 | starFourByTwoHundredGigFannedOutPAM4 | starTwoByTwoHundredGigFannedOutNRZ | starEightByHundredGigFannedOutPAM4 | starEightByHundredGigFannedOutPAM4RoCEv2 | starFourByHundredGigFannedOutNRZ | starSixteenByFiftyGigFannedOutPAM4 | starEightByFiftyGigFannedOutNRZ | starFourByFortyGigFannedOutNRZ | starSixteenByTwentyFiveGigFannedOutNRZ | starSixteenByTenGigFannedOutNRZ | starFourByHundredGigFannedOutPAM4HalfDensityHighStream | starEightByFiftyGigFannedOutPAM4HalfDensityHighStream | starEightByTwentyFiveGigFannedOutNRZHalfDensityHighStream | starEightByTenGigFannedOutNRZHalfDensityHighStream | novusHundredGigNonFanOutHighStream | novusFourByTwentyFiveGigNonFanOutHighStream | novusTwoByFiftyGigNonFanOutHighStream | novusOneByFortyGigNonFanOutHighStream | novusFourByTenGigNonFanOutHighStream | ravenEightByHundredGigFannedOutPAM4 | ravenFourByTwoHundredGigFannedOutPAM4 | ravenTwoByFourHundredGigFannedOutPAM4 | ravenOneByEightHundredGigNonFannedOutPAM4 | aresOneEightHundredQddCEightByHundredGigFannedOutPAM4 | aresOneEightHundredQddCFourByTwoHundredGigFannedOutPAM4 | aresOneEightHundredQddCTwoByFourHundredGigFannedOutPAM4 | aresOneEightHundredQddCOneByEightHundredGigNonFannedOutPAM4 | rangerHundredGig | rangerFiftyGig | rangerFourtyGig | rangerTwentyFiveGig | rangerTenGig | aresOneEightHundredOsfpCEightByHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCFourByTwoHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCTwoByFourHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCOneByEightHundredGigNonFannedOutPAM4 | aresOne-M-OneByEightHundredGigPAM4-106G | aresOne-M-TwoByFourHundredGigPAM4-106G | aresOne-M-FourByTwoHundredGigPAM4-106G | aresOne-M-EightByOneHundredGigPAM4-106G | aresOne-M-OneByFourHundredGigPAM4-53G | aresOne-M-TwoByTwoHundredGigPAM4-53G | aresOne-M-FourByOneHundredGigPAM4-53G | aresOne-M-EightByFiftyGigPAM4-53G | aresOne-M-OneByTwoHundredGigNRZ-26G | aresOne-M-TwoByOneHundredGigNRZ-26G | aresOne-M-FourByFiftyGigNRZ-26G | aresOne-M-TwoByFortyGigNRZ-10G | aresOne-M-EightByTwentyFiveGigNRZ-26G | aresOne-M-EightByTenGigNRZ-10G)): Gets or sets the aggregation mode. Returns ------- @@ -288,9 +305,9 @@ def find( Args ---- - - AggregationMode (str(notSupported | mixed | normal | tenGigAggregation | fortyGigAggregation | singleMode | dualMode | hundredGigNonFanOut | fortyGigFanOut | threeByTenGigFanOut | eightByTenGigFanOut | fourByTwentyFiveGigNonFanOut | twoByTwentyFiveGigNonFanOut | oneByFiftyGigNonFanOut | fortyGigNonFanOut | oneByTenGigFanOut | fourByTenGigFanOut | incompatibleMode | hundredGigCapturePlayback | fortyGigCapturePlayback | novusHundredGigNonFanOut | novusFourByTwentyFiveGigNonFanOut | novusTwoByFiftyGigNonFanOut | novusOneByFortyGigNonFanOut | novusFourByTenGigNonFanOut | krakenOneByFourHundredGigNonFanOut | krakenOneByTwoHundredGigNonFanOut | krakenTwoByOneHundredGigFanOut | krakenFourByFiftyGigFanOut | aresOneOneByFourHundredGigNonFanOut | aresOneOneByFourHundredGigMacSecNonFanOut | aresOneTwoByTwoHundredGigFanOut | aresOneTwoByTwoHundredGigMacSecFanOut | aresOneFourByOneHundredGigFanOut | aresOneFourByOneHundredGigMacSecFanOut | aresOneEightByFiftyGigFanOut | uhdOneHundredEightByHundredGigNonFanOut | uhdOneHundredEightByFortyGigNonFanOut | uhdOneHundredSixteenByFiftyGigFanOut | uhdOneHundredThirtyTwoByTwentyFiveGigFanOut | uhdOneHundredThirtyTwoByTenGigFanOut | novus5GOneByTenGigNonFanOut | novus5GOneByTwentyFiveGigNonFanOut | novus5GOneByFiftyGigNonFanOut | novus5GOneByHundredGigNonFanOut | novus5GOneByHundredGigNonFanOutHighStream | starTwoByFourHundredGigNonFannedOutPAM4 | starFourByTwoHundredGigFannedOutPAM4 | starEightByHundredGigFannedOutPAM4 | starFourByHundredGigFannedOutNRZ | starSixteenByFiftyGigFannedOutPAM4 | starEightByFiftyGigFannedOutNRZ | starFourByFortyGigFannedOutNRZ | starSixteenByTwentyFiveGigFannedOutNRZ | starSixteenByTenGigFannedOutNRZ | starFourByHundredGigFannedOutPAM4HalfDensityHighStream | starEightByFiftyGigFannedOutPAM4HalfDensityHighStream | starEightByTwentyFiveGigFannedOutNRZHalfDensityHighStream | starEightByTenGigFannedOutNRZHalfDensityHighStream | novusHundredGigNonFanOutHighStream | novusFourByTwentyFiveGigNonFanOutHighStream | novusTwoByFiftyGigNonFanOutHighStream | novusOneByFortyGigNonFanOutHighStream | novusFourByTenGigNonFanOutHighStream | ravenEightByHundredGigFannedOutPAM4 | ravenFourByTwoHundredGigFannedOutPAM4 | ravenTwoByFourHundredGigFannedOutPAM4 | ravenOneByEightHundredGigNonFannedOutPAM4 | aresOneEightHundredQddCEightByHundredGigFannedOutPAM4 | aresOneEightHundredQddCFourByTwoHundredGigFannedOutPAM4 | aresOneEightHundredQddCTwoByFourHundredGigFannedOutPAM4 | aresOneEightHundredQddCOneByEightHundredGigNonFannedOutPAM4 | rangerHundredGig | rangerFiftyGig | rangerFourtyGig | rangerTwentyFiveGig | rangerTenGig | aresOneEightHundredOsfpCEightByHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCFourByTwoHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCTwoByFourHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCOneByEightHundredGigNonFannedOutPAM4)): Gets or sets the aggregation mode. + - AggregationMode (str(notSupported | mixed | normal | tenGigAggregation | fortyGigAggregation | singleMode | dualMode | hundredGigNonFanOut | fortyGigFanOut | threeByTenGigFanOut | eightByTenGigFanOut | fourByTwentyFiveGigNonFanOut | twoByTwentyFiveGigNonFanOut | oneByFiftyGigNonFanOut | fortyGigNonFanOut | oneByTenGigFanOut | fourByTenGigFanOut | incompatibleMode | hundredGigCapturePlayback | fortyGigCapturePlayback | novusHundredGigNonFanOut | novusFourByTwentyFiveGigNonFanOut | novusTwoByFiftyGigNonFanOut | novusOneByFortyGigNonFanOut | novusFourByTenGigNonFanOut | krakenOneByFourHundredGigNonFanOut | krakenOneByTwoHundredGigNonFanOut | krakenTwoByOneHundredGigFanOut | krakenFourByFiftyGigFanOut | aresOneOneByFourHundredGigNonFanOut | aresOneOneByFourHundredGigMacSec128NonFanOut | aresOneOneByFourHundredGigMacSec256NonFanOut | aresOneTwoByTwoHundredGigFanOut | aresOneTwoByTwoHundredGigMacSecFanOut | aresOneFourByOneHundredGigFanOut | aresOneFourByOneHundredGigMacSecFanOut | aresOneEightByFiftyGigFanOut | uhdOneHundredEightByHundredGigNonFanOut | uhdOneHundredEightByFortyGigNonFanOut | uhdOneHundredSixteenByFiftyGigFanOut | uhdOneHundredThirtyTwoByTwentyFiveGigFanOut | uhdOneHundredThirtyTwoByTenGigFanOut | novus5GOneByTenGigNonFanOut | novus5GOneByTwentyFiveGigNonFanOut | novus5GOneByFiftyGigNonFanOut | novus5GOneByHundredGigNonFanOut | novus5GOneByHundredGigNonFanOutHighStream | starTwoByFourHundredGigNonFannedOutPAM4 | starFourByTwoHundredGigFannedOutPAM4 | starTwoByTwoHundredGigFannedOutNRZ | starEightByHundredGigFannedOutPAM4 | starEightByHundredGigFannedOutPAM4RoCEv2 | starFourByHundredGigFannedOutNRZ | starSixteenByFiftyGigFannedOutPAM4 | starEightByFiftyGigFannedOutNRZ | starFourByFortyGigFannedOutNRZ | starSixteenByTwentyFiveGigFannedOutNRZ | starSixteenByTenGigFannedOutNRZ | starFourByHundredGigFannedOutPAM4HalfDensityHighStream | starEightByFiftyGigFannedOutPAM4HalfDensityHighStream | starEightByTwentyFiveGigFannedOutNRZHalfDensityHighStream | starEightByTenGigFannedOutNRZHalfDensityHighStream | novusHundredGigNonFanOutHighStream | novusFourByTwentyFiveGigNonFanOutHighStream | novusTwoByFiftyGigNonFanOutHighStream | novusOneByFortyGigNonFanOutHighStream | novusFourByTenGigNonFanOutHighStream | ravenEightByHundredGigFannedOutPAM4 | ravenFourByTwoHundredGigFannedOutPAM4 | ravenTwoByFourHundredGigFannedOutPAM4 | ravenOneByEightHundredGigNonFannedOutPAM4 | aresOneEightHundredQddCEightByHundredGigFannedOutPAM4 | aresOneEightHundredQddCFourByTwoHundredGigFannedOutPAM4 | aresOneEightHundredQddCTwoByFourHundredGigFannedOutPAM4 | aresOneEightHundredQddCOneByEightHundredGigNonFannedOutPAM4 | rangerHundredGig | rangerFiftyGig | rangerFourtyGig | rangerTwentyFiveGig | rangerTenGig | aresOneEightHundredOsfpCEightByHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCFourByTwoHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCTwoByFourHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCOneByEightHundredGigNonFannedOutPAM4 | aresOne-M-OneByEightHundredGigPAM4-106G | aresOne-M-TwoByFourHundredGigPAM4-106G | aresOne-M-FourByTwoHundredGigPAM4-106G | aresOne-M-EightByOneHundredGigPAM4-106G | aresOne-M-OneByFourHundredGigPAM4-53G | aresOne-M-TwoByTwoHundredGigPAM4-53G | aresOne-M-FourByOneHundredGigPAM4-53G | aresOne-M-EightByFiftyGigPAM4-53G | aresOne-M-OneByTwoHundredGigNRZ-26G | aresOne-M-TwoByOneHundredGigNRZ-26G | aresOne-M-FourByFiftyGigNRZ-26G | aresOne-M-TwoByFortyGigNRZ-10G | aresOne-M-EightByTwentyFiveGigNRZ-26G | aresOne-M-EightByTenGigNRZ-10G)): Gets or sets the aggregation mode. - AggregationSupported (bool): (read only) If true, indicates that the card is operating in resource group mode and not in normal mode - - AvailableModes (list(str[notSupported | mixed | normal | tenGigAggregation | fortyGigAggregation | singleMode | dualMode | hundredGigNonFanOut | fortyGigFanOut | threeByTenGigFanOut | eightByTenGigFanOut | fourByTwentyFiveGigNonFanOut | twoByTwentyFiveGigNonFanOut | oneByFiftyGigNonFanOut | fortyGigNonFanOut | oneByTenGigFanOut | fourByTenGigFanOut | incompatibleMode | hundredGigCapturePlayback | fortyGigCapturePlayback | novusHundredGigNonFanOut | novusFourByTwentyFiveGigNonFanOut | novusTwoByFiftyGigNonFanOut | novusOneByFortyGigNonFanOut | novusFourByTenGigNonFanOut | krakenOneByFourHundredGigNonFanOut | krakenOneByTwoHundredGigNonFanOut | krakenTwoByOneHundredGigFanOut | krakenFourByFiftyGigFanOut | aresOneOneByFourHundredGigNonFanOut | aresOneOneByFourHundredGigMacSecNonFanOut | aresOneTwoByTwoHundredGigFanOut | aresOneTwoByTwoHundredGigMacSecFanOut | aresOneFourByOneHundredGigFanOut | aresOneFourByOneHundredGigMacSecFanOut | aresOneEightByFiftyGigFanOut | uhdOneHundredEightByHundredGigNonFanOut | uhdOneHundredEightByFortyGigNonFanOut | uhdOneHundredSixteenByFiftyGigFanOut | uhdOneHundredThirtyTwoByTwentyFiveGigFanOut | uhdOneHundredThirtyTwoByTenGigFanOut | novus5GOneByTenGigNonFanOut | novus5GOneByTwentyFiveGigNonFanOut | novus5GOneByFiftyGigNonFanOut | novus5GOneByHundredGigNonFanOut | novus5GOneByHundredGigNonFanOutHighStream | starTwoByFourHundredGigNonFannedOutPAM4 | starFourByTwoHundredGigFannedOutPAM4 | starEightByHundredGigFannedOutPAM4 | starFourByHundredGigFannedOutNRZ | starSixteenByFiftyGigFannedOutPAM4 | starEightByFiftyGigFannedOutNRZ | starFourByFortyGigFannedOutNRZ | starSixteenByTwentyFiveGigFannedOutNRZ | starSixteenByTenGigFannedOutNRZ | starFourByHundredGigFannedOutPAM4HalfDensityHighStream | starEightByFiftyGigFannedOutPAM4HalfDensityHighStream | starEightByTwentyFiveGigFannedOutNRZHalfDensityHighStream | starEightByTenGigFannedOutNRZHalfDensityHighStream | novusHundredGigNonFanOutHighStream | novusFourByTwentyFiveGigNonFanOutHighStream | novusTwoByFiftyGigNonFanOutHighStream | novusOneByFortyGigNonFanOutHighStream | novusFourByTenGigNonFanOutHighStream | ravenEightByHundredGigFannedOutPAM4 | ravenFourByTwoHundredGigFannedOutPAM4 | ravenTwoByFourHundredGigFannedOutPAM4 | ravenOneByEightHundredGigNonFannedOutPAM4 | aresOneEightHundredQddCEightByHundredGigFannedOutPAM4 | aresOneEightHundredQddCFourByTwoHundredGigFannedOutPAM4 | aresOneEightHundredQddCTwoByFourHundredGigFannedOutPAM4 | aresOneEightHundredQddCOneByEightHundredGigNonFannedOutPAM4 | rangerHundredGig | rangerFiftyGig | rangerFourtyGig | rangerTwentyFiveGig | rangerTenGig | aresOneEightHundredOsfpCEightByHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCFourByTwoHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCTwoByFourHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCOneByEightHundredGigNonFannedOutPAM4])): Gets the supported port resource group modes on the card. + - AvailableModes (list(str[notSupported | mixed | normal | tenGigAggregation | fortyGigAggregation | singleMode | dualMode | hundredGigNonFanOut | fortyGigFanOut | threeByTenGigFanOut | eightByTenGigFanOut | fourByTwentyFiveGigNonFanOut | twoByTwentyFiveGigNonFanOut | oneByFiftyGigNonFanOut | fortyGigNonFanOut | oneByTenGigFanOut | fourByTenGigFanOut | incompatibleMode | hundredGigCapturePlayback | fortyGigCapturePlayback | novusHundredGigNonFanOut | novusFourByTwentyFiveGigNonFanOut | novusTwoByFiftyGigNonFanOut | novusOneByFortyGigNonFanOut | novusFourByTenGigNonFanOut | krakenOneByFourHundredGigNonFanOut | krakenOneByTwoHundredGigNonFanOut | krakenTwoByOneHundredGigFanOut | krakenFourByFiftyGigFanOut | aresOneOneByFourHundredGigNonFanOut | aresOneOneByFourHundredGigMacSec128NonFanOut | aresOneOneByFourHundredGigMacSec256NonFanOut | aresOneTwoByTwoHundredGigFanOut | aresOneTwoByTwoHundredGigMacSecFanOut | aresOneFourByOneHundredGigFanOut | aresOneFourByOneHundredGigMacSecFanOut | aresOneEightByFiftyGigFanOut | uhdOneHundredEightByHundredGigNonFanOut | uhdOneHundredEightByFortyGigNonFanOut | uhdOneHundredSixteenByFiftyGigFanOut | uhdOneHundredThirtyTwoByTwentyFiveGigFanOut | uhdOneHundredThirtyTwoByTenGigFanOut | novus5GOneByTenGigNonFanOut | novus5GOneByTwentyFiveGigNonFanOut | novus5GOneByFiftyGigNonFanOut | novus5GOneByHundredGigNonFanOut | novus5GOneByHundredGigNonFanOutHighStream | starTwoByFourHundredGigNonFannedOutPAM4 | starFourByTwoHundredGigFannedOutPAM4 | starTwoByTwoHundredGigFannedOutNRZ | starEightByHundredGigFannedOutPAM4 | starEightByHundredGigFannedOutPAM4RoCEv2 | starFourByHundredGigFannedOutNRZ | starSixteenByFiftyGigFannedOutPAM4 | starEightByFiftyGigFannedOutNRZ | starFourByFortyGigFannedOutNRZ | starSixteenByTwentyFiveGigFannedOutNRZ | starSixteenByTenGigFannedOutNRZ | starFourByHundredGigFannedOutPAM4HalfDensityHighStream | starEightByFiftyGigFannedOutPAM4HalfDensityHighStream | starEightByTwentyFiveGigFannedOutNRZHalfDensityHighStream | starEightByTenGigFannedOutNRZHalfDensityHighStream | novusHundredGigNonFanOutHighStream | novusFourByTwentyFiveGigNonFanOutHighStream | novusTwoByFiftyGigNonFanOutHighStream | novusOneByFortyGigNonFanOutHighStream | novusFourByTenGigNonFanOutHighStream | ravenEightByHundredGigFannedOutPAM4 | ravenFourByTwoHundredGigFannedOutPAM4 | ravenTwoByFourHundredGigFannedOutPAM4 | ravenOneByEightHundredGigNonFannedOutPAM4 | aresOneEightHundredQddCEightByHundredGigFannedOutPAM4 | aresOneEightHundredQddCFourByTwoHundredGigFannedOutPAM4 | aresOneEightHundredQddCTwoByFourHundredGigFannedOutPAM4 | aresOneEightHundredQddCOneByEightHundredGigNonFannedOutPAM4 | rangerHundredGig | rangerFiftyGig | rangerFourtyGig | rangerTwentyFiveGig | rangerTenGig | aresOneEightHundredOsfpCEightByHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCFourByTwoHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCTwoByFourHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCOneByEightHundredGigNonFannedOutPAM4 | aresOne-M-OneByEightHundredGigPAM4-106G | aresOne-M-TwoByFourHundredGigPAM4-106G | aresOne-M-FourByTwoHundredGigPAM4-106G | aresOne-M-EightByOneHundredGigPAM4-106G | aresOne-M-OneByFourHundredGigPAM4-53G | aresOne-M-TwoByTwoHundredGigPAM4-53G | aresOne-M-FourByOneHundredGigPAM4-53G | aresOne-M-EightByFiftyGigPAM4-53G | aresOne-M-OneByTwoHundredGigNRZ-26G | aresOne-M-TwoByOneHundredGigNRZ-26G | aresOne-M-FourByFiftyGigNRZ-26G | aresOne-M-TwoByFortyGigNRZ-10G | aresOne-M-EightByTwentyFiveGigNRZ-26G | aresOne-M-EightByTenGigNRZ-10G])): Gets the supported port resource group modes on the card. - CardId (number): Identifier for the card on the chassis. - Description (str): Description of the card. - PortNamingScheme (str(v1 | v2)): diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/globals.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/globals.py index 0ef5b303a..0d6c87652 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/globals.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/globals.py @@ -45,6 +45,7 @@ class Globals(Base): "ProductVersion": "productVersion", "ProtocolbuildNumber": "protocolbuildNumber", "RpfPort": "rpfPort", + "ServerTime": "serverTime", "SessionUpTime": "sessionUpTime", "Username": "username", } @@ -432,6 +433,16 @@ def RpfPort(self): """ return self._get_attribute(self._SDM_ATT_MAP["RpfPort"]) + @property + def ServerTime(self): + # type: () -> str + """ + Returns + ------- + - str: Current Time of the Server + """ + return self._get_attribute(self._SDM_ATT_MAP["ServerTime"]) + @property def SessionUpTime(self): # type: () -> str @@ -464,6 +475,7 @@ def find( ProductVersion=None, ProtocolbuildNumber=None, RpfPort=None, + ServerTime=None, SessionUpTime=None, Username=None, ): @@ -485,6 +497,7 @@ def find( - ProductVersion (str): - ProtocolbuildNumber (str): The build number of the protocol. - RpfPort (number): + - ServerTime (str): Current Time of the Server - SessionUpTime (str): Amount of time IxNetwork session is up - Username (str): The name of the user. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/preferences/preferences.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/preferences/preferences.py index 604bf0dac..ff68ea3c9 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/preferences/preferences.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/preferences/preferences.py @@ -36,6 +36,7 @@ class Preferences(Base): _SDM_NAME = "preferences" _SDM_ATT_MAP = { "AllowProtocolSessionStateLog": "allowProtocolSessionStateLog", + "AutoCleanLogs": "autoCleanLogs", "AutoSaveIntervalMin": "autoSaveIntervalMin", "AutoSaveLocation": "autoSaveLocation", "ClientTraceLevel": "clientTraceLevel", @@ -140,6 +141,21 @@ def AllowProtocolSessionStateLog(self, value): # type: (bool) -> None self._set_attribute(self._SDM_ATT_MAP["AllowProtocolSessionStateLog"], value) + @property + def AutoCleanLogs(self): + # type: () -> bool + """ + Returns + ------- + - bool: If true, this will fire auto log deletion everyday, bound by other properties such as client/chassis days etc under /globals/diagnostics/cleanup + """ + return self._get_attribute(self._SDM_ATT_MAP["AutoCleanLogs"]) + + @AutoCleanLogs.setter + def AutoCleanLogs(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP["AutoCleanLogs"], value) + @property def AutoSaveIntervalMin(self): # type: () -> int @@ -652,6 +668,7 @@ def TransmitMode(self, value): def update( self, AllowProtocolSessionStateLog=None, + AutoCleanLogs=None, AutoSaveIntervalMin=None, AutoSaveLocation=None, ClientTraceLevel=None, @@ -686,12 +703,13 @@ def update( SyslogPort=None, TransmitMode=None, ): - # type: (bool, int, str, str, str, bool, int, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, int, int, str, bool, bool, bool, bool, str, List[str], str, str, bool, bool, bool, str, int, str) -> Preferences + # type: (bool, bool, int, str, str, str, bool, int, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, int, int, str, bool, bool, bool, bool, str, List[str], str, str, bool, bool, bool, str, int, str) -> Preferences """Updates preferences resource on the server. Args ---- - AllowProtocolSessionStateLog (bool): Enables logging each protocol session state change. This option is very heavy for performance. + - AutoCleanLogs (bool): If true, this will fire auto log deletion everyday, bound by other properties such as client/chassis days etc under /globals/diagnostics/cleanup - AutoSaveIntervalMin (number): Set the interval time in minutes in which the configuration will be saved automatically - AutoSaveLocation (str): Set the location where the configuration will be saved automatically - ClientTraceLevel (str(debug | error | fatal | info | warn)): Set the IxNetwork Client side Log/Trace level @@ -735,6 +753,7 @@ def update( def find( self, AllowProtocolSessionStateLog=None, + AutoCleanLogs=None, AutoSaveIntervalMin=None, AutoSaveLocation=None, ClientTraceLevel=None, @@ -770,7 +789,7 @@ def find( SyslogPort=None, TransmitMode=None, ): - # type: (bool, int, str, str, str, bool, int, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, int, int, str, bool, bool, bool, bool, str, List[str], List[str], str, str, bool, bool, bool, str, int, str) -> Preferences + # type: (bool, bool, int, str, str, str, bool, int, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, int, int, str, bool, bool, bool, bool, str, List[str], List[str], str, str, bool, bool, bool, str, int, str) -> Preferences """Finds and retrieves preferences resources from the server. All named parameters are evaluated on the server using regex. The named parameters can be used to selectively retrieve preferences resources from the server. @@ -780,6 +799,7 @@ def find( Args ---- - AllowProtocolSessionStateLog (bool): Enables logging each protocol session state change. This option is very heavy for performance. + - AutoCleanLogs (bool): If true, this will fire auto log deletion everyday, bound by other properties such as client/chassis days etc under /globals/diagnostics/cleanup - AutoSaveIntervalMin (number): Set the interval time in minutes in which the configuration will be saved automatically - AutoSaveLocation (str): Set the location where the configuration will be saved automatically - ClientTraceLevel (str(debug | error | fatal | info | warn)): Set the IxNetwork Client side Log/Trace level diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/scriptgen/scriptgen.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/scriptgen/scriptgen.py index 836ca734c..62306261b 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/scriptgen/scriptgen.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/scriptgen/scriptgen.py @@ -38,8 +38,11 @@ class Scriptgen(Base): "ConnectHostname": "connectHostname", "ConnectPort": "connectPort", "ConnectVersion": "connectVersion", + "IncludeAPIKey": "includeAPIKey", "IncludeConnect": "includeConnect", + "IncludeSessionId": "includeSessionId", "IncludeTestComposer": "includeTestComposer", + "IncludeUsernamePasswd": "includeUsernamePasswd", "Language": "language", "LinePerAttribute": "linePerAttribute", "OverwriteScriptFilename": "overwriteScriptFilename", @@ -139,6 +142,21 @@ def ConnectVersion(self, value): # type: (str) -> None self._set_attribute(self._SDM_ATT_MAP["ConnectVersion"], value) + @property + def IncludeAPIKey(self): + # type: () -> bool + """ + Returns + ------- + - bool: API-Key argument will be generated as part of HLT connect call + """ + return self._get_attribute(self._SDM_ATT_MAP["IncludeAPIKey"]) + + @IncludeAPIKey.setter + def IncludeAPIKey(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP["IncludeAPIKey"], value) + @property def IncludeConnect(self): # type: () -> bool @@ -154,6 +172,21 @@ def IncludeConnect(self, value): # type: (bool) -> None self._set_attribute(self._SDM_ATT_MAP["IncludeConnect"], value) + @property + def IncludeSessionId(self): + # type: () -> bool + """ + Returns + ------- + - bool: Session-ID argument will be generated as part of HLT connect call + """ + return self._get_attribute(self._SDM_ATT_MAP["IncludeSessionId"]) + + @IncludeSessionId.setter + def IncludeSessionId(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP["IncludeSessionId"], value) + @property def IncludeTestComposer(self): # type: () -> bool @@ -169,6 +202,21 @@ def IncludeTestComposer(self, value): # type: (bool) -> None self._set_attribute(self._SDM_ATT_MAP["IncludeTestComposer"], value) + @property + def IncludeUsernamePasswd(self): + # type: () -> bool + """ + Returns + ------- + - bool: Username-password argument will be generated as part of HLT connect call + """ + return self._get_attribute(self._SDM_ATT_MAP["IncludeUsernamePasswd"]) + + @IncludeUsernamePasswd.setter + def IncludeUsernamePasswd(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP["IncludeUsernamePasswd"], value) + @property def Language(self): # type: () -> str @@ -249,15 +297,18 @@ def update( ConnectHostname=None, ConnectPort=None, ConnectVersion=None, + IncludeAPIKey=None, IncludeConnect=None, + IncludeSessionId=None, IncludeTestComposer=None, + IncludeUsernamePasswd=None, Language=None, LinePerAttribute=None, OverwriteScriptFilename=None, ScriptFilename=None, SerializationType=None, ): - # type: (str, int, str, bool, bool, str, bool, bool, str, str) -> Scriptgen + # type: (str, int, str, bool, bool, bool, bool, bool, str, bool, bool, str, str) -> Scriptgen """Updates scriptgen resource on the server. Args @@ -265,8 +316,11 @@ def update( - ConnectHostname (str): The hostname to be used in the connect command - ConnectPort (number): The port number to be used in the connect command - ConnectVersion (str): The version number to be used in the connect command + - IncludeAPIKey (bool): API-Key argument will be generated as part of HLT connect call - IncludeConnect (bool): Flag to include the connect command + - IncludeSessionId (bool): Session-ID argument will be generated as part of HLT connect call - IncludeTestComposer (bool): Flag to include test composer code + - IncludeUsernamePasswd (bool): Username-password argument will be generated as part of HLT connect call - Language (str(perl | python | ruby | tcl)): Select the target scriptgen language - LinePerAttribute (bool): If true the scriptgen output will show each attribute on a separate line - OverwriteScriptFilename (bool): If true the file indicated by the script filename will be overwritten @@ -284,15 +338,18 @@ def find( ConnectHostname=None, ConnectPort=None, ConnectVersion=None, + IncludeAPIKey=None, IncludeConnect=None, + IncludeSessionId=None, IncludeTestComposer=None, + IncludeUsernamePasswd=None, Language=None, LinePerAttribute=None, OverwriteScriptFilename=None, ScriptFilename=None, SerializationType=None, ): - # type: (str, int, str, bool, bool, str, bool, bool, str, str) -> Scriptgen + # type: (str, int, str, bool, bool, bool, bool, bool, str, bool, bool, str, str) -> Scriptgen """Finds and retrieves scriptgen resources from the server. All named parameters are evaluated on the server using regex. The named parameters can be used to selectively retrieve scriptgen resources from the server. @@ -304,8 +361,11 @@ def find( - ConnectHostname (str): The hostname to be used in the connect command - ConnectPort (number): The port number to be used in the connect command - ConnectVersion (str): The version number to be used in the connect command + - IncludeAPIKey (bool): API-Key argument will be generated as part of HLT connect call - IncludeConnect (bool): Flag to include the connect command + - IncludeSessionId (bool): Session-ID argument will be generated as part of HLT connect call - IncludeTestComposer (bool): Flag to include test composer code + - IncludeUsernamePasswd (bool): Username-password argument will be generated as part of HLT connect call - Language (str(perl | python | ruby | tcl)): Select the target scriptgen language - LinePerAttribute (bool): If true the scriptgen output will show each attribute on a separate line - OverwriteScriptFilename (bool): If true the file indicated by the script filename will be overwritten diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/statistics/reportgenerator/reportgenerator.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/statistics/reportgenerator/reportgenerator.py index a32801b14..66416ac43 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/statistics/reportgenerator/reportgenerator.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/statistics/reportgenerator/reportgenerator.py @@ -39,6 +39,15 @@ class ReportGenerator(Base): "DutName": "dutName", "DutSerialNo": "dutSerialNo", "DutSwVersion": "dutSwVersion", + "IncludeCustomViews": "includeCustomViews", + "IncludePortProtocolSummary": "includePortProtocolSummary", + "IncludeProtocolStats": "includeProtocolStats", + "IncludeProtocolSummary": "includeProtocolSummary", + "IncludeTrafficBestFlows": "includeTrafficBestFlows", + "IncludeTrafficFlowStats": "includeTrafficFlowStats", + "IncludeTrafficItemStats": "includeTrafficItemStats", + "IncludeTrafficL23Summary": "includeTrafficL23Summary", + "IncludeTrafficWorstFlows": "includeTrafficWorstFlows", "IxNetworkVersion": "ixNetworkVersion", "ReportType": "reportType", "TestCategory": "testCategory", @@ -114,6 +123,141 @@ def DutSwVersion(self, value): # type: (str) -> None self._set_attribute(self._SDM_ATT_MAP["DutSwVersion"], value) + @property + def IncludeCustomViews(self): + # type: () -> bool + """ + Returns + ------- + - bool: + """ + return self._get_attribute(self._SDM_ATT_MAP["IncludeCustomViews"]) + + @IncludeCustomViews.setter + def IncludeCustomViews(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP["IncludeCustomViews"], value) + + @property + def IncludePortProtocolSummary(self): + # type: () -> bool + """ + Returns + ------- + - bool: + """ + return self._get_attribute(self._SDM_ATT_MAP["IncludePortProtocolSummary"]) + + @IncludePortProtocolSummary.setter + def IncludePortProtocolSummary(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP["IncludePortProtocolSummary"], value) + + @property + def IncludeProtocolStats(self): + # type: () -> bool + """ + Returns + ------- + - bool: + """ + return self._get_attribute(self._SDM_ATT_MAP["IncludeProtocolStats"]) + + @IncludeProtocolStats.setter + def IncludeProtocolStats(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP["IncludeProtocolStats"], value) + + @property + def IncludeProtocolSummary(self): + # type: () -> bool + """ + Returns + ------- + - bool: + """ + return self._get_attribute(self._SDM_ATT_MAP["IncludeProtocolSummary"]) + + @IncludeProtocolSummary.setter + def IncludeProtocolSummary(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP["IncludeProtocolSummary"], value) + + @property + def IncludeTrafficBestFlows(self): + # type: () -> bool + """ + Returns + ------- + - bool: + """ + return self._get_attribute(self._SDM_ATT_MAP["IncludeTrafficBestFlows"]) + + @IncludeTrafficBestFlows.setter + def IncludeTrafficBestFlows(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP["IncludeTrafficBestFlows"], value) + + @property + def IncludeTrafficFlowStats(self): + # type: () -> bool + """ + Returns + ------- + - bool: + """ + return self._get_attribute(self._SDM_ATT_MAP["IncludeTrafficFlowStats"]) + + @IncludeTrafficFlowStats.setter + def IncludeTrafficFlowStats(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP["IncludeTrafficFlowStats"], value) + + @property + def IncludeTrafficItemStats(self): + # type: () -> bool + """ + Returns + ------- + - bool: + """ + return self._get_attribute(self._SDM_ATT_MAP["IncludeTrafficItemStats"]) + + @IncludeTrafficItemStats.setter + def IncludeTrafficItemStats(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP["IncludeTrafficItemStats"], value) + + @property + def IncludeTrafficL23Summary(self): + # type: () -> bool + """ + Returns + ------- + - bool: + """ + return self._get_attribute(self._SDM_ATT_MAP["IncludeTrafficL23Summary"]) + + @IncludeTrafficL23Summary.setter + def IncludeTrafficL23Summary(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP["IncludeTrafficL23Summary"], value) + + @property + def IncludeTrafficWorstFlows(self): + # type: () -> bool + """ + Returns + ------- + - bool: + """ + return self._get_attribute(self._SDM_ATT_MAP["IncludeTrafficWorstFlows"]) + + @IncludeTrafficWorstFlows.setter + def IncludeTrafficWorstFlows(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP["IncludeTrafficWorstFlows"], value) + @property def IxNetworkVersion(self): # type: () -> str @@ -220,6 +364,15 @@ def update( DutName=None, DutSerialNo=None, DutSwVersion=None, + IncludeCustomViews=None, + IncludePortProtocolSummary=None, + IncludeProtocolStats=None, + IncludeProtocolSummary=None, + IncludeTrafficBestFlows=None, + IncludeTrafficFlowStats=None, + IncludeTrafficItemStats=None, + IncludeTrafficL23Summary=None, + IncludeTrafficWorstFlows=None, ReportType=None, TestCategory=None, TestHighlights=None, @@ -227,7 +380,7 @@ def update( TestObjectives=None, TesterName=None, ): - # type: (str, str, str, str, str, str, str, str, str, str) -> ReportGenerator + # type: (str, str, str, str, bool, bool, bool, bool, bool, bool, bool, bool, bool, str, str, str, str, str, str) -> ReportGenerator """Updates reportGenerator resource on the server. Args @@ -236,6 +389,15 @@ def update( - DutName (str): - DutSerialNo (str): - DutSwVersion (str): + - IncludeCustomViews (bool): + - IncludePortProtocolSummary (bool): + - IncludeProtocolStats (bool): + - IncludeProtocolSummary (bool): + - IncludeTrafficBestFlows (bool): + - IncludeTrafficFlowStats (bool): + - IncludeTrafficItemStats (bool): + - IncludeTrafficL23Summary (bool): + - IncludeTrafficWorstFlows (bool): - ReportType (str(kNGPF | kNone | kTraffic | kTrafficAndNGPF)): - TestCategory (str): - TestHighlights (str): @@ -255,6 +417,15 @@ def find( DutName=None, DutSerialNo=None, DutSwVersion=None, + IncludeCustomViews=None, + IncludePortProtocolSummary=None, + IncludeProtocolStats=None, + IncludeProtocolSummary=None, + IncludeTrafficBestFlows=None, + IncludeTrafficFlowStats=None, + IncludeTrafficItemStats=None, + IncludeTrafficL23Summary=None, + IncludeTrafficWorstFlows=None, IxNetworkVersion=None, ReportType=None, TestCategory=None, @@ -263,7 +434,7 @@ def find( TestObjectives=None, TesterName=None, ): - # type: (str, str, str, str, str, str, str, str, str, str, str) -> ReportGenerator + # type: (str, str, str, str, bool, bool, bool, bool, bool, bool, bool, bool, bool, str, str, str, str, str, str, str) -> ReportGenerator """Finds and retrieves reportGenerator resources from the server. All named parameters are evaluated on the server using regex. The named parameters can be used to selectively retrieve reportGenerator resources from the server. @@ -276,6 +447,15 @@ def find( - DutName (str): - DutSerialNo (str): - DutSwVersion (str): + - IncludeCustomViews (bool): + - IncludePortProtocolSummary (bool): + - IncludeProtocolStats (bool): + - IncludeProtocolSummary (bool): + - IncludeTrafficBestFlows (bool): + - IncludeTrafficFlowStats (bool): + - IncludeTrafficItemStats (bool): + - IncludeTrafficL23Summary (bool): + - IncludeTrafficWorstFlows (bool): - IxNetworkVersion (str): - ReportType (str(kNGPF | kNone | kTraffic | kTrafficAndNGPF)): - TestCategory (str): diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/statistics/statfilter/portstatistics/portstatistics.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/statistics/statfilter/portstatistics/portstatistics.py index d2afa546a..acf843d6f 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/statistics/statfilter/portstatistics/portstatistics.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/statistics/statfilter/portstatistics/portstatistics.py @@ -163,6 +163,10 @@ class PortStatistics(Base): "EncryptedByteTx": "encryptedByteTx", "EncryptedPacketRx": "encryptedPacketRx", "EncryptedPacketTx": "encryptedPacketTx", + "EofBigErrorFrameCount": "eofBigErrorFrameCount", + "EofLateFrameCount": "eofLateFrameCount", + "EofLateMaximumByteCount": "eofLateMaximumByteCount", + "EofLateMinimumByteCount": "eofLateMinimumByteCount", "ErrorFreeSeconds": "errorFreeSeconds", "ErroredBlocks": "erroredBlocks", "ErroredBlocksRate": "erroredBlocksRate", @@ -266,6 +270,12 @@ class PortStatistics(Base): "FramesTxRate": "framesTxRate", "FreeMemory": "freeMemory", "FrontendChipTemperatureC": "frontendChipTemperatureC", + "HostConfigStatus": "hostConfigStatus", + "HostDataPathState": "hostDataPathState", + "HostLaneCount": "hostLaneCount", + "HostToMediaLane": "hostToMediaLane", + "HostTxCDRLOL": "hostTxCDRLOL", + "HostTxLOS": "hostTxLOS", "IdleCellsRx": "idleCellsRx", "IdleCellsRxRate": "idleCellsRxRate", "InputSignalStrengthdBm": "inputSignalStrengthdBm", @@ -280,6 +290,7 @@ class PortStatistics(Base): "Ipv4ChecksumErrorsRate": "ipv4ChecksumErrorsRate", "Ipv4PacketsReceived": "ipv4PacketsReceived", "Ipv4PacketsReceivedRate": "ipv4PacketsReceivedRate", + "KernelTimestamp": "kernelTimestamp", "L1BitsReceived": "l1BitsReceived", "L1BitsReceivedRate": "l1BitsReceivedRate", "L1BitsSent": "l1BitsSent", @@ -313,6 +324,12 @@ class PortStatistics(Base): "LocalOrderedSetsSent": "localOrderedSetsSent", "LocalOrderedSetsSentRate": "localOrderedSetsSentRate", "MaxServiceDisruptionTimems": "maxServiceDisruptionTimems", + "MediaLaneCount": "mediaLaneCount", + "MediaRxCDRLOL": "mediaRxCDRLOL", + "MediaRxLOS": "mediaRxLOS", + "MediaRxOpticalPower": "mediaRxOpticalPower", + "MediaTxBiasCurrent": "mediaTxBiasCurrent", + "MediaTxOpticalPower": "mediaTxOpticalPower", "MinServiceDisruptionTimems": "minServiceDisruptionTimems", "MisdirectedPacketCount": "misdirectedPacketCount", "MisdirectedPacketCountRate": "misdirectedPacketCountRate", @@ -530,6 +547,11 @@ class PortStatistics(Base): "RxInvalidICVPacketforBroadcastRate": "rxInvalidICVPacketforBroadcastRate", "RxInvalidICVPacketforMulticastRate": "rxInvalidICVPacketforMulticastRate", "RxNonMACsecPacketCountRate": "rxNonMACsecPacketCountRate", + "RxOpticalPowerHighAlarm": "rxOpticalPowerHighAlarm", + "RxOpticalPowerHighWarn": "rxOpticalPowerHighWarn", + "RxOpticalPowerLimitFlag": "rxOpticalPowerLimitFlag", + "RxOpticalPowerLowAlarm": "rxOpticalPowerLowAlarm", + "RxOpticalPowerLowWarn": "rxOpticalPowerLowWarn", "RxOutofWindowPacketorOutofWindowDiscardedPacketforBroadcastRate": "rxOutofWindowPacketorOutofWindowDiscardedPacketforBroadcastRate", "RxOutofWindowPacketorOutofWindowDiscardedPacketforMulticastRate": "rxOutofWindowPacketorOutofWindowDiscardedPacketforMulticastRate", "RxPausePriorityGroup0Frames": "rxPausePriorityGroup0Frames", @@ -580,6 +602,10 @@ class PortStatistics(Base): "SequenceFrames": "sequenceFrames", "SequenceFramesRate": "sequenceFramesRate", "SeverelyErroredSeconds": "severelyErroredSeconds", + "SofBigErrorFrameCount": "sofBigErrorFrameCount", + "SofEarlyFrameCount": "sofEarlyFrameCount", + "SofEarlyMaximumByteCount": "sofEarlyMaximumByteCount", + "SofEarlyMinimumByteCount": "sofEarlyMinimumByteCount", "StatelessBitsReceived": "statelessBitsReceived", "StatelessBitsSent": "statelessBitsSent", "StatelessBytesReceived": "statelessBytesReceived", @@ -597,10 +623,20 @@ class PortStatistics(Base): "StatelessTxRateMbps": "statelessTxRateMbps", "StatelessTxRatebps": "statelessTxRatebps", "Status": "status", + "SupplyVoltageHighAlarm": "supplyVoltageHighAlarm", + "SupplyVoltageHighWarn": "supplyVoltageHighWarn", + "SupplyVoltageLimitFlag": "supplyVoltageLimitFlag", + "SupplyVoltageLowAlarm": "supplyVoltageLowAlarm", + "SupplyVoltageLowWarn": "supplyVoltageLowWarn", "TcpChecksumErrors": "tcpChecksumErrors", "TcpChecksumErrorsRate": "tcpChecksumErrorsRate", "TcpPacketsReceived": "tcpPacketsReceived", "TcpPacketsReceivedRate": "tcpPacketsReceivedRate", + "TemperatureHighAlarm": "temperatureHighAlarm", + "TemperatureHighWarn": "temperatureHighWarn", + "TemperatureLimitFlag": "temperatureLimitFlag", + "TemperatureLowAlarm": "temperatureLowAlarm", + "TemperatureLowWarn": "temperatureLowWarn", "TotalMemory": "totalMemory", "TransceiverTemperatureC": "transceiverTemperatureC", "TransmitArpGratuitous": "transmitArpGratuitous", @@ -615,10 +651,20 @@ class PortStatistics(Base): "TransmitPingReply": "transmitPingReply", "TransmitPingRequest": "transmitPingRequest", "Tx0FpgaTemperatureC": "tx0FpgaTemperatureC", + "TxBiasCurrentHighAlarm": "txBiasCurrentHighAlarm", + "TxBiasCurrentHighWarn": "txBiasCurrentHighWarn", + "TxBiasCurrentLimitFlag": "txBiasCurrentLimitFlag", + "TxBiasCurrentLowAlarm": "txBiasCurrentLowAlarm", + "TxBiasCurrentLowWarn": "txBiasCurrentLowWarn", "TxEncryptedByteCountRate": "txEncryptedByteCountRate", "TxEncryptedPacketCountRate": "txEncryptedPacketCountRate", "TxFpgaTemperatureC": "txFpgaTemperatureC", "TxNonMACsecPacketCountRate": "txNonMACsecPacketCountRate", + "TxOpticalPowerHighAlarm": "txOpticalPowerHighAlarm", + "TxOpticalPowerHighWarn": "txOpticalPowerHighWarn", + "TxOpticalPowerLimitFlag": "txOpticalPowerLimitFlag", + "TxOpticalPowerLowAlarm": "txOpticalPowerLowAlarm", + "TxOpticalPowerLowWarn": "txOpticalPowerLowWarn", "TxProtectedByteCountRate": "txProtectedByteCountRate", "TxProtectedPacketCountRate": "txProtectedPacketCountRate", "TxRateKbps": "txRateKbps", @@ -656,6 +702,9 @@ class PortStatistics(Base): "ValidStatelessFramesReceivedRate": "validStatelessFramesReceivedRate", "VlanTaggedFrames": "vlanTaggedFrames", "VlanTaggedFramesRate": "vlanTaggedFramesRate", + "WindowClosedFrameCount": "windowClosedFrameCount", + "WindowValidFrameCount": "windowValidFrameCount", + "WindowViolationFrameCount": "windowViolationFrameCount", } _SDM_ENUM_MAP = {} @@ -2594,6 +2643,66 @@ def EncryptedPacketTx(self, value): # type: (bool) -> None self._set_attribute(self._SDM_ATT_MAP["EncryptedPacketTx"], value) + @property + def EofBigErrorFrameCount(self): + # type: () -> bool + """ + Returns + ------- + - bool: EOF Big Error Frame Count + """ + return self._get_attribute(self._SDM_ATT_MAP["EofBigErrorFrameCount"]) + + @EofBigErrorFrameCount.setter + def EofBigErrorFrameCount(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP["EofBigErrorFrameCount"], value) + + @property + def EofLateFrameCount(self): + # type: () -> bool + """ + Returns + ------- + - bool: EOF Late Frame Count + """ + return self._get_attribute(self._SDM_ATT_MAP["EofLateFrameCount"]) + + @EofLateFrameCount.setter + def EofLateFrameCount(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP["EofLateFrameCount"], value) + + @property + def EofLateMaximumByteCount(self): + # type: () -> bool + """ + Returns + ------- + - bool: EOF Late Maximum Byte Count + """ + return self._get_attribute(self._SDM_ATT_MAP["EofLateMaximumByteCount"]) + + @EofLateMaximumByteCount.setter + def EofLateMaximumByteCount(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP["EofLateMaximumByteCount"], value) + + @property + def EofLateMinimumByteCount(self): + # type: () -> bool + """ + Returns + ------- + - bool: EOF Late Minimum Byte Count + """ + return self._get_attribute(self._SDM_ATT_MAP["EofLateMinimumByteCount"]) + + @EofLateMinimumByteCount.setter + def EofLateMinimumByteCount(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP["EofLateMinimumByteCount"], value) + @property def ErrorFreeSeconds(self): # type: () -> bool @@ -4187,6 +4296,96 @@ def FrontendChipTemperatureC(self, value): # type: (bool) -> None self._set_attribute(self._SDM_ATT_MAP["FrontendChipTemperatureC"], value) + @property + def HostConfigStatus(self): + # type: () -> bool + """ + Returns + ------- + - bool: Host Config Status + """ + return self._get_attribute(self._SDM_ATT_MAP["HostConfigStatus"]) + + @HostConfigStatus.setter + def HostConfigStatus(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP["HostConfigStatus"], value) + + @property + def HostDataPathState(self): + # type: () -> bool + """ + Returns + ------- + - bool: Host Data Path State + """ + return self._get_attribute(self._SDM_ATT_MAP["HostDataPathState"]) + + @HostDataPathState.setter + def HostDataPathState(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP["HostDataPathState"], value) + + @property + def HostLaneCount(self): + # type: () -> bool + """ + Returns + ------- + - bool: Host Lane Count + """ + return self._get_attribute(self._SDM_ATT_MAP["HostLaneCount"]) + + @HostLaneCount.setter + def HostLaneCount(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP["HostLaneCount"], value) + + @property + def HostToMediaLane(self): + # type: () -> bool + """ + Returns + ------- + - bool: Host To Media Lane + """ + return self._get_attribute(self._SDM_ATT_MAP["HostToMediaLane"]) + + @HostToMediaLane.setter + def HostToMediaLane(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP["HostToMediaLane"], value) + + @property + def HostTxCDRLOL(self): + # type: () -> bool + """ + Returns + ------- + - bool: Host Tx CDR LOL + """ + return self._get_attribute(self._SDM_ATT_MAP["HostTxCDRLOL"]) + + @HostTxCDRLOL.setter + def HostTxCDRLOL(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP["HostTxCDRLOL"], value) + + @property + def HostTxLOS(self): + # type: () -> bool + """ + Returns + ------- + - bool: Host Tx LOS + """ + return self._get_attribute(self._SDM_ATT_MAP["HostTxLOS"]) + + @HostTxLOS.setter + def HostTxLOS(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP["HostTxLOS"], value) + @property def IdleCellsRx(self): # type: () -> bool @@ -4397,6 +4596,21 @@ def Ipv4PacketsReceivedRate(self, value): # type: (bool) -> None self._set_attribute(self._SDM_ATT_MAP["Ipv4PacketsReceivedRate"], value) + @property + def KernelTimestamp(self): + # type: () -> bool + """ + Returns + ------- + - bool: Kernel Timestamp + """ + return self._get_attribute(self._SDM_ATT_MAP["KernelTimestamp"]) + + @KernelTimestamp.setter + def KernelTimestamp(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP["KernelTimestamp"], value) + @property def L1BitsReceived(self): # type: () -> bool @@ -4892,6 +5106,96 @@ def MaxServiceDisruptionTimems(self, value): # type: (bool) -> None self._set_attribute(self._SDM_ATT_MAP["MaxServiceDisruptionTimems"], value) + @property + def MediaLaneCount(self): + # type: () -> bool + """ + Returns + ------- + - bool: Media Lane Count + """ + return self._get_attribute(self._SDM_ATT_MAP["MediaLaneCount"]) + + @MediaLaneCount.setter + def MediaLaneCount(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP["MediaLaneCount"], value) + + @property + def MediaRxCDRLOL(self): + # type: () -> bool + """ + Returns + ------- + - bool: Media Rx CDR LOL + """ + return self._get_attribute(self._SDM_ATT_MAP["MediaRxCDRLOL"]) + + @MediaRxCDRLOL.setter + def MediaRxCDRLOL(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP["MediaRxCDRLOL"], value) + + @property + def MediaRxLOS(self): + # type: () -> bool + """ + Returns + ------- + - bool: Media Rx LOS + """ + return self._get_attribute(self._SDM_ATT_MAP["MediaRxLOS"]) + + @MediaRxLOS.setter + def MediaRxLOS(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP["MediaRxLOS"], value) + + @property + def MediaRxOpticalPower(self): + # type: () -> bool + """ + Returns + ------- + - bool: Media Rx Optical Power + """ + return self._get_attribute(self._SDM_ATT_MAP["MediaRxOpticalPower"]) + + @MediaRxOpticalPower.setter + def MediaRxOpticalPower(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP["MediaRxOpticalPower"], value) + + @property + def MediaTxBiasCurrent(self): + # type: () -> bool + """ + Returns + ------- + - bool: Media Tx Bias Current + """ + return self._get_attribute(self._SDM_ATT_MAP["MediaTxBiasCurrent"]) + + @MediaTxBiasCurrent.setter + def MediaTxBiasCurrent(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP["MediaTxBiasCurrent"], value) + + @property + def MediaTxOpticalPower(self): + # type: () -> bool + """ + Returns + ------- + - bool: Media Tx Optical Power + """ + return self._get_attribute(self._SDM_ATT_MAP["MediaTxOpticalPower"]) + + @MediaTxOpticalPower.setter + def MediaTxOpticalPower(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP["MediaTxOpticalPower"], value) + @property def MinServiceDisruptionTimems(self): # type: () -> bool @@ -8249,6 +8553,81 @@ def RxNonMACsecPacketCountRate(self, value): # type: (bool) -> None self._set_attribute(self._SDM_ATT_MAP["RxNonMACsecPacketCountRate"], value) + @property + def RxOpticalPowerHighAlarm(self): + # type: () -> bool + """ + Returns + ------- + - bool: Rx Optical Power High Alarm + """ + return self._get_attribute(self._SDM_ATT_MAP["RxOpticalPowerHighAlarm"]) + + @RxOpticalPowerHighAlarm.setter + def RxOpticalPowerHighAlarm(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP["RxOpticalPowerHighAlarm"], value) + + @property + def RxOpticalPowerHighWarn(self): + # type: () -> bool + """ + Returns + ------- + - bool: Rx Optical Power High Warn + """ + return self._get_attribute(self._SDM_ATT_MAP["RxOpticalPowerHighWarn"]) + + @RxOpticalPowerHighWarn.setter + def RxOpticalPowerHighWarn(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP["RxOpticalPowerHighWarn"], value) + + @property + def RxOpticalPowerLimitFlag(self): + # type: () -> bool + """ + Returns + ------- + - bool: Rx Optical Power Limit Flag + """ + return self._get_attribute(self._SDM_ATT_MAP["RxOpticalPowerLimitFlag"]) + + @RxOpticalPowerLimitFlag.setter + def RxOpticalPowerLimitFlag(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP["RxOpticalPowerLimitFlag"], value) + + @property + def RxOpticalPowerLowAlarm(self): + # type: () -> bool + """ + Returns + ------- + - bool: Rx Optical Power Low Alarm + """ + return self._get_attribute(self._SDM_ATT_MAP["RxOpticalPowerLowAlarm"]) + + @RxOpticalPowerLowAlarm.setter + def RxOpticalPowerLowAlarm(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP["RxOpticalPowerLowAlarm"], value) + + @property + def RxOpticalPowerLowWarn(self): + # type: () -> bool + """ + Returns + ------- + - bool: Rx Optical Power Low Warn + """ + return self._get_attribute(self._SDM_ATT_MAP["RxOpticalPowerLowWarn"]) + + @RxOpticalPowerLowWarn.setter + def RxOpticalPowerLowWarn(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP["RxOpticalPowerLowWarn"], value) + @property def RxOutofWindowPacketorOutofWindowDiscardedPacketforBroadcastRate(self): # type: () -> bool @@ -9034,6 +9413,66 @@ def SeverelyErroredSeconds(self, value): # type: (bool) -> None self._set_attribute(self._SDM_ATT_MAP["SeverelyErroredSeconds"], value) + @property + def SofBigErrorFrameCount(self): + # type: () -> bool + """ + Returns + ------- + - bool: SOF Big Error Frame Count + """ + return self._get_attribute(self._SDM_ATT_MAP["SofBigErrorFrameCount"]) + + @SofBigErrorFrameCount.setter + def SofBigErrorFrameCount(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP["SofBigErrorFrameCount"], value) + + @property + def SofEarlyFrameCount(self): + # type: () -> bool + """ + Returns + ------- + - bool: SOF Early Frame Count + """ + return self._get_attribute(self._SDM_ATT_MAP["SofEarlyFrameCount"]) + + @SofEarlyFrameCount.setter + def SofEarlyFrameCount(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP["SofEarlyFrameCount"], value) + + @property + def SofEarlyMaximumByteCount(self): + # type: () -> bool + """ + Returns + ------- + - bool: SOF Early Maximum Byte Count + """ + return self._get_attribute(self._SDM_ATT_MAP["SofEarlyMaximumByteCount"]) + + @SofEarlyMaximumByteCount.setter + def SofEarlyMaximumByteCount(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP["SofEarlyMaximumByteCount"], value) + + @property + def SofEarlyMinimumByteCount(self): + # type: () -> bool + """ + Returns + ------- + - bool: SOF Early Minimum Byte Count + """ + return self._get_attribute(self._SDM_ATT_MAP["SofEarlyMinimumByteCount"]) + + @SofEarlyMinimumByteCount.setter + def SofEarlyMinimumByteCount(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP["SofEarlyMinimumByteCount"], value) + @property def StatelessBitsReceived(self): # type: () -> bool @@ -9289,6 +9728,81 @@ def Status(self, value): # type: (bool) -> None self._set_attribute(self._SDM_ATT_MAP["Status"], value) + @property + def SupplyVoltageHighAlarm(self): + # type: () -> bool + """ + Returns + ------- + - bool: Supply Voltage High Alarm + """ + return self._get_attribute(self._SDM_ATT_MAP["SupplyVoltageHighAlarm"]) + + @SupplyVoltageHighAlarm.setter + def SupplyVoltageHighAlarm(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP["SupplyVoltageHighAlarm"], value) + + @property + def SupplyVoltageHighWarn(self): + # type: () -> bool + """ + Returns + ------- + - bool: Supply Voltage High Warn + """ + return self._get_attribute(self._SDM_ATT_MAP["SupplyVoltageHighWarn"]) + + @SupplyVoltageHighWarn.setter + def SupplyVoltageHighWarn(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP["SupplyVoltageHighWarn"], value) + + @property + def SupplyVoltageLimitFlag(self): + # type: () -> bool + """ + Returns + ------- + - bool: Supply Voltage Limit Flag + """ + return self._get_attribute(self._SDM_ATT_MAP["SupplyVoltageLimitFlag"]) + + @SupplyVoltageLimitFlag.setter + def SupplyVoltageLimitFlag(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP["SupplyVoltageLimitFlag"], value) + + @property + def SupplyVoltageLowAlarm(self): + # type: () -> bool + """ + Returns + ------- + - bool: Supply Voltage Low Alarm + """ + return self._get_attribute(self._SDM_ATT_MAP["SupplyVoltageLowAlarm"]) + + @SupplyVoltageLowAlarm.setter + def SupplyVoltageLowAlarm(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP["SupplyVoltageLowAlarm"], value) + + @property + def SupplyVoltageLowWarn(self): + # type: () -> bool + """ + Returns + ------- + - bool: Supply Voltage Low Warn + """ + return self._get_attribute(self._SDM_ATT_MAP["SupplyVoltageLowWarn"]) + + @SupplyVoltageLowWarn.setter + def SupplyVoltageLowWarn(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP["SupplyVoltageLowWarn"], value) + @property def TcpChecksumErrors(self): # type: () -> bool @@ -9349,6 +9863,81 @@ def TcpPacketsReceivedRate(self, value): # type: (bool) -> None self._set_attribute(self._SDM_ATT_MAP["TcpPacketsReceivedRate"], value) + @property + def TemperatureHighAlarm(self): + # type: () -> bool + """ + Returns + ------- + - bool: Temperature High Alarm + """ + return self._get_attribute(self._SDM_ATT_MAP["TemperatureHighAlarm"]) + + @TemperatureHighAlarm.setter + def TemperatureHighAlarm(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP["TemperatureHighAlarm"], value) + + @property + def TemperatureHighWarn(self): + # type: () -> bool + """ + Returns + ------- + - bool: Temperature High Warn + """ + return self._get_attribute(self._SDM_ATT_MAP["TemperatureHighWarn"]) + + @TemperatureHighWarn.setter + def TemperatureHighWarn(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP["TemperatureHighWarn"], value) + + @property + def TemperatureLimitFlag(self): + # type: () -> bool + """ + Returns + ------- + - bool: Temperature Limit Flag + """ + return self._get_attribute(self._SDM_ATT_MAP["TemperatureLimitFlag"]) + + @TemperatureLimitFlag.setter + def TemperatureLimitFlag(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP["TemperatureLimitFlag"], value) + + @property + def TemperatureLowAlarm(self): + # type: () -> bool + """ + Returns + ------- + - bool: Temperature Low Alarm + """ + return self._get_attribute(self._SDM_ATT_MAP["TemperatureLowAlarm"]) + + @TemperatureLowAlarm.setter + def TemperatureLowAlarm(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP["TemperatureLowAlarm"], value) + + @property + def TemperatureLowWarn(self): + # type: () -> bool + """ + Returns + ------- + - bool: Temperature Low Warn + """ + return self._get_attribute(self._SDM_ATT_MAP["TemperatureLowWarn"]) + + @TemperatureLowWarn.setter + def TemperatureLowWarn(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP["TemperatureLowWarn"], value) + @property def TotalMemory(self): # type: () -> bool @@ -9563,6 +10152,81 @@ def Tx0FpgaTemperatureC(self, value): # type: (bool) -> None self._set_attribute(self._SDM_ATT_MAP["Tx0FpgaTemperatureC"], value) + @property + def TxBiasCurrentHighAlarm(self): + # type: () -> bool + """ + Returns + ------- + - bool: Tx Bias Current High Alarm + """ + return self._get_attribute(self._SDM_ATT_MAP["TxBiasCurrentHighAlarm"]) + + @TxBiasCurrentHighAlarm.setter + def TxBiasCurrentHighAlarm(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP["TxBiasCurrentHighAlarm"], value) + + @property + def TxBiasCurrentHighWarn(self): + # type: () -> bool + """ + Returns + ------- + - bool: Tx Bias Current High Warn + """ + return self._get_attribute(self._SDM_ATT_MAP["TxBiasCurrentHighWarn"]) + + @TxBiasCurrentHighWarn.setter + def TxBiasCurrentHighWarn(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP["TxBiasCurrentHighWarn"], value) + + @property + def TxBiasCurrentLimitFlag(self): + # type: () -> bool + """ + Returns + ------- + - bool: Tx Bias Current Limit Flag + """ + return self._get_attribute(self._SDM_ATT_MAP["TxBiasCurrentLimitFlag"]) + + @TxBiasCurrentLimitFlag.setter + def TxBiasCurrentLimitFlag(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP["TxBiasCurrentLimitFlag"], value) + + @property + def TxBiasCurrentLowAlarm(self): + # type: () -> bool + """ + Returns + ------- + - bool: Tx Bias Current Low Alarm + """ + return self._get_attribute(self._SDM_ATT_MAP["TxBiasCurrentLowAlarm"]) + + @TxBiasCurrentLowAlarm.setter + def TxBiasCurrentLowAlarm(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP["TxBiasCurrentLowAlarm"], value) + + @property + def TxBiasCurrentLowWarn(self): + # type: () -> bool + """ + Returns + ------- + - bool: Tx Bias Current Low Warn + """ + return self._get_attribute(self._SDM_ATT_MAP["TxBiasCurrentLowWarn"]) + + @TxBiasCurrentLowWarn.setter + def TxBiasCurrentLowWarn(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP["TxBiasCurrentLowWarn"], value) + @property def TxEncryptedByteCountRate(self): # type: () -> bool @@ -9623,6 +10287,81 @@ def TxNonMACsecPacketCountRate(self, value): # type: (bool) -> None self._set_attribute(self._SDM_ATT_MAP["TxNonMACsecPacketCountRate"], value) + @property + def TxOpticalPowerHighAlarm(self): + # type: () -> bool + """ + Returns + ------- + - bool: Tx Optical Power High Alarm + """ + return self._get_attribute(self._SDM_ATT_MAP["TxOpticalPowerHighAlarm"]) + + @TxOpticalPowerHighAlarm.setter + def TxOpticalPowerHighAlarm(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP["TxOpticalPowerHighAlarm"], value) + + @property + def TxOpticalPowerHighWarn(self): + # type: () -> bool + """ + Returns + ------- + - bool: Tx Optical Power High Warn + """ + return self._get_attribute(self._SDM_ATT_MAP["TxOpticalPowerHighWarn"]) + + @TxOpticalPowerHighWarn.setter + def TxOpticalPowerHighWarn(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP["TxOpticalPowerHighWarn"], value) + + @property + def TxOpticalPowerLimitFlag(self): + # type: () -> bool + """ + Returns + ------- + - bool: Tx Optical Power Limit Flag + """ + return self._get_attribute(self._SDM_ATT_MAP["TxOpticalPowerLimitFlag"]) + + @TxOpticalPowerLimitFlag.setter + def TxOpticalPowerLimitFlag(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP["TxOpticalPowerLimitFlag"], value) + + @property + def TxOpticalPowerLowAlarm(self): + # type: () -> bool + """ + Returns + ------- + - bool: Tx Optical Power Low Alarm + """ + return self._get_attribute(self._SDM_ATT_MAP["TxOpticalPowerLowAlarm"]) + + @TxOpticalPowerLowAlarm.setter + def TxOpticalPowerLowAlarm(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP["TxOpticalPowerLowAlarm"], value) + + @property + def TxOpticalPowerLowWarn(self): + # type: () -> bool + """ + Returns + ------- + - bool: Tx Optical Power Low Warn + """ + return self._get_attribute(self._SDM_ATT_MAP["TxOpticalPowerLowWarn"]) + + @TxOpticalPowerLowWarn.setter + def TxOpticalPowerLowWarn(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP["TxOpticalPowerLowWarn"], value) + @property def TxProtectedByteCountRate(self): # type: () -> bool @@ -10182,8 +10921,53 @@ def VlanTaggedFramesRate(self, value): # type: (bool) -> None self._set_attribute(self._SDM_ATT_MAP["VlanTaggedFramesRate"], value) + @property + def WindowClosedFrameCount(self): + # type: () -> bool + """ + Returns + ------- + - bool: Window Closed Frame Count + """ + return self._get_attribute(self._SDM_ATT_MAP["WindowClosedFrameCount"]) + + @WindowClosedFrameCount.setter + def WindowClosedFrameCount(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP["WindowClosedFrameCount"], value) + + @property + def WindowValidFrameCount(self): + # type: () -> bool + """ + Returns + ------- + - bool: Window Valid Frame Count + """ + return self._get_attribute(self._SDM_ATT_MAP["WindowValidFrameCount"]) + + @WindowValidFrameCount.setter + def WindowValidFrameCount(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP["WindowValidFrameCount"], value) + + @property + def WindowViolationFrameCount(self): + # type: () -> bool + """ + Returns + ------- + - bool: Window Violation Frame Count + """ + return self._get_attribute(self._SDM_ATT_MAP["WindowViolationFrameCount"]) + + @WindowViolationFrameCount.setter + def WindowViolationFrameCount(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP["WindowViolationFrameCount"], value) + def update(self, **kwargs): - # type: (bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool) -> PortStatistics + # type: (bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool) -> PortStatistics """Updates portStatistics resource on the server. Args @@ -10316,6 +11100,10 @@ def update(self, **kwargs): - EncryptedByteTx (bool): Encrypted Byte Tx - EncryptedPacketRx (bool): Encrypted Packet Rx - EncryptedPacketTx (bool): Encrypted Packet Tx + - EofBigErrorFrameCount (bool): EOF Big Error Frame Count + - EofLateFrameCount (bool): EOF Late Frame Count + - EofLateMaximumByteCount (bool): EOF Late Maximum Byte Count + - EofLateMinimumByteCount (bool): EOF Late Minimum Byte Count - ErrorFreeSeconds (bool): Error Free Seconds - ErroredBlocks (bool): Errored Blocks - ErroredBlocksRate (bool): Errored Blocks Rate @@ -10419,6 +11207,12 @@ def update(self, **kwargs): - FramesTxRate (bool): Frames Tx. Rate - FreeMemory (bool): Free Memory - FrontendChipTemperatureC (bool): FrontEnd Chip Temperature(C) + - HostConfigStatus (bool): Host Config Status + - HostDataPathState (bool): Host Data Path State + - HostLaneCount (bool): Host Lane Count + - HostToMediaLane (bool): Host To Media Lane + - HostTxCDRLOL (bool): Host Tx CDR LOL + - HostTxLOS (bool): Host Tx LOS - IdleCellsRx (bool): Idle Cells Rx. - IdleCellsRxRate (bool): Idle Cells Rx. Rate - InputSignalStrengthdBm (bool): Input Signal Strength (dBm) @@ -10433,6 +11227,7 @@ def update(self, **kwargs): - Ipv4ChecksumErrorsRate (bool): IPv4 Checksum Errors Rate - Ipv4PacketsReceived (bool): IPv4 Packets Received - Ipv4PacketsReceivedRate (bool): IPv4 Packets Received Rate + - KernelTimestamp (bool): Kernel Timestamp - L1BitsReceived (bool): L1 Bits Received - L1BitsReceivedRate (bool): L1 Bits Received Rate - L1BitsSent (bool): L1 Bits Sent @@ -10466,6 +11261,12 @@ def update(self, **kwargs): - LocalOrderedSetsSent (bool): Local Ordered Sets Sent - LocalOrderedSetsSentRate (bool): Local Ordered Sets Sent Rate - MaxServiceDisruptionTimems (bool): Max Service Disruption Time (ms) + - MediaLaneCount (bool): Media Lane Count + - MediaRxCDRLOL (bool): Media Rx CDR LOL + - MediaRxLOS (bool): Media Rx LOS + - MediaRxOpticalPower (bool): Media Rx Optical Power + - MediaTxBiasCurrent (bool): Media Tx Bias Current + - MediaTxOpticalPower (bool): Media Tx Optical Power - MinServiceDisruptionTimems (bool): Min Service Disruption Time (ms) - MisdirectedPacketCount (bool): Misdirected Packet Count - MisdirectedPacketCountRate (bool): Misdirected Packet Count Rate @@ -10683,6 +11484,11 @@ def update(self, **kwargs): - RxInvalidICVPacketforBroadcastRate (bool): Rx Invalid ICV Packet for Broadcast Rate - RxInvalidICVPacketforMulticastRate (bool): Rx Invalid ICV Packet for Multicast Rate - RxNonMACsecPacketCountRate (bool): Rx NonMACsec Packet Count Rate + - RxOpticalPowerHighAlarm (bool): Rx Optical Power High Alarm + - RxOpticalPowerHighWarn (bool): Rx Optical Power High Warn + - RxOpticalPowerLimitFlag (bool): Rx Optical Power Limit Flag + - RxOpticalPowerLowAlarm (bool): Rx Optical Power Low Alarm + - RxOpticalPowerLowWarn (bool): Rx Optical Power Low Warn - RxOutofWindowPacketorOutofWindowDiscardedPacketforBroadcastRate (bool): Rx Out of Window Packet or Out of Window Discarded Packet for Broadcast Rate - RxOutofWindowPacketorOutofWindowDiscardedPacketforMulticastRate (bool): Rx Out of Window Packet or Out of Window Discarded Packet for Multicast Rate - RxPausePriorityGroup0Frames (bool): Rx Pause Priority Group 0 Frames @@ -10733,6 +11539,10 @@ def update(self, **kwargs): - SequenceFrames (bool): Sequence Frames - SequenceFramesRate (bool): Sequence Frames Rate - SeverelyErroredSeconds (bool): Severely Errored Seconds + - SofBigErrorFrameCount (bool): SOF Big Error Frame Count + - SofEarlyFrameCount (bool): SOF Early Frame Count + - SofEarlyMaximumByteCount (bool): SOF Early Maximum Byte Count + - SofEarlyMinimumByteCount (bool): SOF Early Minimum Byte Count - StatelessBitsReceived (bool): Stateless Bits Received - StatelessBitsSent (bool): Stateless Bits Sent - StatelessBytesReceived (bool): Stateless Bytes Received @@ -10750,10 +11560,20 @@ def update(self, **kwargs): - StatelessTxRateMbps (bool): Stateless Tx. Rate (Mbps) - StatelessTxRatebps (bool): Stateless Tx. Rate (bps) - Status (bool): Status + - SupplyVoltageHighAlarm (bool): Supply Voltage High Alarm + - SupplyVoltageHighWarn (bool): Supply Voltage High Warn + - SupplyVoltageLimitFlag (bool): Supply Voltage Limit Flag + - SupplyVoltageLowAlarm (bool): Supply Voltage Low Alarm + - SupplyVoltageLowWarn (bool): Supply Voltage Low Warn - TcpChecksumErrors (bool): TCP Checksum Errors - TcpChecksumErrorsRate (bool): TCP Checksum Errors Rate - TcpPacketsReceived (bool): TCP Packets Received - TcpPacketsReceivedRate (bool): TCP Packets Received Rate + - TemperatureHighAlarm (bool): Temperature High Alarm + - TemperatureHighWarn (bool): Temperature High Warn + - TemperatureLimitFlag (bool): Temperature Limit Flag + - TemperatureLowAlarm (bool): Temperature Low Alarm + - TemperatureLowWarn (bool): Temperature Low Warn - TotalMemory (bool): Total Memory - TransceiverTemperatureC (bool): Transceiver Temperature (C) - TransmitArpGratuitous (bool): Transmit Arp Gratuitous @@ -10768,10 +11588,20 @@ def update(self, **kwargs): - TransmitPingReply (bool): Transmit Ping Reply - TransmitPingRequest (bool): Transmit Ping Request - Tx0FpgaTemperatureC (bool): Tx0 Fpga Temperature(C) + - TxBiasCurrentHighAlarm (bool): Tx Bias Current High Alarm + - TxBiasCurrentHighWarn (bool): Tx Bias Current High Warn + - TxBiasCurrentLimitFlag (bool): Tx Bias Current Limit Flag + - TxBiasCurrentLowAlarm (bool): Tx Bias Current Low Alarm + - TxBiasCurrentLowWarn (bool): Tx Bias Current Low Warn - TxEncryptedByteCountRate (bool): Tx Encrypted Byte Count Rate - TxEncryptedPacketCountRate (bool): Tx Encrypted Packet Count Rate - TxFpgaTemperatureC (bool): Tx Fpga Temperature(C) - TxNonMACsecPacketCountRate (bool): Tx NonMACsec Packet Count Rate + - TxOpticalPowerHighAlarm (bool): Tx Optical Power High Alarm + - TxOpticalPowerHighWarn (bool): Tx Optical Power High Warn + - TxOpticalPowerLimitFlag (bool): Tx Optical Power Limit Flag + - TxOpticalPowerLowAlarm (bool): Tx Optical Power Low Alarm + - TxOpticalPowerLowWarn (bool): Tx Optical Power Low Warn - TxProtectedByteCountRate (bool): Tx Protected Byte Count Rate - TxProtectedPacketCountRate (bool): Tx Protected Packet Count Rate - TxRateKbps (bool): Tx. Rate (Kbps) @@ -10809,6 +11639,9 @@ def update(self, **kwargs): - ValidStatelessFramesReceivedRate (bool): Valid Stateless Frames Received Rate - VlanTaggedFrames (bool): Vlan Tagged Frames - VlanTaggedFramesRate (bool): Vlan Tagged Frames Rate + - WindowClosedFrameCount (bool): Window Closed Frame Count + - WindowValidFrameCount (bool): Window Valid Frame Count + - WindowViolationFrameCount (bool): Window Violation Frame Count Raises ------ @@ -10817,7 +11650,7 @@ def update(self, **kwargs): return self._update(self._map_locals(self._SDM_ATT_MAP, locals())) def find(self, **kwargs): - # type: (bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool) -> PortStatistics + # type: (bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool) -> PortStatistics """Finds and retrieves portStatistics resources from the server. All named parameters are evaluated on the server using regex. The named parameters can be used to selectively retrieve portStatistics resources from the server. @@ -10954,6 +11787,10 @@ def find(self, **kwargs): - EncryptedByteTx (bool): Encrypted Byte Tx - EncryptedPacketRx (bool): Encrypted Packet Rx - EncryptedPacketTx (bool): Encrypted Packet Tx + - EofBigErrorFrameCount (bool): EOF Big Error Frame Count + - EofLateFrameCount (bool): EOF Late Frame Count + - EofLateMaximumByteCount (bool): EOF Late Maximum Byte Count + - EofLateMinimumByteCount (bool): EOF Late Minimum Byte Count - ErrorFreeSeconds (bool): Error Free Seconds - ErroredBlocks (bool): Errored Blocks - ErroredBlocksRate (bool): Errored Blocks Rate @@ -11057,6 +11894,12 @@ def find(self, **kwargs): - FramesTxRate (bool): Frames Tx. Rate - FreeMemory (bool): Free Memory - FrontendChipTemperatureC (bool): FrontEnd Chip Temperature(C) + - HostConfigStatus (bool): Host Config Status + - HostDataPathState (bool): Host Data Path State + - HostLaneCount (bool): Host Lane Count + - HostToMediaLane (bool): Host To Media Lane + - HostTxCDRLOL (bool): Host Tx CDR LOL + - HostTxLOS (bool): Host Tx LOS - IdleCellsRx (bool): Idle Cells Rx. - IdleCellsRxRate (bool): Idle Cells Rx. Rate - InputSignalStrengthdBm (bool): Input Signal Strength (dBm) @@ -11071,6 +11914,7 @@ def find(self, **kwargs): - Ipv4ChecksumErrorsRate (bool): IPv4 Checksum Errors Rate - Ipv4PacketsReceived (bool): IPv4 Packets Received - Ipv4PacketsReceivedRate (bool): IPv4 Packets Received Rate + - KernelTimestamp (bool): Kernel Timestamp - L1BitsReceived (bool): L1 Bits Received - L1BitsReceivedRate (bool): L1 Bits Received Rate - L1BitsSent (bool): L1 Bits Sent @@ -11104,6 +11948,12 @@ def find(self, **kwargs): - LocalOrderedSetsSent (bool): Local Ordered Sets Sent - LocalOrderedSetsSentRate (bool): Local Ordered Sets Sent Rate - MaxServiceDisruptionTimems (bool): Max Service Disruption Time (ms) + - MediaLaneCount (bool): Media Lane Count + - MediaRxCDRLOL (bool): Media Rx CDR LOL + - MediaRxLOS (bool): Media Rx LOS + - MediaRxOpticalPower (bool): Media Rx Optical Power + - MediaTxBiasCurrent (bool): Media Tx Bias Current + - MediaTxOpticalPower (bool): Media Tx Optical Power - MinServiceDisruptionTimems (bool): Min Service Disruption Time (ms) - MisdirectedPacketCount (bool): Misdirected Packet Count - MisdirectedPacketCountRate (bool): Misdirected Packet Count Rate @@ -11321,6 +12171,11 @@ def find(self, **kwargs): - RxInvalidICVPacketforBroadcastRate (bool): Rx Invalid ICV Packet for Broadcast Rate - RxInvalidICVPacketforMulticastRate (bool): Rx Invalid ICV Packet for Multicast Rate - RxNonMACsecPacketCountRate (bool): Rx NonMACsec Packet Count Rate + - RxOpticalPowerHighAlarm (bool): Rx Optical Power High Alarm + - RxOpticalPowerHighWarn (bool): Rx Optical Power High Warn + - RxOpticalPowerLimitFlag (bool): Rx Optical Power Limit Flag + - RxOpticalPowerLowAlarm (bool): Rx Optical Power Low Alarm + - RxOpticalPowerLowWarn (bool): Rx Optical Power Low Warn - RxOutofWindowPacketorOutofWindowDiscardedPacketforBroadcastRate (bool): Rx Out of Window Packet or Out of Window Discarded Packet for Broadcast Rate - RxOutofWindowPacketorOutofWindowDiscardedPacketforMulticastRate (bool): Rx Out of Window Packet or Out of Window Discarded Packet for Multicast Rate - RxPausePriorityGroup0Frames (bool): Rx Pause Priority Group 0 Frames @@ -11371,6 +12226,10 @@ def find(self, **kwargs): - SequenceFrames (bool): Sequence Frames - SequenceFramesRate (bool): Sequence Frames Rate - SeverelyErroredSeconds (bool): Severely Errored Seconds + - SofBigErrorFrameCount (bool): SOF Big Error Frame Count + - SofEarlyFrameCount (bool): SOF Early Frame Count + - SofEarlyMaximumByteCount (bool): SOF Early Maximum Byte Count + - SofEarlyMinimumByteCount (bool): SOF Early Minimum Byte Count - StatelessBitsReceived (bool): Stateless Bits Received - StatelessBitsSent (bool): Stateless Bits Sent - StatelessBytesReceived (bool): Stateless Bytes Received @@ -11388,10 +12247,20 @@ def find(self, **kwargs): - StatelessTxRateMbps (bool): Stateless Tx. Rate (Mbps) - StatelessTxRatebps (bool): Stateless Tx. Rate (bps) - Status (bool): Status + - SupplyVoltageHighAlarm (bool): Supply Voltage High Alarm + - SupplyVoltageHighWarn (bool): Supply Voltage High Warn + - SupplyVoltageLimitFlag (bool): Supply Voltage Limit Flag + - SupplyVoltageLowAlarm (bool): Supply Voltage Low Alarm + - SupplyVoltageLowWarn (bool): Supply Voltage Low Warn - TcpChecksumErrors (bool): TCP Checksum Errors - TcpChecksumErrorsRate (bool): TCP Checksum Errors Rate - TcpPacketsReceived (bool): TCP Packets Received - TcpPacketsReceivedRate (bool): TCP Packets Received Rate + - TemperatureHighAlarm (bool): Temperature High Alarm + - TemperatureHighWarn (bool): Temperature High Warn + - TemperatureLimitFlag (bool): Temperature Limit Flag + - TemperatureLowAlarm (bool): Temperature Low Alarm + - TemperatureLowWarn (bool): Temperature Low Warn - TotalMemory (bool): Total Memory - TransceiverTemperatureC (bool): Transceiver Temperature (C) - TransmitArpGratuitous (bool): Transmit Arp Gratuitous @@ -11406,10 +12275,20 @@ def find(self, **kwargs): - TransmitPingReply (bool): Transmit Ping Reply - TransmitPingRequest (bool): Transmit Ping Request - Tx0FpgaTemperatureC (bool): Tx0 Fpga Temperature(C) + - TxBiasCurrentHighAlarm (bool): Tx Bias Current High Alarm + - TxBiasCurrentHighWarn (bool): Tx Bias Current High Warn + - TxBiasCurrentLimitFlag (bool): Tx Bias Current Limit Flag + - TxBiasCurrentLowAlarm (bool): Tx Bias Current Low Alarm + - TxBiasCurrentLowWarn (bool): Tx Bias Current Low Warn - TxEncryptedByteCountRate (bool): Tx Encrypted Byte Count Rate - TxEncryptedPacketCountRate (bool): Tx Encrypted Packet Count Rate - TxFpgaTemperatureC (bool): Tx Fpga Temperature(C) - TxNonMACsecPacketCountRate (bool): Tx NonMACsec Packet Count Rate + - TxOpticalPowerHighAlarm (bool): Tx Optical Power High Alarm + - TxOpticalPowerHighWarn (bool): Tx Optical Power High Warn + - TxOpticalPowerLimitFlag (bool): Tx Optical Power Limit Flag + - TxOpticalPowerLowAlarm (bool): Tx Optical Power Low Alarm + - TxOpticalPowerLowWarn (bool): Tx Optical Power Low Warn - TxProtectedByteCountRate (bool): Tx Protected Byte Count Rate - TxProtectedPacketCountRate (bool): Tx Protected Packet Count Rate - TxRateKbps (bool): Tx. Rate (Kbps) @@ -11447,6 +12326,9 @@ def find(self, **kwargs): - ValidStatelessFramesReceivedRate (bool): Valid Stateless Frames Received Rate - VlanTaggedFrames (bool): Vlan Tagged Frames - VlanTaggedFramesRate (bool): Vlan Tagged Frames Rate + - WindowClosedFrameCount (bool): Window Closed Frame Count + - WindowValidFrameCount (bool): Window Valid Frame Count + - WindowViolationFrameCount (bool): Window Violation Frame Count Returns ------- diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/ptprobeinstancesrv6/__init__.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/ptprobeinstancesrv6/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/ptprobeinstancesrv6/ptprobeinstancesrv6_42465f189e48f32cc2859230c2df9e11.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/ptprobeinstancesrv6/ptprobeinstancesrv6_42465f189e48f32cc2859230c2df9e11.py new file mode 100644 index 000000000..076d15184 --- /dev/null +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/ptprobeinstancesrv6/ptprobeinstancesrv6_42465f189e48f32cc2859230c2df9e11.py @@ -0,0 +1,184 @@ +# MIT LICENSE +# +# Copyright 1997 - 2020 by IXIA Keysight +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), +# to deal in the Software without restriction, including without limitation +# the rights to use, copy, modify, merge, publish, distribute, sublicense, +# and/or sell copies of the Software, and to permit persons to whom the +# Software is furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +# THE SOFTWARE. +import sys +from ixnetwork_restpy.base import Base +from ixnetwork_restpy.files import Files + +if sys.version_info >= (3, 5): + from typing import List, Any, Union + + +class Ptprobeinstancesrv6(Base): + """Path Trace Port level Configuration + The Ptprobeinstancesrv6 class encapsulates a required ptprobeinstancesrv6 resource which will be retrieved from the server every time the property is accessed. + """ + + __slots__ = () + _SDM_NAME = "ptprobeinstancesrv6" + _SDM_ATT_MAP = { + "Count": "count", + "DescriptiveName": "descriptiveName", + "Name": "name", + "RowNames": "rowNames", + "TimeStamp": "timeStamp", + } + _SDM_ENUM_MAP = {} + + def __init__(self, parent, list_op=False): + super(Ptprobeinstancesrv6, self).__init__(parent, list_op) + + @property + def Count(self): + # type: () -> int + """ + Returns + ------- + - number: Number of elements inside associated multiplier-scaled container object, e.g. number of devices inside a Device Group. + """ + return self._get_attribute(self._SDM_ATT_MAP["Count"]) + + @property + def DescriptiveName(self): + # type: () -> str + """ + Returns + ------- + - str: Longer, more descriptive name for element. It's not guaranteed to be unique like -name-, but may offer more context. + """ + return self._get_attribute(self._SDM_ATT_MAP["DescriptiveName"]) + + @property + def Name(self): + # type: () -> str + """ + Returns + ------- + - str: Name of NGPF element, guaranteed to be unique in Scenario + """ + return self._get_attribute(self._SDM_ATT_MAP["Name"]) + + @Name.setter + def Name(self, value): + # type: (str) -> None + self._set_attribute(self._SDM_ATT_MAP["Name"], value) + + @property + def RowNames(self): + # type: () -> List[str] + """ + Returns + ------- + - list(str): Name of rows + """ + return self._get_attribute(self._SDM_ATT_MAP["RowNames"]) + + @property + def TimeStamp(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Timestamp Format. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["TimeStamp"])) + + def update(self, Name=None): + # type: (str) -> Ptprobeinstancesrv6 + """Updates ptprobeinstancesrv6 resource on the server. + + This method has some named parameters with a type: obj (Multivalue). + The Multivalue class has documentation that details the possible values for those named parameters. + + Args + ---- + - Name (str): Name of NGPF element, guaranteed to be unique in Scenario + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + return self._update(self._map_locals(self._SDM_ATT_MAP, locals())) + + def find(self, Count=None, DescriptiveName=None, Name=None, RowNames=None): + # type: (int, str, str, List[str]) -> Ptprobeinstancesrv6 + """Finds and retrieves ptprobeinstancesrv6 resources from the server. + + All named parameters are evaluated on the server using regex. The named parameters can be used to selectively retrieve ptprobeinstancesrv6 resources from the server. + To retrieve an exact match ensure the parameter value starts with ^ and ends with $ + By default the find method takes no parameters and will retrieve all ptprobeinstancesrv6 resources from the server. + + Args + ---- + - Count (number): Number of elements inside associated multiplier-scaled container object, e.g. number of devices inside a Device Group. + - DescriptiveName (str): Longer, more descriptive name for element. It's not guaranteed to be unique like -name-, but may offer more context. + - Name (str): Name of NGPF element, guaranteed to be unique in Scenario + - RowNames (list(str)): Name of rows + + Returns + ------- + - self: This instance with matching ptprobeinstancesrv6 resources retrieved from the server available through an iterator or index + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + return self._select(self._map_locals(self._SDM_ATT_MAP, locals())) + + def read(self, href): + """Retrieves a single instance of ptprobeinstancesrv6 data from the server. + + Args + ---- + - href (str): An href to the instance to be retrieved + + Returns + ------- + - self: This instance with the ptprobeinstancesrv6 resources from the server available through an iterator or index + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + return self._read(href) + + def get_device_ids(self, PortNames=None, TimeStamp=None): + """Base class infrastructure that gets a list of ptprobeinstancesrv6 device ids encapsulated by this object. + + Use the optional regex parameters in the method to refine the list of device ids encapsulated by this object. + + Args + ---- + - PortNames (str): optional regex of port names + - TimeStamp (str): optional regex of timeStamp + + Returns + ------- + - list(int): A list of device ids that meets the regex criteria provided in the method parameters + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + return self._get_ngpf_device_ids(locals()) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/topology_678a8dc80c9b4b2b5c741072eab4305d.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/topology_678a8dc80c9b4b2b5c741072eab4305d.py index e58286fc0..e6fb2443b 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/topology_678a8dc80c9b4b2b5c741072eab4305d.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/topology_678a8dc80c9b4b2b5c741072eab4305d.py @@ -1380,6 +1380,26 @@ def Ptp(self): return self._properties.get("Ptp") return Ptp(self)._select() + @property + def Ptprobeinstancesrv6(self): + """ + Returns + ------- + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.globals.topology.ptprobeinstancesrv6.ptprobeinstancesrv6_42465f189e48f32cc2859230c2df9e11.Ptprobeinstancesrv6): An instance of the Ptprobeinstancesrv6 class + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + from ixnetwork_restpy.testplatform.sessions.ixnetwork.globals.topology.ptprobeinstancesrv6.ptprobeinstancesrv6_42465f189e48f32cc2859230c2df9e11 import ( + Ptprobeinstancesrv6, + ) + + if len(self._object_properties) > 0: + if self._properties.get("Ptprobeinstancesrv6", None) is not None: + return self._properties.get("Ptprobeinstancesrv6") + return Ptprobeinstancesrv6(self)._select() + @property def RsvpteIf(self): """ diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/ixnetwork.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/ixnetwork.py index f44982a3d..647a34611 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/ixnetwork.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/ixnetwork.py @@ -933,6 +933,32 @@ def FetchPropertyNameForDisplayName(self, *args, **kwargs): "fetchPropertyNameForDisplayName", payload=payload, response_object=None ) + def FetchRgUserOwnershipControlMode(self, *args, **kwargs): + # type: (*Any, **Any) -> Union[str, None] + """Executes the fetchRgUserOwnershipControlMode operation on the server. + + Used to get the current port resource group user ownership mode - userPerResourceGroup or userPerFrontPanel. Takes locations as input. + + fetchRgUserOwnershipControlMode(Arg1=string, async_operation=bool)string + ------------------------------------------------------------------------ + - Arg1 (str): Location port. + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + - Returns str: Current resource group user ownership mode - userPerResourceGroup or userPerFrontPanel + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {} + for i in range(len(args)): + payload["Arg%s" % (i + 1)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute( + "fetchRgUserOwnershipControlMode", payload=payload, response_object=None + ) + def GenerateByteValues(self, *args, **kwargs): # type: (*Any, **Any) -> Union[List[int], None] """Executes the generateByteValues operation on the server. @@ -1133,6 +1159,31 @@ def GetAvailableProtocolStats(self, *args, **kwargs): "getAvailableProtocolStats", payload=payload, response_object=None ) + def GetAvailableRpfLogPorts(self, *args, **kwargs): + # type: (*Any, **Any) -> Union[str, None] + """Executes the getAvailableRpfLogPorts operation on the server. + + gets all Available ports available for RPF logs + + getAvailableRpfLogPorts(async_operation=bool)string + --------------------------------------------------- + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + - Returns str: + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {} + for i in range(len(args)): + payload["Arg%s" % (i + 1)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute( + "getAvailableRpfLogPorts", payload=payload, response_object=None + ) + def GetAvailableSlotLicense(self, *args, **kwargs): # type: (*Any, **Any) -> Union[int, None] """Executes the getAvailableSlotLicense operation on the server. @@ -1550,6 +1601,31 @@ def GetPastApplicationInstances(self, *args, **kwargs): "getPastApplicationInstances", payload=payload, response_object=None ) + def GetPortRpfTraceProperties(self, *args, **kwargs): + # type: (*Any, **Any) -> Union[str, None] + """Executes the getPortRpfTraceProperties operation on the server. + + gets all Available port and their rpf trace properties + + getPortRpfTraceProperties(async_operation=bool)string + ----------------------------------------------------- + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + - Returns str: + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {} + for i in range(len(args)): + payload["Arg%s" % (i + 1)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute( + "getPortRpfTraceProperties", payload=payload, response_object=None + ) + def GetPortsForProtocol(self, *args, **kwargs): # type: (*Any, **Any) -> Union[str, None] """Executes the getPortsForProtocol operation on the server. @@ -1576,6 +1652,29 @@ def GetPortsForProtocol(self, *args, **kwargs): "getPortsForProtocol", payload=payload, response_object=None ) + def GetProtocolAggregatedStatus(self, *args, **kwargs): + # type: (*Any, **Any) -> Union[str, None] + """Executes the getProtocolAggregatedStatus operation on the server. + + getProtocolAggregatedStatus(async_operation=bool)string + ------------------------------------------------------- + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + - Returns str: + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {} + for i in range(len(args)): + payload["Arg%s" % (i + 1)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute( + "getProtocolAggregatedStatus", payload=payload, response_object=None + ) + def GetRbMemoryUsageInfo(self, *args, **kwargs): # type: (*Any, **Any) -> Union[str, None] """Executes the getRbMemoryUsageInfo operation on the server. @@ -1635,6 +1734,30 @@ def GetRecommendedSettings(self, *args, **kwargs): "getRecommendedSettings", payload=payload, response_object=None ) + def GetRpfLogForPort(self, *args, **kwargs): + # type: (*Any, **Any) -> Union[str, None] + """Executes the getRpfLogForPort operation on the server. + + gets RPF logs for the mentioned port + + getRpfLogForPort(Arg1=string, async_operation=bool)string + --------------------------------------------------------- + - Arg1 (str): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + - Returns str: + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {} + for i in range(len(args)): + payload["Arg%s" % (i + 1)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("getRpfLogForPort", payload=payload, response_object=None) + def GetSlotLicenseInUse(self, *args, **kwargs): # type: (*Any, **Any) -> Union[List[int], None] """Executes the getSlotLicenseInUse operation on the server. @@ -1729,6 +1852,30 @@ def GetTopologyStatus(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("getTopologyStatus", payload=payload, response_object=None) + def GetTxDeviationPpm(self, *args, **kwargs): + # type: (*Any, **Any) -> Union[int, None] + """Executes the getTxDeviationPpm operation on the server. + + Fetches tx deviation ppm value. + + getTxDeviationPpm(Arg1=string, async_operation=bool)number + ---------------------------------------------------------- + - Arg1 (str): Port location. E.g. : 100.101.101.1/1.1 + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + - Returns number: Tx deviation ppm value. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {} + for i in range(len(args)): + payload["Arg%s" % (i + 1)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("getTxDeviationPpm", payload=payload, response_object=None) + def GetUnionPortsForProtocols(self, *args, **kwargs): # type: (*Any, **Any) -> Union[str, None] """Executes the getUnionPortsForProtocols operation on the server. @@ -2438,6 +2585,31 @@ def SetLoggingLevel(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("setLoggingLevel", payload=payload, response_object=None) + def SetPortRpfTraceProperties(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the setPortRpfTraceProperties operation on the server. + + sets all Available port and their rpf trace properties + + setPortRpfTraceProperties(Arg1=string, async_operation=bool) + ------------------------------------------------------------ + - Arg1 (str): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {} + for i in range(len(args)): + payload["Arg%s" % (i + 1)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute( + "setPortRpfTraceProperties", payload=payload, response_object=None + ) + def SetPortTransmitDuration(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the setPortTransmitDuration operation on the server. @@ -2510,6 +2682,30 @@ def SetTapSettings(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("setTapSettings", payload=payload, response_object=None) + def SetTxDeviationPpm(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the setTxDeviationPpm operation on the server. + + Configures tx deviation ppm. + + setTxDeviationPpm(Arg1=string, Arg2=number, async_operation=bool) + ----------------------------------------------------------------- + - Arg1 (str): Port location. E.g. : 100.101.101.1/1.1 + - Arg2 (number): Ppm value. E.g. : 10 + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {} + for i in range(len(args)): + payload["Arg%s" % (i + 1)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("setTxDeviationPpm", payload=payload, response_object=None) + def StartAllProtocols(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the startAllProtocols operation on the server. @@ -2695,6 +2891,33 @@ def SwitchModeLocations(self, *args, **kwargs): "switchModeLocations", payload=payload, response_object=None ) + def SwitchRgUserOwnershipControlMode(self, *args, **kwargs): + # type: (*Any, **Any) -> Union[str, None] + """Executes the switchRgUserOwnershipControlMode operation on the server. + + Switches the port resource group user ownership mode. Takes locations as input. This operation will clear ownership on all ports of the card. + + switchRgUserOwnershipControlMode(Arg1=string, Arg2=string, async_operation=bool)string + -------------------------------------------------------------------------------------- + - Arg1 (str): Location port. + - Arg2 (str): Ownership control mode - userPerResourceGroup or userPerFrontPanel. + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + - Returns str: Warning messages. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {} + for i in range(len(args)): + payload["Arg%s" % (i + 1)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute( + "switchRgUserOwnershipControlMode", payload=payload, response_object=None + ) + def SyncStatisticsStartTimeWithClientClock(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the syncStatisticsStartTimeWithClientClock operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/lag/ethernet_16074ace2e581d9f35640391bde73384.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/lag/ethernet_16074ace2e581d9f35640391bde73384.py index 53a186bf9..ff4d6985c 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/lag/ethernet_16074ace2e581d9f35640391bde73384.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/lag/ethernet_16074ace2e581d9f35640391bde73384.py @@ -149,6 +149,46 @@ def Macsec(self): return self._properties.get("Macsec") return Macsec(self) + @property + def Microbfdv4(self): + """ + Returns + ------- + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.lag.microbfdv4_4aa9ebac618b5beec5e63d28011a2415.Microbfdv4): An instance of the Microbfdv4 class + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + from ixnetwork_restpy.testplatform.sessions.ixnetwork.lag.microbfdv4_4aa9ebac618b5beec5e63d28011a2415 import ( + Microbfdv4, + ) + + if len(self._object_properties) > 0: + if self._properties.get("Microbfdv4", None) is not None: + return self._properties.get("Microbfdv4") + return Microbfdv4(self) + + @property + def Microbfdv6(self): + """ + Returns + ------- + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.lag.microbfdv6_e86be7acb660f720ee657e139f44950f.Microbfdv6): An instance of the Microbfdv6 class + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + from ixnetwork_restpy.testplatform.sessions.ixnetwork.lag.microbfdv6_e86be7acb660f720ee657e139f44950f import ( + Microbfdv6, + ) + + if len(self._object_properties) > 0: + if self._properties.get("Microbfdv6", None) is not None: + return self._properties.get("Microbfdv6") + return Microbfdv6(self) + @property def Mka(self): """ diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/lag/microbfdv4_4aa9ebac618b5beec5e63d28011a2415.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/lag/microbfdv4_4aa9ebac618b5beec5e63d28011a2415.py new file mode 100644 index 000000000..7b05c8f3a --- /dev/null +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/lag/microbfdv4_4aa9ebac618b5beec5e63d28011a2415.py @@ -0,0 +1,868 @@ +# MIT LICENSE +# +# Copyright 1997 - 2020 by IXIA Keysight +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), +# to deal in the Software without restriction, including without limitation +# the rights to use, copy, modify, merge, publish, distribute, sublicense, +# and/or sell copies of the Software, and to permit persons to whom the +# Software is furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +# THE SOFTWARE. +import sys +from ixnetwork_restpy.base import Base +from ixnetwork_restpy.files import Files + +if sys.version_info >= (3, 5): + from typing import List, Any, Union + + +class Microbfdv4(Base): + """MicroBFDv4 (Device) level Configuration + The Microbfdv4 class encapsulates a list of microbfdv4 resources that are managed by the user. + A list of resources can be retrieved from the server using the Microbfdv4.find() method. + The list can be managed by using the Microbfdv4.add() and Microbfdv4.remove() methods. + """ + + __slots__ = () + _SDM_NAME = "microbfdv4" + _SDM_ATT_MAP = { + "Active": "active", + "ConnectedVia": "connectedVia", + "Count": "count", + "CustomRxInterval": "customRxInterval", + "CustomTxInterval": "customTxInterval", + "DescriptiveName": "descriptiveName", + "DestinationIP4Address": "destinationIP4Address", + "DestinationMac": "destinationMac", + "EnableDemandMode": "enableDemandMode", + "Errors": "errors", + "FlapTxIntervals": "flapTxIntervals", + "IpDiffServ": "ipDiffServ", + "MinRxInterval": "minRxInterval", + "Multiplier": "multiplier", + "Name": "name", + "PollInterval": "pollInterval", + "SessionStatus": "sessionStatus", + "SourceIP4Address": "sourceIP4Address", + "SourceMacAddress": "sourceMacAddress", + "StackedLayers": "stackedLayers", + "StateCounts": "stateCounts", + "Status": "status", + "TimeoutMultiplier": "timeoutMultiplier", + "TxInterval": "txInterval", + } + _SDM_ENUM_MAP = { + "status": [ + "configured", + "error", + "mixed", + "notStarted", + "started", + "starting", + "stopping", + ], + } + + def __init__(self, parent, list_op=False): + super(Microbfdv4, self).__init__(parent, list_op) + + @property + def LearnedInfo(self): + """ + Returns + ------- + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.lag.learnedinfo_e3842fc998f50863a80ad08bc75a2de8.LearnedInfo): An instance of the LearnedInfo class + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + from ixnetwork_restpy.testplatform.sessions.ixnetwork.lag.learnedinfo_e3842fc998f50863a80ad08bc75a2de8 import ( + LearnedInfo, + ) + + if len(self._object_properties) > 0: + if self._properties.get("LearnedInfo", None) is not None: + return self._properties.get("LearnedInfo") + return LearnedInfo(self) + + @property + def Active(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Activate/Deactivate Configuration + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["Active"])) + + @property + def ConnectedVia(self): + # type: () -> List[str] + """DEPRECATED + Returns + ------- + - list(str[None | /api/v1/sessions/1/ixnetwork/lag]): List of layers this layer is used to connect with to the wire. + """ + return self._get_attribute(self._SDM_ATT_MAP["ConnectedVia"]) + + @ConnectedVia.setter + def ConnectedVia(self, value): + # type: (List[str]) -> None + self._set_attribute(self._SDM_ATT_MAP["ConnectedVia"], value) + + @property + def Count(self): + # type: () -> int + """ + Returns + ------- + - number: Number of elements inside associated multiplier-scaled container object, e.g. number of devices inside a Device Group. + """ + return self._get_attribute(self._SDM_ATT_MAP["Count"]) + + @property + def CustomRxInterval(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): The minimum interval, in milliseconds, between received BFD Control packets that this interface is capable of supporting. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["CustomRxInterval"]) + ) + + @property + def CustomTxInterval(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): The minimum interval, in milliseconds, that the interface would like to use when transmitting BFD Control packets. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["CustomTxInterval"]) + ) + + @property + def DescriptiveName(self): + # type: () -> str + """ + Returns + ------- + - str: Longer, more descriptive name for element. It's not guaranteed to be unique like -name-, but may offer more context. + """ + return self._get_attribute(self._SDM_ATT_MAP["DescriptiveName"]) + + @property + def DestinationIP4Address(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): The IPv4 address of the neighbor micro-BFD session. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["DestinationIP4Address"]) + ) + + @property + def DestinationMac(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): MAC Address of Neighbor to which the packet is transmitted. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["DestinationMac"]) + ) + + @property + def EnableDemandMode(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): This check box enables Demand Mode. In this mode, it is assumed the interface has an independent way of verifying it has connectivity to the other system. Once a Micro-BFD session is established, the systems stop sending Micro-BFD Control packets, except when either system feels the need to verify connectivity explicitly. In this case, a short sequence of Micro-BFD Control packets is sent. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["EnableDemandMode"]) + ) + + @property + def Errors(self): + """ + Returns + ------- + - list(dict(arg1:str[None | /api/v1/sessions/1/ixnetwork/],arg2:list[str])): A list of errors that have occurred + """ + return self._get_attribute(self._SDM_ATT_MAP["Errors"]) + + @property + def FlapTxIntervals(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): The number of Tx packets sent from device after which session flaps for BFD. A value of zero means no flapping. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["FlapTxIntervals"]) + ) + + @property + def IpDiffServ(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): This is one byte data which is sent with every IP packet originating from the socket of this MicroBFD interface. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["IpDiffServ"])) + + @property + def MinRxInterval(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): The minimum interval, in milliseconds, between received BFD Control packets that this interface is capable of supporting. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["MinRxInterval"])) + + @property + def Multiplier(self): + # type: () -> int + """ + Returns + ------- + - number: Number of layer instances per parent instance (multiplier) + """ + return self._get_attribute(self._SDM_ATT_MAP["Multiplier"]) + + @Multiplier.setter + def Multiplier(self, value): + # type: (int) -> None + self._set_attribute(self._SDM_ATT_MAP["Multiplier"], value) + + @property + def Name(self): + # type: () -> str + """ + Returns + ------- + - str: Name of NGPF element, guaranteed to be unique in Scenario + """ + return self._get_attribute(self._SDM_ATT_MAP["Name"]) + + @Name.setter + def Name(self, value): + # type: (str) -> None + self._set_attribute(self._SDM_ATT_MAP["Name"], value) + + @property + def PollInterval(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): The interval, in milliseconds, between exchanges of Control Messages in Demand Mode. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["PollInterval"])) + + @property + def SessionStatus(self): + # type: () -> List[str] + """ + Returns + ------- + - list(str[down | notStarted | up]): Current state of protocol session: Not Started - session negotiation not started, the session is not active yet. Down - actively trying to bring up a protocol session, but negotiation is didn't successfully complete (yet). Up - session came up successfully. + """ + return self._get_attribute(self._SDM_ATT_MAP["SessionStatus"]) + + @property + def SourceIP4Address(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): The IPv4 address of the micro-BFD session from which packet is transmitted. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["SourceIP4Address"]) + ) + + @property + def SourceMacAddress(self): + # type: () -> List[str] + """ + Returns + ------- + - list(str): MAC Address of the member link transmitting the packet. + """ + return self._get_attribute(self._SDM_ATT_MAP["SourceMacAddress"]) + + @property + def StackedLayers(self): + # type: () -> List[str] + """ + Returns + ------- + - list(str[None | /api/v1/sessions/1/ixnetwork/lag]): List of secondary (many to one) child layer protocols + """ + return self._get_attribute(self._SDM_ATT_MAP["StackedLayers"]) + + @StackedLayers.setter + def StackedLayers(self, value): + # type: (List[str]) -> None + self._set_attribute(self._SDM_ATT_MAP["StackedLayers"], value) + + @property + def StateCounts(self): + """ + Returns + ------- + - dict(total:number,notStarted:number,down:number,up:number): A list of values that indicates the total number of sessions, the number of sessions not started, the number of sessions down and the number of sessions that are up + """ + return self._get_attribute(self._SDM_ATT_MAP["StateCounts"]) + + @property + def Status(self): + # type: () -> str + """ + Returns + ------- + - str(configured | error | mixed | notStarted | started | starting | stopping): Running status of associated network element. Once in Started state, protocol sessions will begin to negotiate. + """ + return self._get_attribute(self._SDM_ATT_MAP["Status"]) + + @property + def TimeoutMultiplier(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): The negotiated transmit interval, multiplied by this value, provides the detection time for the interface. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["TimeoutMultiplier"]) + ) + + @property + def TxInterval(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): The minimum interval, in milliseconds, that the interface would like to use when transmitting BFD Control packets. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["TxInterval"])) + + def update(self, ConnectedVia=None, Multiplier=None, Name=None, StackedLayers=None): + # type: (List[str], int, str, List[str]) -> Microbfdv4 + """Updates microbfdv4 resource on the server. + + This method has some named parameters with a type: obj (Multivalue). + The Multivalue class has documentation that details the possible values for those named parameters. + + Args + ---- + - ConnectedVia (list(str[None | /api/v1/sessions/1/ixnetwork/lag])): List of layers this layer is used to connect with to the wire. + - Multiplier (number): Number of layer instances per parent instance (multiplier) + - Name (str): Name of NGPF element, guaranteed to be unique in Scenario + - StackedLayers (list(str[None | /api/v1/sessions/1/ixnetwork/lag])): List of secondary (many to one) child layer protocols + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + return self._update(self._map_locals(self._SDM_ATT_MAP, locals())) + + def add(self, ConnectedVia=None, Multiplier=None, Name=None, StackedLayers=None): + # type: (List[str], int, str, List[str]) -> Microbfdv4 + """Adds a new microbfdv4 resource on the server and adds it to the container. + + Args + ---- + - ConnectedVia (list(str[None | /api/v1/sessions/1/ixnetwork/lag])): List of layers this layer is used to connect with to the wire. + - Multiplier (number): Number of layer instances per parent instance (multiplier) + - Name (str): Name of NGPF element, guaranteed to be unique in Scenario + - StackedLayers (list(str[None | /api/v1/sessions/1/ixnetwork/lag])): List of secondary (many to one) child layer protocols + + Returns + ------- + - self: This instance with all currently retrieved microbfdv4 resources using find and the newly added microbfdv4 resources available through an iterator or index + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + return self._create(self._map_locals(self._SDM_ATT_MAP, locals())) + + def remove(self): + """Deletes all the contained microbfdv4 resources in this instance from the server. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + self._delete() + + def find( + self, + ConnectedVia=None, + Count=None, + DescriptiveName=None, + Errors=None, + Multiplier=None, + Name=None, + SessionStatus=None, + SourceMacAddress=None, + StackedLayers=None, + StateCounts=None, + Status=None, + ): + """Finds and retrieves microbfdv4 resources from the server. + + All named parameters are evaluated on the server using regex. The named parameters can be used to selectively retrieve microbfdv4 resources from the server. + To retrieve an exact match ensure the parameter value starts with ^ and ends with $ + By default the find method takes no parameters and will retrieve all microbfdv4 resources from the server. + + Args + ---- + - ConnectedVia (list(str[None | /api/v1/sessions/1/ixnetwork/lag])): List of layers this layer is used to connect with to the wire. + - Count (number): Number of elements inside associated multiplier-scaled container object, e.g. number of devices inside a Device Group. + - DescriptiveName (str): Longer, more descriptive name for element. It's not guaranteed to be unique like -name-, but may offer more context. + - Errors (list(dict(arg1:str[None | /api/v1/sessions/1/ixnetwork/],arg2:list[str]))): A list of errors that have occurred + - Multiplier (number): Number of layer instances per parent instance (multiplier) + - Name (str): Name of NGPF element, guaranteed to be unique in Scenario + - SessionStatus (list(str[down | notStarted | up])): Current state of protocol session: Not Started - session negotiation not started, the session is not active yet. Down - actively trying to bring up a protocol session, but negotiation is didn't successfully complete (yet). Up - session came up successfully. + - SourceMacAddress (list(str)): MAC Address of the member link transmitting the packet. + - StackedLayers (list(str[None | /api/v1/sessions/1/ixnetwork/lag])): List of secondary (many to one) child layer protocols + - StateCounts (dict(total:number,notStarted:number,down:number,up:number)): A list of values that indicates the total number of sessions, the number of sessions not started, the number of sessions down and the number of sessions that are up + - Status (str(configured | error | mixed | notStarted | started | starting | stopping)): Running status of associated network element. Once in Started state, protocol sessions will begin to negotiate. + + Returns + ------- + - self: This instance with matching microbfdv4 resources retrieved from the server available through an iterator or index + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + return self._select(self._map_locals(self._SDM_ATT_MAP, locals())) + + def read(self, href): + """Retrieves a single instance of microbfdv4 data from the server. + + Args + ---- + - href (str): An href to the instance to be retrieved + + Returns + ------- + - self: This instance with the microbfdv4 resources from the server available through an iterator or index + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + return self._read(href) + + def Abort(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the abort operation on the server. + + Abort CPF control plane (equals to demote to kUnconfigured state). + + abort(async_operation=bool) + --------------------------- + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("abort", payload=payload, response_object=None) + + def ClearLearnedInfo(self, *args, **kwargs): + # type: (*Any, **Any) -> Union[List[str], None] + """Executes the clearLearnedInfo operation on the server. + + Clear Learned Information which is already fetched. + + clearLearnedInfo(Arg2=list, async_operation=bool)list + ----------------------------------------------------- + - Arg2 (list(number)): List of indices into the protocol plugin. An empty list indicates all instances in the plugin. + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + - Returns list(str): ID to associate each async action invocation + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("clearLearnedInfo", payload=payload, response_object=None) + + def DisableDemandMode(self, *args, **kwargs): + # type: (*Any, **Any) -> Union[List[str], None] + """Executes the disableDemandMode operation on the server. + + Clears the Demand (D) bit set in the control packets. + + disableDemandMode(Arg2=list, async_operation=bool)list + ------------------------------------------------------ + - Arg2 (list(number)): List of indices into the protocol plugin. An empty list indicates all instances in the plugin. + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + - Returns list(str): ID to associate each async action invocation + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("disableDemandMode", payload=payload, response_object=None) + + def EnableDemandMode(self, *args, **kwargs): + # type: (*Any, **Any) -> Union[List[str], None] + """Executes the enableDemandMode operation on the server. + + Sets the Demand (D) bit set in the control packets. + + enableDemandMode(Arg2=list, async_operation=bool)list + ----------------------------------------------------- + - Arg2 (list(number)): List of indices into the protocol plugin. An empty list indicates all instances in the plugin. + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + - Returns list(str): ID to associate each async action invocation + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("enableDemandMode", payload=payload, response_object=None) + + def GetLearnedInfo(self, *args, **kwargs): + # type: (*Any, **Any) -> Union[List[str], None] + """Executes the getLearnedInfo operation on the server. + + Get Learned Information. + + getLearnedInfo(Arg2=list, async_operation=bool)list + --------------------------------------------------- + - Arg2 (list(number)): List of indices into the protocol plugin. An empty list indicates all instances in the plugin. + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + - Returns list(str): ID to associate each async action invocation + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("getLearnedInfo", payload=payload, response_object=None) + + def InitiatePoll(self, *args, **kwargs): + # type: (*Any, **Any) -> Union[List[str], None] + """Executes the initiatePoll operation on the server. + + Sets the Poll (P) bit in the control packets. + + initiatePoll(Arg2=list, async_operation=bool)list + ------------------------------------------------- + - Arg2 (list(number)): List of indices into the protocol plugin. An empty list indicates all instances in the plugin. + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + - Returns list(str): ID to associate each async action invocation + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("initiatePoll", payload=payload, response_object=None) + + def ResumePDU(self, *args, **kwargs): + # type: (*Any, **Any) -> Union[List[str], None] + """Executes the resumePDU operation on the server. + + Resumes sending control PDUs for the session. + + resumePDU(Arg2=list, async_operation=bool)list + ---------------------------------------------- + - Arg2 (list(number)): List of indices into the protocol plugin. An empty list indicates all instances in the plugin. + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + - Returns list(str): ID to associate each async action invocation + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("resumePDU", payload=payload, response_object=None) + + def SetAdminDown(self, *args, **kwargs): + # type: (*Any, **Any) -> Union[List[str], None] + """Executes the setAdminDown operation on the server. + + Set the session Administratively Down. + + setAdminDown(Arg2=list, async_operation=bool)list + ------------------------------------------------- + - Arg2 (list(number)): List of indices into the protocol plugin. An empty list indicates all instances in the plugin. + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + - Returns list(str): ID to associate each async action invocation + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("setAdminDown", payload=payload, response_object=None) + + def SetAdminUp(self, *args, **kwargs): + # type: (*Any, **Any) -> Union[List[str], None] + """Executes the setAdminUp operation on the server. + + Set the session Administratively Up. + + setAdminUp(Arg2=list, async_operation=bool)list + ----------------------------------------------- + - Arg2 (list(number)): List of indices into the protocol plugin. An empty list indicates all instances in the plugin. + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + - Returns list(str): ID to associate each async action invocation + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("setAdminUp", payload=payload, response_object=None) + + def SetDiagnosticState(self, *args, **kwargs): + # type: (*Any, **Any) -> Union[List[str], None] + """Executes the setDiagnosticState operation on the server. + + Set Diagnostic State as per the code selected in the control packets. + + setDiagnosticState(Arg2=list, Arg3=enum, async_operation=bool)list + ------------------------------------------------------------------ + - Arg2 (list(number)): List of indices into the protocol plugin. An empty list indicates all instances in the plugin. + - Arg3 (str(controlDetectionTimeExpired | echoFunctionFailed | neighbourSignaledSessionDown | forwardingPlaneReset | pathDown | concatenatedPathDown | administrativelyDown | reverseConcatenatedPathDown | reserved)): Diagnostic Code + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + - Returns list(str): ID to associate each async action invocation + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute( + "setDiagnosticState", payload=payload, response_object=None + ) + + def Start(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the start operation on the server. + + Start CPF control plane (equals to promote to negotiated state). + + start(async_operation=bool) + --------------------------- + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("start", payload=payload, response_object=None) + + def Stop(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the stop operation on the server. + + Stop CPF control plane (equals to demote to PreValidated-DoDDone state). + + stop(async_operation=bool) + -------------------------- + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("stop", payload=payload, response_object=None) + + def StopPDU(self, *args, **kwargs): + # type: (*Any, **Any) -> Union[List[str], None] + """Executes the stopPDU operation on the server. + + Stop sending control PDUs for the session. + + stopPDU(Arg2=list, async_operation=bool)list + -------------------------------------------- + - Arg2 (list(number)): List of indices into the protocol plugin. An empty list indicates all instances in the plugin. + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + - Returns list(str): ID to associate each async action invocation + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("stopPDU", payload=payload, response_object=None) + + def get_device_ids( + self, + PortNames=None, + Active=None, + CustomRxInterval=None, + CustomTxInterval=None, + DestinationIP4Address=None, + DestinationMac=None, + EnableDemandMode=None, + FlapTxIntervals=None, + IpDiffServ=None, + MinRxInterval=None, + PollInterval=None, + SourceIP4Address=None, + TimeoutMultiplier=None, + TxInterval=None, + ): + """Base class infrastructure that gets a list of microbfdv4 device ids encapsulated by this object. + + Use the optional regex parameters in the method to refine the list of device ids encapsulated by this object. + + Args + ---- + - PortNames (str): optional regex of port names + - Active (str): optional regex of active + - CustomRxInterval (str): optional regex of customRxInterval + - CustomTxInterval (str): optional regex of customTxInterval + - DestinationIP4Address (str): optional regex of destinationIP4Address + - DestinationMac (str): optional regex of destinationMac + - EnableDemandMode (str): optional regex of enableDemandMode + - FlapTxIntervals (str): optional regex of flapTxIntervals + - IpDiffServ (str): optional regex of ipDiffServ + - MinRxInterval (str): optional regex of minRxInterval + - PollInterval (str): optional regex of pollInterval + - SourceIP4Address (str): optional regex of sourceIP4Address + - TimeoutMultiplier (str): optional regex of timeoutMultiplier + - TxInterval (str): optional regex of txInterval + + Returns + ------- + - list(int): A list of device ids that meets the regex criteria provided in the method parameters + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + return self._get_ngpf_device_ids(locals()) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/lag/microbfdv6_e86be7acb660f720ee657e139f44950f.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/lag/microbfdv6_e86be7acb660f720ee657e139f44950f.py new file mode 100644 index 000000000..abeda33b9 --- /dev/null +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/lag/microbfdv6_e86be7acb660f720ee657e139f44950f.py @@ -0,0 +1,868 @@ +# MIT LICENSE +# +# Copyright 1997 - 2020 by IXIA Keysight +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), +# to deal in the Software without restriction, including without limitation +# the rights to use, copy, modify, merge, publish, distribute, sublicense, +# and/or sell copies of the Software, and to permit persons to whom the +# Software is furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +# THE SOFTWARE. +import sys +from ixnetwork_restpy.base import Base +from ixnetwork_restpy.files import Files + +if sys.version_info >= (3, 5): + from typing import List, Any, Union + + +class Microbfdv6(Base): + """MicroBFDv6 (Device) level Configuration + The Microbfdv6 class encapsulates a list of microbfdv6 resources that are managed by the user. + A list of resources can be retrieved from the server using the Microbfdv6.find() method. + The list can be managed by using the Microbfdv6.add() and Microbfdv6.remove() methods. + """ + + __slots__ = () + _SDM_NAME = "microbfdv6" + _SDM_ATT_MAP = { + "Active": "active", + "ConnectedVia": "connectedVia", + "Count": "count", + "CustomRxInterval": "customRxInterval", + "CustomTxInterval": "customTxInterval", + "DescriptiveName": "descriptiveName", + "DestinationIP6Address": "destinationIP6Address", + "DestinationMac": "destinationMac", + "EnableDemandMode": "enableDemandMode", + "Errors": "errors", + "FlapTxIntervals": "flapTxIntervals", + "IpDiffServ": "ipDiffServ", + "MinRxInterval": "minRxInterval", + "Multiplier": "multiplier", + "Name": "name", + "PollInterval": "pollInterval", + "SessionStatus": "sessionStatus", + "SourceIP6Address": "sourceIP6Address", + "SourceMacAddress": "sourceMacAddress", + "StackedLayers": "stackedLayers", + "StateCounts": "stateCounts", + "Status": "status", + "TimeoutMultiplier": "timeoutMultiplier", + "TxInterval": "txInterval", + } + _SDM_ENUM_MAP = { + "status": [ + "configured", + "error", + "mixed", + "notStarted", + "started", + "starting", + "stopping", + ], + } + + def __init__(self, parent, list_op=False): + super(Microbfdv6, self).__init__(parent, list_op) + + @property + def LearnedInfo(self): + """ + Returns + ------- + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.lag.learnedinfo_e3842fc998f50863a80ad08bc75a2de8.LearnedInfo): An instance of the LearnedInfo class + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + from ixnetwork_restpy.testplatform.sessions.ixnetwork.lag.learnedinfo_e3842fc998f50863a80ad08bc75a2de8 import ( + LearnedInfo, + ) + + if len(self._object_properties) > 0: + if self._properties.get("LearnedInfo", None) is not None: + return self._properties.get("LearnedInfo") + return LearnedInfo(self) + + @property + def Active(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Activate/Deactivate Configuration + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["Active"])) + + @property + def ConnectedVia(self): + # type: () -> List[str] + """DEPRECATED + Returns + ------- + - list(str[None | /api/v1/sessions/1/ixnetwork/lag]): List of layers this layer is used to connect with to the wire. + """ + return self._get_attribute(self._SDM_ATT_MAP["ConnectedVia"]) + + @ConnectedVia.setter + def ConnectedVia(self, value): + # type: (List[str]) -> None + self._set_attribute(self._SDM_ATT_MAP["ConnectedVia"], value) + + @property + def Count(self): + # type: () -> int + """ + Returns + ------- + - number: Number of elements inside associated multiplier-scaled container object, e.g. number of devices inside a Device Group. + """ + return self._get_attribute(self._SDM_ATT_MAP["Count"]) + + @property + def CustomRxInterval(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): The minimum interval, in milliseconds, between received BFD Control packets that this interface is capable of supporting. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["CustomRxInterval"]) + ) + + @property + def CustomTxInterval(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): The minimum interval, in milliseconds, that the interface would like to use when transmitting BFD Control packets. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["CustomTxInterval"]) + ) + + @property + def DescriptiveName(self): + # type: () -> str + """ + Returns + ------- + - str: Longer, more descriptive name for element. It's not guaranteed to be unique like -name-, but may offer more context. + """ + return self._get_attribute(self._SDM_ATT_MAP["DescriptiveName"]) + + @property + def DestinationIP6Address(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): The IPv6 address of the neighbor micro-BFD session. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["DestinationIP6Address"]) + ) + + @property + def DestinationMac(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): MAC Address of Neighbor to which the packet is transmitted. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["DestinationMac"]) + ) + + @property + def EnableDemandMode(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): This check box enables Demand Mode. In this mode, it is assumed the interface has an independent way of verifying it has connectivity to the other system. Once a Micro-BFD session is established, the systems stop sending Micro-BFD Control packets, except when either system feels the need to verify connectivity explicitly. In this case, a short sequence of Micro-BFD Control packets is sent. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["EnableDemandMode"]) + ) + + @property + def Errors(self): + """ + Returns + ------- + - list(dict(arg1:str[None | /api/v1/sessions/1/ixnetwork/],arg2:list[str])): A list of errors that have occurred + """ + return self._get_attribute(self._SDM_ATT_MAP["Errors"]) + + @property + def FlapTxIntervals(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): The number of Tx packets sent from device after which session flaps for BFD. A value of zero means no flapping. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["FlapTxIntervals"]) + ) + + @property + def IpDiffServ(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): This is one byte data which is sent with every IP packet originating from the socket of this MicroBFD interface. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["IpDiffServ"])) + + @property + def MinRxInterval(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): The minimum interval, in milliseconds, between received BFD Control packets that this interface is capable of supporting. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["MinRxInterval"])) + + @property + def Multiplier(self): + # type: () -> int + """ + Returns + ------- + - number: Number of layer instances per parent instance (multiplier) + """ + return self._get_attribute(self._SDM_ATT_MAP["Multiplier"]) + + @Multiplier.setter + def Multiplier(self, value): + # type: (int) -> None + self._set_attribute(self._SDM_ATT_MAP["Multiplier"], value) + + @property + def Name(self): + # type: () -> str + """ + Returns + ------- + - str: Name of NGPF element, guaranteed to be unique in Scenario + """ + return self._get_attribute(self._SDM_ATT_MAP["Name"]) + + @Name.setter + def Name(self, value): + # type: (str) -> None + self._set_attribute(self._SDM_ATT_MAP["Name"], value) + + @property + def PollInterval(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): The interval, in milliseconds, between exchanges of Control Messages in Demand Mode. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["PollInterval"])) + + @property + def SessionStatus(self): + # type: () -> List[str] + """ + Returns + ------- + - list(str[down | notStarted | up]): Current state of protocol session: Not Started - session negotiation not started, the session is not active yet. Down - actively trying to bring up a protocol session, but negotiation is didn't successfully complete (yet). Up - session came up successfully. + """ + return self._get_attribute(self._SDM_ATT_MAP["SessionStatus"]) + + @property + def SourceIP6Address(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): The IPv6 address of the micro-BFD session from which packet is transmitted. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["SourceIP6Address"]) + ) + + @property + def SourceMacAddress(self): + # type: () -> List[str] + """ + Returns + ------- + - list(str): MAC Address of the member link transmitting the packet. + """ + return self._get_attribute(self._SDM_ATT_MAP["SourceMacAddress"]) + + @property + def StackedLayers(self): + # type: () -> List[str] + """ + Returns + ------- + - list(str[None | /api/v1/sessions/1/ixnetwork/lag]): List of secondary (many to one) child layer protocols + """ + return self._get_attribute(self._SDM_ATT_MAP["StackedLayers"]) + + @StackedLayers.setter + def StackedLayers(self, value): + # type: (List[str]) -> None + self._set_attribute(self._SDM_ATT_MAP["StackedLayers"], value) + + @property + def StateCounts(self): + """ + Returns + ------- + - dict(total:number,notStarted:number,down:number,up:number): A list of values that indicates the total number of sessions, the number of sessions not started, the number of sessions down and the number of sessions that are up + """ + return self._get_attribute(self._SDM_ATT_MAP["StateCounts"]) + + @property + def Status(self): + # type: () -> str + """ + Returns + ------- + - str(configured | error | mixed | notStarted | started | starting | stopping): Running status of associated network element. Once in Started state, protocol sessions will begin to negotiate. + """ + return self._get_attribute(self._SDM_ATT_MAP["Status"]) + + @property + def TimeoutMultiplier(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): The negotiated transmit interval, multiplied by this value, provides the detection time for the interface. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["TimeoutMultiplier"]) + ) + + @property + def TxInterval(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): The minimum interval, in milliseconds, that the interface would like to use when transmitting BFD Control packets. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["TxInterval"])) + + def update(self, ConnectedVia=None, Multiplier=None, Name=None, StackedLayers=None): + # type: (List[str], int, str, List[str]) -> Microbfdv6 + """Updates microbfdv6 resource on the server. + + This method has some named parameters with a type: obj (Multivalue). + The Multivalue class has documentation that details the possible values for those named parameters. + + Args + ---- + - ConnectedVia (list(str[None | /api/v1/sessions/1/ixnetwork/lag])): List of layers this layer is used to connect with to the wire. + - Multiplier (number): Number of layer instances per parent instance (multiplier) + - Name (str): Name of NGPF element, guaranteed to be unique in Scenario + - StackedLayers (list(str[None | /api/v1/sessions/1/ixnetwork/lag])): List of secondary (many to one) child layer protocols + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + return self._update(self._map_locals(self._SDM_ATT_MAP, locals())) + + def add(self, ConnectedVia=None, Multiplier=None, Name=None, StackedLayers=None): + # type: (List[str], int, str, List[str]) -> Microbfdv6 + """Adds a new microbfdv6 resource on the server and adds it to the container. + + Args + ---- + - ConnectedVia (list(str[None | /api/v1/sessions/1/ixnetwork/lag])): List of layers this layer is used to connect with to the wire. + - Multiplier (number): Number of layer instances per parent instance (multiplier) + - Name (str): Name of NGPF element, guaranteed to be unique in Scenario + - StackedLayers (list(str[None | /api/v1/sessions/1/ixnetwork/lag])): List of secondary (many to one) child layer protocols + + Returns + ------- + - self: This instance with all currently retrieved microbfdv6 resources using find and the newly added microbfdv6 resources available through an iterator or index + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + return self._create(self._map_locals(self._SDM_ATT_MAP, locals())) + + def remove(self): + """Deletes all the contained microbfdv6 resources in this instance from the server. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + self._delete() + + def find( + self, + ConnectedVia=None, + Count=None, + DescriptiveName=None, + Errors=None, + Multiplier=None, + Name=None, + SessionStatus=None, + SourceMacAddress=None, + StackedLayers=None, + StateCounts=None, + Status=None, + ): + """Finds and retrieves microbfdv6 resources from the server. + + All named parameters are evaluated on the server using regex. The named parameters can be used to selectively retrieve microbfdv6 resources from the server. + To retrieve an exact match ensure the parameter value starts with ^ and ends with $ + By default the find method takes no parameters and will retrieve all microbfdv6 resources from the server. + + Args + ---- + - ConnectedVia (list(str[None | /api/v1/sessions/1/ixnetwork/lag])): List of layers this layer is used to connect with to the wire. + - Count (number): Number of elements inside associated multiplier-scaled container object, e.g. number of devices inside a Device Group. + - DescriptiveName (str): Longer, more descriptive name for element. It's not guaranteed to be unique like -name-, but may offer more context. + - Errors (list(dict(arg1:str[None | /api/v1/sessions/1/ixnetwork/],arg2:list[str]))): A list of errors that have occurred + - Multiplier (number): Number of layer instances per parent instance (multiplier) + - Name (str): Name of NGPF element, guaranteed to be unique in Scenario + - SessionStatus (list(str[down | notStarted | up])): Current state of protocol session: Not Started - session negotiation not started, the session is not active yet. Down - actively trying to bring up a protocol session, but negotiation is didn't successfully complete (yet). Up - session came up successfully. + - SourceMacAddress (list(str)): MAC Address of the member link transmitting the packet. + - StackedLayers (list(str[None | /api/v1/sessions/1/ixnetwork/lag])): List of secondary (many to one) child layer protocols + - StateCounts (dict(total:number,notStarted:number,down:number,up:number)): A list of values that indicates the total number of sessions, the number of sessions not started, the number of sessions down and the number of sessions that are up + - Status (str(configured | error | mixed | notStarted | started | starting | stopping)): Running status of associated network element. Once in Started state, protocol sessions will begin to negotiate. + + Returns + ------- + - self: This instance with matching microbfdv6 resources retrieved from the server available through an iterator or index + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + return self._select(self._map_locals(self._SDM_ATT_MAP, locals())) + + def read(self, href): + """Retrieves a single instance of microbfdv6 data from the server. + + Args + ---- + - href (str): An href to the instance to be retrieved + + Returns + ------- + - self: This instance with the microbfdv6 resources from the server available through an iterator or index + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + return self._read(href) + + def Abort(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the abort operation on the server. + + Abort CPF control plane (equals to demote to kUnconfigured state). + + abort(async_operation=bool) + --------------------------- + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("abort", payload=payload, response_object=None) + + def ClearLearnedInfo(self, *args, **kwargs): + # type: (*Any, **Any) -> Union[List[str], None] + """Executes the clearLearnedInfo operation on the server. + + Clear Learned Information which is already fetched. + + clearLearnedInfo(Arg2=list, async_operation=bool)list + ----------------------------------------------------- + - Arg2 (list(number)): List of indices into the protocol plugin. An empty list indicates all instances in the plugin. + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + - Returns list(str): ID to associate each async action invocation + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("clearLearnedInfo", payload=payload, response_object=None) + + def DisableDemandMode(self, *args, **kwargs): + # type: (*Any, **Any) -> Union[List[str], None] + """Executes the disableDemandMode operation on the server. + + Clears the Demand (D) bit set in the control packets. + + disableDemandMode(Arg2=list, async_operation=bool)list + ------------------------------------------------------ + - Arg2 (list(number)): List of indices into the protocol plugin. An empty list indicates all instances in the plugin. + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + - Returns list(str): ID to associate each async action invocation + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("disableDemandMode", payload=payload, response_object=None) + + def EnableDemandMode(self, *args, **kwargs): + # type: (*Any, **Any) -> Union[List[str], None] + """Executes the enableDemandMode operation on the server. + + Sets the Demand (D) bit set in the control packets. + + enableDemandMode(Arg2=list, async_operation=bool)list + ----------------------------------------------------- + - Arg2 (list(number)): List of indices into the protocol plugin. An empty list indicates all instances in the plugin. + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + - Returns list(str): ID to associate each async action invocation + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("enableDemandMode", payload=payload, response_object=None) + + def GetLearnedInfo(self, *args, **kwargs): + # type: (*Any, **Any) -> Union[List[str], None] + """Executes the getLearnedInfo operation on the server. + + Get Learned Information. + + getLearnedInfo(Arg2=list, async_operation=bool)list + --------------------------------------------------- + - Arg2 (list(number)): List of indices into the protocol plugin. An empty list indicates all instances in the plugin. + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + - Returns list(str): ID to associate each async action invocation + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("getLearnedInfo", payload=payload, response_object=None) + + def InitiatePoll(self, *args, **kwargs): + # type: (*Any, **Any) -> Union[List[str], None] + """Executes the initiatePoll operation on the server. + + Sets the Poll (P) bit in the control packets. + + initiatePoll(Arg2=list, async_operation=bool)list + ------------------------------------------------- + - Arg2 (list(number)): List of indices into the protocol plugin. An empty list indicates all instances in the plugin. + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + - Returns list(str): ID to associate each async action invocation + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("initiatePoll", payload=payload, response_object=None) + + def ResumePDU(self, *args, **kwargs): + # type: (*Any, **Any) -> Union[List[str], None] + """Executes the resumePDU operation on the server. + + Resumes sending control PDUs for the session. + + resumePDU(Arg2=list, async_operation=bool)list + ---------------------------------------------- + - Arg2 (list(number)): List of indices into the protocol plugin. An empty list indicates all instances in the plugin. + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + - Returns list(str): ID to associate each async action invocation + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("resumePDU", payload=payload, response_object=None) + + def SetAdminDown(self, *args, **kwargs): + # type: (*Any, **Any) -> Union[List[str], None] + """Executes the setAdminDown operation on the server. + + Set the session Administratively Down. + + setAdminDown(Arg2=list, async_operation=bool)list + ------------------------------------------------- + - Arg2 (list(number)): List of indices into the protocol plugin. An empty list indicates all instances in the plugin. + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + - Returns list(str): ID to associate each async action invocation + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("setAdminDown", payload=payload, response_object=None) + + def SetAdminUp(self, *args, **kwargs): + # type: (*Any, **Any) -> Union[List[str], None] + """Executes the setAdminUp operation on the server. + + Set the session Administratively Up. + + setAdminUp(Arg2=list, async_operation=bool)list + ----------------------------------------------- + - Arg2 (list(number)): List of indices into the protocol plugin. An empty list indicates all instances in the plugin. + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + - Returns list(str): ID to associate each async action invocation + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("setAdminUp", payload=payload, response_object=None) + + def SetDiagnosticState(self, *args, **kwargs): + # type: (*Any, **Any) -> Union[List[str], None] + """Executes the setDiagnosticState operation on the server. + + Set Diagnostic State as per the code selected in the control packets. + + setDiagnosticState(Arg2=list, Arg3=enum, async_operation=bool)list + ------------------------------------------------------------------ + - Arg2 (list(number)): List of indices into the protocol plugin. An empty list indicates all instances in the plugin. + - Arg3 (str(controlDetectionTimeExpired | echoFunctionFailed | neighbourSignaledSessionDown | forwardingPlaneReset | pathDown | concatenatedPathDown | administrativelyDown | reverseConcatenatedPathDown | reserved)): Diagnostic Code + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + - Returns list(str): ID to associate each async action invocation + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute( + "setDiagnosticState", payload=payload, response_object=None + ) + + def Start(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the start operation on the server. + + Start CPF control plane (equals to promote to negotiated state). + + start(async_operation=bool) + --------------------------- + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("start", payload=payload, response_object=None) + + def Stop(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the stop operation on the server. + + Stop CPF control plane (equals to demote to PreValidated-DoDDone state). + + stop(async_operation=bool) + -------------------------- + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("stop", payload=payload, response_object=None) + + def StopPDU(self, *args, **kwargs): + # type: (*Any, **Any) -> Union[List[str], None] + """Executes the stopPDU operation on the server. + + Stop sending control PDUs for the session. + + stopPDU(Arg2=list, async_operation=bool)list + -------------------------------------------- + - Arg2 (list(number)): List of indices into the protocol plugin. An empty list indicates all instances in the plugin. + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + - Returns list(str): ID to associate each async action invocation + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("stopPDU", payload=payload, response_object=None) + + def get_device_ids( + self, + PortNames=None, + Active=None, + CustomRxInterval=None, + CustomTxInterval=None, + DestinationIP6Address=None, + DestinationMac=None, + EnableDemandMode=None, + FlapTxIntervals=None, + IpDiffServ=None, + MinRxInterval=None, + PollInterval=None, + SourceIP6Address=None, + TimeoutMultiplier=None, + TxInterval=None, + ): + """Base class infrastructure that gets a list of microbfdv6 device ids encapsulated by this object. + + Use the optional regex parameters in the method to refine the list of device ids encapsulated by this object. + + Args + ---- + - PortNames (str): optional regex of port names + - Active (str): optional regex of active + - CustomRxInterval (str): optional regex of customRxInterval + - CustomTxInterval (str): optional regex of customTxInterval + - DestinationIP6Address (str): optional regex of destinationIP6Address + - DestinationMac (str): optional regex of destinationMac + - EnableDemandMode (str): optional regex of enableDemandMode + - FlapTxIntervals (str): optional regex of flapTxIntervals + - IpDiffServ (str): optional regex of ipDiffServ + - MinRxInterval (str): optional regex of minRxInterval + - PollInterval (str): optional regex of pollInterval + - SourceIP6Address (str): optional regex of sourceIP6Address + - TimeoutMultiplier (str): optional regex of timeoutMultiplier + - TxInterval (str): optional regex of txInterval + + Returns + ------- + - list(int): A list of device ids that meets the regex criteria provided in the method parameters + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + return self._get_ngpf_device_ids(locals()) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/locations/locations.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/locations/locations.py index 80b74e956..dd7faad07 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/locations/locations.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/locations/locations.py @@ -132,7 +132,7 @@ def CableLength(self): """ Returns ------- - - number: Specifies the length of the cable between two adjacent device. Must be set only after the device hostname has been set and committed on the current device. + - number: Specifies the length of the cable between two adjacent devices. Must be set only after the device hostname has been set and committed on the current device. """ return self._get_attribute(self._SDM_ATT_MAP["CableLength"]) @@ -182,7 +182,7 @@ def ErrorDescription(self): """ Returns ------- - - str: Connection error description + - str: Connection error description. """ return self._get_attribute(self._SDM_ATT_MAP["ErrorDescription"]) @@ -267,7 +267,7 @@ def LicenseErrors(self): """ Returns ------- - - list(str): Shows the licening errors that occurred due to licensing problems. + - list(str): Shows the licensing errors that occurred due to licensing problems. """ return self._get_attribute(self._SDM_ATT_MAP["LicenseErrors"]) @@ -352,7 +352,7 @@ def StateV2(self): """ Returns ------- - - str(connectError | down | notConnected | polling | pollingWait | ready): The following states can be read from the port: polling, notConnected, pollingWait, ready, down and connectError. + - str(connectError | down | notConnected | polling | pollingWait | ready): The following states can be read from the port: polling, notConnected, pollingWait, ready, down, and connectError. """ return self._get_attribute(self._SDM_ATT_MAP["StateV2"]) @@ -370,7 +370,7 @@ def update( Args ---- - - CableLength (number): Specifies the length of the cable between two adjacent device. Must be set only after the device hostname has been set and committed on the current device. + - CableLength (number): Specifies the length of the cable between two adjacent devices. Must be set only after the device hostname has been set and committed on the current device. - ChainTopology (str(daisy | none | star)): The chain topology type. This must be defined on the primary device. It must be defined only after the device host name has been specified and applied on the current device. For legacy device chains, the daisy chainTopology should be indicated. - Hostname (str): The hostname or IP address associated with the device. - MasterDevice (str): Specify the hostname of the primary device on a secondary device. Must be left blank on primary. Must be set only after the device hostname has been set and committed on the current device. @@ -397,7 +397,7 @@ def add( Args ---- - - CableLength (number): Specifies the length of the cable between two adjacent device. Must be set only after the device hostname has been set and committed on the current device. + - CableLength (number): Specifies the length of the cable between two adjacent devices. Must be set only after the device hostname has been set and committed on the current device. - ChainTopology (str(daisy | none | star)): The chain topology type. This must be defined on the primary device. It must be defined only after the device host name has been specified and applied on the current device. For legacy device chains, the daisy chainTopology should be indicated. - Hostname (str): The hostname or IP address associated with the device. - MasterDevice (str): Specify the hostname of the primary device on a secondary device. Must be left blank on primary. Must be set only after the device hostname has been set and committed on the current device. @@ -456,11 +456,11 @@ def find( Args ---- - - CableLength (number): Specifies the length of the cable between two adjacent device. Must be set only after the device hostname has been set and committed on the current device. + - CableLength (number): Specifies the length of the cable between two adjacent devices. Must be set only after the device hostname has been set and committed on the current device. - ChainTopology (str(daisy | none | star)): The chain topology type. This must be defined on the primary device. It must be defined only after the device host name has been specified and applied on the current device. For legacy device chains, the daisy chainTopology should be indicated. - ConnectRetries (number): The number of time the client attempted to re-connect with the device. (read only) - DeviceType (str): The type of device. - - ErrorDescription (str): Connection error description + - ErrorDescription (str): Connection error description. - ErrorState (str(ConnectError | DuplicateChassis | IncompatibleIxOS | MultipleNics | NoCardsFound | NoError | NoLicenseFound | NonAppliance | NonLinuxChassis)): Device error state. - Hostname (str): The hostname or IP address associated with the device. - Ip (str): The IP address associated with the device. @@ -468,14 +468,14 @@ def find( - IsPrimary (bool): Specifies whether this device is a primary of a secondary in a chain. - IxnBuildNumber (str): IxNetwork build number. - IxosBuildNumber (str): The IxOS version running on the device in use. - - LicenseErrors (list(str)): Shows the licening errors that occurred due to licensing problems. + - LicenseErrors (list(str)): Shows the licensing errors that occurred due to licensing problems. - MasterDevice (str): Specify the hostname of the primary device on a secondary device. Must be left blank on primary. Must be set only after the device hostname has been set and committed on the current device. - OsType (str(linux | unknown | windows)): Device OS type. - PrimaryDevice (str): Specify the hostname of the primary chassis on a secondary chassis. Must be left blank on primary. Must be set only after the chassis hostname has been set and committed on the current chassis. - ProtocolBuildNumber (str): The Protocols version of the device in use. - SequenceId (number): Indicates the order at which the device in a chain are pulsed by IxOS. Star topology chains are automatically setting this value. Must be set only after the device hostname has been set and committed on the current device. - State (str(down | down | polling | polling | polling | ready)): The following states can be read from the port: polling, ready, and down. - - StateV2 (str(connectError | down | notConnected | polling | pollingWait | ready)): The following states can be read from the port: polling, notConnected, pollingWait, ready, down and connectError. + - StateV2 (str(connectError | down | notConnected | polling | pollingWait | ready)): The following states can be read from the port: polling, notConnected, pollingWait, ready, down, and connectError. Returns ------- diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/locations/ports/ports.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/locations/ports/ports.py index 4cd9d3bc7..2e748b9a5 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/locations/ports/ports.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/locations/ports/ports.py @@ -79,7 +79,8 @@ class Ports(Base): "krakenTwoByOneHundredGigFanOut", "krakenFourByFiftyGigFanOut", "aresOneOneByFourHundredGigNonFanOut", - "aresOneOneByFourHundredGigMacSecNonFanOut", + "aresOneOneByFourHundredGigMacSec128NonFanOut", + "aresOneOneByFourHundredGigMacSec256NonFanOut", "aresOneTwoByTwoHundredGigFanOut", "aresOneTwoByTwoHundredGigMacSecFanOut", "aresOneFourByOneHundredGigFanOut", @@ -97,7 +98,9 @@ class Ports(Base): "novus5GOneByHundredGigNonFanOutHighStream", "starTwoByFourHundredGigNonFannedOutPAM4", "starFourByTwoHundredGigFannedOutPAM4", + "starTwoByTwoHundredGigFannedOutNRZ", "starEightByHundredGigFannedOutPAM4", + "starEightByHundredGigFannedOutPAM4RoCEv2", "starFourByHundredGigFannedOutNRZ", "starSixteenByFiftyGigFannedOutPAM4", "starEightByFiftyGigFannedOutNRZ", @@ -130,6 +133,20 @@ class Ports(Base): "aresOneEightHundredOsfpCFourByTwoHundredGigFannedOutPAM4", "aresOneEightHundredOsfpCTwoByFourHundredGigFannedOutPAM4", "aresOneEightHundredOsfpCOneByEightHundredGigNonFannedOutPAM4", + "aresOne-M-OneByEightHundredGigPAM4-106G", + "aresOne-M-TwoByFourHundredGigPAM4-106G", + "aresOne-M-FourByTwoHundredGigPAM4-106G", + "aresOne-M-EightByOneHundredGigPAM4-106G", + "aresOne-M-OneByFourHundredGigPAM4-53G", + "aresOne-M-TwoByTwoHundredGigPAM4-53G", + "aresOne-M-FourByOneHundredGigPAM4-53G", + "aresOne-M-EightByFiftyGigPAM4-53G", + "aresOne-M-OneByTwoHundredGigNRZ-26G", + "aresOne-M-TwoByOneHundredGigNRZ-26G", + "aresOne-M-FourByFiftyGigNRZ-26G", + "aresOne-M-TwoByFortyGigNRZ-10G", + "aresOne-M-EightByTwentyFiveGigNRZ-26G", + "aresOne-M-EightByTenGigNRZ-10G", "notApplicable", ], } @@ -253,7 +270,7 @@ def ResourceMode(self): """ Returns ------- - - str(normal | tenGig | fortyGig | singleMode | dualMode | hundredGigNonFanOut | fortyGigFanOut | threeByTenGigFanOut | eightByTenGigFanOut | fourByTwentyFiveGigNonFanOut | twoByTwentyFiveGigNonFanOut | oneByFiftyGigNonFanOut | fortyGigNonFanOut | oneByTenGigFanOut | fourByTenGigFanOut | incompatibleMode | hundredGigCapturePlayback | fortyGigCapturePlayback | novusHundredGigNonFanOut | novusFourByTwentyFiveGigNonFanOut | novusTwoByFiftyGigNonFanOut | novusOneByFortyGigNonFanOut | novusFourByTenGigNonFanOut | krakenOneByFourHundredGigNonFanOut | krakenOneByTwoHundredGigNonFanOut | krakenTwoByOneHundredGigFanOut | krakenFourByFiftyGigFanOut | aresOneOneByFourHundredGigNonFanOut | aresOneOneByFourHundredGigMacSecNonFanOut | aresOneTwoByTwoHundredGigFanOut | aresOneTwoByTwoHundredGigMacSecFanOut | aresOneFourByOneHundredGigFanOut | aresOneFourByOneHundredGigMacSecFanOut | aresOneEightByFiftyGigFanOut | uhdOneHundredEightByHundredGigNonFanOut | uhdOneHundredEightByFortyGigNonFanOut | uhdOneHundredSixteenByFiftyGigFanOut | uhdOneHundredThirtyTwoByTwentyFiveGigFanOut | uhdOneHundredThirtyTwoByTenGigFanOut | novus5GOneByTenGigNonFanOut | novus5GOneByTwentyFiveGigNonFanOut | novus5GOneByFiftyGigNonFanOut | novus5GOneByHundredGigNonFanOut | novus5GOneByHundredGigNonFanOutHighStream | starTwoByFourHundredGigNonFannedOutPAM4 | starFourByTwoHundredGigFannedOutPAM4 | starEightByHundredGigFannedOutPAM4 | starFourByHundredGigFannedOutNRZ | starSixteenByFiftyGigFannedOutPAM4 | starEightByFiftyGigFannedOutNRZ | starFourByFortyGigFannedOutNRZ | starSixteenByTwentyFiveGigFannedOutNRZ | starSixteenByTenGigFannedOutNRZ | starFourByHundredGigFannedOutPAM4HalfDensityHighStream | starEightByFiftyGigFannedOutPAM4HalfDensityHighStream | starEightByTwentyFiveGigFannedOutNRZHalfDensityHighStream | starEightByTenGigFannedOutNRZHalfDensityHighStream | novusHundredGigNonFanOutHighStream | novusFourByTwentyFiveGigNonFanOutHighStream | novusTwoByFiftyGigNonFanOutHighStream | novusOneByFortyGigNonFanOutHighStream | novusFourByTenGigNonFanOutHighStream | ravenEightByHundredGigFannedOutPAM4 | ravenFourByTwoHundredGigFannedOutPAM4 | ravenTwoByFourHundredGigFannedOutPAM4 | ravenOneByEightHundredGigNonFannedOutPAM4 | aresOneEightHundredQddCEightByHundredGigFannedOutPAM4 | aresOneEightHundredQddCFourByTwoHundredGigFannedOutPAM4 | aresOneEightHundredQddCTwoByFourHundredGigFannedOutPAM4 | aresOneEightHundredQddCOneByEightHundredGigNonFannedOutPAM4 | rangerHundredGig | rangerFiftyGig | rangerFourtyGig | rangerTwentyFiveGig | rangerTenGig | aresOneEightHundredOsfpCEightByHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCFourByTwoHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCTwoByFourHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCOneByEightHundredGigNonFannedOutPAM4 | notApplicable): Gets the current port resource group mode. + - str(normal | tenGig | fortyGig | singleMode | dualMode | hundredGigNonFanOut | fortyGigFanOut | threeByTenGigFanOut | eightByTenGigFanOut | fourByTwentyFiveGigNonFanOut | twoByTwentyFiveGigNonFanOut | oneByFiftyGigNonFanOut | fortyGigNonFanOut | oneByTenGigFanOut | fourByTenGigFanOut | incompatibleMode | hundredGigCapturePlayback | fortyGigCapturePlayback | novusHundredGigNonFanOut | novusFourByTwentyFiveGigNonFanOut | novusTwoByFiftyGigNonFanOut | novusOneByFortyGigNonFanOut | novusFourByTenGigNonFanOut | krakenOneByFourHundredGigNonFanOut | krakenOneByTwoHundredGigNonFanOut | krakenTwoByOneHundredGigFanOut | krakenFourByFiftyGigFanOut | aresOneOneByFourHundredGigNonFanOut | aresOneOneByFourHundredGigMacSec128NonFanOut | aresOneOneByFourHundredGigMacSec256NonFanOut | aresOneTwoByTwoHundredGigFanOut | aresOneTwoByTwoHundredGigMacSecFanOut | aresOneFourByOneHundredGigFanOut | aresOneFourByOneHundredGigMacSecFanOut | aresOneEightByFiftyGigFanOut | uhdOneHundredEightByHundredGigNonFanOut | uhdOneHundredEightByFortyGigNonFanOut | uhdOneHundredSixteenByFiftyGigFanOut | uhdOneHundredThirtyTwoByTwentyFiveGigFanOut | uhdOneHundredThirtyTwoByTenGigFanOut | novus5GOneByTenGigNonFanOut | novus5GOneByTwentyFiveGigNonFanOut | novus5GOneByFiftyGigNonFanOut | novus5GOneByHundredGigNonFanOut | novus5GOneByHundredGigNonFanOutHighStream | starTwoByFourHundredGigNonFannedOutPAM4 | starFourByTwoHundredGigFannedOutPAM4 | starTwoByTwoHundredGigFannedOutNRZ | starEightByHundredGigFannedOutPAM4 | starEightByHundredGigFannedOutPAM4RoCEv2 | starFourByHundredGigFannedOutNRZ | starSixteenByFiftyGigFannedOutPAM4 | starEightByFiftyGigFannedOutNRZ | starFourByFortyGigFannedOutNRZ | starSixteenByTwentyFiveGigFannedOutNRZ | starSixteenByTenGigFannedOutNRZ | starFourByHundredGigFannedOutPAM4HalfDensityHighStream | starEightByFiftyGigFannedOutPAM4HalfDensityHighStream | starEightByTwentyFiveGigFannedOutNRZHalfDensityHighStream | starEightByTenGigFannedOutNRZHalfDensityHighStream | novusHundredGigNonFanOutHighStream | novusFourByTwentyFiveGigNonFanOutHighStream | novusTwoByFiftyGigNonFanOutHighStream | novusOneByFortyGigNonFanOutHighStream | novusFourByTenGigNonFanOutHighStream | ravenEightByHundredGigFannedOutPAM4 | ravenFourByTwoHundredGigFannedOutPAM4 | ravenTwoByFourHundredGigFannedOutPAM4 | ravenOneByEightHundredGigNonFannedOutPAM4 | aresOneEightHundredQddCEightByHundredGigFannedOutPAM4 | aresOneEightHundredQddCFourByTwoHundredGigFannedOutPAM4 | aresOneEightHundredQddCTwoByFourHundredGigFannedOutPAM4 | aresOneEightHundredQddCOneByEightHundredGigNonFannedOutPAM4 | rangerHundredGig | rangerFiftyGig | rangerFourtyGig | rangerTwentyFiveGig | rangerTenGig | aresOneEightHundredOsfpCEightByHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCFourByTwoHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCTwoByFourHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCOneByEightHundredGigNonFannedOutPAM4 | aresOne-M-OneByEightHundredGigPAM4-106G | aresOne-M-TwoByFourHundredGigPAM4-106G | aresOne-M-FourByTwoHundredGigPAM4-106G | aresOne-M-EightByOneHundredGigPAM4-106G | aresOne-M-OneByFourHundredGigPAM4-53G | aresOne-M-TwoByTwoHundredGigPAM4-53G | aresOne-M-FourByOneHundredGigPAM4-53G | aresOne-M-EightByFiftyGigPAM4-53G | aresOne-M-OneByTwoHundredGigNRZ-26G | aresOne-M-TwoByOneHundredGigNRZ-26G | aresOne-M-FourByFiftyGigNRZ-26G | aresOne-M-TwoByFortyGigNRZ-10G | aresOne-M-EightByTwentyFiveGigNRZ-26G | aresOne-M-EightByTenGigNRZ-10G | notApplicable): Gets the current port resource group mode. """ return self._get_attribute(self._SDM_ATT_MAP["ResourceMode"]) @@ -305,7 +322,7 @@ def find( - PeerSystemIp (str): The IP address of the discovered peer system. - PeerSystemMac (str): The MAC address of the discovered peer system. - PeerSystemName (str): The system name of the discovered peer. - - ResourceMode (str(normal | tenGig | fortyGig | singleMode | dualMode | hundredGigNonFanOut | fortyGigFanOut | threeByTenGigFanOut | eightByTenGigFanOut | fourByTwentyFiveGigNonFanOut | twoByTwentyFiveGigNonFanOut | oneByFiftyGigNonFanOut | fortyGigNonFanOut | oneByTenGigFanOut | fourByTenGigFanOut | incompatibleMode | hundredGigCapturePlayback | fortyGigCapturePlayback | novusHundredGigNonFanOut | novusFourByTwentyFiveGigNonFanOut | novusTwoByFiftyGigNonFanOut | novusOneByFortyGigNonFanOut | novusFourByTenGigNonFanOut | krakenOneByFourHundredGigNonFanOut | krakenOneByTwoHundredGigNonFanOut | krakenTwoByOneHundredGigFanOut | krakenFourByFiftyGigFanOut | aresOneOneByFourHundredGigNonFanOut | aresOneOneByFourHundredGigMacSecNonFanOut | aresOneTwoByTwoHundredGigFanOut | aresOneTwoByTwoHundredGigMacSecFanOut | aresOneFourByOneHundredGigFanOut | aresOneFourByOneHundredGigMacSecFanOut | aresOneEightByFiftyGigFanOut | uhdOneHundredEightByHundredGigNonFanOut | uhdOneHundredEightByFortyGigNonFanOut | uhdOneHundredSixteenByFiftyGigFanOut | uhdOneHundredThirtyTwoByTwentyFiveGigFanOut | uhdOneHundredThirtyTwoByTenGigFanOut | novus5GOneByTenGigNonFanOut | novus5GOneByTwentyFiveGigNonFanOut | novus5GOneByFiftyGigNonFanOut | novus5GOneByHundredGigNonFanOut | novus5GOneByHundredGigNonFanOutHighStream | starTwoByFourHundredGigNonFannedOutPAM4 | starFourByTwoHundredGigFannedOutPAM4 | starEightByHundredGigFannedOutPAM4 | starFourByHundredGigFannedOutNRZ | starSixteenByFiftyGigFannedOutPAM4 | starEightByFiftyGigFannedOutNRZ | starFourByFortyGigFannedOutNRZ | starSixteenByTwentyFiveGigFannedOutNRZ | starSixteenByTenGigFannedOutNRZ | starFourByHundredGigFannedOutPAM4HalfDensityHighStream | starEightByFiftyGigFannedOutPAM4HalfDensityHighStream | starEightByTwentyFiveGigFannedOutNRZHalfDensityHighStream | starEightByTenGigFannedOutNRZHalfDensityHighStream | novusHundredGigNonFanOutHighStream | novusFourByTwentyFiveGigNonFanOutHighStream | novusTwoByFiftyGigNonFanOutHighStream | novusOneByFortyGigNonFanOutHighStream | novusFourByTenGigNonFanOutHighStream | ravenEightByHundredGigFannedOutPAM4 | ravenFourByTwoHundredGigFannedOutPAM4 | ravenTwoByFourHundredGigFannedOutPAM4 | ravenOneByEightHundredGigNonFannedOutPAM4 | aresOneEightHundredQddCEightByHundredGigFannedOutPAM4 | aresOneEightHundredQddCFourByTwoHundredGigFannedOutPAM4 | aresOneEightHundredQddCTwoByFourHundredGigFannedOutPAM4 | aresOneEightHundredQddCOneByEightHundredGigNonFannedOutPAM4 | rangerHundredGig | rangerFiftyGig | rangerFourtyGig | rangerTwentyFiveGig | rangerTenGig | aresOneEightHundredOsfpCEightByHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCFourByTwoHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCTwoByFourHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCOneByEightHundredGigNonFannedOutPAM4 | notApplicable)): Gets the current port resource group mode. + - ResourceMode (str(normal | tenGig | fortyGig | singleMode | dualMode | hundredGigNonFanOut | fortyGigFanOut | threeByTenGigFanOut | eightByTenGigFanOut | fourByTwentyFiveGigNonFanOut | twoByTwentyFiveGigNonFanOut | oneByFiftyGigNonFanOut | fortyGigNonFanOut | oneByTenGigFanOut | fourByTenGigFanOut | incompatibleMode | hundredGigCapturePlayback | fortyGigCapturePlayback | novusHundredGigNonFanOut | novusFourByTwentyFiveGigNonFanOut | novusTwoByFiftyGigNonFanOut | novusOneByFortyGigNonFanOut | novusFourByTenGigNonFanOut | krakenOneByFourHundredGigNonFanOut | krakenOneByTwoHundredGigNonFanOut | krakenTwoByOneHundredGigFanOut | krakenFourByFiftyGigFanOut | aresOneOneByFourHundredGigNonFanOut | aresOneOneByFourHundredGigMacSec128NonFanOut | aresOneOneByFourHundredGigMacSec256NonFanOut | aresOneTwoByTwoHundredGigFanOut | aresOneTwoByTwoHundredGigMacSecFanOut | aresOneFourByOneHundredGigFanOut | aresOneFourByOneHundredGigMacSecFanOut | aresOneEightByFiftyGigFanOut | uhdOneHundredEightByHundredGigNonFanOut | uhdOneHundredEightByFortyGigNonFanOut | uhdOneHundredSixteenByFiftyGigFanOut | uhdOneHundredThirtyTwoByTwentyFiveGigFanOut | uhdOneHundredThirtyTwoByTenGigFanOut | novus5GOneByTenGigNonFanOut | novus5GOneByTwentyFiveGigNonFanOut | novus5GOneByFiftyGigNonFanOut | novus5GOneByHundredGigNonFanOut | novus5GOneByHundredGigNonFanOutHighStream | starTwoByFourHundredGigNonFannedOutPAM4 | starFourByTwoHundredGigFannedOutPAM4 | starTwoByTwoHundredGigFannedOutNRZ | starEightByHundredGigFannedOutPAM4 | starEightByHundredGigFannedOutPAM4RoCEv2 | starFourByHundredGigFannedOutNRZ | starSixteenByFiftyGigFannedOutPAM4 | starEightByFiftyGigFannedOutNRZ | starFourByFortyGigFannedOutNRZ | starSixteenByTwentyFiveGigFannedOutNRZ | starSixteenByTenGigFannedOutNRZ | starFourByHundredGigFannedOutPAM4HalfDensityHighStream | starEightByFiftyGigFannedOutPAM4HalfDensityHighStream | starEightByTwentyFiveGigFannedOutNRZHalfDensityHighStream | starEightByTenGigFannedOutNRZHalfDensityHighStream | novusHundredGigNonFanOutHighStream | novusFourByTwentyFiveGigNonFanOutHighStream | novusTwoByFiftyGigNonFanOutHighStream | novusOneByFortyGigNonFanOutHighStream | novusFourByTenGigNonFanOutHighStream | ravenEightByHundredGigFannedOutPAM4 | ravenFourByTwoHundredGigFannedOutPAM4 | ravenTwoByFourHundredGigFannedOutPAM4 | ravenOneByEightHundredGigNonFannedOutPAM4 | aresOneEightHundredQddCEightByHundredGigFannedOutPAM4 | aresOneEightHundredQddCFourByTwoHundredGigFannedOutPAM4 | aresOneEightHundredQddCTwoByFourHundredGigFannedOutPAM4 | aresOneEightHundredQddCOneByEightHundredGigNonFannedOutPAM4 | rangerHundredGig | rangerFiftyGig | rangerFourtyGig | rangerTwentyFiveGig | rangerTenGig | aresOneEightHundredOsfpCEightByHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCFourByTwoHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCTwoByFourHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCOneByEightHundredGigNonFannedOutPAM4 | aresOne-M-OneByEightHundredGigPAM4-106G | aresOne-M-TwoByFourHundredGigPAM4-106G | aresOne-M-FourByTwoHundredGigPAM4-106G | aresOne-M-EightByOneHundredGigPAM4-106G | aresOne-M-OneByFourHundredGigPAM4-53G | aresOne-M-TwoByTwoHundredGigPAM4-53G | aresOne-M-FourByOneHundredGigPAM4-53G | aresOne-M-EightByFiftyGigPAM4-53G | aresOne-M-OneByTwoHundredGigNRZ-26G | aresOne-M-TwoByOneHundredGigNRZ-26G | aresOne-M-FourByFiftyGigNRZ-26G | aresOne-M-TwoByFortyGigNRZ-10G | aresOne-M-EightByTwentyFiveGigNRZ-26G | aresOne-M-EightByTenGigNRZ-10G | notApplicable)): Gets the current port resource group mode. Returns ------- diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/locations/resourcegroups/resourcegroups.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/locations/resourcegroups/resourcegroups.py index f5c0c39c6..c8a233693 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/locations/resourcegroups/resourcegroups.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/locations/resourcegroups/resourcegroups.py @@ -51,7 +51,7 @@ def AvailableResourceModes(self): """ Returns ------- - - list(str[normal | tenGig | fortyGig | singleMode | dualMode | hundredGigNonFanOut | fortyGigFanOut | threeByTenGigFanOut | eightByTenGigFanOut | fourByTwentyFiveGigNonFanOut | twoByTwentyFiveGigNonFanOut | oneByFiftyGigNonFanOut | fortyGigNonFanOut | oneByTenGigFanOut | fourByTenGigFanOut | incompatibleMode | hundredGigCapturePlayback | fortyGigCapturePlayback | novusHundredGigNonFanOut | novusFourByTwentyFiveGigNonFanOut | novusTwoByFiftyGigNonFanOut | novusOneByFortyGigNonFanOut | novusFourByTenGigNonFanOut | krakenOneByFourHundredGigNonFanOut | krakenOneByTwoHundredGigNonFanOut | krakenTwoByOneHundredGigFanOut | krakenFourByFiftyGigFanOut | aresOneOneByFourHundredGigNonFanOut | aresOneOneByFourHundredGigMacSecNonFanOut | aresOneTwoByTwoHundredGigFanOut | aresOneTwoByTwoHundredGigMacSecFanOut | aresOneFourByOneHundredGigFanOut | aresOneFourByOneHundredGigMacSecFanOut | aresOneEightByFiftyGigFanOut | uhdOneHundredEightByHundredGigNonFanOut | uhdOneHundredEightByFortyGigNonFanOut | uhdOneHundredSixteenByFiftyGigFanOut | uhdOneHundredThirtyTwoByTwentyFiveGigFanOut | uhdOneHundredThirtyTwoByTenGigFanOut | novus5GOneByTenGigNonFanOut | novus5GOneByTwentyFiveGigNonFanOut | novus5GOneByFiftyGigNonFanOut | novus5GOneByHundredGigNonFanOut | novus5GOneByHundredGigNonFanOutHighStream | starTwoByFourHundredGigNonFannedOutPAM4 | starFourByTwoHundredGigFannedOutPAM4 | starEightByHundredGigFannedOutPAM4 | starFourByHundredGigFannedOutNRZ | starSixteenByFiftyGigFannedOutPAM4 | starEightByFiftyGigFannedOutNRZ | starFourByFortyGigFannedOutNRZ | starSixteenByTwentyFiveGigFannedOutNRZ | starSixteenByTenGigFannedOutNRZ | starFourByHundredGigFannedOutPAM4HalfDensityHighStream | starEightByFiftyGigFannedOutPAM4HalfDensityHighStream | starEightByTwentyFiveGigFannedOutNRZHalfDensityHighStream | starEightByTenGigFannedOutNRZHalfDensityHighStream | novusHundredGigNonFanOutHighStream | novusFourByTwentyFiveGigNonFanOutHighStream | novusTwoByFiftyGigNonFanOutHighStream | novusOneByFortyGigNonFanOutHighStream | novusFourByTenGigNonFanOutHighStream | ravenEightByHundredGigFannedOutPAM4 | ravenFourByTwoHundredGigFannedOutPAM4 | ravenTwoByFourHundredGigFannedOutPAM4 | ravenOneByEightHundredGigNonFannedOutPAM4 | aresOneEightHundredQddCEightByHundredGigFannedOutPAM4 | aresOneEightHundredQddCFourByTwoHundredGigFannedOutPAM4 | aresOneEightHundredQddCTwoByFourHundredGigFannedOutPAM4 | aresOneEightHundredQddCOneByEightHundredGigNonFannedOutPAM4 | rangerHundredGig | rangerFiftyGig | rangerFourtyGig | rangerTwentyFiveGig | rangerTenGig | aresOneEightHundredOsfpCEightByHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCFourByTwoHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCTwoByFourHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCOneByEightHundredGigNonFannedOutPAM4]): Gets the supported resource group modes. + - list(str[normal | tenGig | fortyGig | singleMode | dualMode | hundredGigNonFanOut | fortyGigFanOut | threeByTenGigFanOut | eightByTenGigFanOut | fourByTwentyFiveGigNonFanOut | twoByTwentyFiveGigNonFanOut | oneByFiftyGigNonFanOut | fortyGigNonFanOut | oneByTenGigFanOut | fourByTenGigFanOut | incompatibleMode | hundredGigCapturePlayback | fortyGigCapturePlayback | novusHundredGigNonFanOut | novusFourByTwentyFiveGigNonFanOut | novusTwoByFiftyGigNonFanOut | novusOneByFortyGigNonFanOut | novusFourByTenGigNonFanOut | krakenOneByFourHundredGigNonFanOut | krakenOneByTwoHundredGigNonFanOut | krakenTwoByOneHundredGigFanOut | krakenFourByFiftyGigFanOut | aresOneOneByFourHundredGigNonFanOut | aresOneOneByFourHundredGigMacSec128NonFanOut | aresOneOneByFourHundredGigMacSec256NonFanOut | aresOneTwoByTwoHundredGigFanOut | aresOneTwoByTwoHundredGigMacSecFanOut | aresOneFourByOneHundredGigFanOut | aresOneFourByOneHundredGigMacSecFanOut | aresOneEightByFiftyGigFanOut | uhdOneHundredEightByHundredGigNonFanOut | uhdOneHundredEightByFortyGigNonFanOut | uhdOneHundredSixteenByFiftyGigFanOut | uhdOneHundredThirtyTwoByTwentyFiveGigFanOut | uhdOneHundredThirtyTwoByTenGigFanOut | novus5GOneByTenGigNonFanOut | novus5GOneByTwentyFiveGigNonFanOut | novus5GOneByFiftyGigNonFanOut | novus5GOneByHundredGigNonFanOut | novus5GOneByHundredGigNonFanOutHighStream | starTwoByFourHundredGigNonFannedOutPAM4 | starFourByTwoHundredGigFannedOutPAM4 | starTwoByTwoHundredGigFannedOutNRZ | starEightByHundredGigFannedOutPAM4 | starEightByHundredGigFannedOutPAM4RoCEv2 | starFourByHundredGigFannedOutNRZ | starSixteenByFiftyGigFannedOutPAM4 | starEightByFiftyGigFannedOutNRZ | starFourByFortyGigFannedOutNRZ | starSixteenByTwentyFiveGigFannedOutNRZ | starSixteenByTenGigFannedOutNRZ | starFourByHundredGigFannedOutPAM4HalfDensityHighStream | starEightByFiftyGigFannedOutPAM4HalfDensityHighStream | starEightByTwentyFiveGigFannedOutNRZHalfDensityHighStream | starEightByTenGigFannedOutNRZHalfDensityHighStream | novusHundredGigNonFanOutHighStream | novusFourByTwentyFiveGigNonFanOutHighStream | novusTwoByFiftyGigNonFanOutHighStream | novusOneByFortyGigNonFanOutHighStream | novusFourByTenGigNonFanOutHighStream | ravenEightByHundredGigFannedOutPAM4 | ravenFourByTwoHundredGigFannedOutPAM4 | ravenTwoByFourHundredGigFannedOutPAM4 | ravenOneByEightHundredGigNonFannedOutPAM4 | aresOneEightHundredQddCEightByHundredGigFannedOutPAM4 | aresOneEightHundredQddCFourByTwoHundredGigFannedOutPAM4 | aresOneEightHundredQddCTwoByFourHundredGigFannedOutPAM4 | aresOneEightHundredQddCOneByEightHundredGigNonFannedOutPAM4 | rangerHundredGig | rangerFiftyGig | rangerFourtyGig | rangerTwentyFiveGig | rangerTenGig | aresOneEightHundredOsfpCEightByHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCFourByTwoHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCTwoByFourHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCOneByEightHundredGigNonFannedOutPAM4 | aresOne-M-OneByEightHundredGigPAM4-106G | aresOne-M-TwoByFourHundredGigPAM4-106G | aresOne-M-FourByTwoHundredGigPAM4-106G | aresOne-M-EightByOneHundredGigPAM4-106G | aresOne-M-OneByFourHundredGigPAM4-53G | aresOne-M-TwoByTwoHundredGigPAM4-53G | aresOne-M-FourByOneHundredGigPAM4-53G | aresOne-M-EightByFiftyGigPAM4-53G | aresOne-M-OneByTwoHundredGigNRZ-26G | aresOne-M-TwoByOneHundredGigNRZ-26G | aresOne-M-FourByFiftyGigNRZ-26G | aresOne-M-TwoByFortyGigNRZ-10G | aresOne-M-EightByTwentyFiveGigNRZ-26G | aresOne-M-EightByTenGigNRZ-10G]): Gets the supported resource group modes. """ return self._get_attribute(self._SDM_ATT_MAP["AvailableResourceModes"]) @@ -98,7 +98,7 @@ def find(self, AvailableResourceModes=None, Card=None, FrontPanelPorts=None): Args ---- - - AvailableResourceModes (list(str[normal | tenGig | fortyGig | singleMode | dualMode | hundredGigNonFanOut | fortyGigFanOut | threeByTenGigFanOut | eightByTenGigFanOut | fourByTwentyFiveGigNonFanOut | twoByTwentyFiveGigNonFanOut | oneByFiftyGigNonFanOut | fortyGigNonFanOut | oneByTenGigFanOut | fourByTenGigFanOut | incompatibleMode | hundredGigCapturePlayback | fortyGigCapturePlayback | novusHundredGigNonFanOut | novusFourByTwentyFiveGigNonFanOut | novusTwoByFiftyGigNonFanOut | novusOneByFortyGigNonFanOut | novusFourByTenGigNonFanOut | krakenOneByFourHundredGigNonFanOut | krakenOneByTwoHundredGigNonFanOut | krakenTwoByOneHundredGigFanOut | krakenFourByFiftyGigFanOut | aresOneOneByFourHundredGigNonFanOut | aresOneOneByFourHundredGigMacSecNonFanOut | aresOneTwoByTwoHundredGigFanOut | aresOneTwoByTwoHundredGigMacSecFanOut | aresOneFourByOneHundredGigFanOut | aresOneFourByOneHundredGigMacSecFanOut | aresOneEightByFiftyGigFanOut | uhdOneHundredEightByHundredGigNonFanOut | uhdOneHundredEightByFortyGigNonFanOut | uhdOneHundredSixteenByFiftyGigFanOut | uhdOneHundredThirtyTwoByTwentyFiveGigFanOut | uhdOneHundredThirtyTwoByTenGigFanOut | novus5GOneByTenGigNonFanOut | novus5GOneByTwentyFiveGigNonFanOut | novus5GOneByFiftyGigNonFanOut | novus5GOneByHundredGigNonFanOut | novus5GOneByHundredGigNonFanOutHighStream | starTwoByFourHundredGigNonFannedOutPAM4 | starFourByTwoHundredGigFannedOutPAM4 | starEightByHundredGigFannedOutPAM4 | starFourByHundredGigFannedOutNRZ | starSixteenByFiftyGigFannedOutPAM4 | starEightByFiftyGigFannedOutNRZ | starFourByFortyGigFannedOutNRZ | starSixteenByTwentyFiveGigFannedOutNRZ | starSixteenByTenGigFannedOutNRZ | starFourByHundredGigFannedOutPAM4HalfDensityHighStream | starEightByFiftyGigFannedOutPAM4HalfDensityHighStream | starEightByTwentyFiveGigFannedOutNRZHalfDensityHighStream | starEightByTenGigFannedOutNRZHalfDensityHighStream | novusHundredGigNonFanOutHighStream | novusFourByTwentyFiveGigNonFanOutHighStream | novusTwoByFiftyGigNonFanOutHighStream | novusOneByFortyGigNonFanOutHighStream | novusFourByTenGigNonFanOutHighStream | ravenEightByHundredGigFannedOutPAM4 | ravenFourByTwoHundredGigFannedOutPAM4 | ravenTwoByFourHundredGigFannedOutPAM4 | ravenOneByEightHundredGigNonFannedOutPAM4 | aresOneEightHundredQddCEightByHundredGigFannedOutPAM4 | aresOneEightHundredQddCFourByTwoHundredGigFannedOutPAM4 | aresOneEightHundredQddCTwoByFourHundredGigFannedOutPAM4 | aresOneEightHundredQddCOneByEightHundredGigNonFannedOutPAM4 | rangerHundredGig | rangerFiftyGig | rangerFourtyGig | rangerTwentyFiveGig | rangerTenGig | aresOneEightHundredOsfpCEightByHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCFourByTwoHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCTwoByFourHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCOneByEightHundredGigNonFannedOutPAM4])): Gets the supported resource group modes. + - AvailableResourceModes (list(str[normal | tenGig | fortyGig | singleMode | dualMode | hundredGigNonFanOut | fortyGigFanOut | threeByTenGigFanOut | eightByTenGigFanOut | fourByTwentyFiveGigNonFanOut | twoByTwentyFiveGigNonFanOut | oneByFiftyGigNonFanOut | fortyGigNonFanOut | oneByTenGigFanOut | fourByTenGigFanOut | incompatibleMode | hundredGigCapturePlayback | fortyGigCapturePlayback | novusHundredGigNonFanOut | novusFourByTwentyFiveGigNonFanOut | novusTwoByFiftyGigNonFanOut | novusOneByFortyGigNonFanOut | novusFourByTenGigNonFanOut | krakenOneByFourHundredGigNonFanOut | krakenOneByTwoHundredGigNonFanOut | krakenTwoByOneHundredGigFanOut | krakenFourByFiftyGigFanOut | aresOneOneByFourHundredGigNonFanOut | aresOneOneByFourHundredGigMacSec128NonFanOut | aresOneOneByFourHundredGigMacSec256NonFanOut | aresOneTwoByTwoHundredGigFanOut | aresOneTwoByTwoHundredGigMacSecFanOut | aresOneFourByOneHundredGigFanOut | aresOneFourByOneHundredGigMacSecFanOut | aresOneEightByFiftyGigFanOut | uhdOneHundredEightByHundredGigNonFanOut | uhdOneHundredEightByFortyGigNonFanOut | uhdOneHundredSixteenByFiftyGigFanOut | uhdOneHundredThirtyTwoByTwentyFiveGigFanOut | uhdOneHundredThirtyTwoByTenGigFanOut | novus5GOneByTenGigNonFanOut | novus5GOneByTwentyFiveGigNonFanOut | novus5GOneByFiftyGigNonFanOut | novus5GOneByHundredGigNonFanOut | novus5GOneByHundredGigNonFanOutHighStream | starTwoByFourHundredGigNonFannedOutPAM4 | starFourByTwoHundredGigFannedOutPAM4 | starTwoByTwoHundredGigFannedOutNRZ | starEightByHundredGigFannedOutPAM4 | starEightByHundredGigFannedOutPAM4RoCEv2 | starFourByHundredGigFannedOutNRZ | starSixteenByFiftyGigFannedOutPAM4 | starEightByFiftyGigFannedOutNRZ | starFourByFortyGigFannedOutNRZ | starSixteenByTwentyFiveGigFannedOutNRZ | starSixteenByTenGigFannedOutNRZ | starFourByHundredGigFannedOutPAM4HalfDensityHighStream | starEightByFiftyGigFannedOutPAM4HalfDensityHighStream | starEightByTwentyFiveGigFannedOutNRZHalfDensityHighStream | starEightByTenGigFannedOutNRZHalfDensityHighStream | novusHundredGigNonFanOutHighStream | novusFourByTwentyFiveGigNonFanOutHighStream | novusTwoByFiftyGigNonFanOutHighStream | novusOneByFortyGigNonFanOutHighStream | novusFourByTenGigNonFanOutHighStream | ravenEightByHundredGigFannedOutPAM4 | ravenFourByTwoHundredGigFannedOutPAM4 | ravenTwoByFourHundredGigFannedOutPAM4 | ravenOneByEightHundredGigNonFannedOutPAM4 | aresOneEightHundredQddCEightByHundredGigFannedOutPAM4 | aresOneEightHundredQddCFourByTwoHundredGigFannedOutPAM4 | aresOneEightHundredQddCTwoByFourHundredGigFannedOutPAM4 | aresOneEightHundredQddCOneByEightHundredGigNonFannedOutPAM4 | rangerHundredGig | rangerFiftyGig | rangerFourtyGig | rangerTwentyFiveGig | rangerTenGig | aresOneEightHundredOsfpCEightByHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCFourByTwoHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCTwoByFourHundredGigFannedOutPAM4 | aresOneEightHundredOsfpCOneByEightHundredGigNonFannedOutPAM4 | aresOne-M-OneByEightHundredGigPAM4-106G | aresOne-M-TwoByFourHundredGigPAM4-106G | aresOne-M-FourByTwoHundredGigPAM4-106G | aresOne-M-EightByOneHundredGigPAM4-106G | aresOne-M-OneByFourHundredGigPAM4-53G | aresOne-M-TwoByTwoHundredGigPAM4-53G | aresOne-M-FourByOneHundredGigPAM4-53G | aresOne-M-EightByFiftyGigPAM4-53G | aresOne-M-OneByTwoHundredGigNRZ-26G | aresOne-M-TwoByOneHundredGigNRZ-26G | aresOne-M-FourByFiftyGigNRZ-26G | aresOne-M-TwoByFortyGigNRZ-10G | aresOne-M-EightByTwentyFiveGigNRZ-26G | aresOne-M-EightByTenGigNRZ-10G])): Gets the supported resource group modes. - Card (str): Card id - FrontPanelPorts (list(number)): Gets the device front panel port ids. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/quicktest/rfc2544throughput_86fc74b3228f97518d2513e6b33a3960.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/quicktest/rfc2544throughput_86fc74b3228f97518d2513e6b33a3960.py index 557d496c8..46988beeb 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/quicktest/rfc2544throughput_86fc74b3228f97518d2513e6b33a3960.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/quicktest/rfc2544throughput_86fc74b3228f97518d2513e6b33a3960.py @@ -114,13 +114,13 @@ def TestConfig(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.quicktest.testconfig_7ca2c82735006c164901bba6588dc318.TestConfig): An instance of the TestConfig class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.quicktest.testconfig_441ecf1e60d026ff62a8d3adf1da1c81.TestConfig): An instance of the TestConfig class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.quicktest.testconfig_7ca2c82735006c164901bba6588dc318 import ( + from ixnetwork_restpy.testplatform.sessions.ixnetwork.quicktest.testconfig_441ecf1e60d026ff62a8d3adf1da1c81 import ( TestConfig, ) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/quicktest/rfc3918aggregated_1577cf9dc401fdcbed618d982960f3b4.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/quicktest/rfc3918aggregated_1577cf9dc401fdcbed618d982960f3b4.py index 4f24a31fe..a1572a71d 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/quicktest/rfc3918aggregated_1577cf9dc401fdcbed618d982960f3b4.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/quicktest/rfc3918aggregated_1577cf9dc401fdcbed618d982960f3b4.py @@ -114,13 +114,13 @@ def TestConfig(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.quicktest.testconfig_d40b9b52e3b77bf028e4505da3e65ee9.TestConfig): An instance of the TestConfig class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.quicktest.testconfig_b7542a159234b25ac24f861a7db389e1.TestConfig): An instance of the TestConfig class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.quicktest.testconfig_d40b9b52e3b77bf028e4505da3e65ee9 import ( + from ixnetwork_restpy.testplatform.sessions.ixnetwork.quicktest.testconfig_b7542a159234b25ac24f861a7db389e1 import ( TestConfig, ) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/quicktest/testconfig_7ca2c82735006c164901bba6588dc318.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/quicktest/testconfig_441ecf1e60d026ff62a8d3adf1da1c81.py similarity index 99% rename from ixnetwork_restpy/testplatform/sessions/ixnetwork/quicktest/testconfig_7ca2c82735006c164901bba6588dc318.py rename to ixnetwork_restpy/testplatform/sessions/ixnetwork/quicktest/testconfig_441ecf1e60d026ff62a8d3adf1da1c81.py index 190cd6c67..b126d8114 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/quicktest/testconfig_7ca2c82735006c164901bba6588dc318.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/quicktest/testconfig_441ecf1e60d026ff62a8d3adf1da1c81.py @@ -326,6 +326,7 @@ class TestConfig(Base): "TxDelay": "txDelay", "UnchangedInitial": "unchangedInitial", "UnchangedValueList": "unchangedValueList", + "UseAdjustedLatency": "useAdjustedLatency", "UsePercentOffsets": "usePercentOffsets", "UseTiLoss": "useTiLoss", } @@ -5056,6 +5057,21 @@ def UnchangedValueList(self, value): # type: (str) -> None self._set_attribute(self._SDM_ATT_MAP["UnchangedValueList"], value) + @property + def UseAdjustedLatency(self): + # type: () -> bool + """ + Returns + ------- + - bool: + """ + return self._get_attribute(self._SDM_ATT_MAP["UseAdjustedLatency"]) + + @UseAdjustedLatency.setter + def UseAdjustedLatency(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP["UseAdjustedLatency"], value) + @property def UsePercentOffsets(self): # type: () -> bool @@ -5382,6 +5398,7 @@ def update(self, **kwargs): - TxDelay (number): The minimum delay between successive packets. - UnchangedInitial (str(False | True)): The first value of an unchanged parameter. - UnchangedValueList (str): A list of variable parameter values that are unchanged. + - UseAdjustedLatency (bool): - UsePercentOffsets (bool): If true, sets the offset value in percentage. - UseTiLoss (str): Use loss across Rx Ports @@ -5691,6 +5708,7 @@ def find(self, **kwargs): - TxDelay (number): The minimum delay between successive packets. - UnchangedInitial (str(False | True)): The first value of an unchanged parameter. - UnchangedValueList (str): A list of variable parameter values that are unchanged. + - UseAdjustedLatency (bool): - UsePercentOffsets (bool): If true, sets the offset value in percentage. - UseTiLoss (str): Use loss across Rx Ports diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/quicktest/testconfig_d40b9b52e3b77bf028e4505da3e65ee9.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/quicktest/testconfig_b7542a159234b25ac24f861a7db389e1.py similarity index 88% rename from ixnetwork_restpy/testplatform/sessions/ixnetwork/quicktest/testconfig_d40b9b52e3b77bf028e4505da3e65ee9.py rename to ixnetwork_restpy/testplatform/sessions/ixnetwork/quicktest/testconfig_b7542a159234b25ac24f861a7db389e1.py index 7e17a9983..7dc67a5a7 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/quicktest/testconfig_d40b9b52e3b77bf028e4505da3e65ee9.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/quicktest/testconfig_b7542a159234b25ac24f861a7db389e1.py @@ -38,6 +38,12 @@ class TestConfig(Base): "ApplyMode": "applyMode", "AssignGroupType": "assignGroupType", "BidirectionalOptionEnabled": "bidirectionalOptionEnabled", + "BinaryBackoff": "binaryBackoff", + "BinaryFrameLossUnit": "binaryFrameLossUnit", + "BinaryLoadUnit": "binaryLoadUnit", + "BinaryResolution": "binaryResolution", + "BinarySearchType": "binarySearchType", + "BinaryTolerance": "binaryTolerance", "CalculateJitter": "calculateJitter", "CalculateLatency": "calculateLatency", "CountRandomFrameSize": "countRandomFrameSize", @@ -62,6 +68,7 @@ class TestConfig(Base): "Igmpv3MessageType": "igmpv3MessageType", "Igmpv3SourceAddrList": "igmpv3SourceAddrList", "IncrAddresses": "incrAddresses", + "InitialBinaryLoadRate": "initialBinaryLoadRate", "Ipv4Address": "ipv4Address", "Ipv6Address": "ipv6Address", "IsIPv6": "isIPv6", @@ -73,11 +80,14 @@ class TestConfig(Base): "LatencyBinsEnabled": "latencyBinsEnabled", "LatencyType": "latencyType", "LoadInitialRate": "loadInitialRate", + "LoadSearchType": "loadSearchType", "LoadType": "loadType", "LoadUnit": "loadUnit", "MapType": "mapType", + "MaxBinaryLoadRate": "maxBinaryLoadRate", "MaxIncrementFrameSize": "maxIncrementFrameSize", "MaxRandomFrameSize": "maxRandomFrameSize", + "MinBinaryLoadRate": "minBinaryLoadRate", "MinIncrementFrameSize": "minIncrementFrameSize", "MinRandomFrameSize": "minRandomFrameSize", "MldVersion": "mldVersion", @@ -98,10 +108,24 @@ class TestConfig(Base): } _SDM_ENUM_MAP = { "assignGroupType": ["accumulated", "distributed"], + "binaryFrameLossUnit": ["%", "frames"], + "binaryLoadUnit": [ + "bpsRate", + "fpsRate", + "gbpsRate", + "gBpsRate", + "kbpsRate", + "kBpsRate", + "mbpsRate", + "mBpsRate", + "percentMaxRate", + ], + "binarySearchType": ["perTrafficItem"], "frameSizeMode": ["custom", "increment", "random"], "groupDistributionType": ["acrossHosts", "acrossPorts"], "igmpv3MessageType": ["exclude", "include"], "latencyType": ["cutThrough", "storeForward"], + "loadSearchType": ["binary", "fixed"], "loadType": [ "binary", "combo", @@ -176,6 +200,96 @@ def BidirectionalOptionEnabled(self, value): # type: (bool) -> None self._set_attribute(self._SDM_ATT_MAP["BidirectionalOptionEnabled"], value) + @property + def BinaryBackoff(self): + # type: () -> int + """ + Returns + ------- + - number: + """ + return self._get_attribute(self._SDM_ATT_MAP["BinaryBackoff"]) + + @BinaryBackoff.setter + def BinaryBackoff(self, value): + # type: (int) -> None + self._set_attribute(self._SDM_ATT_MAP["BinaryBackoff"], value) + + @property + def BinaryFrameLossUnit(self): + # type: () -> str + """ + Returns + ------- + - str(% | frames): + """ + return self._get_attribute(self._SDM_ATT_MAP["BinaryFrameLossUnit"]) + + @BinaryFrameLossUnit.setter + def BinaryFrameLossUnit(self, value): + # type: (str) -> None + self._set_attribute(self._SDM_ATT_MAP["BinaryFrameLossUnit"], value) + + @property + def BinaryLoadUnit(self): + # type: () -> str + """ + Returns + ------- + - str(bpsRate | fpsRate | gbpsRate | gBpsRate | kbpsRate | kBpsRate | mbpsRate | mBpsRate | percentMaxRate): + """ + return self._get_attribute(self._SDM_ATT_MAP["BinaryLoadUnit"]) + + @BinaryLoadUnit.setter + def BinaryLoadUnit(self, value): + # type: (str) -> None + self._set_attribute(self._SDM_ATT_MAP["BinaryLoadUnit"], value) + + @property + def BinaryResolution(self): + # type: () -> int + """ + Returns + ------- + - number: + """ + return self._get_attribute(self._SDM_ATT_MAP["BinaryResolution"]) + + @BinaryResolution.setter + def BinaryResolution(self, value): + # type: (int) -> None + self._set_attribute(self._SDM_ATT_MAP["BinaryResolution"], value) + + @property + def BinarySearchType(self): + # type: () -> str + """ + Returns + ------- + - str(perTrafficItem): + """ + return self._get_attribute(self._SDM_ATT_MAP["BinarySearchType"]) + + @BinarySearchType.setter + def BinarySearchType(self, value): + # type: (str) -> None + self._set_attribute(self._SDM_ATT_MAP["BinarySearchType"], value) + + @property + def BinaryTolerance(self): + # type: () -> int + """ + Returns + ------- + - number: + """ + return self._get_attribute(self._SDM_ATT_MAP["BinaryTolerance"]) + + @BinaryTolerance.setter + def BinaryTolerance(self, value): + # type: (int) -> None + self._set_attribute(self._SDM_ATT_MAP["BinaryTolerance"], value) + @property def CalculateJitter(self): # type: () -> bool @@ -536,6 +650,21 @@ def IncrAddresses(self, value): # type: (str) -> None self._set_attribute(self._SDM_ATT_MAP["IncrAddresses"], value) + @property + def InitialBinaryLoadRate(self): + # type: () -> int + """ + Returns + ------- + - number: + """ + return self._get_attribute(self._SDM_ATT_MAP["InitialBinaryLoadRate"]) + + @InitialBinaryLoadRate.setter + def InitialBinaryLoadRate(self, value): + # type: (int) -> None + self._set_attribute(self._SDM_ATT_MAP["InitialBinaryLoadRate"], value) + @property def Ipv4Address(self): # type: () -> str @@ -701,6 +830,21 @@ def LoadInitialRate(self, value): # type: (int) -> None self._set_attribute(self._SDM_ATT_MAP["LoadInitialRate"], value) + @property + def LoadSearchType(self): + # type: () -> str + """ + Returns + ------- + - str(binary | fixed): + """ + return self._get_attribute(self._SDM_ATT_MAP["LoadSearchType"]) + + @LoadSearchType.setter + def LoadSearchType(self, value): + # type: (str) -> None + self._set_attribute(self._SDM_ATT_MAP["LoadSearchType"], value) + @property def LoadType(self): # type: () -> str @@ -746,6 +890,21 @@ def MapType(self, value): # type: (str) -> None self._set_attribute(self._SDM_ATT_MAP["MapType"], value) + @property + def MaxBinaryLoadRate(self): + # type: () -> int + """ + Returns + ------- + - number: + """ + return self._get_attribute(self._SDM_ATT_MAP["MaxBinaryLoadRate"]) + + @MaxBinaryLoadRate.setter + def MaxBinaryLoadRate(self, value): + # type: (int) -> None + self._set_attribute(self._SDM_ATT_MAP["MaxBinaryLoadRate"], value) + @property def MaxIncrementFrameSize(self): # type: () -> int @@ -776,6 +935,21 @@ def MaxRandomFrameSize(self, value): # type: (int) -> None self._set_attribute(self._SDM_ATT_MAP["MaxRandomFrameSize"], value) + @property + def MinBinaryLoadRate(self): + # type: () -> int + """ + Returns + ------- + - number: + """ + return self._get_attribute(self._SDM_ATT_MAP["MinBinaryLoadRate"]) + + @MinBinaryLoadRate.setter + def MinBinaryLoadRate(self, value): + # type: (int) -> None + self._set_attribute(self._SDM_ATT_MAP["MinBinaryLoadRate"], value) + @property def MinIncrementFrameSize(self): # type: () -> int @@ -1036,6 +1210,12 @@ def update( ApplyMode=None, AssignGroupType=None, BidirectionalOptionEnabled=None, + BinaryBackoff=None, + BinaryFrameLossUnit=None, + BinaryLoadUnit=None, + BinaryResolution=None, + BinarySearchType=None, + BinaryTolerance=None, CalculateJitter=None, CalculateLatency=None, CountRandomFrameSize=None, @@ -1060,6 +1240,7 @@ def update( Igmpv3MessageType=None, Igmpv3SourceAddrList=None, IncrAddresses=None, + InitialBinaryLoadRate=None, Ipv4Address=None, Ipv6Address=None, IsIPv6=None, @@ -1071,11 +1252,14 @@ def update( LatencyBinsEnabled=None, LatencyType=None, LoadInitialRate=None, + LoadSearchType=None, LoadType=None, LoadUnit=None, MapType=None, + MaxBinaryLoadRate=None, MaxIncrementFrameSize=None, MaxRandomFrameSize=None, + MinBinaryLoadRate=None, MinIncrementFrameSize=None, MinRandomFrameSize=None, MldVersion=None, @@ -1094,7 +1278,7 @@ def update( TestTrafficType=None, TxDelay=None, ): - # type: (str, str, bool, bool, bool, int, int, int, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, str, List[str], int, str, int, int, str, str, str, str, str, str, str, int, int, int, str, bool, str, int, str, str, str, int, int, int, int, int, int, int, int, bool, str, int, List[str], bool, str, bool, int, str, str, int) -> TestConfig + # type: (str, str, bool, int, str, str, int, str, int, bool, bool, int, int, int, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, str, List[str], int, str, int, int, str, str, str, int, str, str, str, str, int, int, int, str, bool, str, int, str, str, str, str, int, int, int, int, int, int, int, int, int, int, bool, str, int, List[str], bool, str, bool, int, str, str, int) -> TestConfig """Updates testConfig resource on the server. Args @@ -1102,6 +1286,12 @@ def update( - ApplyMode (str): NOT DEFINED - AssignGroupType (str(accumulated | distributed)): It assigns the group type. - BidirectionalOptionEnabled (bool): If true, allows bidirectional traffic. + - BinaryBackoff (number): + - BinaryFrameLossUnit (str(% | frames)): + - BinaryLoadUnit (str(bpsRate | fpsRate | gbpsRate | gBpsRate | kbpsRate | kBpsRate | mbpsRate | mBpsRate | percentMaxRate)): + - BinaryResolution (number): + - BinarySearchType (str(perTrafficItem)): + - BinaryTolerance (number): - CalculateJitter (bool): If true, calculates jitter. - CalculateLatency (bool): If true, calculates the latency. - CountRandomFrameSize (number): If true, frame sizes are counted at random. @@ -1126,6 +1316,7 @@ def update( - Igmpv3MessageType (str(exclude | include)): It gives details about the igmpv3 message type in the test configuration - Igmpv3SourceAddrList (str): It gives details about the igmpv3 source address list in the test configuration - IncrAddresses (str): If true, the MAC address is incremented. + - InitialBinaryLoadRate (number): - Ipv4Address (str): It signifies the IP address for version 4. - Ipv6Address (str): It signifies the IP address for version 6. - IsIPv6 (str): Indicates if the address is an IPv6 address. @@ -1137,11 +1328,14 @@ def update( - LatencyBinsEnabled (bool): Enables the latency bins statistics - LatencyType (str(cutThrough | storeForward)): The type of latency. - LoadInitialRate (number): loadInitialRate. + - LoadSearchType (str(binary | fixed)): - LoadType (str(binary | combo | custom | fixed | increment | quickSearch | random | step | unchanged)): The type of load used to modify the variable parameter value. - LoadUnit (str(bpsRate | fpsRate | gbpsRate | gBpsRate | kbpsRate | kBpsRate | mbpsRate | mBpsRate | percentMaxRate)): The load unit value. - MapType (str): The test configuration map type. + - MaxBinaryLoadRate (number): - MaxIncrementFrameSize (number): The integer that states the maximum amount to which the frame size can be incremented. - MaxRandomFrameSize (number): The integer that states the maximum random amount to which the frame size can be incremented. + - MinBinaryLoadRate (number): - MinIncrementFrameSize (number): The integer that states the minimum amount to which the frame size can be incremented. - MinRandomFrameSize (number): The integer that states the minimum random amount to which the frame size can be incremented. - MldVersion (number): It signifies the MLD version. @@ -1171,6 +1365,12 @@ def find( ApplyMode=None, AssignGroupType=None, BidirectionalOptionEnabled=None, + BinaryBackoff=None, + BinaryFrameLossUnit=None, + BinaryLoadUnit=None, + BinaryResolution=None, + BinarySearchType=None, + BinaryTolerance=None, CalculateJitter=None, CalculateLatency=None, CountRandomFrameSize=None, @@ -1195,6 +1395,7 @@ def find( Igmpv3MessageType=None, Igmpv3SourceAddrList=None, IncrAddresses=None, + InitialBinaryLoadRate=None, Ipv4Address=None, Ipv6Address=None, IsIPv6=None, @@ -1206,11 +1407,14 @@ def find( LatencyBinsEnabled=None, LatencyType=None, LoadInitialRate=None, + LoadSearchType=None, LoadType=None, LoadUnit=None, MapType=None, + MaxBinaryLoadRate=None, MaxIncrementFrameSize=None, MaxRandomFrameSize=None, + MinBinaryLoadRate=None, MinIncrementFrameSize=None, MinRandomFrameSize=None, MldVersion=None, @@ -1229,7 +1433,7 @@ def find( TestTrafficType=None, TxDelay=None, ): - # type: (str, str, bool, bool, bool, int, int, int, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, str, List[str], int, str, int, int, str, str, str, str, str, str, str, int, int, int, str, bool, str, int, str, str, str, int, int, int, int, int, int, int, int, bool, str, int, List[str], bool, str, bool, int, str, str, int) -> TestConfig + # type: (str, str, bool, int, str, str, int, str, int, bool, bool, int, int, int, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, str, List[str], int, str, int, int, str, str, str, int, str, str, str, str, int, int, int, str, bool, str, int, str, str, str, str, int, int, int, int, int, int, int, int, int, int, bool, str, int, List[str], bool, str, bool, int, str, str, int) -> TestConfig """Finds and retrieves testConfig resources from the server. All named parameters are evaluated on the server using regex. The named parameters can be used to selectively retrieve testConfig resources from the server. @@ -1241,6 +1445,12 @@ def find( - ApplyMode (str): NOT DEFINED - AssignGroupType (str(accumulated | distributed)): It assigns the group type. - BidirectionalOptionEnabled (bool): If true, allows bidirectional traffic. + - BinaryBackoff (number): + - BinaryFrameLossUnit (str(% | frames)): + - BinaryLoadUnit (str(bpsRate | fpsRate | gbpsRate | gBpsRate | kbpsRate | kBpsRate | mbpsRate | mBpsRate | percentMaxRate)): + - BinaryResolution (number): + - BinarySearchType (str(perTrafficItem)): + - BinaryTolerance (number): - CalculateJitter (bool): If true, calculates jitter. - CalculateLatency (bool): If true, calculates the latency. - CountRandomFrameSize (number): If true, frame sizes are counted at random. @@ -1265,6 +1475,7 @@ def find( - Igmpv3MessageType (str(exclude | include)): It gives details about the igmpv3 message type in the test configuration - Igmpv3SourceAddrList (str): It gives details about the igmpv3 source address list in the test configuration - IncrAddresses (str): If true, the MAC address is incremented. + - InitialBinaryLoadRate (number): - Ipv4Address (str): It signifies the IP address for version 4. - Ipv6Address (str): It signifies the IP address for version 6. - IsIPv6 (str): Indicates if the address is an IPv6 address. @@ -1276,11 +1487,14 @@ def find( - LatencyBinsEnabled (bool): Enables the latency bins statistics - LatencyType (str(cutThrough | storeForward)): The type of latency. - LoadInitialRate (number): loadInitialRate. + - LoadSearchType (str(binary | fixed)): - LoadType (str(binary | combo | custom | fixed | increment | quickSearch | random | step | unchanged)): The type of load used to modify the variable parameter value. - LoadUnit (str(bpsRate | fpsRate | gbpsRate | gBpsRate | kbpsRate | kBpsRate | mbpsRate | mBpsRate | percentMaxRate)): The load unit value. - MapType (str): The test configuration map type. + - MaxBinaryLoadRate (number): - MaxIncrementFrameSize (number): The integer that states the maximum amount to which the frame size can be incremented. - MaxRandomFrameSize (number): The integer that states the maximum random amount to which the frame size can be incremented. + - MinBinaryLoadRate (number): - MinIncrementFrameSize (number): The integer that states the minimum amount to which the frame size can be incremented. - MinRandomFrameSize (number): The integer that states the minimum random amount to which the frame size can be incremented. - MldVersion (number): It signifies the MLD version. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/resourcemanager/resourcemanager.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/resourcemanager/resourcemanager.py index 4309d8a1c..2d3e5a3d2 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/resourcemanager/resourcemanager.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/resourcemanager/resourcemanager.py @@ -34,19 +34,55 @@ class ResourceManager(Base): __slots__ = () _SDM_NAME = "resourceManager" - _SDM_ATT_MAP = {} + _SDM_ATT_MAP = { + "GenerateAll": "generateAll", + } _SDM_ENUM_MAP = {} def __init__(self, parent, list_op=False): super(ResourceManager, self).__init__(parent, list_op) - def find(self): + @property + def GenerateAll(self): + # type: () -> bool + """ + Returns + ------- + - bool: Controls the attributes to be generated during the export API calls (available on this node). If this is true, then 'generated', 'readonly', 'internal' etc attributes are also generated. + """ + return self._get_attribute(self._SDM_ATT_MAP["GenerateAll"]) + + @GenerateAll.setter + def GenerateAll(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP["GenerateAll"], value) + + def update(self, GenerateAll=None): + # type: (bool) -> ResourceManager + """Updates resourceManager resource on the server. + + Args + ---- + - GenerateAll (bool): Controls the attributes to be generated during the export API calls (available on this node). If this is true, then 'generated', 'readonly', 'internal' etc attributes are also generated. + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + return self._update(self._map_locals(self._SDM_ATT_MAP, locals())) + + def find(self, GenerateAll=None): + # type: (bool) -> ResourceManager """Finds and retrieves resourceManager resources from the server. All named parameters are evaluated on the server using regex. The named parameters can be used to selectively retrieve resourceManager resources from the server. To retrieve an exact match ensure the parameter value starts with ^ and ends with $ By default the find method takes no parameters and will retrieve all resourceManager resources from the server. + Args + ---- + - GenerateAll (bool): Controls the attributes to be generated during the export API calls (available on this node). If this is true, then 'generated', 'readonly', 'internal' etc attributes are also generated. + Returns ------- - self: This instance with matching resourceManager resources retrieved from the server available through an iterator or index diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/statistics/statistics.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/statistics/statistics.py index 9b7d1f39e..9332333ba 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/statistics/statistics.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/statistics/statistics.py @@ -37,6 +37,7 @@ class Statistics(Base): _SDM_ATT_MAP = { "AdditionalFcoeStat1": "additionalFcoeStat1", "AdditionalFcoeStat2": "additionalFcoeStat2", + "AutomaticallyRefreshNGPFStatistics": "automaticallyRefreshNGPFStatistics", "CsvFilePath": "csvFilePath", "CsvLogPollIntervalMultiplier": "csvLogPollIntervalMultiplier", "DataStorePollingIntervalMultiplier": "dataStorePollingIntervalMultiplier", @@ -227,6 +228,25 @@ def AdditionalFcoeStat2(self, value): # type: (str) -> None self._set_attribute(self._SDM_ATT_MAP["AdditionalFcoeStat2"], value) + @property + def AutomaticallyRefreshNGPFStatistics(self): + # type: () -> bool + """ + Returns + ------- + - bool: Auto-refresh enable/disable for NGPF on-demand views. + """ + return self._get_attribute( + self._SDM_ATT_MAP["AutomaticallyRefreshNGPFStatistics"] + ) + + @AutomaticallyRefreshNGPFStatistics.setter + def AutomaticallyRefreshNGPFStatistics(self, value): + # type: (bool) -> None + self._set_attribute( + self._SDM_ATT_MAP["AutomaticallyRefreshNGPFStatistics"], value + ) + @property def CsvFilePath(self): # type: () -> str @@ -410,6 +430,7 @@ def update( self, AdditionalFcoeStat1=None, AdditionalFcoeStat2=None, + AutomaticallyRefreshNGPFStatistics=None, CsvFilePath=None, CsvLogPollIntervalMultiplier=None, DataStorePollingIntervalMultiplier=None, @@ -422,13 +443,14 @@ def update( TimeSynchronization=None, TimestampPrecision=None, ): - # type: (str, str, str, int, int, bool, bool, bool, bool, int, int, str, int) -> Statistics + # type: (str, str, bool, str, int, int, bool, bool, bool, bool, int, int, str, int) -> Statistics """Updates statistics resource on the server. Args ---- - AdditionalFcoeStat1 (str(fcoeInvalidDelimiter | fcoeInvalidFrames | fcoeInvalidSize | fcoeNormalSizeBadFcCRC | fcoeNormalSizeGoodFcCRC | fcoeUndersizeBadFcCRC | fcoeUndersizeGoodFcCRC | fcoeValidFrames)): Signifies additional FCOE stat 1 - AdditionalFcoeStat2 (str(fcoeInvalidDelimiter | fcoeInvalidFrames | fcoeInvalidSize | fcoeNormalSizeBadFcCRC | fcoeNormalSizeGoodFcCRC | fcoeUndersizeBadFcCRC | fcoeUndersizeGoodFcCRC | fcoeValidFrames)): Sets the additional FCoE shared stats. + - AutomaticallyRefreshNGPFStatistics (bool): Auto-refresh enable/disable for NGPF on-demand views. - CsvFilePath (str): Sets the CSV file path. - CsvLogPollIntervalMultiplier (number): Used to specify the time interval between log polling events. - DataStorePollingIntervalMultiplier (number): The data store polling interval value is the result of the data store polling interval multiplier value multiplied by the polling interval value set for the test. @@ -451,6 +473,7 @@ def find( self, AdditionalFcoeStat1=None, AdditionalFcoeStat2=None, + AutomaticallyRefreshNGPFStatistics=None, CsvFilePath=None, CsvLogPollIntervalMultiplier=None, DataStorePollingIntervalMultiplier=None, @@ -464,7 +487,7 @@ def find( TimestampPrecision=None, UgsTcpPort=None, ): - # type: (str, str, str, int, int, bool, bool, bool, bool, int, int, str, int, int) -> Statistics + # type: (str, str, bool, str, int, int, bool, bool, bool, bool, int, int, str, int, int) -> Statistics """Finds and retrieves statistics resources from the server. All named parameters are evaluated on the server using regex. The named parameters can be used to selectively retrieve statistics resources from the server. @@ -475,6 +498,7 @@ def find( ---- - AdditionalFcoeStat1 (str(fcoeInvalidDelimiter | fcoeInvalidFrames | fcoeInvalidSize | fcoeNormalSizeBadFcCRC | fcoeNormalSizeGoodFcCRC | fcoeUndersizeBadFcCRC | fcoeUndersizeGoodFcCRC | fcoeValidFrames)): Signifies additional FCOE stat 1 - AdditionalFcoeStat2 (str(fcoeInvalidDelimiter | fcoeInvalidFrames | fcoeInvalidSize | fcoeNormalSizeBadFcCRC | fcoeNormalSizeGoodFcCRC | fcoeUndersizeBadFcCRC | fcoeUndersizeGoodFcCRC | fcoeValidFrames)): Sets the additional FCoE shared stats. + - AutomaticallyRefreshNGPFStatistics (bool): Auto-refresh enable/disable for NGPF on-demand views. - CsvFilePath (str): Sets the CSV file path. - CsvLogPollIntervalMultiplier (number): Used to specify the time interval between log polling events. - DataStorePollingIntervalMultiplier (number): The data store polling interval value is the result of the data store polling interval multiplier value multiplied by the polling interval value set for the test. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/action_910bcbfd3b7898385321127395ab1bd5.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/action_910bcbfd3b7898385321127395ab1bd5.py index da8c01d43..232648011 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/action_910bcbfd3b7898385321127395ab1bd5.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/action_910bcbfd3b7898385321127395ab1bd5.py @@ -283,3 +283,24 @@ def read(self, href): - ServerError: The server has encountered an uncategorized error condition """ return self._read(href) + + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/actions_6cb23f03bfbe3aff4491fd746dbe2956.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/actions_6cb23f03bfbe3aff4491fd746dbe2956.py index d5ca2e5ce..534b2fbef 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/actions_6cb23f03bfbe3aff4491fd746dbe2956.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/actions_6cb23f03bfbe3aff4491fd746dbe2956.py @@ -306,3 +306,24 @@ def AddAction(self, *args, **kwargs): for item in kwargs.items(): payload[item[0]] = item[1] return self._execute("addAction", payload=payload, response_object=None) + + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/actionsprofile_c65384e18e20517e184ef23474b0b960.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/actionsprofile_c65384e18e20517e184ef23474b0b960.py index 275a82e27..920f4973d 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/actionsprofile_c65384e18e20517e184ef23474b0b960.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/actionsprofile_c65384e18e20517e184ef23474b0b960.py @@ -155,6 +155,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def AddFromTemplate(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the addFromTemplate operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/advancedlearnedinfooptions_b2029cff9a0e1b9db1c05c032a4f003c.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/advancedlearnedinfooptions_b2029cff9a0e1b9db1c05c032a4f003c.py index 6a69e9d84..636ddc6f1 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/advancedlearnedinfooptions_b2029cff9a0e1b9db1c05c032a4f003c.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/advancedlearnedinfooptions_b2029cff9a0e1b9db1c05c032a4f003c.py @@ -1410,6 +1410,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def ClearAllLearnedInfo(self, *args, **kwargs): # type: (*Any, **Any) -> Union[List[str], None] """Executes the clearAllLearnedInfo operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ancp_32ef0f30885d45a86fb93ff8c22f3107.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ancp_32ef0f30885d45a86fb93ff8c22f3107.py index 95624fcb8..e5c4db865 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ancp_32ef0f30885d45a86fb93ff8c22f3107.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ancp_32ef0f30885d45a86fb93ff8c22f3107.py @@ -515,6 +515,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def RestartDown(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the restartDown operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/assoctypelist_1842feb618447c4d27d3b4a492f9af9e.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/assoctypelist_1842feb618447c4d27d3b4a492f9af9e.py index 21ec931a7..530ff909d 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/assoctypelist_1842feb618447c4d27d3b4a492f9af9e.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/assoctypelist_1842feb618447c4d27d3b4a492f9af9e.py @@ -185,6 +185,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids(self, PortNames=None, AssocType=None, AssocTypeEnable=None): """Base class infrastructure that gets a list of assocTypeList device ids encapsulated by this object. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/atoitlvlist_5c4e305687043a6232999175d09f7f65.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/atoitlvlist_5c4e305687043a6232999175d09f7f65.py index 2e5472289..95a53fc2c 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/atoitlvlist_5c4e305687043a6232999175d09f7f65.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/atoitlvlist_5c4e305687043a6232999175d09f7f65.py @@ -218,6 +218,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/auxiliaryconnectionlist_00191c1165a6248dea286f67cd56938f.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/auxiliaryconnectionlist_00191c1165a6248dea286f67cd56938f.py index 16e6979eb..fb70bceca 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/auxiliaryconnectionlist_00191c1165a6248dea286f67cd56938f.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/auxiliaryconnectionlist_00191c1165a6248dea286f67cd56938f.py @@ -223,6 +223,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/backuplsperosubobjectslist_0daa9e1df4598df831fc9c6266f38cb9.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/backuplsperosubobjectslist_0daa9e1df4598df831fc9c6266f38cb9.py index b4716701a..bc3ce1c18 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/backuplsperosubobjectslist_0daa9e1df4598df831fc9c6266f38cb9.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/backuplsperosubobjectslist_0daa9e1df4598df831fc9c6266f38cb9.py @@ -234,6 +234,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bands_392f44cb40ca53ad5e0fc665cc14dea3.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bands_392f44cb40ca53ad5e0fc665cc14dea3.py index 84b2fa689..bbc50d004 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bands_392f44cb40ca53ad5e0fc665cc14dea3.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bands_392f44cb40ca53ad5e0fc665cc14dea3.py @@ -277,6 +277,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/basevidlist_0854f00d7287dd167f5cc03126e3011d.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/basevidlist_0854f00d7287dd167f5cc03126e3011d.py index 953820f2c..c1bb38c7e 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/basevidlist_0854f00d7287dd167f5cc03126e3011d.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/basevidlist_0854f00d7287dd167f5cc03126e3011d.py @@ -231,6 +231,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/basevidlist_145d5b3b39acf879821ed1634b49f17f.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/basevidlist_145d5b3b39acf879821ed1634b49f17f.py index 1c09d55de..5ebaf884e 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/basevidlist_145d5b3b39acf879821ed1634b49f17f.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/basevidlist_145d5b3b39acf879821ed1634b49f17f.py @@ -297,6 +297,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bfdrouter_deb1cea5df395bf5b6957f7f9cde8ef4.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bfdrouter_deb1cea5df395bf5b6957f7f9cde8ef4.py index 47b6ed297..ca18dcef1 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bfdrouter_deb1cea5df395bf5b6957f7f9cde8ef4.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bfdrouter_deb1cea5df395bf5b6957f7f9cde8ef4.py @@ -292,6 +292,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def RestartDown(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the restartDown operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bfdv4interface_91b557a3f744baf442dbe21ac75e8f2e.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bfdv4interface_91b557a3f744baf442dbe21ac75e8f2e.py index 6c0a9c166..402b5b736 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bfdv4interface_91b557a3f744baf442dbe21ac75e8f2e.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bfdv4interface_91b557a3f744baf442dbe21ac75e8f2e.py @@ -645,6 +645,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def ClearLearnedInfo(self, *args, **kwargs): # type: (*Any, **Any) -> Union[List[str], None] """Executes the clearLearnedInfo operation on the server. @@ -696,13 +717,13 @@ def DisableDemandMode(self, *args, **kwargs): disableDemandMode(Arg2=list, Arg3=enum, async_operation=bool)list ----------------------------------------------------------------- - Arg2 (list(number)): List of indices into the protocol plugin. An empty list indicates all instances in the plugin. - - Arg3 (str(ospf | ospfv3 | bgp | ldp | rsvp | isis | pim | bfd)): Session used by Protocol + - Arg3 (str(ospf | ospfv3 | bgp | ldp | rsvp | isis | pim | bfd | lacp)): Session used by Protocol - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. - Returns list(str): ID to associate each async action invocation disableDemandMode(Arg2=enum, async_operation=bool)list ------------------------------------------------------ - - Arg2 (str(ospf | ospfv3 | bgp | ldp | rsvp | isis | pim | bfd)): Session used by Protocol + - Arg2 (str(ospf | ospfv3 | bgp | ldp | rsvp | isis | pim | bfd | lacp)): Session used by Protocol - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. - Returns list(str): ID to associate each async action invocation @@ -729,13 +750,13 @@ def EnableDemandMode(self, *args, **kwargs): enableDemandMode(Arg2=list, Arg3=enum, async_operation=bool)list ---------------------------------------------------------------- - Arg2 (list(number)): List of indices into the protocol plugin. An empty list indicates all instances in the plugin. - - Arg3 (str(ospf | ospfv3 | bgp | ldp | rsvp | isis | pim | bfd)): Session used by Protocol + - Arg3 (str(ospf | ospfv3 | bgp | ldp | rsvp | isis | pim | bfd | lacp)): Session used by Protocol - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. - Returns list(str): ID to associate each async action invocation enableDemandMode(Arg2=enum, async_operation=bool)list ----------------------------------------------------- - - Arg2 (str(ospf | ospfv3 | bgp | ldp | rsvp | isis | pim | bfd)): Session used by Protocol + - Arg2 (str(ospf | ospfv3 | bgp | ldp | rsvp | isis | pim | bfd | lacp)): Session used by Protocol - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. - Returns list(str): ID to associate each async action invocation @@ -802,13 +823,13 @@ def InitiatePoll(self, *args, **kwargs): initiatePoll(Arg2=list, Arg3=enum, async_operation=bool)list ------------------------------------------------------------ - Arg2 (list(number)): List of indices into the protocol plugin. An empty list indicates all instances in the plugin. - - Arg3 (str(ospf | ospfv3 | bgp | ldp | rsvp | isis | pim | bfd)): Session used by Protocol + - Arg3 (str(ospf | ospfv3 | bgp | ldp | rsvp | isis | pim | bfd | lacp)): Session used by Protocol - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. - Returns list(str): ID to associate each async action invocation initiatePoll(Arg2=enum, async_operation=bool)list ------------------------------------------------- - - Arg2 (str(ospf | ospfv3 | bgp | ldp | rsvp | isis | pim | bfd)): Session used by Protocol + - Arg2 (str(ospf | ospfv3 | bgp | ldp | rsvp | isis | pim | bfd | lacp)): Session used by Protocol - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. - Returns list(str): ID to associate each async action invocation @@ -869,13 +890,13 @@ def ResumePDU(self, *args, **kwargs): resumePDU(Arg2=list, Arg3=enum, async_operation=bool)list --------------------------------------------------------- - Arg2 (list(number)): List of indices into the protocol plugin. An empty list indicates all instances in the plugin. - - Arg3 (str(ospf | ospfv3 | bgp | ldp | rsvp | isis | pim | bfd)): Session used by Protocol + - Arg3 (str(ospf | ospfv3 | bgp | ldp | rsvp | isis | pim | bfd | lacp)): Session used by Protocol - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. - Returns list(str): ID to associate each async action invocation resumePDU(Arg2=enum, async_operation=bool)list ---------------------------------------------- - - Arg2 (str(ospf | ospfv3 | bgp | ldp | rsvp | isis | pim | bfd)): Session used by Protocol + - Arg2 (str(ospf | ospfv3 | bgp | ldp | rsvp | isis | pim | bfd | lacp)): Session used by Protocol - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. - Returns list(str): ID to associate each async action invocation @@ -902,13 +923,13 @@ def SetAdminDown(self, *args, **kwargs): setAdminDown(Arg2=list, Arg3=enum, async_operation=bool)list ------------------------------------------------------------ - Arg2 (list(number)): List of indices into the protocol plugin. An empty list indicates all instances in the plugin. - - Arg3 (str(ospf | ospfv3 | bgp | ldp | rsvp | isis | pim | bfd)): Session used by Protocol + - Arg3 (str(ospf | ospfv3 | bgp | ldp | rsvp | isis | pim | bfd | lacp)): Session used by Protocol - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. - Returns list(str): ID to associate each async action invocation setAdminDown(Arg2=enum, async_operation=bool)list ------------------------------------------------- - - Arg2 (str(ospf | ospfv3 | bgp | ldp | rsvp | isis | pim | bfd)): Session used by Protocol + - Arg2 (str(ospf | ospfv3 | bgp | ldp | rsvp | isis | pim | bfd | lacp)): Session used by Protocol - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. - Returns list(str): ID to associate each async action invocation @@ -935,13 +956,13 @@ def SetAdminUp(self, *args, **kwargs): setAdminUp(Arg2=list, Arg3=enum, async_operation=bool)list ---------------------------------------------------------- - Arg2 (list(number)): List of indices into the protocol plugin. An empty list indicates all instances in the plugin. - - Arg3 (str(ospf | ospfv3 | bgp | ldp | rsvp | isis | pim | bfd)): Session used by Protocol + - Arg3 (str(ospf | ospfv3 | bgp | ldp | rsvp | isis | pim | bfd | lacp)): Session used by Protocol - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. - Returns list(str): ID to associate each async action invocation setAdminUp(Arg2=enum, async_operation=bool)list ----------------------------------------------- - - Arg2 (str(ospf | ospfv3 | bgp | ldp | rsvp | isis | pim | bfd)): Session used by Protocol + - Arg2 (str(ospf | ospfv3 | bgp | ldp | rsvp | isis | pim | bfd | lacp)): Session used by Protocol - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. - Returns list(str): ID to associate each async action invocation @@ -968,14 +989,14 @@ def SetDiagnosticState(self, *args, **kwargs): setDiagnosticState(Arg2=list, Arg3=enum, Arg4=enum, async_operation=bool)list ----------------------------------------------------------------------------- - Arg2 (list(number)): List of indices into the protocol plugin. An empty list indicates all instances in the plugin. - - Arg3 (str(ospf | ospfv3 | bgp | ldp | rsvp | isis | pim | bfd)): Session used by Protocol + - Arg3 (str(ospf | ospfv3 | bgp | ldp | rsvp | isis | pim | bfd | lacp)): Session used by Protocol - Arg4 (str(controlDetectionTimeExpired | echoFunctionFailed | neighbourSignaledSessionDown | forwardingPlaneReset | pathDown | concatenatedPathDown | administrativelyDown | reverseConcatenatedPathDown | reserved)): Diagnostic Code - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. - Returns list(str): ID to associate each async action invocation setDiagnosticState(Arg2=enum, Arg3=enum, async_operation=bool)list ------------------------------------------------------------------ - - Arg2 (str(ospf | ospfv3 | bgp | ldp | rsvp | isis | pim | bfd)): Session used by Protocol + - Arg2 (str(ospf | ospfv3 | bgp | ldp | rsvp | isis | pim | bfd | lacp)): Session used by Protocol - Arg3 (str(controlDetectionTimeExpired | echoFunctionFailed | neighbourSignaledSessionDown | forwardingPlaneReset | pathDown | concatenatedPathDown | administrativelyDown | reverseConcatenatedPathDown | reserved)): Diagnostic Code - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. - Returns list(str): ID to associate each async action invocation @@ -1073,13 +1094,13 @@ def StopPDU(self, *args, **kwargs): stopPDU(Arg2=list, Arg3=enum, async_operation=bool)list ------------------------------------------------------- - Arg2 (list(number)): List of indices into the protocol plugin. An empty list indicates all instances in the plugin. - - Arg3 (str(ospf | ospfv3 | bgp | ldp | rsvp | isis | pim | bfd)): Session used by Protocol + - Arg3 (str(ospf | ospfv3 | bgp | ldp | rsvp | isis | pim | bfd | lacp)): Session used by Protocol - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. - Returns list(str): ID to associate each async action invocation stopPDU(Arg2=enum, async_operation=bool)list -------------------------------------------- - - Arg2 (str(ospf | ospfv3 | bgp | ldp | rsvp | isis | pim | bfd)): Session used by Protocol + - Arg2 (str(ospf | ospfv3 | bgp | ldp | rsvp | isis | pim | bfd | lacp)): Session used by Protocol - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. - Returns list(str): ID to associate each async action invocation diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bfdv4session_dfe5a64bfc5795e7fe612df749b6836a.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bfdv4session_dfe5a64bfc5795e7fe612df749b6836a.py index f148b201f..6ffb6e78b 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bfdv4session_dfe5a64bfc5795e7fe612df749b6836a.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bfdv4session_dfe5a64bfc5795e7fe612df749b6836a.py @@ -362,6 +362,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def Start(self, *args, **kwargs): # type: (*Any, **Any) -> Union[List[str], None] """Executes the start operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bfdv6interface_b9a91920db1b70c8c6410d2de0b438d3.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bfdv6interface_b9a91920db1b70c8c6410d2de0b438d3.py index a6a843c34..fef8c05f5 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bfdv6interface_b9a91920db1b70c8c6410d2de0b438d3.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bfdv6interface_b9a91920db1b70c8c6410d2de0b438d3.py @@ -645,6 +645,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def ClearLearnedInfo(self, *args, **kwargs): # type: (*Any, **Any) -> Union[List[str], None] """Executes the clearLearnedInfo operation on the server. @@ -696,13 +717,13 @@ def DisableDemandMode(self, *args, **kwargs): disableDemandMode(Arg2=list, Arg3=enum, async_operation=bool)list ----------------------------------------------------------------- - Arg2 (list(number)): List of indices into the protocol plugin. An empty list indicates all instances in the plugin. - - Arg3 (str(ospf | ospfv3 | bgp | ldp | rsvp | isis | pim | bfd)): Session used by Protocol + - Arg3 (str(ospf | ospfv3 | bgp | ldp | rsvp | isis | pim | bfd | lacp)): Session used by Protocol - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. - Returns list(str): ID to associate each async action invocation disableDemandMode(Arg2=enum, async_operation=bool)list ------------------------------------------------------ - - Arg2 (str(ospf | ospfv3 | bgp | ldp | rsvp | isis | pim | bfd)): Session used by Protocol + - Arg2 (str(ospf | ospfv3 | bgp | ldp | rsvp | isis | pim | bfd | lacp)): Session used by Protocol - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. - Returns list(str): ID to associate each async action invocation @@ -729,13 +750,13 @@ def EnableDemandMode(self, *args, **kwargs): enableDemandMode(Arg2=list, Arg3=enum, async_operation=bool)list ---------------------------------------------------------------- - Arg2 (list(number)): List of indices into the protocol plugin. An empty list indicates all instances in the plugin. - - Arg3 (str(ospf | ospfv3 | bgp | ldp | rsvp | isis | pim | bfd)): Session used by Protocol + - Arg3 (str(ospf | ospfv3 | bgp | ldp | rsvp | isis | pim | bfd | lacp)): Session used by Protocol - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. - Returns list(str): ID to associate each async action invocation enableDemandMode(Arg2=enum, async_operation=bool)list ----------------------------------------------------- - - Arg2 (str(ospf | ospfv3 | bgp | ldp | rsvp | isis | pim | bfd)): Session used by Protocol + - Arg2 (str(ospf | ospfv3 | bgp | ldp | rsvp | isis | pim | bfd | lacp)): Session used by Protocol - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. - Returns list(str): ID to associate each async action invocation @@ -802,13 +823,13 @@ def InitiatePoll(self, *args, **kwargs): initiatePoll(Arg2=list, Arg3=enum, async_operation=bool)list ------------------------------------------------------------ - Arg2 (list(number)): List of indices into the protocol plugin. An empty list indicates all instances in the plugin. - - Arg3 (str(ospf | ospfv3 | bgp | ldp | rsvp | isis | pim | bfd)): Session used by Protocol + - Arg3 (str(ospf | ospfv3 | bgp | ldp | rsvp | isis | pim | bfd | lacp)): Session used by Protocol - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. - Returns list(str): ID to associate each async action invocation initiatePoll(Arg2=enum, async_operation=bool)list ------------------------------------------------- - - Arg2 (str(ospf | ospfv3 | bgp | ldp | rsvp | isis | pim | bfd)): Session used by Protocol + - Arg2 (str(ospf | ospfv3 | bgp | ldp | rsvp | isis | pim | bfd | lacp)): Session used by Protocol - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. - Returns list(str): ID to associate each async action invocation @@ -869,13 +890,13 @@ def ResumePDU(self, *args, **kwargs): resumePDU(Arg2=list, Arg3=enum, async_operation=bool)list --------------------------------------------------------- - Arg2 (list(number)): List of indices into the protocol plugin. An empty list indicates all instances in the plugin. - - Arg3 (str(ospf | ospfv3 | bgp | ldp | rsvp | isis | pim | bfd)): Session used by Protocol + - Arg3 (str(ospf | ospfv3 | bgp | ldp | rsvp | isis | pim | bfd | lacp)): Session used by Protocol - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. - Returns list(str): ID to associate each async action invocation resumePDU(Arg2=enum, async_operation=bool)list ---------------------------------------------- - - Arg2 (str(ospf | ospfv3 | bgp | ldp | rsvp | isis | pim | bfd)): Session used by Protocol + - Arg2 (str(ospf | ospfv3 | bgp | ldp | rsvp | isis | pim | bfd | lacp)): Session used by Protocol - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. - Returns list(str): ID to associate each async action invocation @@ -902,13 +923,13 @@ def SetAdminDown(self, *args, **kwargs): setAdminDown(Arg2=list, Arg3=enum, async_operation=bool)list ------------------------------------------------------------ - Arg2 (list(number)): List of indices into the protocol plugin. An empty list indicates all instances in the plugin. - - Arg3 (str(ospf | ospfv3 | bgp | ldp | rsvp | isis | pim | bfd)): Session used by Protocol + - Arg3 (str(ospf | ospfv3 | bgp | ldp | rsvp | isis | pim | bfd | lacp)): Session used by Protocol - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. - Returns list(str): ID to associate each async action invocation setAdminDown(Arg2=enum, async_operation=bool)list ------------------------------------------------- - - Arg2 (str(ospf | ospfv3 | bgp | ldp | rsvp | isis | pim | bfd)): Session used by Protocol + - Arg2 (str(ospf | ospfv3 | bgp | ldp | rsvp | isis | pim | bfd | lacp)): Session used by Protocol - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. - Returns list(str): ID to associate each async action invocation @@ -935,13 +956,13 @@ def SetAdminUp(self, *args, **kwargs): setAdminUp(Arg2=list, Arg3=enum, async_operation=bool)list ---------------------------------------------------------- - Arg2 (list(number)): List of indices into the protocol plugin. An empty list indicates all instances in the plugin. - - Arg3 (str(ospf | ospfv3 | bgp | ldp | rsvp | isis | pim | bfd)): Session used by Protocol + - Arg3 (str(ospf | ospfv3 | bgp | ldp | rsvp | isis | pim | bfd | lacp)): Session used by Protocol - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. - Returns list(str): ID to associate each async action invocation setAdminUp(Arg2=enum, async_operation=bool)list ----------------------------------------------- - - Arg2 (str(ospf | ospfv3 | bgp | ldp | rsvp | isis | pim | bfd)): Session used by Protocol + - Arg2 (str(ospf | ospfv3 | bgp | ldp | rsvp | isis | pim | bfd | lacp)): Session used by Protocol - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. - Returns list(str): ID to associate each async action invocation @@ -968,14 +989,14 @@ def SetDiagnosticState(self, *args, **kwargs): setDiagnosticState(Arg2=list, Arg3=enum, Arg4=enum, async_operation=bool)list ----------------------------------------------------------------------------- - Arg2 (list(number)): List of indices into the protocol plugin. An empty list indicates all instances in the plugin. - - Arg3 (str(ospf | ospfv3 | bgp | ldp | rsvp | isis | pim | bfd)): Session used by Protocol + - Arg3 (str(ospf | ospfv3 | bgp | ldp | rsvp | isis | pim | bfd | lacp)): Session used by Protocol - Arg4 (str(controlDetectionTimeExpired | echoFunctionFailed | neighbourSignaledSessionDown | forwardingPlaneReset | pathDown | concatenatedPathDown | administrativelyDown | reverseConcatenatedPathDown | reserved)): Diagnostic Code - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. - Returns list(str): ID to associate each async action invocation setDiagnosticState(Arg2=enum, Arg3=enum, async_operation=bool)list ------------------------------------------------------------------ - - Arg2 (str(ospf | ospfv3 | bgp | ldp | rsvp | isis | pim | bfd)): Session used by Protocol + - Arg2 (str(ospf | ospfv3 | bgp | ldp | rsvp | isis | pim | bfd | lacp)): Session used by Protocol - Arg3 (str(controlDetectionTimeExpired | echoFunctionFailed | neighbourSignaledSessionDown | forwardingPlaneReset | pathDown | concatenatedPathDown | administrativelyDown | reverseConcatenatedPathDown | reserved)): Diagnostic Code - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. - Returns list(str): ID to associate each async action invocation @@ -1073,13 +1094,13 @@ def StopPDU(self, *args, **kwargs): stopPDU(Arg2=list, Arg3=enum, async_operation=bool)list ------------------------------------------------------- - Arg2 (list(number)): List of indices into the protocol plugin. An empty list indicates all instances in the plugin. - - Arg3 (str(ospf | ospfv3 | bgp | ldp | rsvp | isis | pim | bfd)): Session used by Protocol + - Arg3 (str(ospf | ospfv3 | bgp | ldp | rsvp | isis | pim | bfd | lacp)): Session used by Protocol - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. - Returns list(str): ID to associate each async action invocation stopPDU(Arg2=enum, async_operation=bool)list -------------------------------------------- - - Arg2 (str(ospf | ospfv3 | bgp | ldp | rsvp | isis | pim | bfd)): Session used by Protocol + - Arg2 (str(ospf | ospfv3 | bgp | ldp | rsvp | isis | pim | bfd | lacp)): Session used by Protocol - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. - Returns list(str): ID to associate each async action invocation diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bfdv6session_0227b1efa1d435dd43ed809b84abf3ba.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bfdv6session_0227b1efa1d435dd43ed809b84abf3ba.py index 34b400f43..52d1c3eae 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bfdv6session_0227b1efa1d435dd43ed809b84abf3ba.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bfdv6session_0227b1efa1d435dd43ed809b84abf3ba.py @@ -336,6 +336,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def Start(self, *args, **kwargs): # type: (*Any, **Any) -> Union[List[str], None] """Executes the start operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgp8277srsegmentidlist_0718aa70c2b1ee20aec9def96e59fdcc.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgp8277srsegmentidlist_0718aa70c2b1ee20aec9def96e59fdcc.py index df659e951..dbeaafbc0 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgp8277srsegmentidlist_0718aa70c2b1ee20aec9def96e59fdcc.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgp8277srsegmentidlist_0718aa70c2b1ee20aec9def96e59fdcc.py @@ -183,6 +183,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids(self, PortNames=None, IncrementMode=None, SegmentId=None): """Base class infrastructure that gets a list of Bgp8277SRSegmentIdList device ids encapsulated by this object. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpaigplist_b76a0c0926b383c03300a5c9015e1c36.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpaigplist_b76a0c0926b383c03300a5c9015e1c36.py index f6986cc1f..667b542ac 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpaigplist_b76a0c0926b383c03300a5c9015e1c36.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpaigplist_b76a0c0926b383c03300a5c9015e1c36.py @@ -183,6 +183,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids(self, PortNames=None, Type=None, Value=None): """Base class infrastructure that gets a list of bgpAigpList device ids encapsulated by this object. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpasnumberlist_1529f0c2f511c5c16621b75c6205cf08.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpasnumberlist_1529f0c2f511c5c16621b75c6205cf08.py index d41fd0580..1e8c8a7f5 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpasnumberlist_1529f0c2f511c5c16621b75c6205cf08.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpasnumberlist_1529f0c2f511c5c16621b75c6205cf08.py @@ -185,6 +185,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids(self, PortNames=None, AsNumber=None, EnableASNumber=None): """Base class infrastructure that gets a list of bgpAsNumberList device ids encapsulated by this object. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpaspathsegmentlist_4d209c5ac36c18374125f19531d4795f.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpaspathsegmentlist_4d209c5ac36c18374125f19531d4795f.py index 6fefe351a..8b6f358e1 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpaspathsegmentlist_4d209c5ac36c18374125f19531d4795f.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpaspathsegmentlist_4d209c5ac36c18374125f19531d4795f.py @@ -230,6 +230,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, EnableASPathSegment=None, SegmentType=None ): diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpclusteridlist_82b17094a31a96f755045be572017577.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpclusteridlist_82b17094a31a96f755045be572017577.py index 2234138c0..887c8a6e9 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpclusteridlist_82b17094a31a96f755045be572017577.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpclusteridlist_82b17094a31a96f755045be572017577.py @@ -170,6 +170,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids(self, PortNames=None, ClusterId=None): """Base class infrastructure that gets a list of bgpClusterIdList device ids encapsulated by this object. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpcommunitieslist_2963fcaf235bccb665be655ea86cee0f.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpcommunitieslist_2963fcaf235bccb665be655ea86cee0f.py index 1c7c5edd5..0bfa678f7 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpcommunitieslist_2963fcaf235bccb665be655ea86cee0f.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpcommunitieslist_2963fcaf235bccb665be655ea86cee0f.py @@ -196,6 +196,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, AsNumber=None, LastTwoOctets=None, Type=None ): diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpcustomafisafiv4_3755a44fa17f2a2c8666f79d7f4bbce7.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpcustomafisafiv4_3755a44fa17f2a2c8666f79d7f4bbce7.py index 2d33aae24..520654a87 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpcustomafisafiv4_3755a44fa17f2a2c8666f79d7f4bbce7.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpcustomafisafiv4_3755a44fa17f2a2c8666f79d7f4bbce7.py @@ -203,6 +203,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpcustomafisafiv6_31ae8bd98f331c2119281ac977022fca.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpcustomafisafiv6_31ae8bd98f331c2119281ac977022fca.py index c7bb6ab3f..a3c1722d0 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpcustomafisafiv6_31ae8bd98f331c2119281ac977022fca.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpcustomafisafiv6_31ae8bd98f331c2119281ac977022fca.py @@ -203,6 +203,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpepepeerlinklist_763f9e1a55aa38eb16e9aa15af5fbd00.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpepepeerlinklist_763f9e1a55aa38eb16e9aa15af5fbd00.py index 50e2cf0b7..1959e8687 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpepepeerlinklist_763f9e1a55aa38eb16e9aa15af5fbd00.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpepepeerlinklist_763f9e1a55aa38eb16e9aa15af5fbd00.py @@ -685,6 +685,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpepepeerlist_8d99c24c6bc075dd9519d2ac06779a94.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpepepeerlist_8d99c24c6bc075dd9519d2ac06779a94.py index 549ae4e57..d842c7036 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpepepeerlist_8d99c24c6bc075dd9519d2ac06779a94.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpepepeerlist_8d99c24c6bc075dd9519d2ac06779a94.py @@ -478,6 +478,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpepepeersetlist_ece8f83471c092e69963d1f732d4f4fb.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpepepeersetlist_ece8f83471c092e69963d1f732d4f4fb.py index 7ddad3885..a25025ab4 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpepepeersetlist_ece8f83471c092e69963d1f732d4f4fb.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpepepeersetlist_ece8f83471c092e69963d1f732d4f4fb.py @@ -359,6 +359,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids(self, PortNames=None, RsvdBits=None): """Base class infrastructure that gets a list of bgpEpePeerSetList device ids encapsulated by this object. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpepesrv6peerlist_b7dca522ef99eb22707bd5da943fc120.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpepesrv6peerlist_b7dca522ef99eb22707bd5da943fc120.py index c3c6fd9ba..c0dd0d3de 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpepesrv6peerlist_b7dca522ef99eb22707bd5da943fc120.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpepesrv6peerlist_b7dca522ef99eb22707bd5da943fc120.py @@ -546,6 +546,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpethernetsegmentv4_2514045783c23a908611c72c13ab7e8f.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpethernetsegmentv4_2514045783c23a908611c72c13ab7e8f.py index 42071d196..aa1d0f137 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpethernetsegmentv4_2514045783c23a908611c72c13ab7e8f.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpethernetsegmentv4_2514045783c23a908611c72c13ab7e8f.py @@ -1081,6 +1081,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def AdvertiseAdPerEsRoute(self, *args, **kwargs): # type: (*Any, **Any) -> Union[List[str], None] """Executes the advertiseAdPerEsRoute operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpethernetsegmentv6_58e9b55555c9ee871244737f09405ae0.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpethernetsegmentv6_58e9b55555c9ee871244737f09405ae0.py index 7571f393c..5e65f4dad 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpethernetsegmentv6_58e9b55555c9ee871244737f09405ae0.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpethernetsegmentv6_58e9b55555c9ee871244737f09405ae0.py @@ -1109,6 +1109,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def AdvertiseAdPerEsRoute(self, *args, **kwargs): # type: (*Any, **Any) -> Union[List[str], None] """Executes the advertiseAdPerEsRoute operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpevpnjoinsynchigmp_f89f38fca85b1442229391afe5b95e76.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpevpnjoinsynchigmp_f89f38fca85b1442229391afe5b95e76.py index a0b141cc9..17ea5c4a2 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpevpnjoinsynchigmp_f89f38fca85b1442229391afe5b95e76.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpevpnjoinsynchigmp_f89f38fca85b1442229391afe5b95e76.py @@ -282,6 +282,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpevpnjoinsynchmld_4f5a831aa8e923cbdbff69a4f078837d.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpevpnjoinsynchmld_4f5a831aa8e923cbdbff69a4f078837d.py index f27a077fd..944e9ae72 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpevpnjoinsynchmld_4f5a831aa8e923cbdbff69a4f078837d.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpevpnjoinsynchmld_4f5a831aa8e923cbdbff69a4f078837d.py @@ -282,6 +282,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpevpnleavesynchigmp_411f258090ec14c0d716cabc5159977e.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpevpnleavesynchigmp_411f258090ec14c0d716cabc5159977e.py index a5e67eb6a..8f8883ae2 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpevpnleavesynchigmp_411f258090ec14c0d716cabc5159977e.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpevpnleavesynchigmp_411f258090ec14c0d716cabc5159977e.py @@ -314,6 +314,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpevpnleavesynchmld_226fbb8fe75f87a6460aecae872f059a.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpevpnleavesynchmld_226fbb8fe75f87a6460aecae872f059a.py index 8e0e48666..b1f47ff35 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpevpnleavesynchmld_226fbb8fe75f87a6460aecae872f059a.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpevpnleavesynchmld_226fbb8fe75f87a6460aecae872f059a.py @@ -314,6 +314,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpevpnsmetigmp_68fa5fa63ce581945025c1253038bccb.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpevpnsmetigmp_68fa5fa63ce581945025c1253038bccb.py index 441ef352d..57e875c76 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpevpnsmetigmp_68fa5fa63ce581945025c1253038bccb.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpevpnsmetigmp_68fa5fa63ce581945025c1253038bccb.py @@ -282,6 +282,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpevpnsmetmld_8d81cf97f583ad4547c03c6110c5168a.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpevpnsmetmld_8d81cf97f583ad4547c03c6110c5168a.py index 6480dedbf..c557e4a68 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpevpnsmetmld_8d81cf97f583ad4547c03c6110c5168a.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpevpnsmetmld_8d81cf97f583ad4547c03c6110c5168a.py @@ -282,6 +282,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpevpnspmsiv4_1a04dcc2041028074ff091c8cf9f0f9c.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpevpnspmsiv4_1a04dcc2041028074ff091c8cf9f0f9c.py index e428cd805..a6088ecb7 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpevpnspmsiv4_1a04dcc2041028074ff091c8cf9f0f9c.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpevpnspmsiv4_1a04dcc2041028074ff091c8cf9f0f9c.py @@ -390,6 +390,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpexportroutetargetlist_ce93ce056c01eaf7643c31a7fd67768c.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpexportroutetargetlist_ce93ce056c01eaf7643c31a7fd67768c.py index d97b71a34..55f431b2a 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpexportroutetargetlist_ce93ce056c01eaf7643c31a7fd67768c.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpexportroutetargetlist_ce93ce056c01eaf7643c31a7fd67768c.py @@ -230,6 +230,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpextendedcommunitieslist_8226f9a3ca5552e5a51e89a45cfc1b7e.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpextendedcommunitieslist_8226f9a3ca5552e5a51e89a45cfc1b7e.py index d7ad68740..27e5d9812 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpextendedcommunitieslist_8226f9a3ca5552e5a51e89a45cfc1b7e.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpextendedcommunitieslist_8226f9a3ca5552e5a51e89a45cfc1b7e.py @@ -366,6 +366,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpflowspecrangeslist_6369634b1dc049c4e02574db74970dd8.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpflowspecrangeslist_6369634b1dc049c4e02574db74970dd8.py index 91f57f99a..3d4670623 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpflowspecrangeslist_6369634b1dc049c4e02574db74970dd8.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpflowspecrangeslist_6369634b1dc049c4e02574db74970dd8.py @@ -1639,6 +1639,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpflowspecrangeslist_850749b96bb629595bbddf006a29b1eb.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpflowspecrangeslist_850749b96bb629595bbddf006a29b1eb.py index e04bf1de0..c484037a7 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpflowspecrangeslist_850749b96bb629595bbddf006a29b1eb.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpflowspecrangeslist_850749b96bb629595bbddf006a29b1eb.py @@ -1566,6 +1566,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpflowspecrangeslistv4_0163de8cc99a19d1385a21d26b93a544.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpflowspecrangeslistv4_0163de8cc99a19d1385a21d26b93a544.py index c8ede3012..cc579f3d8 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpflowspecrangeslistv4_0163de8cc99a19d1385a21d26b93a544.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpflowspecrangeslistv4_0163de8cc99a19d1385a21d26b93a544.py @@ -1566,6 +1566,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpflowspecrangeslistv6_c579a493ccdc64a6383fef9d60aac4cc.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpflowspecrangeslistv6_c579a493ccdc64a6383fef9d60aac4cc.py index 337809e83..6c54ebaa2 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpflowspecrangeslistv6_c579a493ccdc64a6383fef9d60aac4cc.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpflowspecrangeslistv6_c579a493ccdc64a6383fef9d60aac4cc.py @@ -1639,6 +1639,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpimportroutetargetlist_99470595cc13238e15b19c07b8af6021.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpimportroutetargetlist_99470595cc13238e15b19c07b8af6021.py index 14f764229..e84d6c09e 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpimportroutetargetlist_99470595cc13238e15b19c07b8af6021.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpimportroutetargetlist_99470595cc13238e15b19c07b8af6021.py @@ -230,6 +230,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpiprouteproperty_ffd9071ae88c6283e9f54ec948882405.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpiprouteproperty_ffd9071ae88c6283e9f54ec948882405.py index dc78e3df7..83043215f 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpiprouteproperty_ffd9071ae88c6283e9f54ec948882405.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpiprouteproperty_ffd9071ae88c6283e9f54ec948882405.py @@ -1642,6 +1642,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def AgeOutRoutes(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the ageOutRoutes operation on the server. @@ -1801,7 +1822,7 @@ def ImportBgpRoutes(self, *args, **kwargs): - Arg2 (str(roundRobin | replicate)): Option to specify distribution type, for distributing imported routes across all BGP Peer. Options: Round-Robin, for allocating routes sequentially, and Replicate, for allocating all routes to each Peer. - Arg3 (bool): Import only the best routes (provided route file has this information). - Arg4 (str(overwriteTestersAddress | preserveFromFile)): Option for setting Next Hop modification type. - - Arg5 (str(csv | juniper | cisco)): Import routes file type. Route import may fail in file type is not matching with the file being imported. + - Arg5 (str(csv | juniper | cisco | arista)): Import routes file type. Route import may fail in file type is not matching with the file being imported. - Arg6 (obj(ixnetwork_restpy.files.Files)): Select source file having route information. - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. - Returns list(str): ID to associate each asynchronous action invocation. @@ -1811,7 +1832,7 @@ def ImportBgpRoutes(self, *args, **kwargs): - Arg2 (str(roundRobin | replicate)): Option to specify distribution type, for distributing imported routes across all BGP Peer. Options: Round-Robin, for allocating routes sequentially, and Replicate, for allocating all routes to each Peer. - Arg3 (bool): Import only the best routes (provided route file has this information). - Arg4 (str(overwriteTestersAddress | preserveFromFile)): Option for setting Next Hop modification type. - - Arg5 (str(csv | juniper | cisco)): Import routes file type. Route import may fail in file type is not matching with the file being imported. + - Arg5 (str(csv | juniper | cisco | arista)): Import routes file type. Route import may fail in file type is not matching with the file being imported. - Arg6 (obj(ixnetwork_restpy.files.Files)): Select source file having route information. - Arg7 (number): Specify maximum routes(per port) that you want to import. Based on Card Memory, the Max Route Limit Per Port are: - 4GB or more => 2.0 million 2GB => 1.6 million 1GB => 0.8 million Less than 1GB => 0.5 million - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpipv4adl2vpn_08c7fedfc475cb9798d64a65caa67e97.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpipv4adl2vpn_08c7fedfc475cb9798d64a65caa67e97.py index ba3933afa..c5b5ee0a4 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpipv4adl2vpn_08c7fedfc475cb9798d64a65caa67e97.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpipv4adl2vpn_08c7fedfc475cb9798d64a65caa67e97.py @@ -606,6 +606,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def ReadvertiseADVPLSRoute(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the readvertiseADVPLSRoute operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpipv4evpnevi_05f1ea70759fa1436b3981f124b83276.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpipv4evpnevi_05f1ea70759fa1436b3981f124b83276.py index 272c79812..d6228405a 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpipv4evpnevi_05f1ea70759fa1436b3981f124b83276.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpipv4evpnevi_05f1ea70759fa1436b3981f124b83276.py @@ -1562,6 +1562,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def AdvertiseAliasing(self, *args, **kwargs): # type: (*Any, **Any) -> Union[List[str], None] """Executes the advertiseAliasing operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpipv4evpnpbb_f1db536c355bf8211909601b21790955.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpipv4evpnpbb_f1db536c355bf8211909601b21790955.py index 2624a1b84..546351fdf 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpipv4evpnpbb_f1db536c355bf8211909601b21790955.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpipv4evpnpbb_f1db536c355bf8211909601b21790955.py @@ -1517,6 +1517,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def RestartDown(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the restartDown operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpipv4evpnvpws_e8af65dd80ab4466e956b1bd0656c202.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpipv4evpnvpws_e8af65dd80ab4466e956b1bd0656c202.py index c6b3e8e99..a628c88cf 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpipv4evpnvpws_e8af65dd80ab4466e956b1bd0656c202.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpipv4evpnvpws_e8af65dd80ab4466e956b1bd0656c202.py @@ -1517,6 +1517,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def RestartDown(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the restartDown operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpipv4evpnvxlan_ac7a890f916ca5599eb4618d697c2f6e.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpipv4evpnvxlan_ac7a890f916ca5599eb4618d697c2f6e.py index 93e80465f..1df8ad254 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpipv4evpnvxlan_ac7a890f916ca5599eb4618d697c2f6e.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpipv4evpnvxlan_ac7a890f916ca5599eb4618d697c2f6e.py @@ -1603,6 +1603,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def AdvertiseAliasing(self, *args, **kwargs): # type: (*Any, **Any) -> Union[List[str], None] """Executes the advertiseAliasing operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpipv4evpnvxlanvpws_8885c446b89d80aaa511ee82c37e924f.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpipv4evpnvxlanvpws_8885c446b89d80aaa511ee82c37e924f.py index 4802870e5..1c7a28bb2 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpipv4evpnvxlanvpws_8885c446b89d80aaa511ee82c37e924f.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpipv4evpnvxlanvpws_8885c446b89d80aaa511ee82c37e924f.py @@ -1603,6 +1603,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def RestartDown(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the restartDown operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpipv4l2site_3fc887aa9816db034ba10b85d4b057ee.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpipv4l2site_3fc887aa9816db034ba10b85d4b057ee.py index 85451a3e9..4134a733e 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpipv4l2site_3fc887aa9816db034ba10b85d4b057ee.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpipv4l2site_3fc887aa9816db034ba10b85d4b057ee.py @@ -764,6 +764,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def RestartDown(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the restartDown operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpipv4mvrf_200ce763656bd00177bc416b83bf991a.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpipv4mvrf_200ce763656bd00177bc416b83bf991a.py index 8b17d900f..84c669135 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpipv4mvrf_200ce763656bd00177bc416b83bf991a.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpipv4mvrf_200ce763656bd00177bc416b83bf991a.py @@ -1316,6 +1316,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def ClearAllBgpVRFLearnedInfo(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the clearAllBgpVRFLearnedInfo operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpipv4peer_2e2c3c2ad1ad138953e43543afb88841.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpipv4peer_2e2c3c2ad1ad138953e43543afb88841.py index 0e40ed5a1..9abd78e6d 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpipv4peer_2e2c3c2ad1ad138953e43543afb88841.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpipv4peer_2e2c3c2ad1ad138953e43543afb88841.py @@ -2993,6 +2993,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def BgpIPv4FlowSpecLearnedInfo(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the bgpIPv4FlowSpecLearnedInfo operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpipv6adl2vpn_dfa30e45f6798c9ecc0ef8b85351cb5d.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpipv6adl2vpn_dfa30e45f6798c9ecc0ef8b85351cb5d.py index 8e889cf65..d15959d1f 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpipv6adl2vpn_dfa30e45f6798c9ecc0ef8b85351cb5d.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpipv6adl2vpn_dfa30e45f6798c9ecc0ef8b85351cb5d.py @@ -606,6 +606,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def ReadvertiseADVPLSRoute(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the readvertiseADVPLSRoute operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpipv6evpnevi_7c0bb620c8b4c2fccbb4102758771ea6.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpipv6evpnevi_7c0bb620c8b4c2fccbb4102758771ea6.py index 87ee4c993..a0a4b5ffd 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpipv6evpnevi_7c0bb620c8b4c2fccbb4102758771ea6.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpipv6evpnevi_7c0bb620c8b4c2fccbb4102758771ea6.py @@ -2157,6 +2157,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def AdvertiseAliasing(self, *args, **kwargs): # type: (*Any, **Any) -> Union[List[str], None] """Executes the advertiseAliasing operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpipv6evpnpbb_7e3d31c960a96c76772f39596f4e0b6c.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpipv6evpnpbb_7e3d31c960a96c76772f39596f4e0b6c.py index 80333059a..40509886e 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpipv6evpnpbb_7e3d31c960a96c76772f39596f4e0b6c.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpipv6evpnpbb_7e3d31c960a96c76772f39596f4e0b6c.py @@ -1517,6 +1517,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def RestartDown(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the restartDown operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpipv6evpnvpws_7e7a3dec141df7b1c974f723df7f4814.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpipv6evpnvpws_7e7a3dec141df7b1c974f723df7f4814.py index 0df229c21..576346e1d 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpipv6evpnvpws_7e7a3dec141df7b1c974f723df7f4814.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpipv6evpnvpws_7e7a3dec141df7b1c974f723df7f4814.py @@ -1990,6 +1990,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def RestartDown(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the restartDown operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpipv6evpnvxlan_1a74cee0f392d412526e30bcedb3e032.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpipv6evpnvxlan_1a74cee0f392d412526e30bcedb3e032.py index 56deaaaf0..786fcb956 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpipv6evpnvxlan_1a74cee0f392d412526e30bcedb3e032.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpipv6evpnvxlan_1a74cee0f392d412526e30bcedb3e032.py @@ -1603,6 +1603,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def AdvertiseAliasing(self, *args, **kwargs): # type: (*Any, **Any) -> Union[List[str], None] """Executes the advertiseAliasing operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpipv6evpnvxlanvpws_4fb221f4b88d4df5dde7203f6194f25d.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpipv6evpnvxlanvpws_4fb221f4b88d4df5dde7203f6194f25d.py index 84d51fcee..c2ae4d2f2 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpipv6evpnvxlanvpws_4fb221f4b88d4df5dde7203f6194f25d.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpipv6evpnvxlanvpws_4fb221f4b88d4df5dde7203f6194f25d.py @@ -1603,6 +1603,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def RestartDown(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the restartDown operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpipv6l2site_91dde52dc0cc2c12360c0d436c8db2fe.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpipv6l2site_91dde52dc0cc2c12360c0d436c8db2fe.py index 81bf86b7c..fd90a3fd9 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpipv6l2site_91dde52dc0cc2c12360c0d436c8db2fe.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpipv6l2site_91dde52dc0cc2c12360c0d436c8db2fe.py @@ -721,6 +721,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def RestartDown(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the restartDown operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpipv6mvrf_1027ad3d610d0cb975a481909144cac3.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpipv6mvrf_1027ad3d610d0cb975a481909144cac3.py index 71e9066b9..b6ca01051 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpipv6mvrf_1027ad3d610d0cb975a481909144cac3.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpipv6mvrf_1027ad3d610d0cb975a481909144cac3.py @@ -913,6 +913,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def ClearAllBgpVRFLearnedInfo(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the clearAllBgpVRFLearnedInfo operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpipv6peer_cc4b2c56b540aa17ec1d2d616e50cd4b.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpipv6peer_cc4b2c56b540aa17ec1d2d616e50cd4b.py index ca2bceb00..407108363 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpipv6peer_cc4b2c56b540aa17ec1d2d616e50cd4b.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpipv6peer_cc4b2c56b540aa17ec1d2d616e50cd4b.py @@ -3579,6 +3579,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def BgpIPv4FlowSpecLearnedInfo(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the bgpIPv4FlowSpecLearnedInfo operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpl3vniexportroutetargetlist_0ceb637a2c3fee9e0d0bdf68e75d9054.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpl3vniexportroutetargetlist_0ceb637a2c3fee9e0d0bdf68e75d9054.py index 565ff4694..5d5db2295 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpl3vniexportroutetargetlist_0ceb637a2c3fee9e0d0bdf68e75d9054.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpl3vniexportroutetargetlist_0ceb637a2c3fee9e0d0bdf68e75d9054.py @@ -230,6 +230,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpl3vniimportroutetargetlist_f9fc41787790538b1714fae483245f7d.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpl3vniimportroutetargetlist_f9fc41787790538b1714fae483245f7d.py index 2cf4a0651..5570a08ff 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpl3vniimportroutetargetlist_f9fc41787790538b1714fae483245f7d.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpl3vniimportroutetargetlist_f9fc41787790538b1714fae483245f7d.py @@ -230,6 +230,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpl3vpnrouteproperty_3b5e18e475abdb9b6f2bf410d51d886a.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpl3vpnrouteproperty_3b5e18e475abdb9b6f2bf410d51d886a.py index 976e47557..66e76f888 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpl3vpnrouteproperty_3b5e18e475abdb9b6f2bf410d51d886a.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpl3vpnrouteproperty_3b5e18e475abdb9b6f2bf410d51d886a.py @@ -1459,6 +1459,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def AgeOutRoutes(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the ageOutRoutes operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgplargecommunitieslist_4e8b7e63fdd826da6c354669eb5e3ed0.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgplargecommunitieslist_4e8b7e63fdd826da6c354669eb5e3ed0.py index 5fb5a6a5a..9feae77bd 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgplargecommunitieslist_4e8b7e63fdd826da6c354669eb5e3ed0.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgplargecommunitieslist_4e8b7e63fdd826da6c354669eb5e3ed0.py @@ -172,6 +172,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids(self, PortNames=None, LargeCommunity=None): """Base class infrastructure that gets a list of bgpLargeCommunitiesList device ids encapsulated by this object. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgplsaspathsegmentlist_fed4f671dbff6ccda8e8824fbe375856.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgplsaspathsegmentlist_fed4f671dbff6ccda8e8824fbe375856.py index 292372c4b..2c842debc 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgplsaspathsegmentlist_fed4f671dbff6ccda8e8824fbe375856.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgplsaspathsegmentlist_fed4f671dbff6ccda8e8824fbe375856.py @@ -230,6 +230,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, EnableASPathSegment=None, SegmentType=None ): diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgplsclusteridlist_7b4bcec76ea98c69afbc1dcb2556f669.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgplsclusteridlist_7b4bcec76ea98c69afbc1dcb2556f669.py index 19798e1cb..97f332334 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgplsclusteridlist_7b4bcec76ea98c69afbc1dcb2556f669.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgplsclusteridlist_7b4bcec76ea98c69afbc1dcb2556f669.py @@ -170,6 +170,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids(self, PortNames=None, ClusterId=None): """Base class infrastructure that gets a list of bgpLsClusterIdList device ids encapsulated by this object. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgplscommunitieslist_fdb216f1d4195f82ad738e19cb2b5d32.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgplscommunitieslist_fdb216f1d4195f82ad738e19cb2b5d32.py index d1362fd10..a39dd07b3 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgplscommunitieslist_fdb216f1d4195f82ad738e19cb2b5d32.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgplscommunitieslist_fdb216f1d4195f82ad738e19cb2b5d32.py @@ -196,6 +196,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, AsNumber=None, LastTwoOctets=None, Type=None ): diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgplsextendedcommunitieslist_122b706e8dda6c5aa9ede89bef707eb5.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgplsextendedcommunitieslist_122b706e8dda6c5aa9ede89bef707eb5.py index 9ee7ca71d..2254dc53c 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgplsextendedcommunitieslist_122b706e8dda6c5aa9ede89bef707eb5.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgplsextendedcommunitieslist_122b706e8dda6c5aa9ede89bef707eb5.py @@ -366,6 +366,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpmvpnreceiversitesipv4_279b1194a64614140f00d08a876cb61b.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpmvpnreceiversitesipv4_279b1194a64614140f00d08a876cb61b.py index 52933c5f0..9028a7f29 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpmvpnreceiversitesipv4_279b1194a64614140f00d08a876cb61b.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpmvpnreceiversitesipv4_279b1194a64614140f00d08a876cb61b.py @@ -659,6 +659,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def Start(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the start operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpmvpnreceiversitesipv6_49c886be42acc1f3fc70df1023ccb0bd.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpmvpnreceiversitesipv6_49c886be42acc1f3fc70df1023ccb0bd.py index fd50a9b95..4fc83c901 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpmvpnreceiversitesipv6_49c886be42acc1f3fc70df1023ccb0bd.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpmvpnreceiversitesipv6_49c886be42acc1f3fc70df1023ccb0bd.py @@ -659,6 +659,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def Start(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the start operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpmvpnsendersitesipv4_83c1dffccb6359eeaa27efcb24b1e2a2.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpmvpnsendersitesipv4_83c1dffccb6359eeaa27efcb24b1e2a2.py index e5c503f65..33c03c54d 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpmvpnsendersitesipv4_83c1dffccb6359eeaa27efcb24b1e2a2.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpmvpnsendersitesipv4_83c1dffccb6359eeaa27efcb24b1e2a2.py @@ -487,6 +487,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def Start(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the start operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpmvpnsendersitesipv6_432522ec6a3a94bf0469071086aef3c0.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpmvpnsendersitesipv6_432522ec6a3a94bf0469071086aef3c0.py index bd1025e1a..0d45b93f7 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpmvpnsendersitesipv6_432522ec6a3a94bf0469071086aef3c0.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpmvpnsendersitesipv6_432522ec6a3a94bf0469071086aef3c0.py @@ -502,6 +502,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def Start(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the start operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpnonvpnrrlargecommunitieslist_11861be5207f57b1a32d83eeb1d62224.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpnonvpnrrlargecommunitieslist_11861be5207f57b1a32d83eeb1d62224.py index f0b609721..a0723e27f 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpnonvpnrrlargecommunitieslist_11861be5207f57b1a32d83eeb1d62224.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpnonvpnrrlargecommunitieslist_11861be5207f57b1a32d83eeb1d62224.py @@ -172,6 +172,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids(self, PortNames=None, LargeCommunity=None): """Base class infrastructure that gets a list of bgpNonVPNRRLargeCommunitiesList device ids encapsulated by this object. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpsrgbrangesubobjectslist_6e28159e439bbeffe19ca2de4c7f7879.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpsrgbrangesubobjectslist_6e28159e439bbeffe19ca2de4c7f7879.py index e648c08ac..68a9b4c44 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpsrgbrangesubobjectslist_6e28159e439bbeffe19ca2de4c7f7879.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpsrgbrangesubobjectslist_6e28159e439bbeffe19ca2de4c7f7879.py @@ -183,6 +183,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids(self, PortNames=None, SIDCount=None, StartSID=None): """Base class infrastructure that gets a list of bgpSRGBRangeSubObjectsList device ids encapsulated by this object. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpsrtepolicieslistv4_f2d756189af5037098439a3ddb4c82c5.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpsrtepolicieslistv4_f2d756189af5037098439a3ddb4c82c5.py index 59a7983d6..3f4a30812 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpsrtepolicieslistv4_f2d756189af5037098439a3ddb4c82c5.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpsrtepolicieslistv4_f2d756189af5037098439a3ddb4c82c5.py @@ -836,6 +836,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpsrtepolicieslistv6_777d4342234c70b57248a06e0ef16746.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpsrtepolicieslistv6_777d4342234c70b57248a06e0ef16746.py index ceedd83a7..09b8d3e4b 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpsrtepolicieslistv6_777d4342234c70b57248a06e0ef16746.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpsrtepolicieslistv6_777d4342234c70b57248a06e0ef16746.py @@ -836,6 +836,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpsrtepoliciessegmentlistv4_6336750dadf06a61a8083b94d2a11d76.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpsrtepoliciessegmentlistv4_6336750dadf06a61a8083b94d2a11d76.py index 211640d0a..b45511eb0 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpsrtepoliciessegmentlistv4_6336750dadf06a61a8083b94d2a11d76.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpsrtepoliciessegmentlistv4_6336750dadf06a61a8083b94d2a11d76.py @@ -628,6 +628,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpsrtepoliciessegmentlistv6_91fa8741933da16ce10c43e89b06bc9e.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpsrtepoliciessegmentlistv6_91fa8741933da16ce10c43e89b06bc9e.py index 00eb2f1ed..f1aed4d7b 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpsrtepoliciessegmentlistv6_91fa8741933da16ce10c43e89b06bc9e.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpsrtepoliciessegmentlistv6_91fa8741933da16ce10c43e89b06bc9e.py @@ -628,6 +628,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpsrtepoliciessegmentscollectionv4_464f2f3f365df8acdb82ae879a9fd9a4.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpsrtepoliciessegmentscollectionv4_464f2f3f365df8acdb82ae879a9fd9a4.py index 47fb49412..713f85acc 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpsrtepoliciessegmentscollectionv4_464f2f3f365df8acdb82ae879a9fd9a4.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpsrtepoliciessegmentscollectionv4_464f2f3f365df8acdb82ae879a9fd9a4.py @@ -746,6 +746,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpsrtepoliciessegmentscollectionv6_36fca517ef159515fd45af1719a56398.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpsrtepoliciessegmentscollectionv6_36fca517ef159515fd45af1719a56398.py index f1f425fb5..f60235864 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpsrtepoliciessegmentscollectionv6_36fca517ef159515fd45af1719a56398.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpsrtepoliciessegmentscollectionv6_36fca517ef159515fd45af1719a56398.py @@ -746,6 +746,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpsrtepoliciessrv6bindinglistv6_d990deabbefe4f6abf91dcb7a675d82a.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpsrtepoliciessrv6bindinglistv6_d990deabbefe4f6abf91dcb7a675d82a.py index 1ab12ca07..505488485 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpsrtepoliciessrv6bindinglistv6_d990deabbefe4f6abf91dcb7a675d82a.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpsrtepoliciessrv6bindinglistv6_d990deabbefe4f6abf91dcb7a675d82a.py @@ -349,6 +349,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpsrtepoliciestunnelencapsulationlistv4_9031e764336dd61c6ed0b672cca24aab.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpsrtepoliciestunnelencapsulationlistv4_9031e764336dd61c6ed0b672cca24aab.py index d9bdb0295..cdc289a5d 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpsrtepoliciestunnelencapsulationlistv4_9031e764336dd61c6ed0b672cca24aab.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpsrtepoliciestunnelencapsulationlistv4_9031e764336dd61c6ed0b672cca24aab.py @@ -607,6 +607,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpsrtepoliciestunnelencapsulationlistv6_ba44b4c7321d78274052ebe9409a31c5.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpsrtepoliciestunnelencapsulationlistv6_ba44b4c7321d78274052ebe9409a31c5.py index 0ec495272..c8e88271f 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpsrtepoliciestunnelencapsulationlistv6_ba44b4c7321d78274052ebe9409a31c5.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpsrtepoliciestunnelencapsulationlistv6_ba44b4c7321d78274052ebe9409a31c5.py @@ -651,6 +651,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpumhexportroutetargetlist_536e8a485efae5ffcda5cfc4f848255b.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpumhexportroutetargetlist_536e8a485efae5ffcda5cfc4f848255b.py index 4ce73ecea..3eba94e44 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpumhexportroutetargetlist_536e8a485efae5ffcda5cfc4f848255b.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpumhexportroutetargetlist_536e8a485efae5ffcda5cfc4f848255b.py @@ -230,6 +230,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpumhimportroutetargetlist_02ef98778defb99b99d0de435c533ff0.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpumhimportroutetargetlist_02ef98778defb99b99d0de435c533ff0.py index e14b73c4a..9f9d59ed6 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpumhimportroutetargetlist_02ef98778defb99b99d0de435c533ff0.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpumhimportroutetargetlist_02ef98778defb99b99d0de435c533ff0.py @@ -230,6 +230,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpv4bmacmappediplist_9ea54e6390e4283600c8840153ae453b.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpv4bmacmappediplist_9ea54e6390e4283600c8840153ae453b.py index 34341f585..3bae3694c 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpv4bmacmappediplist_9ea54e6390e4283600c8840153ae453b.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpv4bmacmappediplist_9ea54e6390e4283600c8840153ae453b.py @@ -190,6 +190,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, Active=None, IpAddress=None, IpType=None, Ipv6Address=None ): diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpv6bmacmappediplist_817eaa9cef28501f557db118314de575.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpv6bmacmappediplist_817eaa9cef28501f557db118314de575.py index 305576366..0f07935c6 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpv6bmacmappediplist_817eaa9cef28501f557db118314de575.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpv6bmacmappediplist_817eaa9cef28501f557db118314de575.py @@ -190,6 +190,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, Active=None, IpAddress=None, IpType=None, Ipv6Address=None ): diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpv6iprouteproperty_e31f5dc41e1565260f4ddeb2f61efe60.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpv6iprouteproperty_e31f5dc41e1565260f4ddeb2f61efe60.py index 38fad8572..32b09ff62 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpv6iprouteproperty_e31f5dc41e1565260f4ddeb2f61efe60.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpv6iprouteproperty_e31f5dc41e1565260f4ddeb2f61efe60.py @@ -1915,6 +1915,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def AgeOutRoutes(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the ageOutRoutes operation on the server. @@ -2074,7 +2095,7 @@ def ImportBgpRoutes(self, *args, **kwargs): - Arg2 (str(roundRobin | replicate)): Option to specify distribution type, for distributing imported routes across all BGP Peer. Options: Round-Robin, for allocating routes sequentially, and Replicate, for allocating all routes to each Peer. - Arg3 (bool): Import only the best routes (provided route file has this information). - Arg4 (str(overwriteTestersAddress | preserveFromFile)): Option for setting Next Hop modification type. - - Arg5 (str(csv | juniper | cisco)): Import routes file type. Route import may fail in file type is not matching with the file being imported. + - Arg5 (str(csv | juniper | cisco | arista)): Import routes file type. Route import may fail in file type is not matching with the file being imported. - Arg6 (obj(ixnetwork_restpy.files.Files)): Select source file having route information. - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. - Returns list(str): ID to associate each asynchronous action invocation. @@ -2084,7 +2105,7 @@ def ImportBgpRoutes(self, *args, **kwargs): - Arg2 (str(roundRobin | replicate)): Option to specify distribution type, for distributing imported routes across all BGP Peer. Options: Round-Robin, for allocating routes sequentially, and Replicate, for allocating all routes to each Peer. - Arg3 (bool): Import only the best routes (provided route file has this information). - Arg4 (str(overwriteTestersAddress | preserveFromFile)): Option for setting Next Hop modification type. - - Arg5 (str(csv | juniper | cisco)): Import routes file type. Route import may fail in file type is not matching with the file being imported. + - Arg5 (str(csv | juniper | cisco | arista)): Import routes file type. Route import may fail in file type is not matching with the file being imported. - Arg6 (obj(ixnetwork_restpy.files.Files)): Select source file having route information. - Arg7 (number): Specify maximum routes(per port) that you want to import. Based on Card Memory, the Max Route Limit Per Port are: - 4GB or more => 2.0 million 2GB => 1.6 million 1GB => 0.8 million Less than 1GB => 0.5 million - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpv6l3vpnrouteproperty_15999adbfe8d61825751768ad5e0ddda.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpv6l3vpnrouteproperty_15999adbfe8d61825751768ad5e0ddda.py index 76719025f..12421ef90 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpv6l3vpnrouteproperty_15999adbfe8d61825751768ad5e0ddda.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpv6l3vpnrouteproperty_15999adbfe8d61825751768ad5e0ddda.py @@ -1822,6 +1822,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def AgeOutRoutes(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the ageOutRoutes operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpv6vrf_4210da29fcbfb992a73dbc8ddd6c31ca.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpv6vrf_4210da29fcbfb992a73dbc8ddd6c31ca.py index 903cbdc60..bf25497a3 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpv6vrf_4210da29fcbfb992a73dbc8ddd6c31ca.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpv6vrf_4210da29fcbfb992a73dbc8ddd6c31ca.py @@ -697,6 +697,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def ClearAllBgpVRFLearnedInfo(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the clearAllBgpVRFLearnedInfo operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpvrf_0cb79569071cf4c1cb6a19d71168e407.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpvrf_0cb79569071cf4c1cb6a19d71168e407.py index 7395b4e0b..4c0fdbbf1 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpvrf_0cb79569071cf4c1cb6a19d71168e407.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpvrf_0cb79569071cf4c1cb6a19d71168e407.py @@ -697,6 +697,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def ClearAllBgpVRFLearnedInfo(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the clearAllBgpVRFLearnedInfo operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bondedgre_09eda4ea678bfaf1026122797df45443.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bondedgre_09eda4ea678bfaf1026122797df45443.py index d4f3dc387..b055abd58 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bondedgre_09eda4ea678bfaf1026122797df45443.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bondedgre_09eda4ea678bfaf1026122797df45443.py @@ -544,6 +544,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def DiagBondingTunnel(self, *args, **kwargs): # type: (*Any, **Any) -> Union[List[str], None] """Executes the diagBondingTunnel operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bridgedata_46f9e50d9befc7b4e2640ba4217a2af2.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bridgedata_46f9e50d9befc7b4e2640ba4217a2af2.py index c97975957..f40512198 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bridgedata_46f9e50d9befc7b4e2640ba4217a2af2.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bridgedata_46f9e50d9befc7b4e2640ba4217a2af2.py @@ -170,6 +170,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids(self, PortNames=None, SystemId=None): """Base class infrastructure that gets a list of bridgeData device ids encapsulated by this object. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/broadcastdomainv4_0ca34c3c4185383a70655f140c0f0999.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/broadcastdomainv4_0ca34c3c4185383a70655f140c0f0999.py index 577660e8d..9213bb078 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/broadcastdomainv4_0ca34c3c4185383a70655f140c0f0999.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/broadcastdomainv4_0ca34c3c4185383a70655f140c0f0999.py @@ -839,6 +839,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def AdvertiseAliasing(self, *args, **kwargs): # type: (*Any, **Any) -> Union[List[str], None] """Executes the advertiseAliasing operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/broadcastdomainv4_ada8e5062c0947bde8a3de0fc7b9d534.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/broadcastdomainv4_ada8e5062c0947bde8a3de0fc7b9d534.py index 2ec2b8818..eb2a2e187 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/broadcastdomainv4_ada8e5062c0947bde8a3de0fc7b9d534.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/broadcastdomainv4_ada8e5062c0947bde8a3de0fc7b9d534.py @@ -799,6 +799,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def AdvertiseAliasing(self, *args, **kwargs): # type: (*Any, **Any) -> Union[List[str], None] """Executes the advertiseAliasing operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/broadcastdomainv4_b480f8504233bfe084a59cf7d9584195.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/broadcastdomainv4_b480f8504233bfe084a59cf7d9584195.py index bd322c391..5d752e8c4 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/broadcastdomainv4_b480f8504233bfe084a59cf7d9584195.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/broadcastdomainv4_b480f8504233bfe084a59cf7d9584195.py @@ -377,6 +377,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def AdvertiseAliasing(self, *args, **kwargs): # type: (*Any, **Any) -> Union[List[str], None] """Executes the advertiseAliasing operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/broadcastdomainv4vpws_551439dee67bf2b6850c89116ff8bcad.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/broadcastdomainv4vpws_551439dee67bf2b6850c89116ff8bcad.py index 6b6fc38b4..c115eb15e 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/broadcastdomainv4vpws_551439dee67bf2b6850c89116ff8bcad.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/broadcastdomainv4vpws_551439dee67bf2b6850c89116ff8bcad.py @@ -487,6 +487,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/broadcastdomainv4vxlanvpws_3e3308b3d257cad5357a25598992ae5e.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/broadcastdomainv4vxlanvpws_3e3308b3d257cad5357a25598992ae5e.py index f5176c062..b1754e3cd 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/broadcastdomainv4vxlanvpws_3e3308b3d257cad5357a25598992ae5e.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/broadcastdomainv4vxlanvpws_3e3308b3d257cad5357a25598992ae5e.py @@ -487,6 +487,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/broadcastdomainv6_8cb8a8dc728dc6c9d561711a707e762b.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/broadcastdomainv6_8cb8a8dc728dc6c9d561711a707e762b.py index dd9708701..399075856 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/broadcastdomainv6_8cb8a8dc728dc6c9d561711a707e762b.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/broadcastdomainv6_8cb8a8dc728dc6c9d561711a707e762b.py @@ -377,6 +377,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def AdvertiseAliasing(self, *args, **kwargs): # type: (*Any, **Any) -> Union[List[str], None] """Executes the advertiseAliasing operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/broadcastdomainv6_f52f2d23ece3114c2b2d1e550e07fc42.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/broadcastdomainv6_f52f2d23ece3114c2b2d1e550e07fc42.py index 580c66d58..000b75e11 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/broadcastdomainv6_f52f2d23ece3114c2b2d1e550e07fc42.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/broadcastdomainv6_f52f2d23ece3114c2b2d1e550e07fc42.py @@ -671,6 +671,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def AdvertiseAliasing(self, *args, **kwargs): # type: (*Any, **Any) -> Union[List[str], None] """Executes the advertiseAliasing operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/broadcastdomainv6vpws_59a832939f2a9320bf834055352368fd.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/broadcastdomainv6vpws_59a832939f2a9320bf834055352368fd.py index bc382291e..4dc47ac90 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/broadcastdomainv6vpws_59a832939f2a9320bf834055352368fd.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/broadcastdomainv6vpws_59a832939f2a9320bf834055352368fd.py @@ -779,6 +779,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/broadcastdomainv6vxlanvpws_f6a54b2f0eb7348dd75d0ba4e2153c7b.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/broadcastdomainv6vxlanvpws_f6a54b2f0eb7348dd75d0ba4e2153c7b.py index d94c0de65..0f9e5a19a 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/broadcastdomainv6vxlanvpws_f6a54b2f0eb7348dd75d0ba4e2153c7b.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/broadcastdomainv6vxlanvpws_f6a54b2f0eb7348dd75d0ba4e2153c7b.py @@ -487,6 +487,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/buckets_bd4257b6720604ee2ee57801dd96774d.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/buckets_bd4257b6720604ee2ee57801dd96774d.py index ba6e86e7f..f2be691bb 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/buckets_bd4257b6720604ee2ee57801dd96774d.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/buckets_bd4257b6720604ee2ee57801dd96774d.py @@ -282,6 +282,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/cakcache_82f6cb884290798c18c712f1e527033c.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/cakcache_82f6cb884290798c18c712f1e527033c.py index d7977d83a..6c56ac559 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/cakcache_82f6cb884290798c18c712f1e527033c.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/cakcache_82f6cb884290798c18c712f1e527033c.py @@ -270,6 +270,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/cfmbridge_0d1f83a1e9fee8ee7d444b2a33a0e03b.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/cfmbridge_0d1f83a1e9fee8ee7d444b2a33a0e03b.py index 0fac3c664..e6fd68527 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/cfmbridge_0d1f83a1e9fee8ee7d444b2a33a0e03b.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/cfmbridge_0d1f83a1e9fee8ee7d444b2a33a0e03b.py @@ -585,6 +585,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def ClearAllLearnedInfo(self, *args, **kwargs): # type: (*Any, **Any) -> Union[List[str], None] """Executes the clearAllLearnedInfo operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/cfmcustomtlvlist_798bcbc04fddcff054434d56d2b00117.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/cfmcustomtlvlist_798bcbc04fddcff054434d56d2b00117.py index 33fa1ceed..58d0be0af 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/cfmcustomtlvlist_798bcbc04fddcff054434d56d2b00117.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/cfmcustomtlvlist_798bcbc04fddcff054434d56d2b00117.py @@ -301,6 +301,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/cfmmp_8584bca4487041ab880565a01c8deaf3.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/cfmmp_8584bca4487041ab880565a01c8deaf3.py index 38a2a8fe7..cd5379aed 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/cfmmp_8584bca4487041ab880565a01c8deaf3.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/cfmmp_8584bca4487041ab880565a01c8deaf3.py @@ -1923,6 +1923,27 @@ def ActivateMpEmulated(self, *args, **kwargs): "activateMpEmulated", payload=payload, response_object=None ) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def ClearAllLearnedInfo(self, *args, **kwargs): # type: (*Any, **Any) -> Union[List[str], None] """Executes the clearAllLearnedInfo operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/cfmsimulatedlinks_ed9491a56ff2748e2dde581267b5d86e.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/cfmsimulatedlinks_ed9491a56ff2748e2dde581267b5d86e.py index b8a8c247b..644cc101a 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/cfmsimulatedlinks_ed9491a56ff2748e2dde581267b5d86e.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/cfmsimulatedlinks_ed9491a56ff2748e2dde581267b5d86e.py @@ -226,6 +226,27 @@ def ActivateLink(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("activateLink", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def DeactivateLink(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the deactivateLink operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/cfmsimulatedmp_d0096b7abd3340f4c8bdf5e2ba2578fb.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/cfmsimulatedmp_d0096b7abd3340f4c8bdf5e2ba2578fb.py index a8c5ff79e..fb1f40795 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/cfmsimulatedmp_d0096b7abd3340f4c8bdf5e2ba2578fb.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/cfmsimulatedmp_d0096b7abd3340f4c8bdf5e2ba2578fb.py @@ -1953,6 +1953,27 @@ def ActivateMpSimulated(self, *args, **kwargs): "activateMpSimulated", payload=payload, response_object=None ) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def DeactivateMpSimulated(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the deactivateMpSimulated operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/cfmsimulatedtopology_dc7c77f2f0651bc2e9e2b4796e7969b8.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/cfmsimulatedtopology_dc7c77f2f0651bc2e9e2b4796e7969b8.py index b6e874170..c84d3c5d0 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/cfmsimulatedtopology_dc7c77f2f0651bc2e9e2b4796e7969b8.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/cfmsimulatedtopology_dc7c77f2f0651bc2e9e2b4796e7969b8.py @@ -252,6 +252,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def ConfigMANames(self, *args, **kwargs): # type: (*Any, **Any) -> Union[List[str], None] """Executes the configMANames operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/cfmslm_a552256bb40704de586bc05808a60f7f.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/cfmslm_a552256bb40704de586bc05808a60f7f.py index a3f0f7b3d..3180268f4 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/cfmslm_a552256bb40704de586bc05808a60f7f.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/cfmslm_a552256bb40704de586bc05808a60f7f.py @@ -439,6 +439,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def StartSlm(self, *args, **kwargs): # type: (*Any, **Any) -> Union[List[str], None] """Executes the startSlm operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/clusterdata_14465bf77bf9eb0d40ce3ac056e3b337.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/clusterdata_14465bf77bf9eb0d40ce3ac056e3b337.py index f63fdaf64..885a8de9b 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/clusterdata_14465bf77bf9eb0d40ce3ac056e3b337.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/clusterdata_14465bf77bf9eb0d40ce3ac056e3b337.py @@ -360,6 +360,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def Attach(self, *args, **kwargs): # type: (*Any, **Any) -> Union[List[str], None] """Executes the attach operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/clusterlist_6e3b9385a37769c7040d46a28feaa819.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/clusterlist_6e3b9385a37769c7040d46a28feaa819.py index 0af298d81..38dd250a0 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/clusterlist_6e3b9385a37769c7040d46a28feaa819.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/clusterlist_6e3b9385a37769c7040d46a28feaa819.py @@ -170,6 +170,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids(self, PortNames=None, ClusterId=None): """Base class infrastructure that gets a list of clusterList device ids encapsulated by this object. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/cmacproperties_ecb45bfaef4008cb27346c98c45748b2.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/cmacproperties_ecb45bfaef4008cb27346c98c45748b2.py index 7475a1635..199080605 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/cmacproperties_ecb45bfaef4008cb27346c98c45748b2.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/cmacproperties_ecb45bfaef4008cb27346c98c45748b2.py @@ -1694,6 +1694,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def ReadvertiseCMac(self, *args, **kwargs): # type: (*Any, **Any) -> Union[List[str], None] """Executes the readvertiseCMac operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/commandsnippetsdata_bfd4407665f4331cd53fee07f65b1820.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/commandsnippetsdata_bfd4407665f4331cd53fee07f65b1820.py index 64cf9fe9c..2a34318a0 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/commandsnippetsdata_bfd4407665f4331cd53fee07f65b1820.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/commandsnippetsdata_bfd4407665f4331cd53fee07f65b1820.py @@ -226,6 +226,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def ExecuteCommand(self, *args, **kwargs): # type: (*Any, **Any) -> Union[List[str], None] """Executes the executeCommand operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/configmanamesparams_122374d4856af71309d8e8b3391bfdcd.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/configmanamesparams_122374d4856af71309d8e8b3391bfdcd.py index 4f25063fc..f0b00f4d8 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/configmanamesparams_122374d4856af71309d8e8b3391bfdcd.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/configmanamesparams_122374d4856af71309d8e8b3391bfdcd.py @@ -155,6 +155,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def ConfigMANames(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the configMANames operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/configmdlevelsparams_1bf3d8514855f50e409c0aef7ac6bf1e.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/configmdlevelsparams_1bf3d8514855f50e409c0aef7ac6bf1e.py index 8ab42acb6..b7ca721b1 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/configmdlevelsparams_1bf3d8514855f50e409c0aef7ac6bf1e.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/configmdlevelsparams_1bf3d8514855f50e409c0aef7ac6bf1e.py @@ -646,6 +646,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def ConfigMDLevels(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the configMDLevels operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/configvlanparams_ab1a6e3f956da910a4175820dceb06bd.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/configvlanparams_ab1a6e3f956da910a4175820dceb06bd.py index bcc7026a8..f5c70760e 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/configvlanparams_ab1a6e3f956da910a4175820dceb06bd.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/configvlanparams_ab1a6e3f956da910a4175820dceb06bd.py @@ -382,6 +382,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def ConfigVLAN(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the configVLAN operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/connector_d0d942810e4010add7642d3914a1f29b.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/connector_d0d942810e4010add7642d3914a1f29b.py index 5134845b4..479fe033d 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/connector_d0d942810e4010add7642d3914a1f29b.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/connector_d0d942810e4010add7642d3914a1f29b.py @@ -164,3 +164,24 @@ def read(self, href): - ServerError: The server has encountered an uncategorized error condition """ return self._read(href) + + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/cuspcp_1ab532ec5eaeec746678378f2443dafe.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/cuspcp_1ab532ec5eaeec746678378f2443dafe.py index 2db5d1588..2a379735c 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/cuspcp_1ab532ec5eaeec746678378f2443dafe.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/cuspcp_1ab532ec5eaeec746678378f2443dafe.py @@ -385,6 +385,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def RestartDown(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the restartDown operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/cuspcpaccessinterfaceconfiglist_f29584fdbf397b7eaaaf4b30da24c4f0.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/cuspcpaccessinterfaceconfiglist_f29584fdbf397b7eaaaf4b30da24c4f0.py index 7692c27b0..de53503bc 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/cuspcpaccessinterfaceconfiglist_f29584fdbf397b7eaaaf4b30da24c4f0.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/cuspcpaccessinterfaceconfiglist_f29584fdbf397b7eaaaf4b30da24c4f0.py @@ -686,6 +686,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/cuspcpipv4addresspoollist_455d9f6528efb822a61db2ff9130065f.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/cuspcpipv4addresspoollist_455d9f6528efb822a61db2ff9130065f.py index 7290dd80f..6c5011e78 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/cuspcpipv4addresspoollist_455d9f6528efb822a61db2ff9130065f.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/cuspcpipv4addresspoollist_455d9f6528efb822a61db2ff9130065f.py @@ -233,6 +233,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/cuspcpwebpolicyconfiglist_0f48cf3d55c41393db2f61c60efcf9b8.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/cuspcpwebpolicyconfiglist_0f48cf3d55c41393db2f61c60efcf9b8.py index 3c3695948..7e1b90235 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/cuspcpwebpolicyconfiglist_0f48cf3d55c41393db2f61c60efcf9b8.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/cuspcpwebpolicyconfiglist_0f48cf3d55c41393db2f61c60efcf9b8.py @@ -293,6 +293,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/cuspup_a452407df164d641b27491106f32c6de.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/cuspup_a452407df164d641b27491106f32c6de.py index 3ca77cb90..b71a235c6 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/cuspup_a452407df164d641b27491106f32c6de.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/cuspup_a452407df164d641b27491106f32c6de.py @@ -655,6 +655,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def RestartDown(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the restartDown operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/cuspupboardinfolist_6dabe687a7e1c3b332a4e0a1c44faa98.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/cuspupboardinfolist_6dabe687a7e1c3b332a4e0a1c44faa98.py index 1dcaaa679..4d66dadf2 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/cuspupboardinfolist_6dabe687a7e1c3b332a4e0a1c44faa98.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/cuspupboardinfolist_6dabe687a7e1c3b332a4e0a1c44faa98.py @@ -243,6 +243,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/cuspupinterfaceinfolist_b37b2361843f64c9dd7a7cca4c54541f.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/cuspupinterfaceinfolist_b37b2361843f64c9dd7a7cca4c54541f.py index 538079673..dd4faa53e 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/cuspupinterfaceinfolist_b37b2361843f64c9dd7a7cca4c54541f.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/cuspupinterfaceinfolist_b37b2361843f64c9dd7a7cca4c54541f.py @@ -257,6 +257,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/cuspupipv4addresspoollist_79632bb6ecb359c28cc6ecb682282c28.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/cuspupipv4addresspoollist_79632bb6ecb359c28cc6ecb682282c28.py index f6ef194fe..78e2041be 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/cuspupipv4addresspoollist_79632bb6ecb359c28cc6ecb682282c28.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/cuspupipv4addresspoollist_79632bb6ecb359c28cc6ecb682282c28.py @@ -192,6 +192,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def SendAddrAllocReq(self, *args, **kwargs): # type: (*Any, **Any) -> Union[List[str], None] """Executes the sendAddrAllocReq operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/cuspupslotinfolist_c6cbdb43b7a4b861579b90c6eb645cdb.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/cuspupslotinfolist_c6cbdb43b7a4b861579b90c6eb645cdb.py index db553b37c..60a6c5661 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/cuspupslotinfolist_c6cbdb43b7a4b861579b90c6eb645cdb.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/cuspupslotinfolist_c6cbdb43b7a4b861579b90c6eb645cdb.py @@ -202,6 +202,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids(self, PortNames=None, Active=None, SlotNumber=None): """Base class infrastructure that gets a list of cuspUPSlotInfoList device ids encapsulated by this object. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/cuspupsubslotinfolist_30553bdb9ea57538a078853b0707e8c7.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/cuspupsubslotinfolist_30553bdb9ea57538a078853b0707e8c7.py index 22c3ad6c6..2003f9162 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/cuspupsubslotinfolist_30553bdb9ea57538a078853b0707e8c7.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/cuspupsubslotinfolist_30553bdb9ea57538a078853b0707e8c7.py @@ -202,6 +202,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids(self, PortNames=None, Active=None, SubslotNumber=None): """Base class infrastructure that gets a list of cuspUPSubslotInfoList device ids encapsulated by this object. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/customtlv_9dedbdbc1a4a245cbe35b21b51fa3a57.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/customtlv_9dedbdbc1a4a245cbe35b21b51fa3a57.py index 2f79ec777..262eedcae 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/customtlv_9dedbdbc1a4a245cbe35b21b51fa3a57.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/customtlv_9dedbdbc1a4a245cbe35b21b51fa3a57.py @@ -282,6 +282,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dcemcastipv4grouplist_a8b0a14d8e77939b2e00841f8ca4aa44.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dcemcastipv4grouplist_a8b0a14d8e77939b2e00841f8ca4aa44.py index a9300a8bf..01bcc9124 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dcemcastipv4grouplist_a8b0a14d8e77939b2e00841f8ca4aa44.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dcemcastipv4grouplist_a8b0a14d8e77939b2e00841f8ca4aa44.py @@ -287,6 +287,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dcemcastipv6grouplist_48e0f523130d7b4e7948cb21c19b53d3.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dcemcastipv6grouplist_48e0f523130d7b4e7948cb21c19b53d3.py index e2329c3a9..d3533a987 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dcemcastipv6grouplist_48e0f523130d7b4e7948cb21c19b53d3.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dcemcastipv6grouplist_48e0f523130d7b4e7948cb21c19b53d3.py @@ -287,6 +287,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dcemcastmacgrouplist_1115ac54d89360ba3a14a6027a9eda75.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dcemcastmacgrouplist_1115ac54d89360ba3a14a6027a9eda75.py index b56fb0690..d57f1f5d4 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dcemcastmacgrouplist_1115ac54d89360ba3a14a6027a9eda75.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dcemcastmacgrouplist_1115ac54d89360ba3a14a6027a9eda75.py @@ -287,6 +287,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dcenodetopologylist_88a5fd3dfb37184b7299bc183cfa4683.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dcenodetopologylist_88a5fd3dfb37184b7299bc183cfa4683.py index eb313074f..65192dacd 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dcenodetopologylist_88a5fd3dfb37184b7299bc183cfa4683.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dcenodetopologylist_88a5fd3dfb37184b7299bc183cfa4683.py @@ -247,6 +247,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dcesimulatedmcastipv4grouplist_81627c13e7781d475d54b1321526cb62.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dcesimulatedmcastipv4grouplist_81627c13e7781d475d54b1321526cb62.py index 7d14d59b9..eabc2aa1f 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dcesimulatedmcastipv4grouplist_81627c13e7781d475d54b1321526cb62.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dcesimulatedmcastipv4grouplist_81627c13e7781d475d54b1321526cb62.py @@ -287,6 +287,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dcesimulatedmcastipv6grouplist_7fbea0bd4f7507b7b0d975bb7a4d36b7.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dcesimulatedmcastipv6grouplist_7fbea0bd4f7507b7b0d975bb7a4d36b7.py index 989d40deb..b3393f65e 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dcesimulatedmcastipv6grouplist_7fbea0bd4f7507b7b0d975bb7a4d36b7.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dcesimulatedmcastipv6grouplist_7fbea0bd4f7507b7b0d975bb7a4d36b7.py @@ -287,6 +287,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dcesimulatedmcastmacgrouplist_d6ad8319ad4117715425a07710acdbc7.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dcesimulatedmcastmacgrouplist_d6ad8319ad4117715425a07710acdbc7.py index 9ee0c2245..9f273f11c 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dcesimulatedmcastmacgrouplist_d6ad8319ad4117715425a07710acdbc7.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dcesimulatedmcastmacgrouplist_d6ad8319ad4117715425a07710acdbc7.py @@ -287,6 +287,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dcetopologylist_c10ab6e3d1d7e663c0f17b8227b0dafe.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dcetopologylist_c10ab6e3d1d7e663c0f17b8227b0dafe.py index 11ec59b4b..875848071 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dcetopologylist_c10ab6e3d1d7e663c0f17b8227b0dafe.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dcetopologylist_c10ab6e3d1d7e663c0f17b8227b0dafe.py @@ -290,6 +290,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/destipv4address_82bc6a41b9337a2dedf7e396720959e4.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/destipv4address_82bc6a41b9337a2dedf7e396720959e4.py index cd1f512dd..3c332370f 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/destipv4address_82bc6a41b9337a2dedf7e396720959e4.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/destipv4address_82bc6a41b9337a2dedf7e396720959e4.py @@ -91,3 +91,24 @@ def read(self, href): - ServerError: The server has encountered an uncategorized error condition """ return self._read(href) + + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/destipv6address_6333f28bd3662f5a8f83aabc7ece2d2a.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/destipv6address_6333f28bd3662f5a8f83aabc7ece2d2a.py index 5e0e70985..d3a1af9f2 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/destipv6address_6333f28bd3662f5a8f83aabc7ece2d2a.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/destipv6address_6333f28bd3662f5a8f83aabc7ece2d2a.py @@ -91,3 +91,24 @@ def read(self, href): - ServerError: The server has encountered an uncategorized error condition """ return self._read(href) + + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/devicegroup_fe4647b311377ec16edf5dcfe93dca09.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/devicegroup_fe4647b311377ec16edf5dcfe93dca09.py index 89d60f40c..fce068cb6 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/devicegroup_fe4647b311377ec16edf5dcfe93dca09.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/devicegroup_fe4647b311377ec16edf5dcfe93dca09.py @@ -754,6 +754,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def CopyPaste(self, *args, **kwargs): # type: (*Any, **Any) -> Union[List[str], None] """Executes the copyPaste operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dhcp4relayagenttlvprofile_1f5a4a0853366dc50313b9b3e8f6e68d.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dhcp4relayagenttlvprofile_1f5a4a0853366dc50313b9b3e8f6e68d.py index 94385f018..b11dd733a 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dhcp4relayagenttlvprofile_1f5a4a0853366dc50313b9b3e8f6e68d.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dhcp4relayagenttlvprofile_1f5a4a0853366dc50313b9b3e8f6e68d.py @@ -154,3 +154,24 @@ def read(self, href): - ServerError: The server has encountered an uncategorized error condition """ return self._read(href) + + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dhcp4serversessions_3f809ab43e58e348a7e95564311b0ea1.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dhcp4serversessions_3f809ab43e58e348a7e95564311b0ea1.py index 295cc5654..627720f28 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dhcp4serversessions_3f809ab43e58e348a7e95564311b0ea1.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dhcp4serversessions_3f809ab43e58e348a7e95564311b0ea1.py @@ -312,6 +312,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dhcp6iana1_afae4078d5465a41b7a0b1fa28f04ed6.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dhcp6iana1_afae4078d5465a41b7a0b1fa28f04ed6.py index 3777affbe..1fea4bb6d 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dhcp6iana1_afae4078d5465a41b7a0b1fa28f04ed6.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dhcp6iana1_afae4078d5465a41b7a0b1fa28f04ed6.py @@ -154,3 +154,24 @@ def read(self, href): - ServerError: The server has encountered an uncategorized error condition """ return self._read(href) + + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dhcp6iana2_8780d42215180f08e6e8445b53170c10.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dhcp6iana2_8780d42215180f08e6e8445b53170c10.py index e00ebd1bd..fc24e6304 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dhcp6iana2_8780d42215180f08e6e8445b53170c10.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dhcp6iana2_8780d42215180f08e6e8445b53170c10.py @@ -154,3 +154,24 @@ def read(self, href): - ServerError: The server has encountered an uncategorized error condition """ return self._read(href) + + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dhcp6iana3_d9182a6f15c9c4511011e7796b6e6482.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dhcp6iana3_d9182a6f15c9c4511011e7796b6e6482.py index 09580e57b..191dd9723 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dhcp6iana3_d9182a6f15c9c4511011e7796b6e6482.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dhcp6iana3_d9182a6f15c9c4511011e7796b6e6482.py @@ -154,3 +154,24 @@ def read(self, href): - ServerError: The server has encountered an uncategorized error condition """ return self._read(href) + + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dhcp6iana4_59de65e7b5806938834b0b31ab911645.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dhcp6iana4_59de65e7b5806938834b0b31ab911645.py index 3286f77c9..f30e6b425 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dhcp6iana4_59de65e7b5806938834b0b31ab911645.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dhcp6iana4_59de65e7b5806938834b0b31ab911645.py @@ -154,3 +154,24 @@ def read(self, href): - ServerError: The server has encountered an uncategorized error condition """ return self._read(href) + + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dhcp6iana5_9f29804966bbe93dd53900eafa383c22.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dhcp6iana5_9f29804966bbe93dd53900eafa383c22.py index 16aa017ad..a21a71447 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dhcp6iana5_9f29804966bbe93dd53900eafa383c22.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dhcp6iana5_9f29804966bbe93dd53900eafa383c22.py @@ -154,3 +154,24 @@ def read(self, href): - ServerError: The server has encountered an uncategorized error condition """ return self._read(href) + + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dhcp6iana6_7939c0233bac17c3e3764bc9bc1a9571.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dhcp6iana6_7939c0233bac17c3e3764bc9bc1a9571.py index f651e7492..e85bc037e 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dhcp6iana6_7939c0233bac17c3e3764bc9bc1a9571.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dhcp6iana6_7939c0233bac17c3e3764bc9bc1a9571.py @@ -154,3 +154,24 @@ def read(self, href): - ServerError: The server has encountered an uncategorized error condition """ return self._read(href) + + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dhcp6iana7_e0f696023e5c20916196c8d33f395cae.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dhcp6iana7_e0f696023e5c20916196c8d33f395cae.py index 2ea6d83bf..f07309078 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dhcp6iana7_e0f696023e5c20916196c8d33f395cae.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dhcp6iana7_e0f696023e5c20916196c8d33f395cae.py @@ -154,3 +154,24 @@ def read(self, href): - ServerError: The server has encountered an uncategorized error condition """ return self._read(href) + + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dhcp6iana_1fdc932fd14b686d54038abe7dbb6f0c.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dhcp6iana_1fdc932fd14b686d54038abe7dbb6f0c.py index 1a84a010b..7d46f1bad 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dhcp6iana_1fdc932fd14b686d54038abe7dbb6f0c.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dhcp6iana_1fdc932fd14b686d54038abe7dbb6f0c.py @@ -154,3 +154,24 @@ def read(self, href): - ServerError: The server has encountered an uncategorized error condition """ return self._read(href) + + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dhcp6iapd1_7faba276e9bd1fe8044fca79065254a7.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dhcp6iapd1_7faba276e9bd1fe8044fca79065254a7.py index 50ed4257e..8bc856603 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dhcp6iapd1_7faba276e9bd1fe8044fca79065254a7.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dhcp6iapd1_7faba276e9bd1fe8044fca79065254a7.py @@ -154,3 +154,24 @@ def read(self, href): - ServerError: The server has encountered an uncategorized error condition """ return self._read(href) + + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dhcp6iapd2_a86dfc2bcc765583bc7cf336b264c68b.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dhcp6iapd2_a86dfc2bcc765583bc7cf336b264c68b.py index 29c06daab..676b75807 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dhcp6iapd2_a86dfc2bcc765583bc7cf336b264c68b.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dhcp6iapd2_a86dfc2bcc765583bc7cf336b264c68b.py @@ -154,3 +154,24 @@ def read(self, href): - ServerError: The server has encountered an uncategorized error condition """ return self._read(href) + + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dhcp6iapd3_ba20e56748a428c3b9345cf88c1539fd.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dhcp6iapd3_ba20e56748a428c3b9345cf88c1539fd.py index 06a07dc5f..4ba0f329b 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dhcp6iapd3_ba20e56748a428c3b9345cf88c1539fd.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dhcp6iapd3_ba20e56748a428c3b9345cf88c1539fd.py @@ -154,3 +154,24 @@ def read(self, href): - ServerError: The server has encountered an uncategorized error condition """ return self._read(href) + + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dhcp6iapd4_491b33d4a7b6a77105854603fd6a9004.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dhcp6iapd4_491b33d4a7b6a77105854603fd6a9004.py index 74a4223db..e201a2d7c 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dhcp6iapd4_491b33d4a7b6a77105854603fd6a9004.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dhcp6iapd4_491b33d4a7b6a77105854603fd6a9004.py @@ -154,3 +154,24 @@ def read(self, href): - ServerError: The server has encountered an uncategorized error condition """ return self._read(href) + + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dhcp6iapd5_36145a5bec4444c5107e1c59676ab3a1.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dhcp6iapd5_36145a5bec4444c5107e1c59676ab3a1.py index ee3239782..8e7932e59 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dhcp6iapd5_36145a5bec4444c5107e1c59676ab3a1.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dhcp6iapd5_36145a5bec4444c5107e1c59676ab3a1.py @@ -154,3 +154,24 @@ def read(self, href): - ServerError: The server has encountered an uncategorized error condition """ return self._read(href) + + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dhcp6iapd6_1010a4aa43f5dd9a03d6aab4c6a66a68.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dhcp6iapd6_1010a4aa43f5dd9a03d6aab4c6a66a68.py index 795499034..5ee0acaa2 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dhcp6iapd6_1010a4aa43f5dd9a03d6aab4c6a66a68.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dhcp6iapd6_1010a4aa43f5dd9a03d6aab4c6a66a68.py @@ -154,3 +154,24 @@ def read(self, href): - ServerError: The server has encountered an uncategorized error condition """ return self._read(href) + + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dhcp6iapd7_156f14311910b918f77a699ecec78e79.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dhcp6iapd7_156f14311910b918f77a699ecec78e79.py index 1d4c9cc57..9a440bd59 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dhcp6iapd7_156f14311910b918f77a699ecec78e79.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dhcp6iapd7_156f14311910b918f77a699ecec78e79.py @@ -154,3 +154,24 @@ def read(self, href): - ServerError: The server has encountered an uncategorized error condition """ return self._read(href) + + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dhcp6iapd_b6cbdab151b403cbbdb4bf99e1caf7b1.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dhcp6iapd_b6cbdab151b403cbbdb4bf99e1caf7b1.py index a5472c124..b61dfd117 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dhcp6iapd_b6cbdab151b403cbbdb4bf99e1caf7b1.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dhcp6iapd_b6cbdab151b403cbbdb4bf99e1caf7b1.py @@ -154,3 +154,24 @@ def read(self, href): - ServerError: The server has encountered an uncategorized error condition """ return self._read(href) + + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dhcp6learnedinfo_096f62fbfd89979e813da06c573399d9.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dhcp6learnedinfo_096f62fbfd89979e813da06c573399d9.py index e34b15719..da97d0ddb 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dhcp6learnedinfo_096f62fbfd89979e813da06c573399d9.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dhcp6learnedinfo_096f62fbfd89979e813da06c573399d9.py @@ -191,3 +191,24 @@ def read(self, href): - ServerError: The server has encountered an uncategorized error condition """ return self._read(href) + + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dhcp6relaytlvprofile_26571057903c7fcd2a20eb10f55be22f.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dhcp6relaytlvprofile_26571057903c7fcd2a20eb10f55be22f.py index 5cd3296e9..d5e08f0b8 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dhcp6relaytlvprofile_26571057903c7fcd2a20eb10f55be22f.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dhcp6relaytlvprofile_26571057903c7fcd2a20eb10f55be22f.py @@ -154,3 +154,24 @@ def read(self, href): - ServerError: The server has encountered an uncategorized error condition """ return self._read(href) + + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dhcp6serversessions_0c878921a71494f8bce977ffffb48289.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dhcp6serversessions_0c878921a71494f8bce977ffffb48289.py index 8506f501d..2c47ae194 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dhcp6serversessions_0c878921a71494f8bce977ffffb48289.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dhcp6serversessions_0c878921a71494f8bce977ffffb48289.py @@ -573,6 +573,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dhcpuserslist_c3a3d3b5bb7a4a92267fb9a903ea682c.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dhcpuserslist_c3a3d3b5bb7a4a92267fb9a903ea682c.py index 212e83033..362db7528 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dhcpuserslist_c3a3d3b5bb7a4a92267fb9a903ea682c.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dhcpuserslist_c3a3d3b5bb7a4a92267fb9a903ea682c.py @@ -1566,6 +1566,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dhcpv4client_51940f357e701f382297f94c99af7a22.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dhcpv4client_51940f357e701f382297f94c99af7a22.py index 6fc99151f..22338665d 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dhcpv4client_51940f357e701f382297f94c99af7a22.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dhcpv4client_51940f357e701f382297f94c99af7a22.py @@ -869,6 +869,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def Inform(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the inform operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dhcpv4relayagent_f4cc56bb53d1903e9ec0dfc563d37d9c.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dhcpv4relayagent_f4cc56bb53d1903e9ec0dfc563d37d9c.py index f7217c4a9..3510ea1aa 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dhcpv4relayagent_f4cc56bb53d1903e9ec0dfc563d37d9c.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dhcpv4relayagent_f4cc56bb53d1903e9ec0dfc563d37d9c.py @@ -404,6 +404,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def RestartDown(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the restartDown operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dhcpv4server_13987db4805a0afc3bd20d9b3fecdd35.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dhcpv4server_13987db4805a0afc3bd20d9b3fecdd35.py index c9a2b538c..442ae08cf 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dhcpv4server_13987db4805a0afc3bd20d9b3fecdd35.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dhcpv4server_13987db4805a0afc3bd20d9b3fecdd35.py @@ -486,6 +486,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def ForceRenew(self, *args, **kwargs): """Executes the forceRenew operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dhcpv6client_355391ba11ab3c1555c827e2e4ac3c4c.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dhcpv6client_64480d87e9c578f0a0b7d3415d792d7e.py similarity index 96% rename from ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dhcpv6client_355391ba11ab3c1555c827e2e4ac3c4c.py rename to ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dhcpv6client_64480d87e9c578f0a0b7d3415d792d7e.py index 32374e1f1..efe0c5dfc 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dhcpv6client_355391ba11ab3c1555c827e2e4ac3c4c.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dhcpv6client_64480d87e9c578f0a0b7d3415d792d7e.py @@ -73,6 +73,7 @@ class Dhcpv6client(Base): "StateCounts": "stateCounts", "Status": "status", "UseCustomLinkLocalAddress": "useCustomLinkLocalAddress", + "UseDifferentTransactionId": "useDifferentTransactionId", "UseRapidCommit": "useRapidCommit", } _SDM_ENUM_MAP = { @@ -590,6 +591,26 @@ def PimV6Interface(self): return self._properties.get("PimV6Interface") return PimV6Interface(self) + @property + def Ptprobeinstancesrv6(self): + """ + Returns + ------- + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.ptprobeinstancesrv6_79ffe5c7f81290d2749e262cddea5618.Ptprobeinstancesrv6): An instance of the Ptprobeinstancesrv6 class + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.ptprobeinstancesrv6_79ffe5c7f81290d2749e262cddea5618 import ( + Ptprobeinstancesrv6, + ) + + if len(self._object_properties) > 0: + if self._properties.get("Ptprobeinstancesrv6", None) is not None: + return self._properties.get("Ptprobeinstancesrv6") + return Ptprobeinstancesrv6(self) + @property def Tag(self): """ @@ -1108,6 +1129,20 @@ def UseCustomLinkLocalAddress(self): self, self._get_attribute(self._SDM_ATT_MAP["UseCustomLinkLocalAddress"]) ) + @property + def UseDifferentTransactionId(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Enabling this field will allow different Transaction Id (randomly generated) to be used in retransmitted packets. (Solicit, Request, Decline, Release) + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["UseDifferentTransactionId"]) + ) + @property def UseRapidCommit(self): # type: () -> 'Multivalue' @@ -1307,6 +1342,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def Rebind(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the rebind operation on the server. @@ -1535,6 +1591,7 @@ def get_device_ids( Dhcp6UsePDGlobalAddress=None, RenewTimer=None, UseCustomLinkLocalAddress=None, + UseDifferentTransactionId=None, UseRapidCommit=None, ): """Base class infrastructure that gets a list of dhcpv6client device ids encapsulated by this object. @@ -1560,6 +1617,7 @@ def get_device_ids( - Dhcp6UsePDGlobalAddress (str): optional regex of dhcp6UsePDGlobalAddress - RenewTimer (str): optional regex of renewTimer - UseCustomLinkLocalAddress (str): optional regex of useCustomLinkLocalAddress + - UseDifferentTransactionId (str): optional regex of useDifferentTransactionId - UseRapidCommit (str): optional regex of useRapidCommit Returns diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dhcpv6relayagent_98152227df750678a31eb6776380facc.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dhcpv6relayagent_98152227df750678a31eb6776380facc.py index 8817e7bd0..bad33e961 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dhcpv6relayagent_98152227df750678a31eb6776380facc.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dhcpv6relayagent_98152227df750678a31eb6776380facc.py @@ -457,6 +457,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def RestartDown(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the restartDown operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dhcpv6server_df745f3926c8653c96b69175854d0c80.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dhcpv6server_df745f3926c8653c96b69175854d0c80.py index cc899616c..61e34b158 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dhcpv6server_df745f3926c8653c96b69175854d0c80.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dhcpv6server_df745f3926c8653c96b69175854d0c80.py @@ -497,6 +497,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def Reconfigure(self, *args, **kwargs): """Executes the reconfigure operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dotonex_3c5f4866d22ca0e44e5ea4b7ef5bacca.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dotonex_f7548c0c1b98bf9d2d34b32ee557fec4.py similarity index 94% rename from ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dotonex_3c5f4866d22ca0e44e5ea4b7ef5bacca.py rename to ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dotonex_f7548c0c1b98bf9d2d34b32ee557fec4.py index b9034d123..6591c6898 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dotonex_3c5f4866d22ca0e44e5ea4b7ef5bacca.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dotonex_f7548c0c1b98bf9d2d34b32ee557fec4.py @@ -55,6 +55,7 @@ class DotOneX(Base): "HostName": "hostName", "HostPwd": "hostPwd", "IgnoreAuthEapolVer": "ignoreAuthEapolVer", + "InnerTunnel": "innerTunnel", "Multiplier": "multiplier", "Name": "name", "ParentEth": "parentEth", @@ -154,13 +155,13 @@ def Dhcpv6client(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.dhcpv6client_355391ba11ab3c1555c827e2e4ac3c4c.Dhcpv6client): An instance of the Dhcpv6client class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.dhcpv6client_64480d87e9c578f0a0b7d3415d792d7e.Dhcpv6client): An instance of the Dhcpv6client class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.dhcpv6client_355391ba11ab3c1555c827e2e4ac3c4c import ( + from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.dhcpv6client_64480d87e9c578f0a0b7d3415d792d7e import ( Dhcpv6client, ) @@ -549,6 +550,46 @@ def Macsec(self): return self._properties.get("Macsec") return Macsec(self) + @property + def Microbfdv4(self): + """ + Returns + ------- + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.microbfdv4_141c58b1c08e07212b7c46d9ec8495c1.Microbfdv4): An instance of the Microbfdv4 class + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.microbfdv4_141c58b1c08e07212b7c46d9ec8495c1 import ( + Microbfdv4, + ) + + if len(self._object_properties) > 0: + if self._properties.get("Microbfdv4", None) is not None: + return self._properties.get("Microbfdv4") + return Microbfdv4(self) + + @property + def Microbfdv6(self): + """ + Returns + ------- + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.microbfdv6_6b0c1a370d37aab2ddafd875d7778d93.Microbfdv6): An instance of the Microbfdv6 class + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.microbfdv6_6b0c1a370d37aab2ddafd875d7778d93 import ( + Microbfdv6, + ) + + if len(self._object_properties) > 0: + if self._properties.get("Microbfdv6", None) is not None: + return self._properties.get("Microbfdv6") + return Microbfdv6(self) + @property def Mka(self): """ @@ -674,13 +715,13 @@ def Ptp(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.ptp_10b9c21d9c7cf77e86ec2d87b28de348.Ptp): An instance of the Ptp class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.ptp_159da219e0807ce6756d8a5214d56f70.Ptp): An instance of the Ptp class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.ptp_10b9c21d9c7cf77e86ec2d87b28de348 import ( + from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.ptp_159da219e0807ce6756d8a5214d56f70 import ( Ptp, ) @@ -967,6 +1008,18 @@ def IgnoreAuthEapolVer(self): self, self._get_attribute(self._SDM_ATT_MAP["IgnoreAuthEapolVer"]) ) + @property + def InnerTunnel(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Inner tunnel selection for EAP-TTLS. Supported choices being MSCHAPv2 and PAP. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["InnerTunnel"])) + @property def Multiplier(self): # type: () -> int @@ -1355,6 +1408,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def RestartDown(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the restartDown operation on the server. @@ -1466,8 +1540,8 @@ def UploadFile(self, *args, **kwargs): uploadFile(Arg2=list, Arg3=number, Arg4=href, async_operation=bool)list ----------------------------------------------------------------------- - Arg2 (list(number)): List of indices into the device group. - - Arg3 (number): Select files(s) to upload. - - Arg4 (obj(ixnetwork_restpy.files.Files)): + - Arg3 (number): + - Arg4 (obj(ixnetwork_restpy.files.Files)): Select files(s) to upload. - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. - Returns list(str): ID to associate each async action invocation @@ -1500,6 +1574,7 @@ def get_device_ids( HostName=None, HostPwd=None, IgnoreAuthEapolVer=None, + InnerTunnel=None, PeerCert=None, PrivateKey=None, Protocol=None, @@ -1532,6 +1607,7 @@ def get_device_ids( - HostName (str): optional regex of hostName - HostPwd (str): optional regex of hostPwd - IgnoreAuthEapolVer (str): optional regex of ignoreAuthEapolVer + - InnerTunnel (str): optional regex of innerTunnel - PeerCert (str): optional regex of peerCert - PrivateKey (str): optional regex of privateKey - Protocol (str): optional regex of protocol diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dslpools_d9b929e10c822a015fb7026b5bad393a.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dslpools_d9b929e10c822a015fb7026b5bad393a.py index ea55b59e6..0ae2ad09c 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dslpools_d9b929e10c822a015fb7026b5bad393a.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dslpools_d9b929e10c822a015fb7026b5bad393a.py @@ -588,6 +588,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def SendPortDown(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the sendPortDown operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ducarrier_153ae93d502f0581e2ae35d9f51bca07.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ducarrier_153ae93d502f0581e2ae35d9f51bca07.py index 725248a30..efd237928 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ducarrier_153ae93d502f0581e2ae35d9f51bca07.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ducarrier_153ae93d502f0581e2ae35d9f51bca07.py @@ -478,6 +478,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ducplane_84f46276a04c4895c6fe4e96027e1f05.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ducplane_84f46276a04c4895c6fe4e96027e1f05.py index 45d09866c..8f3be0a53 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ducplane_84f46276a04c4895c6fe4e96027e1f05.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ducplane_84f46276a04c4895c6fe4e96027e1f05.py @@ -191,6 +191,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids(self, PortNames=None, Active=None): """Base class infrastructure that gets a list of duCPlane device ids encapsulated by this object. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ducuplane_552b538c8627003544bf2ab434c809ef.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ducuplane_552b538c8627003544bf2ab434c809ef.py index dcfe07de6..16cc247ae 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ducuplane_552b538c8627003544bf2ab434c809ef.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ducuplane_552b538c8627003544bf2ab434c809ef.py @@ -171,6 +171,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids(self, PortNames=None, Active=None): """Base class infrastructure that gets a list of duCUPlane device ids encapsulated by this object. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/duuplane_c9477b2ed619d1459be1f2c472176a7e.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/duuplane_c9477b2ed619d1459be1f2c472176a7e.py index 98ebdcffe..d6fec8d23 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/duuplane_c9477b2ed619d1459be1f2c472176a7e.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/duuplane_c9477b2ed619d1459be1f2c472176a7e.py @@ -191,6 +191,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids(self, PortNames=None, Active=None): """Base class infrastructure that gets a list of duUPlane device ids encapsulated by this object. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ecprifaultsubobjectslist_066a935ffc4b8b88998000da08d713eb.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ecprifaultsubobjectslist_066a935ffc4b8b88998000da08d713eb.py index 5fdcc801b..51b652b82 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ecprifaultsubobjectslist_066a935ffc4b8b88998000da08d713eb.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ecprifaultsubobjectslist_066a935ffc4b8b88998000da08d713eb.py @@ -196,6 +196,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, ElementId=None, FaultNumber=None, FaultType=None ): diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ecprire_51f1030cbafd2e567d3b517032a1b011.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ecprire_51f1030cbafd2e567d3b517032a1b011.py index ca85c2452..61b744892 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ecprire_51f1030cbafd2e567d3b517032a1b011.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ecprire_51f1030cbafd2e567d3b517032a1b011.py @@ -797,6 +797,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def RestartDown(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the restartDown operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ecprirec_129f1d43f285a4f806ade4e0df814255.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ecprirec_129f1d43f285a4f806ade4e0df814255.py index b6f729446..22b065db5 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ecprirec_129f1d43f285a4f806ade4e0df814255.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ecprirec_129f1d43f285a4f806ade4e0df814255.py @@ -797,6 +797,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def RestartDown(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the restartDown operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ecprirecradiochannelsorusers_5814e34000b9bdc960142e49f7af3c67.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ecprirecradiochannelsorusers_5814e34000b9bdc960142e49f7af3c67.py index f3de44d75..4e33b052c 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ecprirecradiochannelsorusers_5814e34000b9bdc960142e49f7af3c67.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ecprirecradiochannelsorusers_5814e34000b9bdc960142e49f7af3c67.py @@ -345,6 +345,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def Start(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the start operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ecprireradiochannelsorusers_d1f6861b47ba784e3298939a333f12b9.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ecprireradiochannelsorusers_d1f6861b47ba784e3298939a333f12b9.py index cd9d0ab8a..22021a1d0 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ecprireradiochannelsorusers_d1f6861b47ba784e3298939a333f12b9.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ecprireradiochannelsorusers_d1f6861b47ba784e3298939a333f12b9.py @@ -345,6 +345,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def Start(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the start operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/errorinfo_d1a52084750f6e3362b71d1591073670.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/errorinfo_d1a52084750f6e3362b71d1591073670.py index c64cf323b..4c1dae714 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/errorinfo_d1a52084750f6e3362b71d1591073670.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/errorinfo_d1a52084750f6e3362b71d1591073670.py @@ -91,3 +91,24 @@ def read(self, href): - ServerError: The server has encountered an uncategorized error condition """ return self._read(href) + + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/esmc_4d9a2f8edc72794b61857303b0afb00d.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/esmc_4d9a2f8edc72794b61857303b0afb00d.py index 79ecc55aa..3dd9739f0 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/esmc_4d9a2f8edc72794b61857303b0afb00d.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/esmc_4d9a2f8edc72794b61857303b0afb00d.py @@ -566,6 +566,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def RestartDown(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the restartDown operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ethernet_18677f1f170027c217563a3250b1f635.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ethernet_18677f1f170027c217563a3250b1f635.py index c531991e3..aca5399d1 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ethernet_18677f1f170027c217563a3250b1f635.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ethernet_18677f1f170027c217563a3250b1f635.py @@ -154,13 +154,13 @@ def Dhcpv6client(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.dhcpv6client_355391ba11ab3c1555c827e2e4ac3c4c.Dhcpv6client): An instance of the Dhcpv6client class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.dhcpv6client_64480d87e9c578f0a0b7d3415d792d7e.Dhcpv6client): An instance of the Dhcpv6client class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.dhcpv6client_355391ba11ab3c1555c827e2e4ac3c4c import ( + from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.dhcpv6client_64480d87e9c578f0a0b7d3415d792d7e import ( Dhcpv6client, ) @@ -174,13 +174,13 @@ def DotOneX(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.dotonex_3c5f4866d22ca0e44e5ea4b7ef5bacca.DotOneX): An instance of the DotOneX class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.dotonex_f7548c0c1b98bf9d2d34b32ee557fec4.DotOneX): An instance of the DotOneX class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.dotonex_3c5f4866d22ca0e44e5ea4b7ef5bacca import ( + from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.dotonex_f7548c0c1b98bf9d2d34b32ee557fec4 import ( DotOneX, ) @@ -569,6 +569,46 @@ def Macsec(self): return self._properties.get("Macsec") return Macsec(self) + @property + def Microbfdv4(self): + """ + Returns + ------- + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.microbfdv4_141c58b1c08e07212b7c46d9ec8495c1.Microbfdv4): An instance of the Microbfdv4 class + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.microbfdv4_141c58b1c08e07212b7c46d9ec8495c1 import ( + Microbfdv4, + ) + + if len(self._object_properties) > 0: + if self._properties.get("Microbfdv4", None) is not None: + return self._properties.get("Microbfdv4") + return Microbfdv4(self) + + @property + def Microbfdv6(self): + """ + Returns + ------- + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.microbfdv6_6b0c1a370d37aab2ddafd875d7778d93.Microbfdv6): An instance of the Microbfdv6 class + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.microbfdv6_6b0c1a370d37aab2ddafd875d7778d93 import ( + Microbfdv6, + ) + + if len(self._object_properties) > 0: + if self._properties.get("Microbfdv6", None) is not None: + return self._properties.get("Microbfdv6") + return Microbfdv6(self) + @property def Mka(self): """ @@ -714,13 +754,13 @@ def Ptp(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.ptp_10b9c21d9c7cf77e86ec2d87b28de348.Ptp): An instance of the Ptp class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.ptp_159da219e0807ce6756d8a5214d56f70.Ptp): An instance of the Ptp class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.ptp_10b9c21d9c7cf77e86ec2d87b28de348 import ( + from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.ptp_159da219e0807ce6756d8a5214d56f70 import ( Ptp, ) @@ -1223,6 +1263,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def FetchAndUpdateConfigFromCloud(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the fetchAndUpdateConfigFromCloud operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/evpnipv4prefixrange_f9fe868ed341d666199597001888e18d.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/evpnipv4prefixrange_f9fe868ed341d666199597001888e18d.py index c8995bc83..bebbad7e0 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/evpnipv4prefixrange_f9fe868ed341d666199597001888e18d.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/evpnipv4prefixrange_f9fe868ed341d666199597001888e18d.py @@ -1122,6 +1122,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def Start(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the start operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/evpnipv6prefixrange_907e82e321deae422b0ee1ed0f82f2f3.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/evpnipv6prefixrange_907e82e321deae422b0ee1ed0f82f2f3.py index f4d33cdbb..d9a9b175c 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/evpnipv6prefixrange_907e82e321deae422b0ee1ed0f82f2f3.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/evpnipv6prefixrange_907e82e321deae422b0ee1ed0f82f2f3.py @@ -1122,6 +1122,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def Start(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the start operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/expectedinitiatedlsplist_c1edb3ac572c229482ac3b16768b81b1.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/expectedinitiatedlsplist_c1edb3ac572c229482ac3b16768b81b1.py index d488f3c43..ac1ea4a39 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/expectedinitiatedlsplist_c1edb3ac572c229482ac3b16768b81b1.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/expectedinitiatedlsplist_c1edb3ac572c229482ac3b16768b81b1.py @@ -261,6 +261,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/externallink_92dfe6bfe971a09aeb88dd947516d4b8.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/externallink_92dfe6bfe971a09aeb88dd947516d4b8.py index c11e58e4f..e1382cffb 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/externallink_92dfe6bfe971a09aeb88dd947516d4b8.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/externallink_92dfe6bfe971a09aeb88dd947516d4b8.py @@ -178,3 +178,24 @@ def read(self, href): - ServerError: The server has encountered an uncategorized error condition """ return self._read(href) + + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/externalroutes_1ced449f46e284c113ae2194af2ffb97.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/externalroutes_1ced449f46e284c113ae2194af2ffb97.py index 3343a3d1a..0a796255c 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/externalroutes_1ced449f46e284c113ae2194af2ffb97.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/externalroutes_1ced449f46e284c113ae2194af2ffb97.py @@ -581,6 +581,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def Advertise(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the advertise operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/field_f65a45047b747ab6446cd586626ccd2d.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/field_f65a45047b747ab6446cd586626ccd2d.py index b04c3bc26..3150b12b2 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/field_f65a45047b747ab6446cd586626ccd2d.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/field_f65a45047b747ab6446cd586626ccd2d.py @@ -416,6 +416,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids(self, PortNames=None, Value=None): """Base class infrastructure that gets a list of field device ids encapsulated by this object. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/flexalgocolormappingtemplate_8e0816b88fc7b32d81aaa2e2335895f1.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/flexalgocolormappingtemplate_8e0816b88fc7b32d81aaa2e2335895f1.py index 4044554f4..7f8607d68 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/flexalgocolormappingtemplate_8e0816b88fc7b32d81aaa2e2335895f1.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/flexalgocolormappingtemplate_8e0816b88fc7b32d81aaa2e2335895f1.py @@ -177,6 +177,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids(self, PortNames=None, Active=None, Color=None, FlexAlgo=None): """Base class infrastructure that gets a list of flexAlgoColorMappingTemplate device ids encapsulated by this object. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/flowprofile_a1f78cfc247b918e0d8219ac19d05f87.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/flowprofile_a1f78cfc247b918e0d8219ac19d05f87.py index 3bec51c7c..93f6fec88 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/flowprofile_a1f78cfc247b918e0d8219ac19d05f87.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/flowprofile_a1f78cfc247b918e0d8219ac19d05f87.py @@ -155,6 +155,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def AddFromTemplate(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the addFromTemplate operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/flowset_4668cc7c02c6c6c6cb9975c2ed2dbda5.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/flowset_4668cc7c02c6c6c6cb9975c2ed2dbda5.py index 4628ff5f0..ae2240837 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/flowset_4668cc7c02c6c6c6cb9975c2ed2dbda5.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/flowset_4668cc7c02c6c6c6cb9975c2ed2dbda5.py @@ -346,6 +346,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/generateipv6routesparams_6a6e5a59a1ed54f9f9343ab3545821c1.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/generateipv6routesparams_6a6e5a59a1ed54f9f9343ab3545821c1.py index f63cbd86d..2a9c6625d 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/generateipv6routesparams_6a6e5a59a1ed54f9f9343ab3545821c1.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/generateipv6routesparams_6a6e5a59a1ed54f9f9343ab3545821c1.py @@ -403,6 +403,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def GenerateIpv6Routes(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the generateIpv6Routes operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/generateroutesparams_117e1ed7232c32aa1932f4f8d5499699.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/generateroutesparams_117e1ed7232c32aa1932f4f8d5499699.py index ccce2e128..974378f0c 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/generateroutesparams_117e1ed7232c32aa1932f4f8d5499699.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/generateroutesparams_117e1ed7232c32aa1932f4f8d5499699.py @@ -525,6 +525,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def GenerateRoutes(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the generateRoutes operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/geneve_14ab6f140956b4fc77d1d0f03c5e7514.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/geneve_14ab6f140956b4fc77d1d0f03c5e7514.py index 39971e9d6..aa9b5c839 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/geneve_14ab6f140956b4fc77d1d0f03c5e7514.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/geneve_14ab6f140956b4fc77d1d0f03c5e7514.py @@ -558,6 +558,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def RestartDown(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the restartDown operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/greoipv4_9efa17b6a965b57b3e13cf2957418d99.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/greoipv4_9efa17b6a965b57b3e13cf2957418d99.py index a8865ab55..fdf1d4fb6 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/greoipv4_9efa17b6a965b57b3e13cf2957418d99.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/greoipv4_9efa17b6a965b57b3e13cf2957418d99.py @@ -160,13 +160,13 @@ def Dhcpv6client(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.dhcpv6client_355391ba11ab3c1555c827e2e4ac3c4c.Dhcpv6client): An instance of the Dhcpv6client class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.dhcpv6client_64480d87e9c578f0a0b7d3415d792d7e.Dhcpv6client): An instance of the Dhcpv6client class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.dhcpv6client_355391ba11ab3c1555c827e2e4ac3c4c import ( + from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.dhcpv6client_64480d87e9c578f0a0b7d3415d792d7e import ( Dhcpv6client, ) @@ -1056,6 +1056,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def RestartDown(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the restartDown operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/greoipv6_aad01583ffa3746a541812fe996bbcd0.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/greoipv6_aad01583ffa3746a541812fe996bbcd0.py index 07eb8b1fc..e95a5a217 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/greoipv6_aad01583ffa3746a541812fe996bbcd0.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/greoipv6_aad01583ffa3746a541812fe996bbcd0.py @@ -155,13 +155,13 @@ def Dhcpv6client(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.dhcpv6client_355391ba11ab3c1555c827e2e4ac3c4c.Dhcpv6client): An instance of the Dhcpv6client class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.dhcpv6client_64480d87e9c578f0a0b7d3415d792d7e.Dhcpv6client): An instance of the Dhcpv6client class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.dhcpv6client_355391ba11ab3c1555c827e2e4ac3c4c import ( + from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.dhcpv6client_64480d87e9c578f0a0b7d3415d792d7e import ( Dhcpv6client, ) @@ -981,6 +981,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def RestartDown(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the restartDown operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/gribiclient_65aedfb6ef9fd1516821d85f102b2821.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/gribiclient_65aedfb6ef9fd1516821d85f102b2821.py index ec280b4cb..2cb0f9600 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/gribiclient_65aedfb6ef9fd1516821d85f102b2821.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/gribiclient_65aedfb6ef9fd1516821d85f102b2821.py @@ -458,6 +458,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def RestartDown(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the restartDown operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/gribiipv4entry_ed5330eae91aea3aecb945c3eda32ad4.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/gribiipv4entry_ed5330eae91aea3aecb945c3eda32ad4.py index aa9992a13..955d6f6e7 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/gribiipv4entry_ed5330eae91aea3aecb945c3eda32ad4.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/gribiipv4entry_ed5330eae91aea3aecb945c3eda32ad4.py @@ -378,6 +378,27 @@ def Add(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("add", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def Remove(self, *args, **kwargs): # type: (*Any, **Any) -> Union[List[str], None] """Executes the remove operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/gribinexthop_9c90b1a16614ab034f81611321f3f6a9.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/gribinexthop_9c90b1a16614ab034f81611321f3f6a9.py index 2e76bbd32..9d7305aef 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/gribinexthop_9c90b1a16614ab034f81611321f3f6a9.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/gribinexthop_9c90b1a16614ab034f81611321f3f6a9.py @@ -275,6 +275,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/gribinexthopgroup_d6641050fbcfc8e488a8b77af527d5b2.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/gribinexthopgroup_d6641050fbcfc8e488a8b77af527d5b2.py index 9565c2497..489f3842a 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/gribinexthopgroup_d6641050fbcfc8e488a8b77af527d5b2.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/gribinexthopgroup_d6641050fbcfc8e488a8b77af527d5b2.py @@ -456,6 +456,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def RestartDown(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the restartDown operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/groups_b0203364879843ea921d92b31d3b37a9.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/groups_b0203364879843ea921d92b31d3b37a9.py index 302604a97..945e0e3ea 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/groups_b0203364879843ea921d92b31d3b37a9.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/groups_b0203364879843ea921d92b31d3b37a9.py @@ -317,6 +317,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def SendAllGroupAdd(self, *args, **kwargs): # type: (*Any, **Any) -> Union[List[str], None] """Executes the sendAllGroupAdd operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/grpcclient_7579119d1fa07cc33f5866d00da204cf.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/grpcclient_7579119d1fa07cc33f5866d00da204cf.py index 8b84ac0c0..cf279e296 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/grpcclient_7579119d1fa07cc33f5866d00da204cf.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/grpcclient_7579119d1fa07cc33f5866d00da204cf.py @@ -443,6 +443,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def RestartDown(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the restartDown operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/igmphost_8940887674c0387469423e8df3a33854.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/igmphost_8940887674c0387469423e8df3a33854.py index c3e1ce34e..036878bea 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/igmphost_8940887674c0387469423e8df3a33854.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/igmphost_8940887674c0387469423e8df3a33854.py @@ -580,6 +580,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def IgmpStartHost(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the igmpStartHost operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/igmpmcastipv4grouplist_9d36f1712e120291f6d70f4be5ea1fe4.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/igmpmcastipv4grouplist_9d36f1712e120291f6d70f4be5ea1fe4.py index ae46e8786..fd547bd1c 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/igmpmcastipv4grouplist_9d36f1712e120291f6d70f4be5ea1fe4.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/igmpmcastipv4grouplist_9d36f1712e120291f6d70f4be5ea1fe4.py @@ -282,6 +282,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def IgmpJoinGroup(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the igmpJoinGroup operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/igmpquerier_38c883b0cec7ffb5405af90bf1b8cda5.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/igmpquerier_38c883b0cec7ffb5405af90bf1b8cda5.py index 2b38445c1..a6f1aa099 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/igmpquerier_38c883b0cec7ffb5405af90bf1b8cda5.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/igmpquerier_38c883b0cec7ffb5405af90bf1b8cda5.py @@ -563,6 +563,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def ClearAllLearnedInfoInClient(self, *args, **kwargs): # type: (*Any, **Any) -> Union[List[str], None] """Executes the clearAllLearnedInfoInClient operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/igmpucastipv4sourcelist_f050f3572b51b1edb51a7f959ebf249f.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/igmpucastipv4sourcelist_f050f3572b51b1edb51a7f959ebf249f.py index b61e53ee8..07d21b626 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/igmpucastipv4sourcelist_f050f3572b51b1edb51a7f959ebf249f.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/igmpucastipv4sourcelist_f050f3572b51b1edb51a7f959ebf249f.py @@ -206,6 +206,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def IgmpJoinSource(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the igmpJoinSource operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/importbgproutesparams_4d60eb735df5bf7c597595458b68aa31.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/importbgproutesparams_4d60eb735df5bf7c597595458b68aa31.py index 93874e62f..29a2a93b7 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/importbgproutesparams_4d60eb735df5bf7c597595458b68aa31.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/importbgproutesparams_4d60eb735df5bf7c597595458b68aa31.py @@ -43,7 +43,7 @@ class ImportBgpRoutesParams(Base): "RouteLimit": "routeLimit", } _SDM_ENUM_MAP = { - "fileType": ["csv", "juniper", "cisco"], + "fileType": ["csv", "juniper", "cisco", "arista"], "nextHop": ["overwriteTestersAddress", "preserveFromFile"], "routeDistributionType": ["roundRobin", "replicate"], } @@ -85,7 +85,7 @@ def FileType(self): """ Returns ------- - - str(csv | juniper | cisco): Import routes file type. Route import may fail in file type is not matching with the file being imported. + - str(csv | juniper | cisco | arista): Import routes file type. Route import may fail in file type is not matching with the file being imported. """ return self._get_attribute(self._SDM_ATT_MAP["FileType"]) @@ -154,7 +154,7 @@ def update( ---- - BestRoutes (bool): Import only the best routes (provided route file has this information). - DataFile (obj(ixnetwork_restpy.files.Files)): Select source file having route information. - - FileType (str(csv | juniper | cisco)): Import routes file type. Route import may fail in file type is not matching with the file being imported. + - FileType (str(csv | juniper | cisco | arista)): Import routes file type. Route import may fail in file type is not matching with the file being imported. - NextHop (str(overwriteTestersAddress | preserveFromFile)): Option for setting Next Hop modification type. - RouteDistributionType (str(roundRobin | replicate)): Option to specify distribution type, for distributing imported routes across all BGP Peer. Options: Round-Robin, for allocating routes sequentially, and Replicate, for allocating all routes to each Peer. - RouteLimit (number): Specify maximum routes(per port) that you want to import. Based on Card Memory, the Max Route Limit Per Port are: - 4GB or more => 2.0 million 2GB => 1.6 million 1GB => 0.8 million Less than 1GB => 0.5 million @@ -184,7 +184,7 @@ def find( ---- - BestRoutes (bool): Import only the best routes (provided route file has this information). - DataFile (obj(ixnetwork_restpy.files.Files)): Select source file having route information. - - FileType (str(csv | juniper | cisco)): Import routes file type. Route import may fail in file type is not matching with the file being imported. + - FileType (str(csv | juniper | cisco | arista)): Import routes file type. Route import may fail in file type is not matching with the file being imported. - NextHop (str(overwriteTestersAddress | preserveFromFile)): Option for setting Next Hop modification type. - RouteDistributionType (str(roundRobin | replicate)): Option to specify distribution type, for distributing imported routes across all BGP Peer. Options: Round-Robin, for allocating routes sequentially, and Replicate, for allocating all routes to each Peer. - RouteLimit (number): Specify maximum routes(per port) that you want to import. Based on Card Memory, the Max Route Limit Per Port are: - 4GB or more => 2.0 million 2GB => 1.6 million 1GB => 0.8 million Less than 1GB => 0.5 million @@ -217,6 +217,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def ImportBgpRoutes(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the importBgpRoutes operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/innervlanlist_e709d209ac3f7ec472b5b8b70db9e853.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/innervlanlist_e709d209ac3f7ec472b5b8b70db9e853.py index ae18da5f3..8245b5c59 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/innervlanlist_e709d209ac3f7ec472b5b8b70db9e853.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/innervlanlist_e709d209ac3f7ec472b5b8b70db9e853.py @@ -196,6 +196,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids(self, PortNames=None, Priority=None, Tpid=None, VlanId=None): """Base class infrastructure that gets a list of innerVlanList device ids encapsulated by this object. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/instruction_8a003508af27a2b8465616f1246a834c.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/instruction_8a003508af27a2b8465616f1246a834c.py index 707cad934..28c8aaa19 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/instruction_8a003508af27a2b8465616f1246a834c.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/instruction_8a003508af27a2b8465616f1246a834c.py @@ -326,3 +326,24 @@ def AddAction(self, *args, **kwargs): for item in kwargs.items(): payload[item[0]] = item[1] return self._execute("addAction", payload=payload, response_object=None) + + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/instructions_c6523447e39f8424f52417c8fe0de9ff.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/instructions_c6523447e39f8424f52417c8fe0de9ff.py index a6296b1c2..16080de38 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/instructions_c6523447e39f8424f52417c8fe0de9ff.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/instructions_c6523447e39f8424f52417c8fe0de9ff.py @@ -243,6 +243,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def AddInstruction(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the addInstruction operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/interareaprefix_d5c1af5dfb80980a591c026bbf1a1217.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/interareaprefix_d5c1af5dfb80980a591c026bbf1a1217.py index 4092feadd..b005f9912 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/interareaprefix_d5c1af5dfb80980a591c026bbf1a1217.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/interareaprefix_d5c1af5dfb80980a591c026bbf1a1217.py @@ -484,6 +484,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def Advertise(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the advertise operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/interarearouter_e3708b9636f21a071f8de5213e1653fb.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/interarearouter_e3708b9636f21a071f8de5213e1653fb.py index dcb8e01b6..218743597 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/interarearouter_e3708b9636f21a071f8de5213e1653fb.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/interarearouter_e3708b9636f21a071f8de5213e1653fb.py @@ -378,6 +378,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def Advertise(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the advertise operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/interestedvlanlist_728a61dfe3033f50a4c4b24dd65f6d27.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/interestedvlanlist_728a61dfe3033f50a4c4b24dd65f6d27.py index d05dc03ee..09ee4583f 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/interestedvlanlist_728a61dfe3033f50a4c4b24dd65f6d27.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/interestedvlanlist_728a61dfe3033f50a4c4b24dd65f6d27.py @@ -288,6 +288,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/interestedvlanlist_73520df8ad4853f551ecc4bd98996b9f.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/interestedvlanlist_73520df8ad4853f551ecc4bd98996b9f.py index 368fac98e..dfab64157 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/interestedvlanlist_73520df8ad4853f551ecc4bd98996b9f.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/interestedvlanlist_73520df8ad4853f551ecc4bd98996b9f.py @@ -272,6 +272,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/interestedvlanlist_c042412b751d673b9fbaaf71ca229e77.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/interestedvlanlist_c042412b751d673b9fbaaf71ca229e77.py index 20970115c..b074ce918 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/interestedvlanlist_c042412b751d673b9fbaaf71ca229e77.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/interestedvlanlist_c042412b751d673b9fbaaf71ca229e77.py @@ -275,6 +275,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/interestedvlanlist_c4246703970074b5d8b3f8c491eb8622.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/interestedvlanlist_c4246703970074b5d8b3f8c491eb8622.py index bf7e79f18..fbde975f3 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/interestedvlanlist_c4246703970074b5d8b3f8c491eb8622.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/interestedvlanlist_c4246703970074b5d8b3f8c491eb8622.py @@ -303,6 +303,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/intraareaprefix_948ccdbed233cc17b5c5cd2caa82b61f.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/intraareaprefix_948ccdbed233cc17b5c5cd2caa82b61f.py index d61a46069..c987ef38f 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/intraareaprefix_948ccdbed233cc17b5c5cd2caa82b61f.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/intraareaprefix_948ccdbed233cc17b5c5cd2caa82b61f.py @@ -527,6 +527,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def Advertise(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the advertise operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/iptv_0fb517c26bbef4136d857dbc8aaa8c72.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/iptv_0fb517c26bbef4136d857dbc8aaa8c72.py index f90e9c810..0bfd64f77 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/iptv_0fb517c26bbef4136d857dbc8aaa8c72.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/iptv_0fb517c26bbef4136d857dbc8aaa8c72.py @@ -353,6 +353,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def ImportFailureTimestampFile(self, *args, **kwargs): # type: (*Any, **Any) -> Union[List[str], None] """Executes the importFailureTimestampFile operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ipv4_8cb960b62ae85a03e1b40a57bfaeb7bb.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ipv4_8cb960b62ae85a03e1b40a57bfaeb7bb.py index 6c10c15b8..f33f3a1b4 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ipv4_8cb960b62ae85a03e1b40a57bfaeb7bb.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ipv4_8cb960b62ae85a03e1b40a57bfaeb7bb.py @@ -697,13 +697,13 @@ def Ptp(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.ptp_10b9c21d9c7cf77e86ec2d87b28de348.Ptp): An instance of the Ptp class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.ptp_159da219e0807ce6756d8a5214d56f70.Ptp): An instance of the Ptp class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.ptp_10b9c21d9c7cf77e86ec2d87b28de348 import ( + from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.ptp_159da219e0807ce6756d8a5214d56f70 import ( Ptp, ) @@ -1211,6 +1211,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def CancelPing(self, *args, **kwargs): """Executes the cancelPing operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ipv4loopback_f84286c6e2c90f5267670278dde3f258.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ipv4loopback_f84286c6e2c90f5267670278dde3f258.py index 501fcd3d1..7b3bfb584 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ipv4loopback_f84286c6e2c90f5267670278dde3f258.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ipv4loopback_f84286c6e2c90f5267670278dde3f258.py @@ -792,6 +792,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def CancelPing(self, *args, **kwargs): """Executes the cancelPing operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ipv4nodeid_0058dcb0072bd8ec4de31da83d10b96a.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ipv4nodeid_0058dcb0072bd8ec4de31da83d10b96a.py index c54c642d9..2c8d4b57c 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ipv4nodeid_0058dcb0072bd8ec4de31da83d10b96a.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ipv4nodeid_0058dcb0072bd8ec4de31da83d10b96a.py @@ -91,3 +91,24 @@ def read(self, href): - ServerError: The server has encountered an uncategorized error condition """ return self._read(href) + + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ipv4prefixpools_2d6f2aedde61c058965d4e1b21741352.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ipv4prefixpools_2d6f2aedde61c058965d4e1b21741352.py index 5b2898304..c1180ebef 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ipv4prefixpools_2d6f2aedde61c058965d4e1b21741352.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ipv4prefixpools_2d6f2aedde61c058965d4e1b21741352.py @@ -686,6 +686,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def Start(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the start operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ipv4pseudonoderoutes_0980784fe65301807a1930977579d2b1.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ipv4pseudonoderoutes_0980784fe65301807a1930977579d2b1.py index 1a5ad7abc..481ff18d4 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ipv4pseudonoderoutes_0980784fe65301807a1930977579d2b1.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ipv4pseudonoderoutes_0980784fe65301807a1930977579d2b1.py @@ -620,6 +620,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def Start(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the start operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ipv6_b40789fa49420009901a46b8dc683afc.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ipv6_b40789fa49420009901a46b8dc683afc.py index 51af431c6..e90dde377 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ipv6_b40789fa49420009901a46b8dc683afc.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ipv6_b40789fa49420009901a46b8dc683afc.py @@ -465,13 +465,13 @@ def Ptp(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.ptp_10b9c21d9c7cf77e86ec2d87b28de348.Ptp): An instance of the Ptp class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.ptp_159da219e0807ce6756d8a5214d56f70.Ptp): An instance of the Ptp class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.ptp_10b9c21d9c7cf77e86ec2d87b28de348 import ( + from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.ptp_159da219e0807ce6756d8a5214d56f70 import ( Ptp, ) @@ -480,6 +480,26 @@ def Ptp(self): return self._properties.get("Ptp") return Ptp(self) + @property + def Ptprobeinstancesrv6(self): + """ + Returns + ------- + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.ptprobeinstancesrv6_79ffe5c7f81290d2749e262cddea5618.Ptprobeinstancesrv6): An instance of the Ptprobeinstancesrv6 class + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.ptprobeinstancesrv6_79ffe5c7f81290d2749e262cddea5618 import ( + Ptprobeinstancesrv6, + ) + + if len(self._object_properties) > 0: + if self._properties.get("Ptprobeinstancesrv6", None) is not None: + return self._properties.get("Ptprobeinstancesrv6") + return Ptprobeinstancesrv6(self) + @property def Srv6Oam(self): """ @@ -1084,6 +1104,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def CancelPing(self, *args, **kwargs): """Executes the cancelPing operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ipv6autoconfiguration_30e04d0136286f29e3d34b2c9405e01e.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ipv6autoconfiguration_30e04d0136286f29e3d34b2c9405e01e.py index 32fd65698..087d40d5d 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ipv6autoconfiguration_30e04d0136286f29e3d34b2c9405e01e.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ipv6autoconfiguration_30e04d0136286f29e3d34b2c9405e01e.py @@ -229,6 +229,26 @@ def PimV6Interface(self): return self._properties.get("PimV6Interface") return PimV6Interface(self) + @property + def Ptprobeinstancesrv6(self): + """ + Returns + ------- + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.ptprobeinstancesrv6_79ffe5c7f81290d2749e262cddea5618.Ptprobeinstancesrv6): An instance of the Ptprobeinstancesrv6 class + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.ptprobeinstancesrv6_79ffe5c7f81290d2749e262cddea5618 import ( + Ptprobeinstancesrv6, + ) + + if len(self._object_properties) > 0: + if self._properties.get("Ptprobeinstancesrv6", None) is not None: + return self._properties.get("Ptprobeinstancesrv6") + return Ptprobeinstancesrv6(self) + @property def Tag(self): """ @@ -621,6 +641,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def CancelPing(self, *args, **kwargs): """Executes the cancelPing operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ipv6loopback_c5557054afff2b9cc84b7676de50b805.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ipv6loopback_c5557054afff2b9cc84b7676de50b805.py index ffb382934..300c90906 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ipv6loopback_c5557054afff2b9cc84b7676de50b805.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ipv6loopback_c5557054afff2b9cc84b7676de50b805.py @@ -305,6 +305,26 @@ def PimV6Interface(self): return self._properties.get("PimV6Interface") return PimV6Interface(self) + @property + def Ptprobeinstancesrv6(self): + """ + Returns + ------- + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.ptprobeinstancesrv6_79ffe5c7f81290d2749e262cddea5618.Ptprobeinstancesrv6): An instance of the Ptprobeinstancesrv6 class + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.ptprobeinstancesrv6_79ffe5c7f81290d2749e262cddea5618 import ( + Ptprobeinstancesrv6, + ) + + if len(self._object_properties) > 0: + if self._properties.get("Ptprobeinstancesrv6", None) is not None: + return self._properties.get("Ptprobeinstancesrv6") + return Ptprobeinstancesrv6(self) + @property def Tag(self): """ @@ -652,6 +672,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def CancelPing(self, *args, **kwargs): """Executes the cancelPing operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ipv6nodeid_4387c92ac6681abc984b1a38400183c9.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ipv6nodeid_4387c92ac6681abc984b1a38400183c9.py index bc09d4b2b..15d1b3c1d 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ipv6nodeid_4387c92ac6681abc984b1a38400183c9.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ipv6nodeid_4387c92ac6681abc984b1a38400183c9.py @@ -91,3 +91,24 @@ def read(self, href): - ServerError: The server has encountered an uncategorized error condition """ return self._read(href) + + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ipv6prefixpools_f83aba85ff769655b348dc60ddcb30f2.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ipv6prefixpools_f83aba85ff769655b348dc60ddcb30f2.py index 6c57f3918..73888788f 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ipv6prefixpools_f83aba85ff769655b348dc60ddcb30f2.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ipv6prefixpools_f83aba85ff769655b348dc60ddcb30f2.py @@ -706,6 +706,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def Start(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the start operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ipv6pseudonoderoutes_bcae68d87ea9e8a15aceb277f8bd6246.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ipv6pseudonoderoutes_bcae68d87ea9e8a15aceb277f8bd6246.py index fd76dd904..b823d7aaa 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ipv6pseudonoderoutes_bcae68d87ea9e8a15aceb277f8bd6246.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ipv6pseudonoderoutes_bcae68d87ea9e8a15aceb277f8bd6246.py @@ -709,6 +709,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def Start(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the start operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ipv6segmentslist_b22beddfcd690829abbee2bde5eaa96d.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ipv6segmentslist_b22beddfcd690829abbee2bde5eaa96d.py index 36a4b3edd..bede401d8 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ipv6segmentslist_b22beddfcd690829abbee2bde5eaa96d.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ipv6segmentslist_b22beddfcd690829abbee2bde5eaa96d.py @@ -183,6 +183,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids(self, PortNames=None, SID=None, SIDEnable=None): """Base class infrastructure that gets a list of IPv6SegmentsList device ids encapsulated by this object. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ipv6sr_5d596ce1a2d00c8f120ae357d45b9a46.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ipv6sr_5d596ce1a2d00c8f120ae357d45b9a46.py index 3df7dea63..4c7eac48b 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ipv6sr_5d596ce1a2d00c8f120ae357d45b9a46.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ipv6sr_5d596ce1a2d00c8f120ae357d45b9a46.py @@ -558,6 +558,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def RestartDown(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the restartDown operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ipversion_f8376a4cfcc15328a4fe9a3fb44f6670.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ipversion_f8376a4cfcc15328a4fe9a3fb44f6670.py index 75a136737..a1711706a 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ipversion_f8376a4cfcc15328a4fe9a3fb44f6670.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ipversion_f8376a4cfcc15328a4fe9a3fb44f6670.py @@ -91,3 +91,24 @@ def read(self, href): - ServerError: The server has encountered an uncategorized error condition """ return self._read(href) + + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isidlist_e6ba204fca19b050969280a4a79443f8.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isidlist_e6ba204fca19b050969280a4a79443f8.py index 4997740ab..10ac26514 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isidlist_e6ba204fca19b050969280a4a79443f8.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isidlist_e6ba204fca19b050969280a4a79443f8.py @@ -266,6 +266,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isisappspecsrlglist_c86dcbcff988ad5c54aecdd16dd33b6f.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isisappspecsrlglist_c86dcbcff988ad5c54aecdd16dd33b6f.py index 704d4120f..770158639 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isisappspecsrlglist_c86dcbcff988ad5c54aecdd16dd33b6f.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isisappspecsrlglist_c86dcbcff988ad5c54aecdd16dd33b6f.py @@ -265,6 +265,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isisbierbsobjectlist_72488dadc9d26969d482f402d7de2734.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isisbierbsobjectlist_72488dadc9d26969d482f402d7de2734.py index f714ef254..b349394d8 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isisbierbsobjectlist_72488dadc9d26969d482f402d7de2734.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isisbierbsobjectlist_72488dadc9d26969d482f402d7de2734.py @@ -200,6 +200,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isisbiersubdomainlist_e392fab58663b756ea9ae50d89caf0aa.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isisbiersubdomainlist_e392fab58663b756ea9ae50d89caf0aa.py index 01851976a..229ffa926 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isisbiersubdomainlist_e392fab58663b756ea9ae50d89caf0aa.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isisbiersubdomainlist_e392fab58663b756ea9ae50d89caf0aa.py @@ -241,6 +241,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isisdcepseudoifaceattpoint1config_dce0066317952a09c055b9f568621953.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isisdcepseudoifaceattpoint1config_dce0066317952a09c055b9f568621953.py index aa6d53818..fe2f1167a 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isisdcepseudoifaceattpoint1config_dce0066317952a09c055b9f568621953.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isisdcepseudoifaceattpoint1config_dce0066317952a09c055b9f568621953.py @@ -205,6 +205,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def Disconnect(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the disconnect operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isisdcepseudoifaceattpoint2config_08c96458d8806c0878ba2591f7235870.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isisdcepseudoifaceattpoint2config_08c96458d8806c0878ba2591f7235870.py index 6e4147509..0b9e8d849 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isisdcepseudoifaceattpoint2config_08c96458d8806c0878ba2591f7235870.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isisdcepseudoifaceattpoint2config_08c96458d8806c0878ba2591f7235870.py @@ -205,6 +205,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def Disconnect(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the disconnect operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isisdcepseudonode_6416adf40a9c10f6ed462f220e3c16ff.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isisdcepseudonode_6416adf40a9c10f6ed462f220e3c16ff.py index f2eb93d60..6a36cbbc8 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isisdcepseudonode_6416adf40a9c10f6ed462f220e3c16ff.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isisdcepseudonode_6416adf40a9c10f6ed462f220e3c16ff.py @@ -220,6 +220,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def Start(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the start operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isisdcesimrouter_92c9662fb6421c6639f138f508faf4d4.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isisdcesimrouter_92c9662fb6421c6639f138f508faf4d4.py index 57a3aef9a..fd6958f65 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isisdcesimrouter_92c9662fb6421c6639f138f508faf4d4.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isisdcesimrouter_92c9662fb6421c6639f138f508faf4d4.py @@ -538,6 +538,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def RestartDown(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the restartDown operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isisdcesimulatedtopologyconfig_4d88faaf0dcf92c0db3815f377d8e18d.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isisdcesimulatedtopologyconfig_4d88faaf0dcf92c0db3815f377d8e18d.py index f5fcb0dde..fdb85d489 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isisdcesimulatedtopologyconfig_4d88faaf0dcf92c0db3815f377d8e18d.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isisdcesimulatedtopologyconfig_4d88faaf0dcf92c0db3815f377d8e18d.py @@ -261,6 +261,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def Start(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the start operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isisfabricpath_49ed8317c28295615f21a4a8362c2b95.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isisfabricpath_49ed8317c28295615f21a4a8362c2b95.py index c8bdbea90..b6e0c004d 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isisfabricpath_49ed8317c28295615f21a4a8362c2b95.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isisfabricpath_49ed8317c28295615f21a4a8362c2b95.py @@ -608,6 +608,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def ClearAllLearnedInfo(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the clearAllLearnedInfo operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isisfabricpathrouter_3484383ef19d547bbf8b6a3a8701d8ab.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isisfabricpathrouter_3484383ef19d547bbf8b6a3a8701d8ab.py index 90c1e56ba..5b8302ec4 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isisfabricpathrouter_3484383ef19d547bbf8b6a3a8701d8ab.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isisfabricpathrouter_3484383ef19d547bbf8b6a3a8701d8ab.py @@ -783,6 +783,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def IsisStartRouter(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the isisStartRouter operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isisflexalgorithmlist_d9008e99957f9f9e1c7f80b24180ceb1.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isisflexalgorithmlist_d9008e99957f9f9e1c7f80b24180ceb1.py index 9e8984f38..68c48311c 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isisflexalgorithmlist_d9008e99957f9f9e1c7f80b24180ceb1.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isisflexalgorithmlist_d9008e99957f9f9e1c7f80b24180ceb1.py @@ -450,6 +450,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isisl3_2471ee7fdf32e67045bfc6c9e14f54d6.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isisl3_2471ee7fdf32e67045bfc6c9e14f54d6.py index b1ef46af2..791e0255a 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isisl3_2471ee7fdf32e67045bfc6c9e14f54d6.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isisl3_2471ee7fdf32e67045bfc6c9e14f54d6.py @@ -1607,6 +1607,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def ClearAllLearnedInfo(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the clearAllLearnedInfo operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isisl3ipv4noderoutelist_ae7695e0538209b004b305811ac652f1.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isisl3ipv4noderoutelist_ae7695e0538209b004b305811ac652f1.py index 5875a2148..916846c5d 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isisl3ipv4noderoutelist_ae7695e0538209b004b305811ac652f1.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isisl3ipv4noderoutelist_ae7695e0538209b004b305811ac652f1.py @@ -259,6 +259,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isisl3ipv6noderoutelist_305cdb4f4026728819c2e41364d4f782.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isisl3ipv6noderoutelist_305cdb4f4026728819c2e41364d4f782.py index 0682b1707..315a3d054 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isisl3ipv6noderoutelist_305cdb4f4026728819c2e41364d4f782.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isisl3ipv6noderoutelist_305cdb4f4026728819c2e41364d4f782.py @@ -259,6 +259,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isisl3prefixesmtid_586e046161234c1eaaab8136f246c47b.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isisl3prefixesmtid_586e046161234c1eaaab8136f246c47b.py index 34eff6bbd..0fb7fcd83 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isisl3prefixesmtid_586e046161234c1eaaab8136f246c47b.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isisl3prefixesmtid_586e046161234c1eaaab8136f246c47b.py @@ -195,6 +195,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids(self, PortNames=None, Active=None, LinkMetric=None, MtId=None): """Base class infrastructure that gets a list of isisL3PrefixesMtId device ids encapsulated by this object. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isisl3prefixessrsid_d90ea659336c02c3669004f4825a6c15.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isisl3prefixessrsid_d90ea659336c02c3669004f4825a6c15.py index b9aec4c67..cb4b7f3a4 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isisl3prefixessrsid_d90ea659336c02c3669004f4825a6c15.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isisl3prefixessrsid_d90ea659336c02c3669004f4825a6c15.py @@ -340,6 +340,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isisl3pseudoifaceattpoint1config_e6b2374da4892fed3474f1ab974dbf1c.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isisl3pseudoifaceattpoint1config_e6b2374da4892fed3474f1ab974dbf1c.py index 1d95f4972..727766383 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isisl3pseudoifaceattpoint1config_e6b2374da4892fed3474f1ab974dbf1c.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isisl3pseudoifaceattpoint1config_e6b2374da4892fed3474f1ab974dbf1c.py @@ -205,6 +205,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def Disconnect(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the disconnect operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isisl3pseudoifaceattpoint2config_37681cb7f2d7b1eb6c812c1b9f243542.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isisl3pseudoifaceattpoint2config_37681cb7f2d7b1eb6c812c1b9f243542.py index 7ac7d7187..fc691edc3 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isisl3pseudoifaceattpoint2config_37681cb7f2d7b1eb6c812c1b9f243542.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isisl3pseudoifaceattpoint2config_37681cb7f2d7b1eb6c812c1b9f243542.py @@ -205,6 +205,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def Disconnect(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the disconnect operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isisl3pseudointerface_9126bc028693cbbf9d918cf385cfa24d.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isisl3pseudointerface_9126bc028693cbbf9d918cf385cfa24d.py index 81f394446..d1788853b 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isisl3pseudointerface_9126bc028693cbbf9d918cf385cfa24d.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isisl3pseudointerface_9126bc028693cbbf9d918cf385cfa24d.py @@ -1473,6 +1473,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def Start(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the start operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isisl3pseudoroutemtidipv6_b4a9d75a0ea192e5bc7f5118726e154a.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isisl3pseudoroutemtidipv6_b4a9d75a0ea192e5bc7f5118726e154a.py index 23c100c59..cb56f33c2 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isisl3pseudoroutemtidipv6_b4a9d75a0ea192e5bc7f5118726e154a.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isisl3pseudoroutemtidipv6_b4a9d75a0ea192e5bc7f5118726e154a.py @@ -195,6 +195,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids(self, PortNames=None, Active=None, LinkMetric=None, MtId=None): """Base class infrastructure that gets a list of isisL3PseudoRouteMtIdIPv6 device ids encapsulated by this object. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isisl3pseudorouter_cc48b213b1c82a8d7545254aacd48ebb.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isisl3pseudorouter_cc48b213b1c82a8d7545254aacd48ebb.py index 8c0b0a656..1393a2f48 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isisl3pseudorouter_cc48b213b1c82a8d7545254aacd48ebb.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isisl3pseudorouter_cc48b213b1c82a8d7545254aacd48ebb.py @@ -1688,6 +1688,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def Start(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the start operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isisl3routeproperty_b92337ebc659bd40bd9c30fab98749e7.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isisl3routeproperty_b92337ebc659bd40bd9c30fab98749e7.py index 88aba70e5..c7499f45b 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isisl3routeproperty_b92337ebc659bd40bd9c30fab98749e7.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isisl3routeproperty_b92337ebc659bd40bd9c30fab98749e7.py @@ -945,6 +945,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def AgeOutRoutes(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the ageOutRoutes operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isisl3router_ee6787dad8e647ada652869eb34c5d06.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isisl3router_ee6787dad8e647ada652869eb34c5d06.py index 0deefb23b..bbb4993a4 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isisl3router_ee6787dad8e647ada652869eb34c5d06.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isisl3router_ee6787dad8e647ada652869eb34c5d06.py @@ -2589,6 +2589,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def IsisStartRouter(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the isisStartRouter operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isisl3simulatedtopologyconfig_1890e701c5ec6fe1e10b65bd6dd71fb5.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isisl3simulatedtopologyconfig_1890e701c5ec6fe1e10b65bd6dd71fb5.py index 467369ba4..e07e04eaa 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isisl3simulatedtopologyconfig_1890e701c5ec6fe1e10b65bd6dd71fb5.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isisl3simulatedtopologyconfig_1890e701c5ec6fe1e10b65bd6dd71fb5.py @@ -309,6 +309,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def Start(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the start operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isismappingserveripv4list_c7d4f6854a653f4b6b5515d4e80967be.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isismappingserveripv4list_c7d4f6854a653f4b6b5515d4e80967be.py index 99ca17f4c..25981eb55 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isismappingserveripv4list_c7d4f6854a653f4b6b5515d4e80967be.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isismappingserveripv4list_c7d4f6854a653f4b6b5515d4e80967be.py @@ -371,6 +371,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def Advertise(self, *args, **kwargs): # type: (*Any, **Any) -> Union[List[str], None] """Executes the advertise operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isismappingserveripv6list_1942b0df99563e99e9978de27ba52354.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isismappingserveripv6list_1942b0df99563e99e9978de27ba52354.py index 32ba7ef4d..ed4e3e48b 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isismappingserveripv6list_1942b0df99563e99e9978de27ba52354.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isismappingserveripv6list_1942b0df99563e99e9978de27ba52354.py @@ -371,6 +371,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def Advertise(self, *args, **kwargs): # type: (*Any, **Any) -> Union[List[str], None] """Executes the advertise operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isismtidlist_8fd17f74f5299000c0f93d3d190aee51.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isismtidlist_8fd17f74f5299000c0f93d3d190aee51.py index 14b85349f..d55efdc2e 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isismtidlist_8fd17f74f5299000c0f93d3d190aee51.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isismtidlist_8fd17f74f5299000c0f93d3d190aee51.py @@ -214,6 +214,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids(self, PortNames=None, Active=None, LinkMetric=None, MtId=None): """Base class infrastructure that gets a list of isisMTIDList device ids encapsulated by this object. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isismultitopologyvalueslist_aade22a247f2e2b1f2285c77e9114dda.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isismultitopologyvalueslist_aade22a247f2e2b1f2285c77e9114dda.py index cc5f13b72..f283baf93 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isismultitopologyvalueslist_aade22a247f2e2b1f2285c77e9114dda.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isismultitopologyvalueslist_aade22a247f2e2b1f2285c77e9114dda.py @@ -183,6 +183,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + DEPRECATED addDeleteTags(Arg2=bool, async_operation=bool) + --------------------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids(self, PortNames=None, EnableMtId=None, MtId=None): """Base class infrastructure that gets a list of isisMultiTopologyValuesList device ids encapsulated by this object. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isispseudoappspecsrlglist_16c6e7265cceee1929bab1415b66b941.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isispseudoappspecsrlglist_16c6e7265cceee1929bab1415b66b941.py index db556b7fc..e75d4c511 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isispseudoappspecsrlglist_16c6e7265cceee1929bab1415b66b941.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isispseudoappspecsrlglist_16c6e7265cceee1929bab1415b66b941.py @@ -287,6 +287,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def Start(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the start operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isispseudoflexalgorithm_da21ce814ae20d74de8689303f8c2e83.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isispseudoflexalgorithm_da21ce814ae20d74de8689303f8c2e83.py index 78f120ca2..31bec24ba 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isispseudoflexalgorithm_da21ce814ae20d74de8689303f8c2e83.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isispseudoflexalgorithm_da21ce814ae20d74de8689303f8c2e83.py @@ -472,6 +472,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def Start(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the start operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isispseudointerface_c1f1f37e55c1225f223c72b348d63875.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isispseudointerface_c1f1f37e55c1225f223c72b348d63875.py index 57c95cfbc..922d63fa3 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isispseudointerface_c1f1f37e55c1225f223c72b348d63875.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isispseudointerface_c1f1f37e55c1225f223c72b348d63875.py @@ -376,6 +376,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def Start(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the start operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isispseudomtidlist_953f6f5d73f9f8b772ed5ed34413424e.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isispseudomtidlist_953f6f5d73f9f8b772ed5ed34413424e.py index 0c39e937d..60acf87f3 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isispseudomtidlist_953f6f5d73f9f8b772ed5ed34413424e.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isispseudomtidlist_953f6f5d73f9f8b772ed5ed34413424e.py @@ -212,6 +212,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isispseudomultitopologyvalueslist_611d6ab2b1a502e3b27f153266aa7670.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isispseudomultitopologyvalueslist_611d6ab2b1a502e3b27f153266aa7670.py index 3f9e24614..c75479b08 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isispseudomultitopologyvalueslist_611d6ab2b1a502e3b27f153266aa7670.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isispseudomultitopologyvalueslist_611d6ab2b1a502e3b27f153266aa7670.py @@ -183,6 +183,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + DEPRECATED addDeleteTags(Arg2=bool, async_operation=bool) + --------------------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids(self, PortNames=None, EnableMtId=None, MtId=None): """Base class infrastructure that gets a list of IsisPseudoMultiTopologyValuesList device ids encapsulated by this object. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isispseudosrv6adjsidlist_4bf1c7cd2b913a5dfd4e1e7ab2e4a493.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isispseudosrv6adjsidlist_4bf1c7cd2b913a5dfd4e1e7ab2e4a493.py index 629dcfd8f..b6ce1d32a 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isispseudosrv6adjsidlist_4bf1c7cd2b913a5dfd4e1e7ab2e4a493.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isispseudosrv6adjsidlist_4bf1c7cd2b913a5dfd4e1e7ab2e4a493.py @@ -666,6 +666,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def Start(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the start operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isispseudosrv6endsidlist_7f1f5407e7e0f543c58ead0450ef8be9.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isispseudosrv6endsidlist_7f1f5407e7e0f543c58ead0450ef8be9.py index f37352e4b..3cc6b9cdd 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isispseudosrv6endsidlist_7f1f5407e7e0f543c58ead0450ef8be9.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isispseudosrv6endsidlist_7f1f5407e7e0f543c58ead0450ef8be9.py @@ -371,6 +371,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def Start(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the start operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isispseudosrv6locatorentrylist_41e56680c4c88d313d713433ca07cac5.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isispseudosrv6locatorentrylist_41e56680c4c88d313d713433ca07cac5.py index 7ea00349b..b79e2aa58 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isispseudosrv6locatorentrylist_41e56680c4c88d313d713433ca07cac5.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isispseudosrv6locatorentrylist_41e56680c4c88d313d713433ca07cac5.py @@ -400,6 +400,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def Start(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the start operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isispseudotraffengprofile_4b26eb844b57581d51b1f16b6e17c94a.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isispseudotraffengprofile_4b26eb844b57581d51b1f16b6e17c94a.py index b6f25ec3d..e4723219c 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isispseudotraffengprofile_4b26eb844b57581d51b1f16b6e17c94a.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isispseudotraffengprofile_4b26eb844b57581d51b1f16b6e17c94a.py @@ -1267,6 +1267,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def Start(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the start operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isissegmentlist_28066a67f7cf6594d73c8fed733b33f6.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isissegmentlist_28066a67f7cf6594d73c8fed733b33f6.py index bb380b966..737d84493 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isissegmentlist_28066a67f7cf6594d73c8fed733b33f6.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isissegmentlist_28066a67f7cf6594d73c8fed733b33f6.py @@ -211,6 +211,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isisspbbcb_d576c38717539c1b1768a3a9f8ab5670.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isisspbbcb_d576c38717539c1b1768a3a9f8ab5670.py index 9ddff914c..a1bd06621 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isisspbbcb_d576c38717539c1b1768a3a9f8ab5670.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isisspbbcb_d576c38717539c1b1768a3a9f8ab5670.py @@ -584,6 +584,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def ClearAllLearnedInfo(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the clearAllLearnedInfo operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isisspbbeb_82771ae7e9ec8dfc9848a0c0aa078da2.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isisspbbeb_82771ae7e9ec8dfc9848a0c0aa078da2.py index fa3d6b1bc..ab1175566 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isisspbbeb_82771ae7e9ec8dfc9848a0c0aa078da2.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isisspbbeb_82771ae7e9ec8dfc9848a0c0aa078da2.py @@ -584,6 +584,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def ClearAllLearnedInfo(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the clearAllLearnedInfo operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isisspbmaccloudconfig_791b0bf61c8f6877cabfa2621478ab8a.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isisspbmaccloudconfig_791b0bf61c8f6877cabfa2621478ab8a.py index 82235e8c1..e6f4b9537 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isisspbmaccloudconfig_791b0bf61c8f6877cabfa2621478ab8a.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isisspbmaccloudconfig_791b0bf61c8f6877cabfa2621478ab8a.py @@ -276,6 +276,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def Start(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the start operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isisspbpseudoifaceattpoint1config_04ab03c0f19e657e435c655358111db5.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isisspbpseudoifaceattpoint1config_04ab03c0f19e657e435c655358111db5.py index 54a4ff179..3cd4f577f 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isisspbpseudoifaceattpoint1config_04ab03c0f19e657e435c655358111db5.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isisspbpseudoifaceattpoint1config_04ab03c0f19e657e435c655358111db5.py @@ -205,6 +205,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def Disconnect(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the disconnect operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isisspbpseudoifaceattpoint2config_0781ccf029e86f2c708647212802930e.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isisspbpseudoifaceattpoint2config_0781ccf029e86f2c708647212802930e.py index a16930b70..89ce4cf57 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isisspbpseudoifaceattpoint2config_0781ccf029e86f2c708647212802930e.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isisspbpseudoifaceattpoint2config_0781ccf029e86f2c708647212802930e.py @@ -205,6 +205,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def Disconnect(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the disconnect operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isisspbpseudonode_e0862fd97cf99212ff106c16f6c049cb.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isisspbpseudonode_e0862fd97cf99212ff106c16f6c049cb.py index f65c5d311..3e7716e1f 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isisspbpseudonode_e0862fd97cf99212ff106c16f6c049cb.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isisspbpseudonode_e0862fd97cf99212ff106c16f6c049cb.py @@ -220,6 +220,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def Start(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the start operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isisspbrouter_7f125b55fde121bdcf257dc13c69a82b.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isisspbrouter_7f125b55fde121bdcf257dc13c69a82b.py index 2c3288ac1..8feb09667 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isisspbrouter_7f125b55fde121bdcf257dc13c69a82b.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isisspbrouter_7f125b55fde121bdcf257dc13c69a82b.py @@ -720,6 +720,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def IsisStartRouter(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the isisStartRouter operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isisspbsimrouter_4d8d2b3596c2f006afcd75a76b6934ff.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isisspbsimrouter_4d8d2b3596c2f006afcd75a76b6934ff.py index 03b45fbd3..3ed836897 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isisspbsimrouter_4d8d2b3596c2f006afcd75a76b6934ff.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isisspbsimrouter_4d8d2b3596c2f006afcd75a76b6934ff.py @@ -433,6 +433,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def RestartDown(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the restartDown operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isisspbsimulatedtopologyconfig_768b370addc0695580bc7b46b573d5a7.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isisspbsimulatedtopologyconfig_768b370addc0695580bc7b46b573d5a7.py index da0d2daa2..e0bb08e73 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isisspbsimulatedtopologyconfig_768b370addc0695580bc7b46b573d5a7.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isisspbsimulatedtopologyconfig_768b370addc0695580bc7b46b573d5a7.py @@ -276,6 +276,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def Start(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the start operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isissralgorithmlist_a50f1cd4168a3642597a66e7f63343e6.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isissralgorithmlist_a50f1cd4168a3642597a66e7f63343e6.py index dc03219b7..5398b5f54 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isissralgorithmlist_a50f1cd4168a3642597a66e7f63343e6.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isissralgorithmlist_a50f1cd4168a3642597a66e7f63343e6.py @@ -172,6 +172,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids(self, PortNames=None, IsisSrAlgorithm=None): """Base class infrastructure that gets a list of isisSRAlgorithmList device ids encapsulated by this object. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isissrgbrangesubobjectslist_6180dd47f637b6f4581c2dcaa7a1a071.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isissrgbrangesubobjectslist_6180dd47f637b6f4581c2dcaa7a1a071.py index 5ce6aac01..9d1ec9a04 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isissrgbrangesubobjectslist_6180dd47f637b6f4581c2dcaa7a1a071.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isissrgbrangesubobjectslist_6180dd47f637b6f4581c2dcaa7a1a071.py @@ -183,6 +183,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids(self, PortNames=None, SIDCount=None, StartSIDLabel=None): """Base class infrastructure that gets a list of isisSRGBRangeSubObjectsList device ids encapsulated by this object. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isissrlbdescriptorlist_1eec075b53920dfd5040006478718f6a.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isissrlbdescriptorlist_1eec075b53920dfd5040006478718f6a.py index 4103cbd62..3d321edf4 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isissrlbdescriptorlist_1eec075b53920dfd5040006478718f6a.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isissrlbdescriptorlist_1eec075b53920dfd5040006478718f6a.py @@ -183,6 +183,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids(self, PortNames=None, SIDCount=None, StartSIDLabel=None): """Base class infrastructure that gets a list of isisSRLBDescriptorList device ids encapsulated by this object. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isissrtunnellist_4c3217e504788bc35135af392bfa9c40.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isissrtunnellist_4c3217e504788bc35135af392bfa9c40.py index 7450a73c5..de0369387 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isissrtunnellist_4c3217e504788bc35135af392bfa9c40.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isissrtunnellist_4c3217e504788bc35135af392bfa9c40.py @@ -265,6 +265,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isissrv6adjsidlist_dd39940f27d58c46a476b64e85215861.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isissrv6adjsidlist_dd39940f27d58c46a476b64e85215861.py index 28bab4935..a31e4fe71 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isissrv6adjsidlist_dd39940f27d58c46a476b64e85215861.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isissrv6adjsidlist_dd39940f27d58c46a476b64e85215861.py @@ -374,6 +374,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isissrv6endsidlist_02de140eb2719a0e953620cb8889e8d6.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isissrv6endsidlist_02de140eb2719a0e953620cb8889e8d6.py index 718fb8790..4fc9d44d3 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isissrv6endsidlist_02de140eb2719a0e953620cb8889e8d6.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isissrv6endsidlist_02de140eb2719a0e953620cb8889e8d6.py @@ -334,6 +334,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isissrv6locatorentrylist_5ee5b2e2a8030f335563cdbbee99f17a.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isissrv6locatorentrylist_5ee5b2e2a8030f335563cdbbee99f17a.py index ffa88d0f1..c4dd20115 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isissrv6locatorentrylist_5ee5b2e2a8030f335563cdbbee99f17a.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isissrv6locatorentrylist_5ee5b2e2a8030f335563cdbbee99f17a.py @@ -378,6 +378,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isistrafficengineering_6032af9b157866ba1321273f0c47a612.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isistrafficengineering_6032af9b157866ba1321273f0c47a612.py index ce6ebe013..95bd58c14 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isistrafficengineering_6032af9b157866ba1321273f0c47a612.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isistrafficengineering_6032af9b157866ba1321273f0c47a612.py @@ -314,6 +314,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + DEPRECATED addDeleteTags(Arg2=bool, async_operation=bool) + --------------------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isistrafficengineeringprofilelist_c47e6899658130ebf14e5ea5147ac23a.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isistrafficengineeringprofilelist_c47e6899658130ebf14e5ea5147ac23a.py index 26829cd72..ada8a72c8 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isistrafficengineeringprofilelist_c47e6899658130ebf14e5ea5147ac23a.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isistrafficengineeringprofilelist_c47e6899658130ebf14e5ea5147ac23a.py @@ -737,6 +737,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isistrill_e1cc1866688f861871e06513525d235b.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isistrill_e1cc1866688f861871e06513525d235b.py index e5629d7d1..e365c2152 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isistrill_e1cc1866688f861871e06513525d235b.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isistrill_e1cc1866688f861871e06513525d235b.py @@ -623,6 +623,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def ClearAllLearnedInfo(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the clearAllLearnedInfo operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isistrillpseudoifaceattpoint1config_4c83cc199df8becee43d785e9ef03dc7.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isistrillpseudoifaceattpoint1config_4c83cc199df8becee43d785e9ef03dc7.py index c26eac07c..2d5f251b0 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isistrillpseudoifaceattpoint1config_4c83cc199df8becee43d785e9ef03dc7.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isistrillpseudoifaceattpoint1config_4c83cc199df8becee43d785e9ef03dc7.py @@ -205,6 +205,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def Disconnect(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the disconnect operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isistrillpseudoifaceattpoint2config_1910327d5bcdde39c812851ec539a846.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isistrillpseudoifaceattpoint2config_1910327d5bcdde39c812851ec539a846.py index fa725011c..4cf86fe9a 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isistrillpseudoifaceattpoint2config_1910327d5bcdde39c812851ec539a846.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isistrillpseudoifaceattpoint2config_1910327d5bcdde39c812851ec539a846.py @@ -205,6 +205,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def Disconnect(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the disconnect operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isistrillpseudonode_173e4463dccc2001457569c77f3570e0.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isistrillpseudonode_173e4463dccc2001457569c77f3570e0.py index 24782be07..c1c2daa3e 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isistrillpseudonode_173e4463dccc2001457569c77f3570e0.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isistrillpseudonode_173e4463dccc2001457569c77f3570e0.py @@ -220,6 +220,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def Start(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the start operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isistrillrouter_a0dffe09cb3b7d2c96fc3b3507112129.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isistrillrouter_a0dffe09cb3b7d2c96fc3b3507112129.py index ee62ae63b..20199f259 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isistrillrouter_a0dffe09cb3b7d2c96fc3b3507112129.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isistrillrouter_a0dffe09cb3b7d2c96fc3b3507112129.py @@ -804,6 +804,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def IsisStartRouter(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the isisStartRouter operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isistrillsimrouter_7f0721f1a50df44db865ccea96c8f735.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isistrillsimrouter_7f0721f1a50df44db865ccea96c8f735.py index 914665d72..c4d096ac8 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isistrillsimrouter_7f0721f1a50df44db865ccea96c8f735.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isistrillsimrouter_7f0721f1a50df44db865ccea96c8f735.py @@ -547,6 +547,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def RestartDown(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the restartDown operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isistrillsimulatedtopologyconfig_75756af58887c54a1ba308c360c558c6.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isistrillsimulatedtopologyconfig_75756af58887c54a1ba308c360c558c6.py index b9accb825..1726f7304 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isistrillsimulatedtopologyconfig_75756af58887c54a1ba308c360c558c6.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isistrillsimulatedtopologyconfig_75756af58887c54a1ba308c360c558c6.py @@ -261,6 +261,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def Start(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the start operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isistrillucastmacconfig_a91c5b3e28b2bee04ff08d2e22fad1e2.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isistrillucastmacconfig_a91c5b3e28b2bee04ff08d2e22fad1e2.py index e0410cc6f..4ebbf333f 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isistrillucastmacconfig_a91c5b3e28b2bee04ff08d2e22fad1e2.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isistrillucastmacconfig_a91c5b3e28b2bee04ff08d2e22fad1e2.py @@ -264,6 +264,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def Start(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the start operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/l2hqosconfiglist_ad60832e8d7a25f523df493978d207eb.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/l2hqosconfiglist_ad60832e8d7a25f523df493978d207eb.py index ba16c858c..fe902849b 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/l2hqosconfiglist_ad60832e8d7a25f523df493978d207eb.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/l2hqosconfiglist_ad60832e8d7a25f523df493978d207eb.py @@ -316,6 +316,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/l2tpuserslist_ce8cd9708539a28d42c5e60e8ee06be6.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/l2tpuserslist_ce8cd9708539a28d42c5e60e8ee06be6.py index 92ec0de39..a2f5586c2 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/l2tpuserslist_ce8cd9708539a28d42c5e60e8ee06be6.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/l2tpuserslist_ce8cd9708539a28d42c5e60e8ee06be6.py @@ -1451,6 +1451,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/l3hqosconfiglist_e4b7d7588a02ced03144622ed1204c25.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/l3hqosconfiglist_e4b7d7588a02ced03144622ed1204c25.py index 5d3956a2d..9b3f9a675 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/l3hqosconfiglist_e4b7d7588a02ced03144622ed1204c25.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/l3hqosconfiglist_e4b7d7588a02ced03144622ed1204c25.py @@ -226,6 +226,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/l4hqosconfiglist_2a6816a36136a04d56df7f1df9b0ea06.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/l4hqosconfiglist_2a6816a36136a04d56df7f1df9b0ea06.py index 572e40a25..02a91640e 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/l4hqosconfiglist_2a6816a36136a04d56df7f1df9b0ea06.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/l4hqosconfiglist_2a6816a36136a04d56df7f1df9b0ea06.py @@ -437,6 +437,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/labelblocklist_7243cf48ef4a1cf284a8988d7ce69917.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/labelblocklist_7243cf48ef4a1cf284a8988d7ce69917.py index 492a8919e..77b9e956a 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/labelblocklist_7243cf48ef4a1cf284a8988d7ce69917.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/labelblocklist_7243cf48ef4a1cf284a8988d7ce69917.py @@ -211,6 +211,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/lac_92ac6d7a9bf02ade5331532b27bfa0ea.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/lac_92ac6d7a9bf02ade5331532b27bfa0ea.py index 891d25176..71cf2e007 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/lac_92ac6d7a9bf02ade5331532b27bfa0ea.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/lac_92ac6d7a9bf02ade5331532b27bfa0ea.py @@ -807,6 +807,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def RestartDown(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the restartDown operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/lacp_b6b488f98125e4a7318076cb1375941b.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/lacp_b6b488f98125e4a7318076cb1375941b.py index 1a2ef8104..d1cf8da2b 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/lacp_b6b488f98125e4a7318076cb1375941b.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/lacp_b6b488f98125e4a7318076cb1375941b.py @@ -675,6 +675,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def LacpStartPDU(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the lacpStartPDU operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/lagportlacp_ed42d76e076cab1a6c2369b757a5d616.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/lagportlacp_ed42d76e076cab1a6c2369b757a5d616.py index 236e5fcb1..592a91fb8 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/lagportlacp_ed42d76e076cab1a6c2369b757a5d616.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/lagportlacp_ed42d76e076cab1a6c2369b757a5d616.py @@ -675,6 +675,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def LacpStartPDU(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the lacpStartPDU operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/lagportstaticlag_f67759421ceee90b665b41bf19b8202d.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/lagportstaticlag_f67759421ceee90b665b41bf19b8202d.py index 70fa81c4b..aa47a1d51 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/lagportstaticlag_f67759421ceee90b665b41bf19b8202d.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/lagportstaticlag_f67759421ceee90b665b41bf19b8202d.py @@ -352,6 +352,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def RestartDown(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the restartDown operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ldpbasicrouter_53e2de40003674322c811a1ba519dbb6.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ldpbasicrouter_53e2de40003674322c811a1ba519dbb6.py index 73e4e4eb7..597b6c591 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ldpbasicrouter_53e2de40003674322c811a1ba519dbb6.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ldpbasicrouter_53e2de40003674322c811a1ba519dbb6.py @@ -806,6 +806,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def ClearAllLearnedInfo(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the clearAllLearnedInfo operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ldpbasicrouterv6_b554f464616f39033d7acad4846e556c.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ldpbasicrouterv6_b554f464616f39033d7acad4846e556c.py index 66ff11948..47906b68e 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ldpbasicrouterv6_b554f464616f39033d7acad4846e556c.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ldpbasicrouterv6_b554f464616f39033d7acad4846e556c.py @@ -806,6 +806,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def ClearAllLearnedInfo(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the clearAllLearnedInfo operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ldpconnectedinterface_be8d40bb9f96a3d7371ddaf597237ff0.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ldpconnectedinterface_be8d40bb9f96a3d7371ddaf597237ff0.py index a0ac2a04f..ea4b28956 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ldpconnectedinterface_be8d40bb9f96a3d7371ddaf597237ff0.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ldpconnectedinterface_be8d40bb9f96a3d7371ddaf597237ff0.py @@ -449,6 +449,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def RestartDown(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the restartDown operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ldpfecproperty_9d07999903dc2acadf9a2f44f8a94399.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ldpfecproperty_9d07999903dc2acadf9a2f44f8a94399.py index 71bed0819..5132243d5 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ldpfecproperty_9d07999903dc2acadf9a2f44f8a94399.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ldpfecproperty_9d07999903dc2acadf9a2f44f8a94399.py @@ -320,6 +320,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def Start(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the start operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ldpipv6fecproperty_408cfe80a37623da202d7739fba9b830.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ldpipv6fecproperty_408cfe80a37623da202d7739fba9b830.py index 26c36293f..4bc764932 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ldpipv6fecproperty_408cfe80a37623da202d7739fba9b830.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ldpipv6fecproperty_408cfe80a37623da202d7739fba9b830.py @@ -320,6 +320,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def Start(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the start operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ldpleafrangev4_64ffd765b330a8258acc11f24f129e85.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ldpleafrangev4_64ffd765b330a8258acc11f24f129e85.py index bd08218a9..9c103a3bc 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ldpleafrangev4_64ffd765b330a8258acc11f24f129e85.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ldpleafrangev4_64ffd765b330a8258acc11f24f129e85.py @@ -425,6 +425,27 @@ def ActivateLeafRange(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("activateLeafRange", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def DeactivateLeafRange(self, *args, **kwargs): # type: (*Any, **Any) -> Union[List[str], None] """Executes the deactivateLeafRange operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ldpleafrangev6_3dad6635b6afcf8ce78906311e26bfe0.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ldpleafrangev6_3dad6635b6afcf8ce78906311e26bfe0.py index 88129b6a9..66dcdbba9 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ldpleafrangev6_3dad6635b6afcf8ce78906311e26bfe0.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ldpleafrangev6_3dad6635b6afcf8ce78906311e26bfe0.py @@ -405,6 +405,27 @@ def ActivateLeafRange(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("activateLeafRange", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def DeactivateLeafRange(self, *args, **kwargs): # type: (*Any, **Any) -> Union[List[str], None] """Executes the deactivateLeafRange operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ldplpbinterface_a8182405aecaf64e394e960bc0e2f18f.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ldplpbinterface_a8182405aecaf64e394e960bc0e2f18f.py index 94028b2c8..6bda045b7 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ldplpbinterface_a8182405aecaf64e394e960bc0e2f18f.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ldplpbinterface_a8182405aecaf64e394e960bc0e2f18f.py @@ -268,6 +268,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def RestartDown(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the restartDown operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ldpotherpws_c7a119da3cff2b6dc1e78257b76d70b9.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ldpotherpws_c7a119da3cff2b6dc1e78257b76d70b9.py index 529eb9a96..6783244a7 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ldpotherpws_c7a119da3cff2b6dc1e78257b76d70b9.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ldpotherpws_c7a119da3cff2b6dc1e78257b76d70b9.py @@ -1123,6 +1123,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def PurgeVCRanges(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the purgeVCRanges operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ldppseudorouter_5f6f01cad846224121837f6b8e6bf015.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ldppseudorouter_5f6f01cad846224121837f6b8e6bf015.py index 70184404b..566ab7eb1 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ldppseudorouter_5f6f01cad846224121837f6b8e6bf015.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ldppseudorouter_5f6f01cad846224121837f6b8e6bf015.py @@ -205,6 +205,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def Advertise(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the advertise operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ldppwvpls_e691d6b250f877cef17952ec6e6b30b9.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ldppwvpls_e691d6b250f877cef17952ec6e6b30b9.py index 3d3f8f8eb..29e5619c4 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ldppwvpls_e691d6b250f877cef17952ec6e6b30b9.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ldppwvpls_e691d6b250f877cef17952ec6e6b30b9.py @@ -904,6 +904,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def PurgeVCRanges(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the purgeVCRanges operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ldprootrangev4_dff1472f0e097599081a58904541ec31.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ldprootrangev4_dff1472f0e097599081a58904541ec31.py index a82b90de4..c7008f7be 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ldprootrangev4_dff1472f0e097599081a58904541ec31.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ldprootrangev4_dff1472f0e097599081a58904541ec31.py @@ -375,6 +375,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ldprootrangev6_45885b6f21e934c88aa56da8381f4ec3.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ldprootrangev6_45885b6f21e934c88aa56da8381f4ec3.py index 72c4a8cd1..eff5b9290 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ldprootrangev6_45885b6f21e934c88aa56da8381f4ec3.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ldprootrangev6_45885b6f21e934c88aa56da8381f4ec3.py @@ -355,6 +355,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ldpsimulatedtopologyconfig_2643921a67ce50542ef3fd34b8bbaa14.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ldpsimulatedtopologyconfig_2643921a67ce50542ef3fd34b8bbaa14.py index e8ea88bb7..5c3cdd237 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ldpsimulatedtopologyconfig_2643921a67ce50542ef3fd34b8bbaa14.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ldpsimulatedtopologyconfig_2643921a67ce50542ef3fd34b8bbaa14.py @@ -192,6 +192,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def Start(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the start operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ldptargetedipv6peer_cf8c841244e1f69d674a5c2fa9c4b473.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ldptargetedipv6peer_cf8c841244e1f69d674a5c2fa9c4b473.py index 23afacbc9..97be874d8 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ldptargetedipv6peer_cf8c841244e1f69d674a5c2fa9c4b473.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ldptargetedipv6peer_cf8c841244e1f69d674a5c2fa9c4b473.py @@ -249,6 +249,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ldptargetedpeer_3f5aecf84abee4c45cfdedcf70163bfc.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ldptargetedpeer_3f5aecf84abee4c45cfdedcf70163bfc.py index 94836851c..754feddde 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ldptargetedpeer_3f5aecf84abee4c45cfdedcf70163bfc.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ldptargetedpeer_3f5aecf84abee4c45cfdedcf70163bfc.py @@ -249,6 +249,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ldptargetedrouter_85c7a9993d80996c22a9dbd739df9692.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ldptargetedrouter_85c7a9993d80996c22a9dbd739df9692.py index f5b5e5795..c1415ef68 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ldptargetedrouter_85c7a9993d80996c22a9dbd739df9692.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ldptargetedrouter_85c7a9993d80996c22a9dbd739df9692.py @@ -944,6 +944,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def ClearAllLearnedInfo(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the clearAllLearnedInfo operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ldptargetedrouterv6_e86e77f17dfccefac9e15769756089cf.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ldptargetedrouterv6_e86e77f17dfccefac9e15769756089cf.py index 2e12d6621..a0d70211c 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ldptargetedrouterv6_e86e77f17dfccefac9e15769756089cf.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ldptargetedrouterv6_e86e77f17dfccefac9e15769756089cf.py @@ -944,6 +944,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def ClearAllLearnedInfo(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the clearAllLearnedInfo operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ldptlvlist_30bf84fe9b838fe1c5800e633f13cff2.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ldptlvlist_30bf84fe9b838fe1c5800e633f13cff2.py index 588247956..2b8f9a4ae 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ldptlvlist_30bf84fe9b838fe1c5800e633f13cff2.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ldptlvlist_30bf84fe9b838fe1c5800e633f13cff2.py @@ -222,6 +222,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ldpv6connectedinterface_c2cbc5e29b8ad12450804681ee48ce22.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ldpv6connectedinterface_c2cbc5e29b8ad12450804681ee48ce22.py index 95460792e..26dd9a156 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ldpv6connectedinterface_c2cbc5e29b8ad12450804681ee48ce22.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ldpv6connectedinterface_c2cbc5e29b8ad12450804681ee48ce22.py @@ -449,6 +449,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def RestartDown(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the restartDown operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ldpv6loopbackinterface_1c613e9df4bfa76dac19166ff3ca5017.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ldpv6loopbackinterface_1c613e9df4bfa76dac19166ff3ca5017.py index 3a468e888..9eae5e9cd 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ldpv6loopbackinterface_1c613e9df4bfa76dac19166ff3ca5017.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ldpv6loopbackinterface_1c613e9df4bfa76dac19166ff3ca5017.py @@ -279,6 +279,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def RestartDown(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the restartDown operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ldpvplsbgpad_0f32fa32863dd9e13cd7e772a3fb8771.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ldpvplsbgpad_0f32fa32863dd9e13cd7e772a3fb8771.py index 1861f4669..d9d3e95e9 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ldpvplsbgpad_0f32fa32863dd9e13cd7e772a3fb8771.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ldpvplsbgpad_0f32fa32863dd9e13cd7e772a3fb8771.py @@ -1026,6 +1026,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def PurgeVCRanges(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the purgeVCRanges operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/actionlist_57354c012aa6110e6483c4eaf33a2438.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/actionlist_57354c012aa6110e6483c4eaf33a2438.py index f666ad893..7bce230a8 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/actionlist_57354c012aa6110e6483c4eaf33a2438.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/actionlist_57354c012aa6110e6483c4eaf33a2438.py @@ -294,3 +294,24 @@ def read(self, href): - ServerError: The server has encountered an uncategorized error condition """ return self._read(href) + + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/celltable_bef6632b895c626cc7174eb89a76162c.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/celltable_bef6632b895c626cc7174eb89a76162c.py index af51f3aa0..b0db85366 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/celltable_bef6632b895c626cc7174eb89a76162c.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/celltable_bef6632b895c626cc7174eb89a76162c.py @@ -159,3 +159,24 @@ def read(self, href): - ServerError: The server has encountered an uncategorized error condition """ return self._read(href) + + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/col_82c9f692cc4dfbaf274869de8a335e5e.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/col_82c9f692cc4dfbaf274869de8a335e5e.py index cd704cc07..12d39d4a8 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/col_82c9f692cc4dfbaf274869de8a335e5e.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/col_82c9f692cc4dfbaf274869de8a335e5e.py @@ -145,3 +145,24 @@ def read(self, href): - ServerError: The server has encountered an uncategorized error condition """ return self._read(href) + + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + DEPRECATED addDeleteTags(Arg2=bool, async_operation=bool) + --------------------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/flowaggrmatchprofile_2ba597be74523b48fa398c0fe5ce3acf.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/flowaggrmatchprofile_2ba597be74523b48fa398c0fe5ce3acf.py index ba5980b02..5681b35ad 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/flowaggrmatchprofile_2ba597be74523b48fa398c0fe5ce3acf.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/flowaggrmatchprofile_2ba597be74523b48fa398c0fe5ce3acf.py @@ -174,6 +174,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def AddFromTemplate(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the addFromTemplate operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/flowstatmatchprofile_d56a9c24805ae788ef01a9b7a86babf1.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/flowstatmatchprofile_d56a9c24805ae788ef01a9b7a86babf1.py index 32c01f447..cc2bb163c 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/flowstatmatchprofile_d56a9c24805ae788ef01a9b7a86babf1.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/flowstatmatchprofile_d56a9c24805ae788ef01a9b7a86babf1.py @@ -174,6 +174,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def AddFromTemplate(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the addFromTemplate operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/learnedinfo_ff4d5e5643a63bccb40b6cf64fc58100.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/learnedinfo_ff4d5e5643a63bccb40b6cf64fc58100.py index 38b8b02e2..ce2cd6d71 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/learnedinfo_ff4d5e5643a63bccb40b6cf64fc58100.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/learnedinfo_ff4d5e5643a63bccb40b6cf64fc58100.py @@ -191,3 +191,24 @@ def read(self, href): - ServerError: The server has encountered an uncategorized error condition """ return self._read(href) + + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/learnedinfoupdate_0f2cd377c44f7dfc2c15b68516dc2707.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/learnedinfoupdate_0f2cd377c44f7dfc2c15b68516dc2707.py index 06192d7a9..e44bf64af 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/learnedinfoupdate_0f2cd377c44f7dfc2c15b68516dc2707.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/learnedinfoupdate_0f2cd377c44f7dfc2c15b68516dc2707.py @@ -111,3 +111,24 @@ def read(self, href): - ServerError: The server has encountered an uncategorized error condition """ return self._read(href) + + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/learnedinfoupdate_c16222bcf67d5a605c480c375e0fa938.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/learnedinfoupdate_c16222bcf67d5a605c480c375e0fa938.py index c2ce697bf..c1d7d077e 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/learnedinfoupdate_c16222bcf67d5a605c480c375e0fa938.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/learnedinfoupdate_c16222bcf67d5a605c480c375e0fa938.py @@ -108,3 +108,24 @@ def read(self, href): - ServerError: The server has encountered an uncategorized error condition """ return self._read(href) + + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/learnedinfoupdate_dd43ce3af7af258dc032dc87aa945c8b.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/learnedinfoupdate_dd43ce3af7af258dc032dc87aa945c8b.py index b3c1e2b71..ffa409ff5 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/learnedinfoupdate_dd43ce3af7af258dc032dc87aa945c8b.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/learnedinfoupdate_dd43ce3af7af258dc032dc87aa945c8b.py @@ -223,3 +223,24 @@ def read(self, href): - ServerError: The server has encountered an uncategorized error condition """ return self._read(href) + + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/learnedinfoupdate_f0f5d88734eb95208b4f723819a57481.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/learnedinfoupdate_f0f5d88734eb95208b4f723819a57481.py index debd94c33..a7de01c0a 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/learnedinfoupdate_f0f5d88734eb95208b4f723819a57481.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/learnedinfoupdate_f0f5d88734eb95208b4f723819a57481.py @@ -111,3 +111,24 @@ def read(self, href): - ServerError: The server has encountered an uncategorized error condition """ return self._read(href) + + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/mplsoamsbfdresponderlearnedinfo_2e820550fd3f57d4f0b6d57e32ffa0df.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/mplsoamsbfdresponderlearnedinfo_2e820550fd3f57d4f0b6d57e32ffa0df.py index 372b20c30..df22e69ed 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/mplsoamsbfdresponderlearnedinfo_2e820550fd3f57d4f0b6d57e32ffa0df.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/mplsoamsbfdresponderlearnedinfo_2e820550fd3f57d4f0b6d57e32ffa0df.py @@ -89,6 +89,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def PauseSessions(self, *args, **kwargs): # type: (*Any, **Any) -> Union[List[str], None] """Executes the pauseSessions operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/ofchannellearnedinfo_dc0fb9c204191e64878422c6a8604d01.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/ofchannellearnedinfo_dc0fb9c204191e64878422c6a8604d01.py index add22be80..ea2fb0a92 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/ofchannellearnedinfo_dc0fb9c204191e64878422c6a8604d01.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/ofchannellearnedinfo_dc0fb9c204191e64878422c6a8604d01.py @@ -1910,6 +1910,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def SendOnDemandMessage(self, *args, **kwargs): # type: (*Any, **Any) -> Union[List[str], None] """Executes the sendOnDemandMessage operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/packetoutactionprofile_7087734f0df99cfe7bfd9afab773a120.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/packetoutactionprofile_7087734f0df99cfe7bfd9afab773a120.py index 915315a08..4539dcf09 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/packetoutactionprofile_7087734f0df99cfe7bfd9afab773a120.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/packetoutactionprofile_7087734f0df99cfe7bfd9afab773a120.py @@ -174,6 +174,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def AddFromTemplate(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the addFromTemplate operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/pcebasicrsvpsynclspupdateparams_a744c997c9b882a5c54b978095fc5398.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/pcebasicrsvpsynclspupdateparams_a744c997c9b882a5c54b978095fc5398.py index a146871dd..d21dd96cf 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/pcebasicrsvpsynclspupdateparams_a744c997c9b882a5c54b978095fc5398.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/pcebasicrsvpsynclspupdateparams_a744c997c9b882a5c54b978095fc5398.py @@ -827,6 +827,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def SendPcUpdate(self, *args, **kwargs): # type: (*Any, **Any) -> Union[List[str], None] """Executes the sendPcUpdate operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/pcebasicsrsynclspupdateparams_fba7719ac304788aa97d45eb6b6115cb.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/pcebasicsrsynclspupdateparams_fba7719ac304788aa97d45eb6b6115cb.py index 6ae0be0e9..9f40e50f4 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/pcebasicsrsynclspupdateparams_fba7719ac304788aa97d45eb6b6115cb.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/pcebasicsrsynclspupdateparams_fba7719ac304788aa97d45eb6b6115cb.py @@ -824,6 +824,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def SendPcUpdate(self, *args, **kwargs): # type: (*Any, **Any) -> Union[List[str], None] """Executes the sendPcUpdate operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/pcebasicsrv6synclspupdateparams_86ab1246139fe62f74705dedfe30b987.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/pcebasicsrv6synclspupdateparams_86ab1246139fe62f74705dedfe30b987.py index ebb98bd73..9d2777fc4 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/pcebasicsrv6synclspupdateparams_86ab1246139fe62f74705dedfe30b987.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/pcebasicsrv6synclspupdateparams_86ab1246139fe62f74705dedfe30b987.py @@ -827,6 +827,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def SendPcUpdate(self, *args, **kwargs): # type: (*Any, **Any) -> Union[List[str], None] """Executes the sendPcUpdate operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/pcedetailedrsvpsynclspupdateparams_0c9e029a38fba6fae93fa53a8f46b4bb.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/pcedetailedrsvpsynclspupdateparams_0c9e029a38fba6fae93fa53a8f46b4bb.py index 01494f090..eca209da8 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/pcedetailedrsvpsynclspupdateparams_0c9e029a38fba6fae93fa53a8f46b4bb.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/pcedetailedrsvpsynclspupdateparams_0c9e029a38fba6fae93fa53a8f46b4bb.py @@ -827,6 +827,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def SendPcUpdate(self, *args, **kwargs): # type: (*Any, **Any) -> Union[List[str], None] """Executes the sendPcUpdate operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/pcedetailedsrsynclspupdateparams_951cdbe14befd4ee3c5048628bfc6d65.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/pcedetailedsrsynclspupdateparams_951cdbe14befd4ee3c5048628bfc6d65.py index bffa366eb..8a9c7c86a 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/pcedetailedsrsynclspupdateparams_951cdbe14befd4ee3c5048628bfc6d65.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/pcedetailedsrsynclspupdateparams_951cdbe14befd4ee3c5048628bfc6d65.py @@ -824,6 +824,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def SendPcUpdate(self, *args, **kwargs): # type: (*Any, **Any) -> Union[List[str], None] """Executes the sendPcUpdate operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/pcedetailedsrv6synclspupdateparams_914bb4f12b1f9c2014caf436b5fa2d28.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/pcedetailedsrv6synclspupdateparams_914bb4f12b1f9c2014caf436b5fa2d28.py index 117f64775..39d42f210 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/pcedetailedsrv6synclspupdateparams_914bb4f12b1f9c2014caf436b5fa2d28.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/pcedetailedsrv6synclspupdateparams_914bb4f12b1f9c2014caf436b5fa2d28.py @@ -827,6 +827,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def SendPcUpdate(self, *args, **kwargs): # type: (*Any, **Any) -> Union[List[str], None] """Executes the sendPcUpdate operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/pceptepathbindingtlvlist_12acfda98ab8bf91c183199c30f2f953.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/pceptepathbindingtlvlist_12acfda98ab8bf91c183199c30f2f953.py index 207e03ba3..b426ce39e 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/pceptepathbindingtlvlist_12acfda98ab8bf91c183199c30f2f953.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/pceptepathbindingtlvlist_12acfda98ab8bf91c183199c30f2f953.py @@ -286,6 +286,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/pceupdateassociationobjectlist_067a0a0a0d8b8dbf8239b459127bf201.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/pceupdateassociationobjectlist_067a0a0a0d8b8dbf8239b459127bf201.py index 91598e74f..c87224c91 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/pceupdateassociationobjectlist_067a0a0a0d8b8dbf8239b459127bf201.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/pceupdateassociationobjectlist_067a0a0a0d8b8dbf8239b459127bf201.py @@ -494,6 +494,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/pceupdatersvperosubobjectlist_f72a62fe60fa1ddf919cc7fba7858d6e.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/pceupdatersvperosubobjectlist_f72a62fe60fa1ddf919cc7fba7858d6e.py index 3d3c11c89..777494b97 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/pceupdatersvperosubobjectlist_f72a62fe60fa1ddf919cc7fba7858d6e.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/pceupdatersvperosubobjectlist_f72a62fe60fa1ddf919cc7fba7858d6e.py @@ -181,6 +181,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/pceupdatersvpmetricsubobjectlist_fd8fa1e77098fa6f4bc87b12a1ed3fcb.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/pceupdatersvpmetricsubobjectlist_fd8fa1e77098fa6f4bc87b12a1ed3fcb.py index 89dd55fab..551aef7ca 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/pceupdatersvpmetricsubobjectlist_fd8fa1e77098fa6f4bc87b12a1ed3fcb.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/pceupdatersvpmetricsubobjectlist_fd8fa1e77098fa6f4bc87b12a1ed3fcb.py @@ -144,6 +144,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/pceupdatesrerosubobjectlist_d9e41e4990a041fcca2fc6fd076cf303.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/pceupdatesrerosubobjectlist_d9e41e4990a041fcca2fc6fd076cf303.py index 82dcd5f0a..c8bad8ca2 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/pceupdatesrerosubobjectlist_d9e41e4990a041fcca2fc6fd076cf303.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/pceupdatesrerosubobjectlist_d9e41e4990a041fcca2fc6fd076cf303.py @@ -375,6 +375,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/pceupdatesrmetricsubobjectlist_161f8505e21b0db145157226f5332ddd.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/pceupdatesrmetricsubobjectlist_161f8505e21b0db145157226f5332ddd.py index 6e281ea61..16b6721ea 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/pceupdatesrmetricsubobjectlist_161f8505e21b0db145157226f5332ddd.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/pceupdatesrmetricsubobjectlist_161f8505e21b0db145157226f5332ddd.py @@ -144,6 +144,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/pceupdatesrv6erosubobjectlist_bbcc97d115dea1f934b86dd3b1d0e7e2.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/pceupdatesrv6erosubobjectlist_bbcc97d115dea1f934b86dd3b1d0e7e2.py index 95adeb35a..1d729543e 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/pceupdatesrv6erosubobjectlist_bbcc97d115dea1f934b86dd3b1d0e7e2.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/pceupdatesrv6erosubobjectlist_bbcc97d115dea1f934b86dd3b1d0e7e2.py @@ -348,6 +348,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/pceupdatesrv6metricsubobjectlist_39e8f2176cc00efc53dbcdedfed0385e.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/pceupdatesrv6metricsubobjectlist_39e8f2176cc00efc53dbcdedfed0385e.py index 735ce8ed3..7b399181c 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/pceupdatesrv6metricsubobjectlist_39e8f2176cc00efc53dbcdedfed0385e.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/pceupdatesrv6metricsubobjectlist_39e8f2176cc00efc53dbcdedfed0385e.py @@ -144,6 +144,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/pceupdatexrosubobjectlist_3cb16b2513bf72ff7ee4a5e0387625cf.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/pceupdatexrosubobjectlist_3cb16b2513bf72ff7ee4a5e0387625cf.py index a3a0e3f06..4878ac88b 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/pceupdatexrosubobjectlist_3cb16b2513bf72ff7ee4a5e0387625cf.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/pceupdatexrosubobjectlist_3cb16b2513bf72ff7ee4a5e0387625cf.py @@ -272,6 +272,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/row_dbafc34e8c4bf46a4ac7b647400c39d3.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/row_dbafc34e8c4bf46a4ac7b647400c39d3.py index 2979e0fe7..56b655f3c 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/row_dbafc34e8c4bf46a4ac7b647400c39d3.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/row_dbafc34e8c4bf46a4ac7b647400c39d3.py @@ -105,3 +105,24 @@ def read(self, href): - ServerError: The server has encountered an uncategorized error condition """ return self._read(href) + + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/srv6oamsbfdresponderlearnedinfo_f23e4b1863e7d88a413da0903c4db161.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/srv6oamsbfdresponderlearnedinfo_f23e4b1863e7d88a413da0903c4db161.py index 330b92ae7..f6ac3e5d6 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/srv6oamsbfdresponderlearnedinfo_f23e4b1863e7d88a413da0903c4db161.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/srv6oamsbfdresponderlearnedinfo_f23e4b1863e7d88a413da0903c4db161.py @@ -89,6 +89,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def PauseSessions(self, *args, **kwargs): # type: (*Any, **Any) -> Union[List[str], None] """Executes the pauseSessions operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/table_5866003f22dc964c958a5bc4c3040ef4.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/table_5866003f22dc964c958a5bc4c3040ef4.py index 162aa0d22..3769e4c31 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/table_5866003f22dc964c958a5bc4c3040ef4.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/table_5866003f22dc964c958a5bc4c3040ef4.py @@ -171,3 +171,24 @@ def read(self, href): - ServerError: The server has encountered an uncategorized error condition """ return self._read(href) + + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedlspindex_c701313bed13ee8aba049d45e00b1355.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedlspindex_c701313bed13ee8aba049d45e00b1355.py index 6e3a909fa..feff51d7a 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedlspindex_c701313bed13ee8aba049d45e00b1355.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedlspindex_c701313bed13ee8aba049d45e00b1355.py @@ -91,3 +91,24 @@ def read(self, href): - ServerError: The server has encountered an uncategorized error condition """ return self._read(href) + + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedmsgdbtype_d3eeda9354841cd7f27654332e67c26b.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedmsgdbtype_d3eeda9354841cd7f27654332e67c26b.py index c10519e1e..f0f37eb6a 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedmsgdbtype_d3eeda9354841cd7f27654332e67c26b.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedmsgdbtype_d3eeda9354841cd7f27654332e67c26b.py @@ -91,3 +91,24 @@ def read(self, href): - ServerError: The server has encountered an uncategorized error condition """ return self._read(href) + + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/level_2d6a41b0a919905f176ad907ea4fdab6.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/level_2d6a41b0a919905f176ad907ea4fdab6.py index 7134d8c19..14f7119f3 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/level_2d6a41b0a919905f176ad907ea4fdab6.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/level_2d6a41b0a919905f176ad907ea4fdab6.py @@ -129,3 +129,24 @@ def read(self, href): - ServerError: The server has encountered an uncategorized error condition """ return self._read(href) + + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/lightweightdhcp6relaytlvprofile_987f303b51886f2a61c9c1388518f037.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/lightweightdhcp6relaytlvprofile_987f303b51886f2a61c9c1388518f037.py index 40619219d..3dbc34eda 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/lightweightdhcp6relaytlvprofile_987f303b51886f2a61c9c1388518f037.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/lightweightdhcp6relaytlvprofile_987f303b51886f2a61c9c1388518f037.py @@ -154,3 +154,24 @@ def read(self, href): - ServerError: The server has encountered an uncategorized error condition """ return self._read(href) + + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/lightweightdhcpv6relayagent_f435ed323783b3dadd80a122fef5c031.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/lightweightdhcpv6relayagent_f435ed323783b3dadd80a122fef5c031.py index aabfc05df..101958319 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/lightweightdhcpv6relayagent_f435ed323783b3dadd80a122fef5c031.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/lightweightdhcpv6relayagent_f435ed323783b3dadd80a122fef5c031.py @@ -374,6 +374,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def RestartDown(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the restartDown operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/link_3c4eb8730b5826d36118e54600a5188b.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/link_3c4eb8730b5826d36118e54600a5188b.py index 4e9bda4e2..be85c526c 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/link_3c4eb8730b5826d36118e54600a5188b.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/link_3c4eb8730b5826d36118e54600a5188b.py @@ -216,6 +216,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/linklsaroutes_a80c9071154775869e327a02125984ee.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/linklsaroutes_a80c9071154775869e327a02125984ee.py index 08ca7b5e4..f8b698fc3 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/linklsaroutes_a80c9071154775869e327a02125984ee.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/linklsaroutes_a80c9071154775869e327a02125984ee.py @@ -618,6 +618,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def Advertise(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the advertise operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/linktable_208cab015f6cc01eff274874a65e7fec.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/linktable_208cab015f6cc01eff274874a65e7fec.py index 78ec5b3b2..448e69c56 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/linktable_208cab015f6cc01eff274874a65e7fec.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/linktable_208cab015f6cc01eff274874a65e7fec.py @@ -128,3 +128,24 @@ def read(self, href): - ServerError: The server has encountered an uncategorized error condition """ return self._read(href) + + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/lns_a4b3be663ffb1dfb1f114cda5dbbcd4e.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/lns_a4b3be663ffb1dfb1f114cda5dbbcd4e.py index a63e7ee11..a65d83e14 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/lns_a4b3be663ffb1dfb1f114cda5dbbcd4e.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/lns_a4b3be663ffb1dfb1f114cda5dbbcd4e.py @@ -814,6 +814,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def RestartDown(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the restartDown operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/lnsauthcredentials_caa048d94ca4e6927df8160f32c829bf.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/lnsauthcredentials_caa048d94ca4e6927df8160f32c829bf.py index 0e89dbe9e..c1fbefd0f 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/lnsauthcredentials_caa048d94ca4e6927df8160f32c829bf.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/lnsauthcredentials_caa048d94ca4e6927df8160f32c829bf.py @@ -164,6 +164,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids(self, PortNames=None, LacHostName=None, LacSecret=None): """Base class infrastructure that gets a list of lnsAuthCredentials device ids encapsulated by this object. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/localintefaceid_ae40044a30782cee0087b08a288efe1d.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/localintefaceid_ae40044a30782cee0087b08a288efe1d.py index 50a0edfd0..21241d666 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/localintefaceid_ae40044a30782cee0087b08a288efe1d.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/localintefaceid_ae40044a30782cee0087b08a288efe1d.py @@ -91,3 +91,24 @@ def read(self, href): - ServerError: The server has encountered an uncategorized error condition """ return self._read(href) + + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/localipv4address_b81d048af8b00be0fd4fded7e4d28574.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/localipv4address_b81d048af8b00be0fd4fded7e4d28574.py index 75037cce3..32ec1a738 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/localipv4address_b81d048af8b00be0fd4fded7e4d28574.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/localipv4address_b81d048af8b00be0fd4fded7e4d28574.py @@ -91,3 +91,24 @@ def read(self, href): - ServerError: The server has encountered an uncategorized error condition """ return self._read(href) + + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/localipv6address_db0b032b0167051f08ee1b875f3bb0d5.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/localipv6address_db0b032b0167051f08ee1b875f3bb0d5.py index 5bec5e885..6c0776012 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/localipv6address_db0b032b0167051f08ee1b875f3bb0d5.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/localipv6address_db0b032b0167051f08ee1b875f3bb0d5.py @@ -91,3 +91,24 @@ def read(self, href): - ServerError: The server has encountered an uncategorized error condition """ return self._read(href) + + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/localnodeid_a2150e20db7b7e8a73277c2b4581702d.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/localnodeid_a2150e20db7b7e8a73277c2b4581702d.py index 721ef4050..9bd9fd9db 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/localnodeid_a2150e20db7b7e8a73277c2b4581702d.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/localnodeid_a2150e20db7b7e8a73277c2b4581702d.py @@ -91,3 +91,24 @@ def read(self, href): - ServerError: The server has encountered an uncategorized error condition """ return self._read(href) + + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/macpools_414597218f17eaa9c882bf703e2d0bdd.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/macpools_414597218f17eaa9c882bf703e2d0bdd.py index a1df09fe9..36d6f9a4a 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/macpools_414597218f17eaa9c882bf703e2d0bdd.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/macpools_414597218f17eaa9c882bf703e2d0bdd.py @@ -522,6 +522,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def Start(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the start operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/macsec_8816f28c50db5a9224d83bc7b8e0744d.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/macsec_8816f28c50db5a9224d83bc7b8e0744d.py index 5107cca16..37f75af53 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/macsec_8816f28c50db5a9224d83bc7b8e0744d.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/macsec_8816f28c50db5a9224d83bc7b8e0744d.py @@ -165,13 +165,13 @@ def Dhcpv6client(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.dhcpv6client_355391ba11ab3c1555c827e2e4ac3c4c.Dhcpv6client): An instance of the Dhcpv6client class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.dhcpv6client_64480d87e9c578f0a0b7d3415d792d7e.Dhcpv6client): An instance of the Dhcpv6client class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.dhcpv6client_355391ba11ab3c1555c827e2e4ac3c4c import ( + from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.dhcpv6client_64480d87e9c578f0a0b7d3415d792d7e import ( Dhcpv6client, ) @@ -1488,6 +1488,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def RestartDown(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the restartDown operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/manager_c6443684a3a8badebe021783a46d1b90.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/manager_c6443684a3a8badebe021783a46d1b90.py index 415ba0885..00eec4e3e 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/manager_c6443684a3a8badebe021783a46d1b90.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/manager_c6443684a3a8badebe021783a46d1b90.py @@ -177,6 +177,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, ManagerActive=None, ManagerIp=None, TcpPort=None ): diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/matchaction_374907a1c7c7401f92b5c005c8ea16f6.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/matchaction_374907a1c7c7401f92b5c005c8ea16f6.py index 2642ebf6c..961fa1edb 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/matchaction_374907a1c7c7401f92b5c005c8ea16f6.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/matchaction_374907a1c7c7401f92b5c005c8ea16f6.py @@ -303,3 +303,24 @@ def read(self, href): - ServerError: The server has encountered an uncategorized error condition """ return self._read(href) + + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/matchcriteria_0cfbf8546f5ee9d503c47b3a37bded66.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/matchcriteria_0cfbf8546f5ee9d503c47b3a37bded66.py index 6b4cfda36..eb6019126 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/matchcriteria_0cfbf8546f5ee9d503c47b3a37bded66.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/matchcriteria_0cfbf8546f5ee9d503c47b3a37bded66.py @@ -262,3 +262,24 @@ def read(self, href): - ServerError: The server has encountered an uncategorized error condition """ return self._read(href) + + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/mdlevels_139c757bfb085e85b81902e33a549b1f.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/mdlevels_139c757bfb085e85b81902e33a549b1f.py index a95a3a75d..cc4bd50d0 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/mdlevels_139c757bfb085e85b81902e33a549b1f.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/mdlevels_139c757bfb085e85b81902e33a549b1f.py @@ -190,6 +190,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/meters_8b28210732dd4e9a4bab19a7e6241a11.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/meters_8b28210732dd4e9a4bab19a7e6241a11.py index 302cddee4..7b9b519b3 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/meters_8b28210732dd4e9a4bab19a7e6241a11.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/meters_8b28210732dd4e9a4bab19a7e6241a11.py @@ -287,6 +287,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def SendAllMeterAdd(self, *args, **kwargs): # type: (*Any, **Any) -> Union[List[str], None] """Executes the sendAllMeterAdd operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/microbfdv4_141c58b1c08e07212b7c46d9ec8495c1.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/microbfdv4_141c58b1c08e07212b7c46d9ec8495c1.py new file mode 100644 index 000000000..22d0e2335 --- /dev/null +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/microbfdv4_141c58b1c08e07212b7c46d9ec8495c1.py @@ -0,0 +1,991 @@ +# MIT LICENSE +# +# Copyright 1997 - 2020 by IXIA Keysight +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), +# to deal in the Software without restriction, including without limitation +# the rights to use, copy, modify, merge, publish, distribute, sublicense, +# and/or sell copies of the Software, and to permit persons to whom the +# Software is furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +# THE SOFTWARE. +import sys +from ixnetwork_restpy.base import Base +from ixnetwork_restpy.files import Files + +if sys.version_info >= (3, 5): + from typing import List, Any, Union + + +class Microbfdv4(Base): + """MicroBFDv4 (Device) level Configuration + The Microbfdv4 class encapsulates a list of microbfdv4 resources that are managed by the user. + A list of resources can be retrieved from the server using the Microbfdv4.find() method. + The list can be managed by using the Microbfdv4.add() and Microbfdv4.remove() methods. + """ + + __slots__ = () + _SDM_NAME = "microbfdv4" + _SDM_ATT_MAP = { + "Active": "active", + "ConnectedVia": "connectedVia", + "Count": "count", + "CustomRxInterval": "customRxInterval", + "CustomTxInterval": "customTxInterval", + "DescriptiveName": "descriptiveName", + "DestinationIP4Address": "destinationIP4Address", + "DestinationMac": "destinationMac", + "EnableDemandMode": "enableDemandMode", + "Errors": "errors", + "FlapTxIntervals": "flapTxIntervals", + "IpDiffServ": "ipDiffServ", + "MinRxInterval": "minRxInterval", + "Multiplier": "multiplier", + "Name": "name", + "PollInterval": "pollInterval", + "SessionStatus": "sessionStatus", + "SourceIP4Address": "sourceIP4Address", + "SourceMacAddress": "sourceMacAddress", + "StackedLayers": "stackedLayers", + "StateCounts": "stateCounts", + "Status": "status", + "TimeoutMultiplier": "timeoutMultiplier", + "TxInterval": "txInterval", + } + _SDM_ENUM_MAP = { + "status": [ + "configured", + "error", + "mixed", + "notStarted", + "started", + "starting", + "stopping", + ], + } + + def __init__(self, parent, list_op=False): + super(Microbfdv4, self).__init__(parent, list_op) + + @property + def LearnedInfo(self): + """ + Returns + ------- + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.learnedinfo.learnedinfo_ff4d5e5643a63bccb40b6cf64fc58100.LearnedInfo): An instance of the LearnedInfo class + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.learnedinfo.learnedinfo_ff4d5e5643a63bccb40b6cf64fc58100 import ( + LearnedInfo, + ) + + if len(self._object_properties) > 0: + if self._properties.get("LearnedInfo", None) is not None: + return self._properties.get("LearnedInfo") + return LearnedInfo(self) + + @property + def Active(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Activate/Deactivate Configuration + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["Active"])) + + @property + def ConnectedVia(self): + # type: () -> List[str] + """DEPRECATED + Returns + ------- + - list(str[None | /api/v1/sessions/1/ixnetwork/topology]): List of layers this layer is used to connect with to the wire. + """ + return self._get_attribute(self._SDM_ATT_MAP["ConnectedVia"]) + + @ConnectedVia.setter + def ConnectedVia(self, value): + # type: (List[str]) -> None + self._set_attribute(self._SDM_ATT_MAP["ConnectedVia"], value) + + @property + def Count(self): + # type: () -> int + """ + Returns + ------- + - number: Number of elements inside associated multiplier-scaled container object, e.g. number of devices inside a Device Group. + """ + return self._get_attribute(self._SDM_ATT_MAP["Count"]) + + @property + def CustomRxInterval(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): The minimum interval, in milliseconds, between received BFD Control packets that this interface is capable of supporting. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["CustomRxInterval"]) + ) + + @property + def CustomTxInterval(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): The minimum interval, in milliseconds, that the interface would like to use when transmitting BFD Control packets. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["CustomTxInterval"]) + ) + + @property + def DescriptiveName(self): + # type: () -> str + """ + Returns + ------- + - str: Longer, more descriptive name for element. It's not guaranteed to be unique like -name-, but may offer more context. + """ + return self._get_attribute(self._SDM_ATT_MAP["DescriptiveName"]) + + @property + def DestinationIP4Address(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): The IPv4 address of the neighbor micro-BFD session. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["DestinationIP4Address"]) + ) + + @property + def DestinationMac(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): MAC Address of Neighbor to which the packet is transmitted. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["DestinationMac"]) + ) + + @property + def EnableDemandMode(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): This check box enables Demand Mode. In this mode, it is assumed the interface has an independent way of verifying it has connectivity to the other system. Once a Micro-BFD session is established, the systems stop sending Micro-BFD Control packets, except when either system feels the need to verify connectivity explicitly. In this case, a short sequence of Micro-BFD Control packets is sent. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["EnableDemandMode"]) + ) + + @property + def Errors(self): + """ + Returns + ------- + - list(dict(arg1:str[None | /api/v1/sessions/1/ixnetwork/],arg2:list[str])): A list of errors that have occurred + """ + return self._get_attribute(self._SDM_ATT_MAP["Errors"]) + + @property + def FlapTxIntervals(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): The number of Tx packets sent from device after which session flaps for BFD. A value of zero means no flapping. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["FlapTxIntervals"]) + ) + + @property + def IpDiffServ(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): This is one byte data which is sent with every IP packet originating from the socket of this MicroBFD interface. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["IpDiffServ"])) + + @property + def MinRxInterval(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): The minimum interval, in milliseconds, between received BFD Control packets that this interface is capable of supporting. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["MinRxInterval"])) + + @property + def Multiplier(self): + # type: () -> int + """ + Returns + ------- + - number: Number of layer instances per parent instance (multiplier) + """ + return self._get_attribute(self._SDM_ATT_MAP["Multiplier"]) + + @Multiplier.setter + def Multiplier(self, value): + # type: (int) -> None + self._set_attribute(self._SDM_ATT_MAP["Multiplier"], value) + + @property + def Name(self): + # type: () -> str + """ + Returns + ------- + - str: Name of NGPF element, guaranteed to be unique in Scenario + """ + return self._get_attribute(self._SDM_ATT_MAP["Name"]) + + @Name.setter + def Name(self, value): + # type: (str) -> None + self._set_attribute(self._SDM_ATT_MAP["Name"], value) + + @property + def PollInterval(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): The interval, in milliseconds, between exchanges of Control Messages in Demand Mode. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["PollInterval"])) + + @property + def SessionStatus(self): + # type: () -> List[str] + """ + Returns + ------- + - list(str[down | notStarted | up]): Current state of protocol session: Not Started - session negotiation not started, the session is not active yet. Down - actively trying to bring up a protocol session, but negotiation is didn't successfully complete (yet). Up - session came up successfully. + """ + return self._get_attribute(self._SDM_ATT_MAP["SessionStatus"]) + + @property + def SourceIP4Address(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): The IPv4 address of the micro-BFD session from which packet is transmitted. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["SourceIP4Address"]) + ) + + @property + def SourceMacAddress(self): + # type: () -> List[str] + """ + Returns + ------- + - list(str): MAC Address of the member link transmitting the packet. + """ + return self._get_attribute(self._SDM_ATT_MAP["SourceMacAddress"]) + + @property + def StackedLayers(self): + # type: () -> List[str] + """ + Returns + ------- + - list(str[None | /api/v1/sessions/1/ixnetwork/topology]): List of secondary (many to one) child layer protocols + """ + return self._get_attribute(self._SDM_ATT_MAP["StackedLayers"]) + + @StackedLayers.setter + def StackedLayers(self, value): + # type: (List[str]) -> None + self._set_attribute(self._SDM_ATT_MAP["StackedLayers"], value) + + @property + def StateCounts(self): + """ + Returns + ------- + - dict(total:number,notStarted:number,down:number,up:number): A list of values that indicates the total number of sessions, the number of sessions not started, the number of sessions down and the number of sessions that are up + """ + return self._get_attribute(self._SDM_ATT_MAP["StateCounts"]) + + @property + def Status(self): + # type: () -> str + """ + Returns + ------- + - str(configured | error | mixed | notStarted | started | starting | stopping): Running status of associated network element. Once in Started state, protocol sessions will begin to negotiate. + """ + return self._get_attribute(self._SDM_ATT_MAP["Status"]) + + @property + def TimeoutMultiplier(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): The negotiated transmit interval, multiplied by this value, provides the detection time for the interface. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["TimeoutMultiplier"]) + ) + + @property + def TxInterval(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): The minimum interval, in milliseconds, that the interface would like to use when transmitting BFD Control packets. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["TxInterval"])) + + def update(self, ConnectedVia=None, Multiplier=None, Name=None, StackedLayers=None): + # type: (List[str], int, str, List[str]) -> Microbfdv4 + """Updates microbfdv4 resource on the server. + + This method has some named parameters with a type: obj (Multivalue). + The Multivalue class has documentation that details the possible values for those named parameters. + + Args + ---- + - ConnectedVia (list(str[None | /api/v1/sessions/1/ixnetwork/topology])): List of layers this layer is used to connect with to the wire. + - Multiplier (number): Number of layer instances per parent instance (multiplier) + - Name (str): Name of NGPF element, guaranteed to be unique in Scenario + - StackedLayers (list(str[None | /api/v1/sessions/1/ixnetwork/topology])): List of secondary (many to one) child layer protocols + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + return self._update(self._map_locals(self._SDM_ATT_MAP, locals())) + + def add(self, ConnectedVia=None, Multiplier=None, Name=None, StackedLayers=None): + # type: (List[str], int, str, List[str]) -> Microbfdv4 + """Adds a new microbfdv4 resource on the server and adds it to the container. + + Args + ---- + - ConnectedVia (list(str[None | /api/v1/sessions/1/ixnetwork/topology])): List of layers this layer is used to connect with to the wire. + - Multiplier (number): Number of layer instances per parent instance (multiplier) + - Name (str): Name of NGPF element, guaranteed to be unique in Scenario + - StackedLayers (list(str[None | /api/v1/sessions/1/ixnetwork/topology])): List of secondary (many to one) child layer protocols + + Returns + ------- + - self: This instance with all currently retrieved microbfdv4 resources using find and the newly added microbfdv4 resources available through an iterator or index + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + return self._create(self._map_locals(self._SDM_ATT_MAP, locals())) + + def remove(self): + """Deletes all the contained microbfdv4 resources in this instance from the server. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + self._delete() + + def find( + self, + ConnectedVia=None, + Count=None, + DescriptiveName=None, + Errors=None, + Multiplier=None, + Name=None, + SessionStatus=None, + SourceMacAddress=None, + StackedLayers=None, + StateCounts=None, + Status=None, + ): + """Finds and retrieves microbfdv4 resources from the server. + + All named parameters are evaluated on the server using regex. The named parameters can be used to selectively retrieve microbfdv4 resources from the server. + To retrieve an exact match ensure the parameter value starts with ^ and ends with $ + By default the find method takes no parameters and will retrieve all microbfdv4 resources from the server. + + Args + ---- + - ConnectedVia (list(str[None | /api/v1/sessions/1/ixnetwork/topology])): List of layers this layer is used to connect with to the wire. + - Count (number): Number of elements inside associated multiplier-scaled container object, e.g. number of devices inside a Device Group. + - DescriptiveName (str): Longer, more descriptive name for element. It's not guaranteed to be unique like -name-, but may offer more context. + - Errors (list(dict(arg1:str[None | /api/v1/sessions/1/ixnetwork/],arg2:list[str]))): A list of errors that have occurred + - Multiplier (number): Number of layer instances per parent instance (multiplier) + - Name (str): Name of NGPF element, guaranteed to be unique in Scenario + - SessionStatus (list(str[down | notStarted | up])): Current state of protocol session: Not Started - session negotiation not started, the session is not active yet. Down - actively trying to bring up a protocol session, but negotiation is didn't successfully complete (yet). Up - session came up successfully. + - SourceMacAddress (list(str)): MAC Address of the member link transmitting the packet. + - StackedLayers (list(str[None | /api/v1/sessions/1/ixnetwork/topology])): List of secondary (many to one) child layer protocols + - StateCounts (dict(total:number,notStarted:number,down:number,up:number)): A list of values that indicates the total number of sessions, the number of sessions not started, the number of sessions down and the number of sessions that are up + - Status (str(configured | error | mixed | notStarted | started | starting | stopping)): Running status of associated network element. Once in Started state, protocol sessions will begin to negotiate. + + Returns + ------- + - self: This instance with matching microbfdv4 resources retrieved from the server available through an iterator or index + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + return self._select(self._map_locals(self._SDM_ATT_MAP, locals())) + + def read(self, href): + """Retrieves a single instance of microbfdv4 data from the server. + + Args + ---- + - href (str): An href to the instance to be retrieved + + Returns + ------- + - self: This instance with the microbfdv4 resources from the server available through an iterator or index + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + return self._read(href) + + def Abort(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the abort operation on the server. + + Abort CPF control plane (equals to demote to kUnconfigured state). + + The IxNetwork model allows for multiple method Signatures with the same name while python does not. + + abort(async_operation=bool) + --------------------------- + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + abort(SessionIndices=list, async_operation=bool) + ------------------------------------------------ + - SessionIndices (list(number)): This parameter requires an array of session numbers 1 2 3 + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + abort(SessionIndices=string, async_operation=bool) + -------------------------------------------------- + - SessionIndices (str): This parameter requires a string of session numbers 1-4;6;7-12 + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("abort", payload=payload, response_object=None) + + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + + def ClearLearnedInfo(self, *args, **kwargs): + # type: (*Any, **Any) -> Union[List[str], None] + """Executes the clearLearnedInfo operation on the server. + + Clear Learned Info + + The IxNetwork model allows for multiple method Signatures with the same name while python does not. + + clearLearnedInfo(async_operation=bool) + -------------------------------------- + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + clearLearnedInfo(SessionIndices=list, async_operation=bool) + ----------------------------------------------------------- + - SessionIndices (list(number)): This parameter requires an array of session numbers 1 2 3 + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + clearLearnedInfo(SessionIndices=string, async_operation=bool) + ------------------------------------------------------------- + - SessionIndices (str): This parameter requires a string of session numbers 1-4;6;7-12 + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + clearLearnedInfo(Arg2=list, async_operation=bool)list + ----------------------------------------------------- + - Arg2 (list(number)): List of indices into the protocol plugin. An empty list indicates all instances in the plugin. + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + - Returns list(str): ID to associate each async action invocation + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("clearLearnedInfo", payload=payload, response_object=None) + + def DisableDemandMode(self, *args, **kwargs): + # type: (*Any, **Any) -> Union[List[str], None] + """Executes the disableDemandMode operation on the server. + + Clears the Demand (D) bit set in the control packets. + + disableDemandMode(Arg2=list, async_operation=bool)list + ------------------------------------------------------ + - Arg2 (list(number)): List of indices into the protocol plugin. An empty list indicates all instances in the plugin. + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + - Returns list(str): ID to associate each async action invocation + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("disableDemandMode", payload=payload, response_object=None) + + def EnableDemandMode(self, *args, **kwargs): + # type: (*Any, **Any) -> Union[List[str], None] + """Executes the enableDemandMode operation on the server. + + Sets the Demand (D) bit set in the control packets. + + enableDemandMode(Arg2=list, async_operation=bool)list + ----------------------------------------------------- + - Arg2 (list(number)): List of indices into the protocol plugin. An empty list indicates all instances in the plugin. + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + - Returns list(str): ID to associate each async action invocation + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("enableDemandMode", payload=payload, response_object=None) + + def GetLearnedInfo(self, *args, **kwargs): + # type: (*Any, **Any) -> Union[List[str], None] + """Executes the getLearnedInfo operation on the server. + + Get Learned Info + + The IxNetwork model allows for multiple method Signatures with the same name while python does not. + + getLearnedInfo(async_operation=bool) + ------------------------------------ + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + getLearnedInfo(SessionIndices=list, async_operation=bool) + --------------------------------------------------------- + - SessionIndices (list(number)): This parameter requires an array of session numbers 1 2 3 + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + getLearnedInfo(SessionIndices=string, async_operation=bool) + ----------------------------------------------------------- + - SessionIndices (str): This parameter requires a string of session numbers 1-4;6;7-12 + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + getLearnedInfo(Arg2=list, async_operation=bool)list + --------------------------------------------------- + - Arg2 (list(number)): List of indices into the protocol plugin. An empty list indicates all instances in the plugin. + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + - Returns list(str): ID to associate each async action invocation + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("getLearnedInfo", payload=payload, response_object=None) + + def InitiatePoll(self, *args, **kwargs): + # type: (*Any, **Any) -> Union[List[str], None] + """Executes the initiatePoll operation on the server. + + Sets the Poll (P) bit in the control packets. + + initiatePoll(Arg2=list, async_operation=bool)list + ------------------------------------------------- + - Arg2 (list(number)): List of indices into the protocol plugin. An empty list indicates all instances in the plugin. + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + - Returns list(str): ID to associate each async action invocation + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("initiatePoll", payload=payload, response_object=None) + + def RestartDown(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the restartDown operation on the server. + + Stop and start interfaces and sessions that are in Down state. + + The IxNetwork model allows for multiple method Signatures with the same name while python does not. + + restartDown(async_operation=bool) + --------------------------------- + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + restartDown(SessionIndices=list, async_operation=bool) + ------------------------------------------------------ + - SessionIndices (list(number)): This parameter requires an array of session numbers 1 2 3 + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + restartDown(SessionIndices=string, async_operation=bool) + -------------------------------------------------------- + - SessionIndices (str): This parameter requires a string of session numbers 1-4;6;7-12 + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("restartDown", payload=payload, response_object=None) + + def ResumePDU(self, *args, **kwargs): + # type: (*Any, **Any) -> Union[List[str], None] + """Executes the resumePDU operation on the server. + + Resumes sending control PDUs for the session. + + resumePDU(Arg2=list, async_operation=bool)list + ---------------------------------------------- + - Arg2 (list(number)): List of indices into the protocol plugin. An empty list indicates all instances in the plugin. + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + - Returns list(str): ID to associate each async action invocation + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("resumePDU", payload=payload, response_object=None) + + def SetAdminDown(self, *args, **kwargs): + # type: (*Any, **Any) -> Union[List[str], None] + """Executes the setAdminDown operation on the server. + + Set the session Administratively Down. + + setAdminDown(Arg2=list, async_operation=bool)list + ------------------------------------------------- + - Arg2 (list(number)): List of indices into the protocol plugin. An empty list indicates all instances in the plugin. + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + - Returns list(str): ID to associate each async action invocation + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("setAdminDown", payload=payload, response_object=None) + + def SetAdminUp(self, *args, **kwargs): + # type: (*Any, **Any) -> Union[List[str], None] + """Executes the setAdminUp operation on the server. + + Set the session Administratively Up. + + setAdminUp(Arg2=list, async_operation=bool)list + ----------------------------------------------- + - Arg2 (list(number)): List of indices into the protocol plugin. An empty list indicates all instances in the plugin. + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + - Returns list(str): ID to associate each async action invocation + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("setAdminUp", payload=payload, response_object=None) + + def SetDiagnosticState(self, *args, **kwargs): + # type: (*Any, **Any) -> Union[List[str], None] + """Executes the setDiagnosticState operation on the server. + + Set Diagnostic State as per the code selected in the control packets. + + setDiagnosticState(Arg2=list, Arg3=enum, async_operation=bool)list + ------------------------------------------------------------------ + - Arg2 (list(number)): List of indices into the protocol plugin. An empty list indicates all instances in the plugin. + - Arg3 (str(controlDetectionTimeExpired | echoFunctionFailed | neighbourSignaledSessionDown | forwardingPlaneReset | pathDown | concatenatedPathDown | administrativelyDown | reverseConcatenatedPathDown | reserved)): Diagnostic Code + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + - Returns list(str): ID to associate each async action invocation + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute( + "setDiagnosticState", payload=payload, response_object=None + ) + + def Start(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the start operation on the server. + + Start CPF control plane (equals to promote to negotiated state). + + The IxNetwork model allows for multiple method Signatures with the same name while python does not. + + start(async_operation=bool) + --------------------------- + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + start(SessionIndices=list, async_operation=bool) + ------------------------------------------------ + - SessionIndices (list(number)): This parameter requires an array of session numbers 1 2 3 + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + start(SessionIndices=string, async_operation=bool) + -------------------------------------------------- + - SessionIndices (str): This parameter requires a string of session numbers 1-4;6;7-12 + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("start", payload=payload, response_object=None) + + def Stop(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the stop operation on the server. + + Stop CPF control plane (equals to demote to PreValidated-DoDDone state). + + The IxNetwork model allows for multiple method Signatures with the same name while python does not. + + stop(async_operation=bool) + -------------------------- + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + stop(SessionIndices=list, async_operation=bool) + ----------------------------------------------- + - SessionIndices (list(number)): This parameter requires an array of session numbers 1 2 3 + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + stop(SessionIndices=string, async_operation=bool) + ------------------------------------------------- + - SessionIndices (str): This parameter requires a string of session numbers 1-4;6;7-12 + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("stop", payload=payload, response_object=None) + + def StopPDU(self, *args, **kwargs): + # type: (*Any, **Any) -> Union[List[str], None] + """Executes the stopPDU operation on the server. + + Stop sending control PDUs for the session. + + stopPDU(Arg2=list, async_operation=bool)list + -------------------------------------------- + - Arg2 (list(number)): List of indices into the protocol plugin. An empty list indicates all instances in the plugin. + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + - Returns list(str): ID to associate each async action invocation + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("stopPDU", payload=payload, response_object=None) + + def get_device_ids( + self, + PortNames=None, + Active=None, + CustomRxInterval=None, + CustomTxInterval=None, + DestinationIP4Address=None, + DestinationMac=None, + EnableDemandMode=None, + FlapTxIntervals=None, + IpDiffServ=None, + MinRxInterval=None, + PollInterval=None, + SourceIP4Address=None, + TimeoutMultiplier=None, + TxInterval=None, + ): + """Base class infrastructure that gets a list of microbfdv4 device ids encapsulated by this object. + + Use the optional regex parameters in the method to refine the list of device ids encapsulated by this object. + + Args + ---- + - PortNames (str): optional regex of port names + - Active (str): optional regex of active + - CustomRxInterval (str): optional regex of customRxInterval + - CustomTxInterval (str): optional regex of customTxInterval + - DestinationIP4Address (str): optional regex of destinationIP4Address + - DestinationMac (str): optional regex of destinationMac + - EnableDemandMode (str): optional regex of enableDemandMode + - FlapTxIntervals (str): optional regex of flapTxIntervals + - IpDiffServ (str): optional regex of ipDiffServ + - MinRxInterval (str): optional regex of minRxInterval + - PollInterval (str): optional regex of pollInterval + - SourceIP4Address (str): optional regex of sourceIP4Address + - TimeoutMultiplier (str): optional regex of timeoutMultiplier + - TxInterval (str): optional regex of txInterval + + Returns + ------- + - list(int): A list of device ids that meets the regex criteria provided in the method parameters + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + return self._get_ngpf_device_ids(locals()) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/microbfdv6_6b0c1a370d37aab2ddafd875d7778d93.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/microbfdv6_6b0c1a370d37aab2ddafd875d7778d93.py new file mode 100644 index 000000000..4ed20992b --- /dev/null +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/microbfdv6_6b0c1a370d37aab2ddafd875d7778d93.py @@ -0,0 +1,991 @@ +# MIT LICENSE +# +# Copyright 1997 - 2020 by IXIA Keysight +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), +# to deal in the Software without restriction, including without limitation +# the rights to use, copy, modify, merge, publish, distribute, sublicense, +# and/or sell copies of the Software, and to permit persons to whom the +# Software is furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +# THE SOFTWARE. +import sys +from ixnetwork_restpy.base import Base +from ixnetwork_restpy.files import Files + +if sys.version_info >= (3, 5): + from typing import List, Any, Union + + +class Microbfdv6(Base): + """MicroBFDv6 (Device) level Configuration + The Microbfdv6 class encapsulates a list of microbfdv6 resources that are managed by the user. + A list of resources can be retrieved from the server using the Microbfdv6.find() method. + The list can be managed by using the Microbfdv6.add() and Microbfdv6.remove() methods. + """ + + __slots__ = () + _SDM_NAME = "microbfdv6" + _SDM_ATT_MAP = { + "Active": "active", + "ConnectedVia": "connectedVia", + "Count": "count", + "CustomRxInterval": "customRxInterval", + "CustomTxInterval": "customTxInterval", + "DescriptiveName": "descriptiveName", + "DestinationIP6Address": "destinationIP6Address", + "DestinationMac": "destinationMac", + "EnableDemandMode": "enableDemandMode", + "Errors": "errors", + "FlapTxIntervals": "flapTxIntervals", + "IpDiffServ": "ipDiffServ", + "MinRxInterval": "minRxInterval", + "Multiplier": "multiplier", + "Name": "name", + "PollInterval": "pollInterval", + "SessionStatus": "sessionStatus", + "SourceIP6Address": "sourceIP6Address", + "SourceMacAddress": "sourceMacAddress", + "StackedLayers": "stackedLayers", + "StateCounts": "stateCounts", + "Status": "status", + "TimeoutMultiplier": "timeoutMultiplier", + "TxInterval": "txInterval", + } + _SDM_ENUM_MAP = { + "status": [ + "configured", + "error", + "mixed", + "notStarted", + "started", + "starting", + "stopping", + ], + } + + def __init__(self, parent, list_op=False): + super(Microbfdv6, self).__init__(parent, list_op) + + @property + def LearnedInfo(self): + """ + Returns + ------- + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.learnedinfo.learnedinfo_ff4d5e5643a63bccb40b6cf64fc58100.LearnedInfo): An instance of the LearnedInfo class + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.learnedinfo.learnedinfo_ff4d5e5643a63bccb40b6cf64fc58100 import ( + LearnedInfo, + ) + + if len(self._object_properties) > 0: + if self._properties.get("LearnedInfo", None) is not None: + return self._properties.get("LearnedInfo") + return LearnedInfo(self) + + @property + def Active(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Activate/Deactivate Configuration + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["Active"])) + + @property + def ConnectedVia(self): + # type: () -> List[str] + """DEPRECATED + Returns + ------- + - list(str[None | /api/v1/sessions/1/ixnetwork/topology]): List of layers this layer is used to connect with to the wire. + """ + return self._get_attribute(self._SDM_ATT_MAP["ConnectedVia"]) + + @ConnectedVia.setter + def ConnectedVia(self, value): + # type: (List[str]) -> None + self._set_attribute(self._SDM_ATT_MAP["ConnectedVia"], value) + + @property + def Count(self): + # type: () -> int + """ + Returns + ------- + - number: Number of elements inside associated multiplier-scaled container object, e.g. number of devices inside a Device Group. + """ + return self._get_attribute(self._SDM_ATT_MAP["Count"]) + + @property + def CustomRxInterval(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): The minimum interval, in milliseconds, between received BFD Control packets that this interface is capable of supporting. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["CustomRxInterval"]) + ) + + @property + def CustomTxInterval(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): The minimum interval, in milliseconds, that the interface would like to use when transmitting BFD Control packets. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["CustomTxInterval"]) + ) + + @property + def DescriptiveName(self): + # type: () -> str + """ + Returns + ------- + - str: Longer, more descriptive name for element. It's not guaranteed to be unique like -name-, but may offer more context. + """ + return self._get_attribute(self._SDM_ATT_MAP["DescriptiveName"]) + + @property + def DestinationIP6Address(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): The IPv6 address of the neighbor micro-BFD session. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["DestinationIP6Address"]) + ) + + @property + def DestinationMac(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): MAC Address of Neighbor to which the packet is transmitted. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["DestinationMac"]) + ) + + @property + def EnableDemandMode(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): This check box enables Demand Mode. In this mode, it is assumed the interface has an independent way of verifying it has connectivity to the other system. Once a Micro-BFD session is established, the systems stop sending Micro-BFD Control packets, except when either system feels the need to verify connectivity explicitly. In this case, a short sequence of Micro-BFD Control packets is sent. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["EnableDemandMode"]) + ) + + @property + def Errors(self): + """ + Returns + ------- + - list(dict(arg1:str[None | /api/v1/sessions/1/ixnetwork/],arg2:list[str])): A list of errors that have occurred + """ + return self._get_attribute(self._SDM_ATT_MAP["Errors"]) + + @property + def FlapTxIntervals(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): The number of Tx packets sent from device after which session flaps for BFD. A value of zero means no flapping. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["FlapTxIntervals"]) + ) + + @property + def IpDiffServ(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): This is one byte data which is sent with every IP packet originating from the socket of this MicroBFD interface. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["IpDiffServ"])) + + @property + def MinRxInterval(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): The minimum interval, in milliseconds, between received BFD Control packets that this interface is capable of supporting. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["MinRxInterval"])) + + @property + def Multiplier(self): + # type: () -> int + """ + Returns + ------- + - number: Number of layer instances per parent instance (multiplier) + """ + return self._get_attribute(self._SDM_ATT_MAP["Multiplier"]) + + @Multiplier.setter + def Multiplier(self, value): + # type: (int) -> None + self._set_attribute(self._SDM_ATT_MAP["Multiplier"], value) + + @property + def Name(self): + # type: () -> str + """ + Returns + ------- + - str: Name of NGPF element, guaranteed to be unique in Scenario + """ + return self._get_attribute(self._SDM_ATT_MAP["Name"]) + + @Name.setter + def Name(self, value): + # type: (str) -> None + self._set_attribute(self._SDM_ATT_MAP["Name"], value) + + @property + def PollInterval(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): The interval, in milliseconds, between exchanges of Control Messages in Demand Mode. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["PollInterval"])) + + @property + def SessionStatus(self): + # type: () -> List[str] + """ + Returns + ------- + - list(str[down | notStarted | up]): Current state of protocol session: Not Started - session negotiation not started, the session is not active yet. Down - actively trying to bring up a protocol session, but negotiation is didn't successfully complete (yet). Up - session came up successfully. + """ + return self._get_attribute(self._SDM_ATT_MAP["SessionStatus"]) + + @property + def SourceIP6Address(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): The IPv6 address of the micro-BFD session from which packet is transmitted. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["SourceIP6Address"]) + ) + + @property + def SourceMacAddress(self): + # type: () -> List[str] + """ + Returns + ------- + - list(str): MAC Address of the member link transmitting the packet. + """ + return self._get_attribute(self._SDM_ATT_MAP["SourceMacAddress"]) + + @property + def StackedLayers(self): + # type: () -> List[str] + """ + Returns + ------- + - list(str[None | /api/v1/sessions/1/ixnetwork/topology]): List of secondary (many to one) child layer protocols + """ + return self._get_attribute(self._SDM_ATT_MAP["StackedLayers"]) + + @StackedLayers.setter + def StackedLayers(self, value): + # type: (List[str]) -> None + self._set_attribute(self._SDM_ATT_MAP["StackedLayers"], value) + + @property + def StateCounts(self): + """ + Returns + ------- + - dict(total:number,notStarted:number,down:number,up:number): A list of values that indicates the total number of sessions, the number of sessions not started, the number of sessions down and the number of sessions that are up + """ + return self._get_attribute(self._SDM_ATT_MAP["StateCounts"]) + + @property + def Status(self): + # type: () -> str + """ + Returns + ------- + - str(configured | error | mixed | notStarted | started | starting | stopping): Running status of associated network element. Once in Started state, protocol sessions will begin to negotiate. + """ + return self._get_attribute(self._SDM_ATT_MAP["Status"]) + + @property + def TimeoutMultiplier(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): The negotiated transmit interval, multiplied by this value, provides the detection time for the interface. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["TimeoutMultiplier"]) + ) + + @property + def TxInterval(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): The minimum interval, in milliseconds, that the interface would like to use when transmitting BFD Control packets. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["TxInterval"])) + + def update(self, ConnectedVia=None, Multiplier=None, Name=None, StackedLayers=None): + # type: (List[str], int, str, List[str]) -> Microbfdv6 + """Updates microbfdv6 resource on the server. + + This method has some named parameters with a type: obj (Multivalue). + The Multivalue class has documentation that details the possible values for those named parameters. + + Args + ---- + - ConnectedVia (list(str[None | /api/v1/sessions/1/ixnetwork/topology])): List of layers this layer is used to connect with to the wire. + - Multiplier (number): Number of layer instances per parent instance (multiplier) + - Name (str): Name of NGPF element, guaranteed to be unique in Scenario + - StackedLayers (list(str[None | /api/v1/sessions/1/ixnetwork/topology])): List of secondary (many to one) child layer protocols + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + return self._update(self._map_locals(self._SDM_ATT_MAP, locals())) + + def add(self, ConnectedVia=None, Multiplier=None, Name=None, StackedLayers=None): + # type: (List[str], int, str, List[str]) -> Microbfdv6 + """Adds a new microbfdv6 resource on the server and adds it to the container. + + Args + ---- + - ConnectedVia (list(str[None | /api/v1/sessions/1/ixnetwork/topology])): List of layers this layer is used to connect with to the wire. + - Multiplier (number): Number of layer instances per parent instance (multiplier) + - Name (str): Name of NGPF element, guaranteed to be unique in Scenario + - StackedLayers (list(str[None | /api/v1/sessions/1/ixnetwork/topology])): List of secondary (many to one) child layer protocols + + Returns + ------- + - self: This instance with all currently retrieved microbfdv6 resources using find and the newly added microbfdv6 resources available through an iterator or index + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + return self._create(self._map_locals(self._SDM_ATT_MAP, locals())) + + def remove(self): + """Deletes all the contained microbfdv6 resources in this instance from the server. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + self._delete() + + def find( + self, + ConnectedVia=None, + Count=None, + DescriptiveName=None, + Errors=None, + Multiplier=None, + Name=None, + SessionStatus=None, + SourceMacAddress=None, + StackedLayers=None, + StateCounts=None, + Status=None, + ): + """Finds and retrieves microbfdv6 resources from the server. + + All named parameters are evaluated on the server using regex. The named parameters can be used to selectively retrieve microbfdv6 resources from the server. + To retrieve an exact match ensure the parameter value starts with ^ and ends with $ + By default the find method takes no parameters and will retrieve all microbfdv6 resources from the server. + + Args + ---- + - ConnectedVia (list(str[None | /api/v1/sessions/1/ixnetwork/topology])): List of layers this layer is used to connect with to the wire. + - Count (number): Number of elements inside associated multiplier-scaled container object, e.g. number of devices inside a Device Group. + - DescriptiveName (str): Longer, more descriptive name for element. It's not guaranteed to be unique like -name-, but may offer more context. + - Errors (list(dict(arg1:str[None | /api/v1/sessions/1/ixnetwork/],arg2:list[str]))): A list of errors that have occurred + - Multiplier (number): Number of layer instances per parent instance (multiplier) + - Name (str): Name of NGPF element, guaranteed to be unique in Scenario + - SessionStatus (list(str[down | notStarted | up])): Current state of protocol session: Not Started - session negotiation not started, the session is not active yet. Down - actively trying to bring up a protocol session, but negotiation is didn't successfully complete (yet). Up - session came up successfully. + - SourceMacAddress (list(str)): MAC Address of the member link transmitting the packet. + - StackedLayers (list(str[None | /api/v1/sessions/1/ixnetwork/topology])): List of secondary (many to one) child layer protocols + - StateCounts (dict(total:number,notStarted:number,down:number,up:number)): A list of values that indicates the total number of sessions, the number of sessions not started, the number of sessions down and the number of sessions that are up + - Status (str(configured | error | mixed | notStarted | started | starting | stopping)): Running status of associated network element. Once in Started state, protocol sessions will begin to negotiate. + + Returns + ------- + - self: This instance with matching microbfdv6 resources retrieved from the server available through an iterator or index + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + return self._select(self._map_locals(self._SDM_ATT_MAP, locals())) + + def read(self, href): + """Retrieves a single instance of microbfdv6 data from the server. + + Args + ---- + - href (str): An href to the instance to be retrieved + + Returns + ------- + - self: This instance with the microbfdv6 resources from the server available through an iterator or index + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + return self._read(href) + + def Abort(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the abort operation on the server. + + Abort CPF control plane (equals to demote to kUnconfigured state). + + The IxNetwork model allows for multiple method Signatures with the same name while python does not. + + abort(async_operation=bool) + --------------------------- + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + abort(SessionIndices=list, async_operation=bool) + ------------------------------------------------ + - SessionIndices (list(number)): This parameter requires an array of session numbers 1 2 3 + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + abort(SessionIndices=string, async_operation=bool) + -------------------------------------------------- + - SessionIndices (str): This parameter requires a string of session numbers 1-4;6;7-12 + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("abort", payload=payload, response_object=None) + + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + + def ClearLearnedInfo(self, *args, **kwargs): + # type: (*Any, **Any) -> Union[List[str], None] + """Executes the clearLearnedInfo operation on the server. + + Clear Learned Info + + The IxNetwork model allows for multiple method Signatures with the same name while python does not. + + clearLearnedInfo(async_operation=bool) + -------------------------------------- + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + clearLearnedInfo(SessionIndices=list, async_operation=bool) + ----------------------------------------------------------- + - SessionIndices (list(number)): This parameter requires an array of session numbers 1 2 3 + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + clearLearnedInfo(SessionIndices=string, async_operation=bool) + ------------------------------------------------------------- + - SessionIndices (str): This parameter requires a string of session numbers 1-4;6;7-12 + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + clearLearnedInfo(Arg2=list, async_operation=bool)list + ----------------------------------------------------- + - Arg2 (list(number)): List of indices into the protocol plugin. An empty list indicates all instances in the plugin. + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + - Returns list(str): ID to associate each async action invocation + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("clearLearnedInfo", payload=payload, response_object=None) + + def DisableDemandMode(self, *args, **kwargs): + # type: (*Any, **Any) -> Union[List[str], None] + """Executes the disableDemandMode operation on the server. + + Clears the Demand (D) bit set in the control packets. + + disableDemandMode(Arg2=list, async_operation=bool)list + ------------------------------------------------------ + - Arg2 (list(number)): List of indices into the protocol plugin. An empty list indicates all instances in the plugin. + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + - Returns list(str): ID to associate each async action invocation + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("disableDemandMode", payload=payload, response_object=None) + + def EnableDemandMode(self, *args, **kwargs): + # type: (*Any, **Any) -> Union[List[str], None] + """Executes the enableDemandMode operation on the server. + + Sets the Demand (D) bit set in the control packets. + + enableDemandMode(Arg2=list, async_operation=bool)list + ----------------------------------------------------- + - Arg2 (list(number)): List of indices into the protocol plugin. An empty list indicates all instances in the plugin. + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + - Returns list(str): ID to associate each async action invocation + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("enableDemandMode", payload=payload, response_object=None) + + def GetLearnedInfo(self, *args, **kwargs): + # type: (*Any, **Any) -> Union[List[str], None] + """Executes the getLearnedInfo operation on the server. + + Get Learned Info + + The IxNetwork model allows for multiple method Signatures with the same name while python does not. + + getLearnedInfo(async_operation=bool) + ------------------------------------ + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + getLearnedInfo(SessionIndices=list, async_operation=bool) + --------------------------------------------------------- + - SessionIndices (list(number)): This parameter requires an array of session numbers 1 2 3 + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + getLearnedInfo(SessionIndices=string, async_operation=bool) + ----------------------------------------------------------- + - SessionIndices (str): This parameter requires a string of session numbers 1-4;6;7-12 + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + getLearnedInfo(Arg2=list, async_operation=bool)list + --------------------------------------------------- + - Arg2 (list(number)): List of indices into the protocol plugin. An empty list indicates all instances in the plugin. + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + - Returns list(str): ID to associate each async action invocation + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("getLearnedInfo", payload=payload, response_object=None) + + def InitiatePoll(self, *args, **kwargs): + # type: (*Any, **Any) -> Union[List[str], None] + """Executes the initiatePoll operation on the server. + + Sets the Poll (P) bit in the control packets. + + initiatePoll(Arg2=list, async_operation=bool)list + ------------------------------------------------- + - Arg2 (list(number)): List of indices into the protocol plugin. An empty list indicates all instances in the plugin. + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + - Returns list(str): ID to associate each async action invocation + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("initiatePoll", payload=payload, response_object=None) + + def RestartDown(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the restartDown operation on the server. + + Stop and start interfaces and sessions that are in Down state. + + The IxNetwork model allows for multiple method Signatures with the same name while python does not. + + restartDown(async_operation=bool) + --------------------------------- + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + restartDown(SessionIndices=list, async_operation=bool) + ------------------------------------------------------ + - SessionIndices (list(number)): This parameter requires an array of session numbers 1 2 3 + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + restartDown(SessionIndices=string, async_operation=bool) + -------------------------------------------------------- + - SessionIndices (str): This parameter requires a string of session numbers 1-4;6;7-12 + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("restartDown", payload=payload, response_object=None) + + def ResumePDU(self, *args, **kwargs): + # type: (*Any, **Any) -> Union[List[str], None] + """Executes the resumePDU operation on the server. + + Resumes sending control PDUs for the session. + + resumePDU(Arg2=list, async_operation=bool)list + ---------------------------------------------- + - Arg2 (list(number)): List of indices into the protocol plugin. An empty list indicates all instances in the plugin. + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + - Returns list(str): ID to associate each async action invocation + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("resumePDU", payload=payload, response_object=None) + + def SetAdminDown(self, *args, **kwargs): + # type: (*Any, **Any) -> Union[List[str], None] + """Executes the setAdminDown operation on the server. + + Set the session Administratively Down. + + setAdminDown(Arg2=list, async_operation=bool)list + ------------------------------------------------- + - Arg2 (list(number)): List of indices into the protocol plugin. An empty list indicates all instances in the plugin. + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + - Returns list(str): ID to associate each async action invocation + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("setAdminDown", payload=payload, response_object=None) + + def SetAdminUp(self, *args, **kwargs): + # type: (*Any, **Any) -> Union[List[str], None] + """Executes the setAdminUp operation on the server. + + Set the session Administratively Up. + + setAdminUp(Arg2=list, async_operation=bool)list + ----------------------------------------------- + - Arg2 (list(number)): List of indices into the protocol plugin. An empty list indicates all instances in the plugin. + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + - Returns list(str): ID to associate each async action invocation + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("setAdminUp", payload=payload, response_object=None) + + def SetDiagnosticState(self, *args, **kwargs): + # type: (*Any, **Any) -> Union[List[str], None] + """Executes the setDiagnosticState operation on the server. + + Set Diagnostic State as per the code selected in the control packets. + + setDiagnosticState(Arg2=list, Arg3=enum, async_operation=bool)list + ------------------------------------------------------------------ + - Arg2 (list(number)): List of indices into the protocol plugin. An empty list indicates all instances in the plugin. + - Arg3 (str(controlDetectionTimeExpired | echoFunctionFailed | neighbourSignaledSessionDown | forwardingPlaneReset | pathDown | concatenatedPathDown | administrativelyDown | reverseConcatenatedPathDown | reserved)): Diagnostic Code + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + - Returns list(str): ID to associate each async action invocation + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute( + "setDiagnosticState", payload=payload, response_object=None + ) + + def Start(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the start operation on the server. + + Start CPF control plane (equals to promote to negotiated state). + + The IxNetwork model allows for multiple method Signatures with the same name while python does not. + + start(async_operation=bool) + --------------------------- + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + start(SessionIndices=list, async_operation=bool) + ------------------------------------------------ + - SessionIndices (list(number)): This parameter requires an array of session numbers 1 2 3 + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + start(SessionIndices=string, async_operation=bool) + -------------------------------------------------- + - SessionIndices (str): This parameter requires a string of session numbers 1-4;6;7-12 + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("start", payload=payload, response_object=None) + + def Stop(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the stop operation on the server. + + Stop CPF control plane (equals to demote to PreValidated-DoDDone state). + + The IxNetwork model allows for multiple method Signatures with the same name while python does not. + + stop(async_operation=bool) + -------------------------- + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + stop(SessionIndices=list, async_operation=bool) + ----------------------------------------------- + - SessionIndices (list(number)): This parameter requires an array of session numbers 1 2 3 + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + stop(SessionIndices=string, async_operation=bool) + ------------------------------------------------- + - SessionIndices (str): This parameter requires a string of session numbers 1-4;6;7-12 + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("stop", payload=payload, response_object=None) + + def StopPDU(self, *args, **kwargs): + # type: (*Any, **Any) -> Union[List[str], None] + """Executes the stopPDU operation on the server. + + Stop sending control PDUs for the session. + + stopPDU(Arg2=list, async_operation=bool)list + -------------------------------------------- + - Arg2 (list(number)): List of indices into the protocol plugin. An empty list indicates all instances in the plugin. + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + - Returns list(str): ID to associate each async action invocation + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("stopPDU", payload=payload, response_object=None) + + def get_device_ids( + self, + PortNames=None, + Active=None, + CustomRxInterval=None, + CustomTxInterval=None, + DestinationIP6Address=None, + DestinationMac=None, + EnableDemandMode=None, + FlapTxIntervals=None, + IpDiffServ=None, + MinRxInterval=None, + PollInterval=None, + SourceIP6Address=None, + TimeoutMultiplier=None, + TxInterval=None, + ): + """Base class infrastructure that gets a list of microbfdv6 device ids encapsulated by this object. + + Use the optional regex parameters in the method to refine the list of device ids encapsulated by this object. + + Args + ---- + - PortNames (str): optional regex of port names + - Active (str): optional regex of active + - CustomRxInterval (str): optional regex of customRxInterval + - CustomTxInterval (str): optional regex of customTxInterval + - DestinationIP6Address (str): optional regex of destinationIP6Address + - DestinationMac (str): optional regex of destinationMac + - EnableDemandMode (str): optional regex of enableDemandMode + - FlapTxIntervals (str): optional regex of flapTxIntervals + - IpDiffServ (str): optional regex of ipDiffServ + - MinRxInterval (str): optional regex of minRxInterval + - PollInterval (str): optional regex of pollInterval + - SourceIP6Address (str): optional regex of sourceIP6Address + - TimeoutMultiplier (str): optional regex of timeoutMultiplier + - TxInterval (str): optional regex of txInterval + + Returns + ------- + - list(int): A list of device ids that meets the regex criteria provided in the method parameters + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + return self._get_ngpf_device_ids(locals()) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/mka_263a86da717fe553c3af300d3bfb0cab.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/mka_263a86da717fe553c3af300d3bfb0cab.py index 389ce7972..d057ae790 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/mka_263a86da717fe553c3af300d3bfb0cab.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/mka_263a86da717fe553c3af300d3bfb0cab.py @@ -950,6 +950,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def ClearAllLearnedInfo(self, *args, **kwargs): # type: (*Any, **Any) -> Union[List[str], None] """Executes the clearAllLearnedInfo operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/mldhost_824a1bed927138d4bb32f7d2631197a5.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/mldhost_824a1bed927138d4bb32f7d2631197a5.py index a329761c7..07546592c 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/mldhost_824a1bed927138d4bb32f7d2631197a5.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/mldhost_824a1bed927138d4bb32f7d2631197a5.py @@ -580,6 +580,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def MldStartHost(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the mldStartHost operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/mldmcastipv6grouplist_62c8609753f136498d5149746f36e12e.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/mldmcastipv6grouplist_62c8609753f136498d5149746f36e12e.py index b3dd19fde..08b60fc54 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/mldmcastipv6grouplist_62c8609753f136498d5149746f36e12e.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/mldmcastipv6grouplist_62c8609753f136498d5149746f36e12e.py @@ -282,6 +282,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def Join(self, *args, **kwargs): # type: (*Any, **Any) -> Union[List[str], None] """Executes the join operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/mldquerier_e20671d730d138d65036e88d7cad63ac.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/mldquerier_e20671d730d138d65036e88d7cad63ac.py index 3425892b4..ac5e34f0b 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/mldquerier_e20671d730d138d65036e88d7cad63ac.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/mldquerier_e20671d730d138d65036e88d7cad63ac.py @@ -563,6 +563,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def ClearAllLearnedInfoInClient(self, *args, **kwargs): # type: (*Any, **Any) -> Union[List[str], None] """Executes the clearAllLearnedInfoInClient operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/mlducastipv6sourcelist_d83ad2fbae6376e2b6cb9b364249dbb9.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/mlducastipv6sourcelist_d83ad2fbae6376e2b6cb9b364249dbb9.py index 906284c9e..a98b82381 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/mlducastipv6sourcelist_d83ad2fbae6376e2b6cb9b364249dbb9.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/mlducastipv6sourcelist_d83ad2fbae6376e2b6cb9b364249dbb9.py @@ -206,6 +206,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def Join(self, *args, **kwargs): # type: (*Any, **Any) -> Union[List[str], None] """Executes the join operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/mpls_ffaab24246ff53741a201b0a48e8e3f1.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/mpls_ffaab24246ff53741a201b0a48e8e3f1.py index 0a504e6c0..a83ed1dfd 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/mpls_ffaab24246ff53741a201b0a48e8e3f1.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/mpls_ffaab24246ff53741a201b0a48e8e3f1.py @@ -161,13 +161,13 @@ def Dhcpv6client(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.dhcpv6client_355391ba11ab3c1555c827e2e4ac3c4c.Dhcpv6client): An instance of the Dhcpv6client class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.dhcpv6client_64480d87e9c578f0a0b7d3415d792d7e.Dhcpv6client): An instance of the Dhcpv6client class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.dhcpv6client_355391ba11ab3c1555c827e2e4ac3c4c import ( + from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.dhcpv6client_64480d87e9c578f0a0b7d3415d792d7e import ( Dhcpv6client, ) @@ -1079,6 +1079,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def RestartDown(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the restartDown operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/mplslabel_f0b733862256902b721f5de4e5a0c542.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/mplslabel_f0b733862256902b721f5de4e5a0c542.py index 8b59cffec..4ff356d36 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/mplslabel_f0b733862256902b721f5de4e5a0c542.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/mplslabel_f0b733862256902b721f5de4e5a0c542.py @@ -91,3 +91,24 @@ def read(self, href): - ServerError: The server has encountered an uncategorized error condition """ return self._read(href) + + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/mplslabellist_37213b54082ea2315b262cbc86661827.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/mplslabellist_37213b54082ea2315b262cbc86661827.py index 9753cfb63..7782446ee 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/mplslabellist_37213b54082ea2315b262cbc86661827.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/mplslabellist_37213b54082ea2315b262cbc86661827.py @@ -196,6 +196,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, MplsEXP=None, MplsLabel=None, MplsTTL=None ): diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/mplsoam_e01bb6affe899a4731aa60619f4aeadc.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/mplsoam_e01bb6affe899a4731aa60619f4aeadc.py index 4418160fc..7f3f10a14 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/mplsoam_e01bb6affe899a4731aa60619f4aeadc.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/mplsoam_e01bb6affe899a4731aa60619f4aeadc.py @@ -869,6 +869,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def ClearAllLearnedInfo(self, *args, **kwargs): # type: (*Any, **Any) -> Union[List[str], None] """Executes the clearAllLearnedInfo operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/mplsoamrouter_845700fadfdfffc9273541ede90252e5.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/mplsoamrouter_845700fadfdfffc9273541ede90252e5.py index 4c282fd46..5aa32fa2c 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/mplsoamrouter_845700fadfdfffc9273541ede90252e5.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/mplsoamrouter_845700fadfdfffc9273541ede90252e5.py @@ -292,6 +292,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def RestartDown(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the restartDown operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/msdpairlist_522227bcb3532730013667b2ead2e53a.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/msdpairlist_522227bcb3532730013667b2ead2e53a.py index a3902354a..3ef1fb2dc 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/msdpairlist_522227bcb3532730013667b2ead2e53a.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/msdpairlist_522227bcb3532730013667b2ead2e53a.py @@ -196,6 +196,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, MsdEnable=None, MsdType=None, MsdValue=None ): diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/msrplistener_e4c5ef0942a99c83ab955893f78633c0.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/msrplistener_e4c5ef0942a99c83ab955893f78633c0.py index 90e2ac21f..07fbdff9a 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/msrplistener_e4c5ef0942a99c83ab955893f78633c0.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/msrplistener_e4c5ef0942a99c83ab955893f78633c0.py @@ -592,6 +592,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def ClearListenerDatabasesInClient(self, *args, **kwargs): # type: (*Any, **Any) -> Union[List[str], None] """Executes the clearListenerDatabasesInClient operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/msrplistenerdomains_f2fe387dee9561ca08fc00cc9bf60ef4.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/msrplistenerdomains_f2fe387dee9561ca08fc00cc9bf60ef4.py index 546d9a3da..a5cba6b18 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/msrplistenerdomains_f2fe387dee9561ca08fc00cc9bf60ef4.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/msrplistenerdomains_f2fe387dee9561ca08fc00cc9bf60ef4.py @@ -192,6 +192,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def Start(self, *args, **kwargs): # type: (*Any, **Any) -> Union[List[str], None] """Executes the start operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/msrptalker_ac4e61374b0b4d8500aef7076a2cda89.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/msrptalker_ac4e61374b0b4d8500aef7076a2cda89.py index 690c717f0..0774fc41a 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/msrptalker_ac4e61374b0b4d8500aef7076a2cda89.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/msrptalker_ac4e61374b0b4d8500aef7076a2cda89.py @@ -524,6 +524,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def ClearTalkerDatabasesInClient(self, *args, **kwargs): # type: (*Any, **Any) -> Union[List[str], None] """Executes the clearTalkerDatabasesInClient operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/msrptalkerdomains_0f385bfc871543091b3fa2e404918150.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/msrptalkerdomains_0f385bfc871543091b3fa2e404918150.py index 8c9408394..9640fd87a 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/msrptalkerdomains_0f385bfc871543091b3fa2e404918150.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/msrptalkerdomains_0f385bfc871543091b3fa2e404918150.py @@ -192,6 +192,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def Start(self, *args, **kwargs): # type: (*Any, **Any) -> Union[List[str], None] """Executes the start operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/naitype_53c2cdf91ca50e9351d06a63484d2cf1.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/naitype_53c2cdf91ca50e9351d06a63484d2cf1.py index c78abc1e7..fe72b3c42 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/naitype_53c2cdf91ca50e9351d06a63484d2cf1.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/naitype_53c2cdf91ca50e9351d06a63484d2cf1.py @@ -91,3 +91,24 @@ def read(self, href): - ServerError: The server has encountered an uncategorized error condition """ return self._read(href) + + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/netconfclient_1eaa2ab0efacd988796bdc1f5fe4291c.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/netconfclient_1eaa2ab0efacd988796bdc1f5fe4291c.py index 96edc6e24..c7d0cf660 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/netconfclient_1eaa2ab0efacd988796bdc1f5fe4291c.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/netconfclient_1eaa2ab0efacd988796bdc1f5fe4291c.py @@ -885,6 +885,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def ClearAllLearnedSchemaInfo(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the clearAllLearnedSchemaInfo operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/netconfclientip_1ca73df9abc671deff57310d4038d7fc.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/netconfclientip_1ca73df9abc671deff57310d4038d7fc.py index 825202938..5e656750e 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/netconfclientip_1ca73df9abc671deff57310d4038d7fc.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/netconfclientip_1ca73df9abc671deff57310d4038d7fc.py @@ -172,6 +172,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids(self, PortNames=None, ClientIpv4Address=None): """Base class infrastructure that gets a list of netconfclientip device ids encapsulated by this object. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/netconfserver_e950d02d6ac3e8926118c0f058a2b64e.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/netconfserver_e950d02d6ac3e8926118c0f058a2b64e.py index e02a0599f..7c13f399c 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/netconfserver_e950d02d6ac3e8926118c0f058a2b64e.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/netconfserver_e950d02d6ac3e8926118c0f058a2b64e.py @@ -1035,6 +1035,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def GetDecryptedCapture(self, *args, **kwargs): # type: (*Any, **Any) -> Union[List[str], None] """Executes the getDecryptedCapture operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/nettopologycustom_bb47a11f6f5e815f215a8a6cd753c1de.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/nettopologycustom_bb47a11f6f5e815f215a8a6cd753c1de.py index edd5b8e68..f685d7a35 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/nettopologycustom_bb47a11f6f5e815f215a8a6cd753c1de.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/nettopologycustom_bb47a11f6f5e815f215a8a6cd753c1de.py @@ -191,3 +191,24 @@ def read(self, href): - ServerError: The server has encountered an uncategorized error condition """ return self._read(href) + + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/nettopologyfattree_da9d3b86dfd4429aea6fd83e55f04c9b.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/nettopologyfattree_da9d3b86dfd4429aea6fd83e55f04c9b.py index b6047f9f1..d73dc9403 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/nettopologyfattree_da9d3b86dfd4429aea6fd83e55f04c9b.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/nettopologyfattree_da9d3b86dfd4429aea6fd83e55f04c9b.py @@ -198,3 +198,24 @@ def read(self, href): - ServerError: The server has encountered an uncategorized error condition """ return self._read(href) + + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/nettopologygrid_83b3d6466db720e42f8941917ac35776.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/nettopologygrid_83b3d6466db720e42f8941917ac35776.py index 89f365191..5b41ba59a 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/nettopologygrid_83b3d6466db720e42f8941917ac35776.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/nettopologygrid_83b3d6466db720e42f8941917ac35776.py @@ -201,3 +201,24 @@ def read(self, href): - ServerError: The server has encountered an uncategorized error condition """ return self._read(href) + + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/nettopologyhubnspoke_6bab635dca26252c93ca0fa925b87be2.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/nettopologyhubnspoke_6bab635dca26252c93ca0fa925b87be2.py index 0902f0863..e57bbd1cd 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/nettopologyhubnspoke_6bab635dca26252c93ca0fa925b87be2.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/nettopologyhubnspoke_6bab635dca26252c93ca0fa925b87be2.py @@ -237,3 +237,24 @@ def read(self, href): - ServerError: The server has encountered an uncategorized error condition """ return self._read(href) + + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/nettopologylinear_293f26b1484d1839fe8dc0ad00ed2bd5.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/nettopologylinear_293f26b1484d1839fe8dc0ad00ed2bd5.py index 40ac1956c..c67d4ce72 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/nettopologylinear_293f26b1484d1839fe8dc0ad00ed2bd5.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/nettopologylinear_293f26b1484d1839fe8dc0ad00ed2bd5.py @@ -178,3 +178,24 @@ def read(self, href): - ServerError: The server has encountered an uncategorized error condition """ return self._read(href) + + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/nettopologymesh_517b38131e86c1d1de945da2a10cb914.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/nettopologymesh_517b38131e86c1d1de945da2a10cb914.py index 7781dc972..c9ccdfee6 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/nettopologymesh_517b38131e86c1d1de945da2a10cb914.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/nettopologymesh_517b38131e86c1d1de945da2a10cb914.py @@ -178,3 +178,24 @@ def read(self, href): - ServerError: The server has encountered an uncategorized error condition """ return self._read(href) + + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/nettopologyring_53b30b7628c14a65021b6e4a332bfa7c.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/nettopologyring_53b30b7628c14a65021b6e4a332bfa7c.py index 625ed5a1b..8d0d525da 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/nettopologyring_53b30b7628c14a65021b6e4a332bfa7c.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/nettopologyring_53b30b7628c14a65021b6e4a332bfa7c.py @@ -178,3 +178,24 @@ def read(self, href): - ServerError: The server has encountered an uncategorized error condition """ return self._read(href) + + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/nettopologytree_89d07e1ee9645fffc22bcedbb938f9f7.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/nettopologytree_89d07e1ee9645fffc22bcedbb938f9f7.py index a9f038f2a..25cc53bb8 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/nettopologytree_89d07e1ee9645fffc22bcedbb938f9f7.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/nettopologytree_89d07e1ee9645fffc22bcedbb938f9f7.py @@ -259,3 +259,24 @@ def read(self, href): - ServerError: The server has encountered an uncategorized error condition """ return self._read(href) + + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/networkgroup_4a63874e791827c3a0361c2d201dbc0c.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/networkgroup_4a63874e791827c3a0361c2d201dbc0c.py index a6c47b81b..2b5a6ec92 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/networkgroup_4a63874e791827c3a0361c2d201dbc0c.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/networkgroup_4a63874e791827c3a0361c2d201dbc0c.py @@ -804,6 +804,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def Start(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the start operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/networkrangeinfo_cbb1e7fa358c353ee8fd62246a36a824.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/networkrangeinfo_cbb1e7fa358c353ee8fd62246a36a824.py index 5664cf3dd..fbe373da5 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/networkrangeinfo_cbb1e7fa358c353ee8fd62246a36a824.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/networkrangeinfo_cbb1e7fa358c353ee8fd62246a36a824.py @@ -411,6 +411,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def Start(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the start operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/networktopology_8aeb1c02ce88d0f4f656681df998fe83.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/networktopology_8aeb1c02ce88d0f4f656681df998fe83.py index 3c03cf54c..3d59485d5 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/networktopology_8aeb1c02ce88d0f4f656681df998fe83.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/networktopology_8aeb1c02ce88d0f4f656681df998fe83.py @@ -611,3 +611,24 @@ def read(self, href): - ServerError: The server has encountered an uncategorized error condition """ return self._read(href) + + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/nicknamerecordlist_035390df83e22e146cb32cc19244f93b.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/nicknamerecordlist_035390df83e22e146cb32cc19244f93b.py index b084120d0..89c6dd873 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/nicknamerecordlist_035390df83e22e146cb32cc19244f93b.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/nicknamerecordlist_035390df83e22e146cb32cc19244f93b.py @@ -192,6 +192,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/nicknamerecordlist_5633e9074910fb78b98b5edd7b09d613.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/nicknamerecordlist_5633e9074910fb78b98b5edd7b09d613.py index 32daa9f26..5987f80a4 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/nicknamerecordlist_5633e9074910fb78b98b5edd7b09d613.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/nicknamerecordlist_5633e9074910fb78b98b5edd7b09d613.py @@ -204,6 +204,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/notificationsnippetsdata_5b1f4007b065dbd052ff309a40e6be0a.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/notificationsnippetsdata_5b1f4007b065dbd052ff309a40e6be0a.py index 73a4413be..3601c918f 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/notificationsnippetsdata_5b1f4007b065dbd052ff309a40e6be0a.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/notificationsnippetsdata_5b1f4007b065dbd052ff309a40e6be0a.py @@ -254,6 +254,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def SendNotification(self, *args, **kwargs): # type: (*Any, **Any) -> Union[List[str], None] """Executes the sendNotification operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/nssaroutes_ff8ecb21072a534ab3d887c03c4e1cc2.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/nssaroutes_ff8ecb21072a534ab3d887c03c4e1cc2.py index 18f627905..1a7648e85 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/nssaroutes_ff8ecb21072a534ab3d887c03c4e1cc2.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/nssaroutes_ff8ecb21072a534ab3d887c03c4e1cc2.py @@ -423,6 +423,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def Advertise(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the advertise operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ntpclock_0d879e81ae3d4c658c1fddb7e0bca059.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ntpclock_0d879e81ae3d4c658c1fddb7e0bca059.py index 90cafc628..efa153fc4 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ntpclock_0d879e81ae3d4c658c1fddb7e0bca059.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ntpclock_0d879e81ae3d4c658c1fddb7e0bca059.py @@ -480,6 +480,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def RestartDown(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the restartDown operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ntpservers_ae6323e734ac8bd0f5ab0ebe5be69cfc.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ntpservers_ae6323e734ac8bd0f5ab0ebe5be69cfc.py index 62f692675..5d3d50796 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ntpservers_ae6323e734ac8bd0f5ab0ebe5be69cfc.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ntpservers_ae6323e734ac8bd0f5ab0ebe5be69cfc.py @@ -328,6 +328,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def Start(self, *args, **kwargs): # type: (*Any, **Any) -> Union[List[str], None] """Executes the start operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ofhostdata_bd823feb7a8ba9bb9ba77fa35a83dce3.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ofhostdata_bd823feb7a8ba9bb9ba77fa35a83dce3.py index e03ae98dc..88870f2b4 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ofhostdata_bd823feb7a8ba9bb9ba77fa35a83dce3.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ofhostdata_bd823feb7a8ba9bb9ba77fa35a83dce3.py @@ -228,6 +228,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def SendPacketWithTraverseLI(self, *args, **kwargs): # type: (*Any, **Any) -> Union[List[str], None] """Executes the sendPacketWithTraverseLI operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ofswitchchannel_73fc107210c8f2c174f0a9ff032ae654.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ofswitchchannel_73fc107210c8f2c174f0a9ff032ae654.py index 01e9a01b3..bba64ed2a 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ofswitchchannel_73fc107210c8f2c174f0a9ff032ae654.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ofswitchchannel_73fc107210c8f2c174f0a9ff032ae654.py @@ -458,6 +458,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def RestartDown(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the restartDown operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ofswitchlearnedinfoconfig_e82ac94514eca4bb9bcfc04c550a7144.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ofswitchlearnedinfoconfig_e82ac94514eca4bb9bcfc04c550a7144.py index 2900b98dd..d7eebe111 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ofswitchlearnedinfoconfig_e82ac94514eca4bb9bcfc04c550a7144.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ofswitchlearnedinfoconfig_e82ac94514eca4bb9bcfc04c550a7144.py @@ -275,3 +275,24 @@ def read(self, href): - ServerError: The server has encountered an uncategorized error condition """ return self._read(href) + + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ofswitchports_f9b16b436eb30e1711de8e369383df29.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ofswitchports_f9b16b436eb30e1711de8e369383df29.py index 9dc82c379..91a374448 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ofswitchports_f9b16b436eb30e1711de8e369383df29.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ofswitchports_f9b16b436eb30e1711de8e369383df29.py @@ -501,6 +501,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def SimulatePortUpDown(self, *args, **kwargs): # type: (*Any, **Any) -> Union[List[str], None] """Executes the simulatePortUpDown operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ofswitchqueues_9037a6161291f813628ddfbefe3df8ed.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ofswitchqueues_9037a6161291f813628ddfbefe3df8ed.py index 1ac402575..f9acf794d 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ofswitchqueues_9037a6161291f813628ddfbefe3df8ed.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ofswitchqueues_9037a6161291f813628ddfbefe3df8ed.py @@ -229,6 +229,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/openflowchannel_97012d0be69c2c7c1b2ca179dbbe39ac.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/openflowchannel_97012d0be69c2c7c1b2ca179dbbe39ac.py index c2f5e2b9b..4b402a9f0 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/openflowchannel_97012d0be69c2c7c1b2ca179dbbe39ac.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/openflowchannel_97012d0be69c2c7c1b2ca179dbbe39ac.py @@ -701,6 +701,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def GetAsynchronousConfiguration(self, *args, **kwargs): # type: (*Any, **Any) -> Union[List[str], None] """Executes the getAsynchronousConfiguration operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/openflowcontroller_855b90b006cc4c874a779dee4d2b3eb2.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/openflowcontroller_855b90b006cc4c874a779dee4d2b3eb2.py index c89156cd2..84f993d8d 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/openflowcontroller_855b90b006cc4c874a779dee4d2b3eb2.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/openflowcontroller_855b90b006cc4c874a779dee4d2b3eb2.py @@ -964,6 +964,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def ClearAllLearnedInfo(self, *args, **kwargs): # type: (*Any, **Any) -> Union[List[str], None] """Executes the clearAllLearnedInfo operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/openflowswitch_11d07d0a0b339c8fe20b86a2badffa69.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/openflowswitch_11d07d0a0b339c8fe20b86a2badffa69.py index 70d606e3e..9b558c34e 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/openflowswitch_11d07d0a0b339c8fe20b86a2badffa69.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/openflowswitch_11d07d0a0b339c8fe20b86a2badffa69.py @@ -1382,6 +1382,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def ClearAllLearnedInfo(self, *args, **kwargs): # type: (*Any, **Any) -> Union[List[str], None] """Executes the clearAllLearnedInfo operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/orandu_3c913d8352aa36ef882a1ba8a0683584.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/orandu_3c913d8352aa36ef882a1ba8a0683584.py index 7a22b1f7e..66c58f545 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/orandu_3c913d8352aa36ef882a1ba8a0683584.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/orandu_3c913d8352aa36ef882a1ba8a0683584.py @@ -624,6 +624,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def RestartDown(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the restartDown operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/oranru_c5d61b81f2557e778753a97ef8b7363b.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/oranru_c5d61b81f2557e778753a97ef8b7363b.py index 82309bebb..8f438bde1 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/oranru_c5d61b81f2557e778753a97ef8b7363b.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/oranru_c5d61b81f2557e778753a97ef8b7363b.py @@ -546,6 +546,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def RestartDown(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the restartDown operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ospfbierbsobjectlist_d963618a7e3bb458722a4ffc379ac86a.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ospfbierbsobjectlist_d963618a7e3bb458722a4ffc379ac86a.py index 896d0db91..b86bd084c 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ospfbierbsobjectlist_d963618a7e3bb458722a4ffc379ac86a.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ospfbierbsobjectlist_d963618a7e3bb458722a4ffc379ac86a.py @@ -198,6 +198,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, BIERBitStringLength=None, LabelStart=None, MaxSI=None ): diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ospfbiersubdomainlist_a244513d4753b7b3d307266e2c9b6c70.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ospfbiersubdomainlist_a244513d4753b7b3d307266e2c9b6c70.py index fc82f3111..03e8039f9 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ospfbiersubdomainlist_a244513d4753b7b3d307266e2c9b6c70.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ospfbiersubdomainlist_a244513d4753b7b3d307266e2c9b6c70.py @@ -254,6 +254,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ospfflexalgorithmlist_4ae63bf2db7540120979d438049bb34e.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ospfflexalgorithmlist_4ae63bf2db7540120979d438049bb34e.py index b5f80dfac..aa99838be 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ospfflexalgorithmlist_4ae63bf2db7540120979d438049bb34e.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ospfflexalgorithmlist_4ae63bf2db7540120979d438049bb34e.py @@ -377,6 +377,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ospfprefixessid_0f9cc11eabc0cd859e93abb4b233dcb5.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ospfprefixessid_0f9cc11eabc0cd859e93abb4b233dcb5.py index 27438235f..b98778a1c 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ospfprefixessid_0f9cc11eabc0cd859e93abb4b233dcb5.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ospfprefixessid_0f9cc11eabc0cd859e93abb4b233dcb5.py @@ -280,6 +280,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ospfpseudointerface_b7d6951378c8349a1b4de8073141e419.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ospfpseudointerface_b7d6951378c8349a1b4de8073141e419.py index d48ecb680..9d20ab69a 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ospfpseudointerface_b7d6951378c8349a1b4de8073141e419.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ospfpseudointerface_b7d6951378c8349a1b4de8073141e419.py @@ -898,6 +898,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def Disconnect(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the disconnect operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ospfpseudoprefixessid_3b1ec47376666bd4309a78f3999c54d1.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ospfpseudoprefixessid_3b1ec47376666bd4309a78f3999c54d1.py index 186b0500d..6cd017d77 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ospfpseudoprefixessid_3b1ec47376666bd4309a78f3999c54d1.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ospfpseudoprefixessid_3b1ec47376666bd4309a78f3999c54d1.py @@ -268,6 +268,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ospfpseudorouter_4f8ac1720e067552c5d841a1a42fd3a1.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ospfpseudorouter_4f8ac1720e067552c5d841a1a42fd3a1.py index 8f0d74d2d..205774094 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ospfpseudorouter_4f8ac1720e067552c5d841a1a42fd3a1.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ospfpseudorouter_4f8ac1720e067552c5d841a1a42fd3a1.py @@ -820,6 +820,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def Start(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the start operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ospfpseudorouterstubnetworks_529623b7b4a99bce259e7e9cc31d4740.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ospfpseudorouterstubnetworks_529623b7b4a99bce259e7e9cc31d4740.py index c755dec3b..c7107c3b6 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ospfpseudorouterstubnetworks_529623b7b4a99bce259e7e9cc31d4740.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ospfpseudorouterstubnetworks_529623b7b4a99bce259e7e9cc31d4740.py @@ -352,6 +352,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def Advertise(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the advertise operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ospfpseudorouterstubroutes_412e064d08a94b4fcc40c44dd11c5318.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ospfpseudorouterstubroutes_412e064d08a94b4fcc40c44dd11c5318.py index f494434d0..75d28395f 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ospfpseudorouterstubroutes_412e064d08a94b4fcc40c44dd11c5318.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ospfpseudorouterstubroutes_412e064d08a94b4fcc40c44dd11c5318.py @@ -352,6 +352,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def Advertise(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the advertise operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ospfpseudoroutersummaryroutes_5e51c97c0564d672f57ec5fd0f34b1cb.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ospfpseudoroutersummaryroutes_5e51c97c0564d672f57ec5fd0f34b1cb.py index 1e0611c7f..84347a739 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ospfpseudoroutersummaryroutes_5e51c97c0564d672f57ec5fd0f34b1cb.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ospfpseudoroutersummaryroutes_5e51c97c0564d672f57ec5fd0f34b1cb.py @@ -380,6 +380,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def Advertise(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the advertise operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ospfpseudoroutertype1extroutes_8af6c2f32014611d60e64f734921e6df.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ospfpseudoroutertype1extroutes_8af6c2f32014611d60e64f734921e6df.py index 1941dd838..0df771521 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ospfpseudoroutertype1extroutes_8af6c2f32014611d60e64f734921e6df.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ospfpseudoroutertype1extroutes_8af6c2f32014611d60e64f734921e6df.py @@ -352,6 +352,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def Advertise(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the advertise operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ospfpseudoroutertype2extroutes_1eb6898acd2430328b24bfa765a4dc59.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ospfpseudoroutertype2extroutes_1eb6898acd2430328b24bfa765a4dc59.py index 77d2095d7..3d020fc92 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ospfpseudoroutertype2extroutes_1eb6898acd2430328b24bfa765a4dc59.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ospfpseudoroutertype2extroutes_1eb6898acd2430328b24bfa765a4dc59.py @@ -352,6 +352,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def Advertise(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the advertise operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ospfpseudotrafficengineeringprofilelist_7498333e0485bcf98fa50adfd0dc76c8.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ospfpseudotrafficengineeringprofilelist_7498333e0485bcf98fa50adfd0dc76c8.py index dd288d82c..b295ff9ca 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ospfpseudotrafficengineeringprofilelist_7498333e0485bcf98fa50adfd0dc76c8.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ospfpseudotrafficengineeringprofilelist_7498333e0485bcf98fa50adfd0dc76c8.py @@ -583,6 +583,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def Start(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the start operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ospfrouteproperty_d69371739e1874a63feb0c8493c3f052.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ospfrouteproperty_d69371739e1874a63feb0c8493c3f052.py index 817890bec..e0c760aa8 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ospfrouteproperty_d69371739e1874a63feb0c8493c3f052.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ospfrouteproperty_d69371739e1874a63feb0c8493c3f052.py @@ -693,6 +693,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def AgeOutRoutes(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the ageOutRoutes operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ospfrouterssid_5e55e392a518bc7ace38c8d3b21972c4.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ospfrouterssid_5e55e392a518bc7ace38c8d3b21972c4.py index 6a8194774..da2ab9a6e 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ospfrouterssid_5e55e392a518bc7ace38c8d3b21972c4.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ospfrouterssid_5e55e392a518bc7ace38c8d3b21972c4.py @@ -280,6 +280,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ospfsimulatedtopologyconfig_97e4d55091dcce69020c77d08e90eee0.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ospfsimulatedtopologyconfig_97e4d55091dcce69020c77d08e90eee0.py index 9ff190be7..5278846cd 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ospfsimulatedtopologyconfig_97e4d55091dcce69020c77d08e90eee0.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ospfsimulatedtopologyconfig_97e4d55091dcce69020c77d08e90eee0.py @@ -192,6 +192,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def Start(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the start operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ospfsralgorithmlist_6d5b092154ba202ff142c9a80bdf1352.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ospfsralgorithmlist_6d5b092154ba202ff142c9a80bdf1352.py index c49e28211..07d660b73 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ospfsralgorithmlist_6d5b092154ba202ff142c9a80bdf1352.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ospfsralgorithmlist_6d5b092154ba202ff142c9a80bdf1352.py @@ -172,6 +172,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids(self, PortNames=None, OspfSrAlgorithm=None): """Base class infrastructure that gets a list of ospfSRAlgorithmList device ids encapsulated by this object. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ospfsrgbrangesubobjectslist_3183939e699e6d81694733106246396f.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ospfsrgbrangesubobjectslist_3183939e699e6d81694733106246396f.py index 675ee4bd9..d1b9d85f1 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ospfsrgbrangesubobjectslist_3183939e699e6d81694733106246396f.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ospfsrgbrangesubobjectslist_3183939e699e6d81694733106246396f.py @@ -183,6 +183,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids(self, PortNames=None, SidCount=None, StartSIDLabel=None): """Base class infrastructure that gets a list of ospfSRGBRangeSubObjectsList device ids encapsulated by this object. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ospfsrlbrangesubobjectslist_3469b01175113efcd50b58a826370e91.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ospfsrlbrangesubobjectslist_3469b01175113efcd50b58a826370e91.py index 185b9c6a5..662722b68 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ospfsrlbrangesubobjectslist_3469b01175113efcd50b58a826370e91.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ospfsrlbrangesubobjectslist_3469b01175113efcd50b58a826370e91.py @@ -185,6 +185,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids(self, PortNames=None, SrlbSidCount=None, SrlbStartSIDLabel=None): """Base class infrastructure that gets a list of ospfSRLBRangeSubObjectsList device ids encapsulated by this object. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ospfsrmappingserverlist_862027d65187e27ca0fba54bb0c8b3f4.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ospfsrmappingserverlist_862027d65187e27ca0fba54bb0c8b3f4.py index 9e2f5429e..3ecf732f5 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ospfsrmappingserverlist_862027d65187e27ca0fba54bb0c8b3f4.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ospfsrmappingserverlist_862027d65187e27ca0fba54bb0c8b3f4.py @@ -327,6 +327,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def Advertise(self, *args, **kwargs): # type: (*Any, **Any) -> Union[List[str], None] """Executes the advertise operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ospftrafficengineering_d69348cf2c027c25fac7ced298f72f15.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ospftrafficengineering_d69348cf2c027c25fac7ced298f72f15.py index 977986159..98abb63ee 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ospftrafficengineering_d69348cf2c027c25fac7ced298f72f15.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ospftrafficengineering_d69348cf2c027c25fac7ced298f72f15.py @@ -327,6 +327,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + DEPRECATED addDeleteTags(Arg2=bool, async_operation=bool) + --------------------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ospftrafficengineeringprofilelist_401775f4ebafd104abb270e025fbc95e.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ospftrafficengineeringprofilelist_401775f4ebafd104abb270e025fbc95e.py index af6701eb0..0607fe184 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ospftrafficengineeringprofilelist_401775f4ebafd104abb270e025fbc95e.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ospftrafficengineeringprofilelist_401775f4ebafd104abb270e025fbc95e.py @@ -370,6 +370,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ospfv2_eb5737de1e17134d62e78286b93d24ac.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ospfv2_eb5737de1e17134d62e78286b93d24ac.py index d774350dd..97e620413 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ospfv2_eb5737de1e17134d62e78286b93d24ac.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ospfv2_eb5737de1e17134d62e78286b93d24ac.py @@ -1203,6 +1203,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def ClearAllLearnedInfo(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the clearAllLearnedInfo operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ospfv2router_cbf436add158272345961e609dd48227.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ospfv2router_cbf436add158272345961e609dd48227.py index ad97d0a4a..aa8e81345 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ospfv2router_cbf436add158272345961e609dd48227.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ospfv2router_cbf436add158272345961e609dd48227.py @@ -1271,6 +1271,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def OspfStartRouter(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the ospfStartRouter operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ospfv3_3fea0f5606ed503cbf2020d4f305b6fa.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ospfv3_3fea0f5606ed503cbf2020d4f305b6fa.py index 7682e72dd..07318532e 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ospfv3_3fea0f5606ed503cbf2020d4f305b6fa.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ospfv3_3fea0f5606ed503cbf2020d4f305b6fa.py @@ -1029,6 +1029,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def ClearAllLearnedInfo(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the clearAllLearnedInfo operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ospfv3pseudointerface_1f2c21f89a2195f0af73017a746752a7.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ospfv3pseudointerface_1f2c21f89a2195f0af73017a746752a7.py index 0e0c62899..1d54f8895 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ospfv3pseudointerface_1f2c21f89a2195f0af73017a746752a7.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ospfv3pseudointerface_1f2c21f89a2195f0af73017a746752a7.py @@ -533,6 +533,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def Disconnect(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the disconnect operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ospfv3pseudorouter_c91985aa394a58376f1a6a15792ca69e.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ospfv3pseudorouter_c91985aa394a58376f1a6a15792ca69e.py index 4e4970599..502abb25f 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ospfv3pseudorouter_c91985aa394a58376f1a6a15792ca69e.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ospfv3pseudorouter_c91985aa394a58376f1a6a15792ca69e.py @@ -795,6 +795,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def Start(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the start operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ospfv3pseudosrv6adjsidlist_08a5b0e6d4fa3ec826e164debaebe1cc.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ospfv3pseudosrv6adjsidlist_08a5b0e6d4fa3ec826e164debaebe1cc.py index 9b46172e0..0f1ece442 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ospfv3pseudosrv6adjsidlist_08a5b0e6d4fa3ec826e164debaebe1cc.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ospfv3pseudosrv6adjsidlist_08a5b0e6d4fa3ec826e164debaebe1cc.py @@ -634,6 +634,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def Start(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the start operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ospfv3pseudosrv6endsidlist_664f21e5ae553ce8025b79ed0c8636ab.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ospfv3pseudosrv6endsidlist_664f21e5ae553ce8025b79ed0c8636ab.py index bdd407499..2488430e7 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ospfv3pseudosrv6endsidlist_664f21e5ae553ce8025b79ed0c8636ab.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ospfv3pseudosrv6endsidlist_664f21e5ae553ce8025b79ed0c8636ab.py @@ -343,6 +343,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def Start(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the start operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ospfv3pseudosrv6locatorentrylist_189ed001286030b51baefaa3e501a216.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ospfv3pseudosrv6locatorentrylist_189ed001286030b51baefaa3e501a216.py index 49e93b69c..8e88ee164 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ospfv3pseudosrv6locatorentrylist_189ed001286030b51baefaa3e501a216.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ospfv3pseudosrv6locatorentrylist_189ed001286030b51baefaa3e501a216.py @@ -358,6 +358,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def Start(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the start operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ospfv3routeproperty_daf6d024b6ece255d2d043618b13bae5.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ospfv3routeproperty_daf6d024b6ece255d2d043618b13bae5.py index b726f7e92..6df5f55be 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ospfv3routeproperty_daf6d024b6ece255d2d043618b13bae5.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ospfv3routeproperty_daf6d024b6ece255d2d043618b13bae5.py @@ -440,6 +440,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def AgeOutRoutes(self, *args, **kwargs): # type: (*Any, **Any) -> Union[List[str], None] """Executes the ageOutRoutes operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ospfv3router_8b017f50055a8a8daa11df922db1a75a.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ospfv3router_8b017f50055a8a8daa11df922db1a75a.py index 8fbffd42b..38eda276c 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ospfv3router_8b017f50055a8a8daa11df922db1a75a.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ospfv3router_8b017f50055a8a8daa11df922db1a75a.py @@ -969,6 +969,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def Ospfv3StartRouter(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the ospfv3StartRouter operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ospfv3simulatedtopologyconfig_497060526b39fa396a89711564688ce1.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ospfv3simulatedtopologyconfig_497060526b39fa396a89711564688ce1.py index ec667fe5d..8ed74b7ef 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ospfv3simulatedtopologyconfig_497060526b39fa396a89711564688ce1.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ospfv3simulatedtopologyconfig_497060526b39fa396a89711564688ce1.py @@ -192,6 +192,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def Start(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the start operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ospfv3srgbrangesubobjectslist_be527e153c8e6d4e5c3f4321aa8409c4.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ospfv3srgbrangesubobjectslist_be527e153c8e6d4e5c3f4321aa8409c4.py index 5e7c8cf6a..7ce3db424 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ospfv3srgbrangesubobjectslist_be527e153c8e6d4e5c3f4321aa8409c4.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ospfv3srgbrangesubobjectslist_be527e153c8e6d4e5c3f4321aa8409c4.py @@ -183,6 +183,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids(self, PortNames=None, SidCount=None, StartSIDLabel=None): """Base class infrastructure that gets a list of ospfv3SRGBRangeSubObjectsList device ids encapsulated by this object. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ospfv3srv6adjsidlist_bbaf05c92b116fc5c4157a7367085df2.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ospfv3srv6adjsidlist_bbaf05c92b116fc5c4157a7367085df2.py index 9b720607d..03df1d16a 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ospfv3srv6adjsidlist_bbaf05c92b116fc5c4157a7367085df2.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ospfv3srv6adjsidlist_bbaf05c92b116fc5c4157a7367085df2.py @@ -359,6 +359,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ospfv3srv6endsidlist_875e11f14eaca0bdcf1a1b187b7273f2.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ospfv3srv6endsidlist_875e11f14eaca0bdcf1a1b187b7273f2.py index 5b011d38a..84feefb7f 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ospfv3srv6endsidlist_875e11f14eaca0bdcf1a1b187b7273f2.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ospfv3srv6endsidlist_875e11f14eaca0bdcf1a1b187b7273f2.py @@ -306,6 +306,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ospfv3srv6locatorentrylist_f393d213b0ac35e68b8e463997a4d1c9.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ospfv3srv6locatorentrylist_f393d213b0ac35e68b8e463997a4d1c9.py index 535c0829c..7de5ce2e6 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ospfv3srv6locatorentrylist_f393d213b0ac35e68b8e463997a4d1c9.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ospfv3srv6locatorentrylist_f393d213b0ac35e68b8e463997a4d1c9.py @@ -336,6 +336,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ovsdbcontroller_789ff2911c009a5ce719da4041ccbf73.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ovsdbcontroller_789ff2911c009a5ce719da4041ccbf73.py index 9b8287aa0..813ee7113 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ovsdbcontroller_789ff2911c009a5ce719da4041ccbf73.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ovsdbcontroller_789ff2911c009a5ce719da4041ccbf73.py @@ -998,6 +998,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def AddServer(self, *args, **kwargs): # type: (*Any, **Any) -> Union[List[str], None] """Executes the addServer operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ovsdbserver_54c04aa8692b2b034dcd8eac05978340.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ovsdbserver_54c04aa8692b2b034dcd8eac05978340.py index 629fd9960..8c2891b1e 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ovsdbserver_54c04aa8692b2b034dcd8eac05978340.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ovsdbserver_54c04aa8692b2b034dcd8eac05978340.py @@ -534,6 +534,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def RestartDown(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the restartDown operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/packetinlist_10d8adb40e4e05f4b37904f2c6428ca9.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/packetinlist_10d8adb40e4e05f4b37904f2c6428ca9.py index 05a33c98d..c7959513a 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/packetinlist_10d8adb40e4e05f4b37904f2c6428ca9.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/packetinlist_10d8adb40e4e05f4b37904f2c6428ca9.py @@ -249,6 +249,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def SendPause(self, *args, **kwargs): # type: (*Any, **Any) -> Union[List[str], None] """Executes the sendPause operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pbbevpnparameter_d05ae0a5a8ee8ea80a2b7ad1c575fa72.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pbbevpnparameter_d05ae0a5a8ee8ea80a2b7ad1c575fa72.py index d10f928fd..478047e7d 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pbbevpnparameter_d05ae0a5a8ee8ea80a2b7ad1c575fa72.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pbbevpnparameter_d05ae0a5a8ee8ea80a2b7ad1c575fa72.py @@ -169,6 +169,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids(self, PortNames=None, BMac=None): """Base class infrastructure that gets a list of pbbEVpnParameter device ids encapsulated by this object. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pcc_4539e0756de0d95d8087c284ae0e24f7.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pcc_4539e0756de0d95d8087c284ae0e24f7.py index 7dfa59328..bc874620d 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pcc_4539e0756de0d95d8087c284ae0e24f7.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pcc_4539e0756de0d95d8087c284ae0e24f7.py @@ -1114,6 +1114,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def ClearPccLearnedInfoInClient(self, *args, **kwargs): # type: (*Any, **Any) -> Union[List[str], None] """Executes the clearPccLearnedInfoInClient operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pccgroup_aeb7ce3c3de9283edc987dc379d35208.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pccgroup_aeb7ce3c3de9283edc987dc379d35208.py index 3fd4e4551..e609699c6 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pccgroup_aeb7ce3c3de9283edc987dc379d35208.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pccgroup_aeb7ce3c3de9283edc987dc379d35208.py @@ -864,6 +864,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def ClearPceAllLearnedInfo(self, *args, **kwargs): # type: (*Any, **Any) -> Union[List[str], None] """Executes the clearPceAllLearnedInfo operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pcclearnedlspdb_1f09e65ced78209c908d7bf80bf0e73d.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pcclearnedlspdb_1f09e65ced78209c908d7bf80bf0e73d.py index 9ea0fc55a..14298fc17 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pcclearnedlspdb_1f09e65ced78209c908d7bf80bf0e73d.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pcclearnedlspdb_1f09e65ced78209c908d7bf80bf0e73d.py @@ -634,3 +634,24 @@ def read(self, href): - ServerError: The server has encountered an uncategorized error condition """ return self._read(href) + + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pccrequestedmetricsubobjectslist_c24616543d14c4003121b08785bb4446.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pccrequestedmetricsubobjectslist_c24616543d14c4003121b08785bb4446.py index 4d01d6322..c2a280b8f 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pccrequestedmetricsubobjectslist_c24616543d14c4003121b08785bb4446.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pccrequestedmetricsubobjectslist_c24616543d14c4003121b08785bb4446.py @@ -235,6 +235,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pce_bd5f6a11078a4f0deb5d56bef8e9674f.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pce_bd5f6a11078a4f0deb5d56bef8e9674f.py index 058bca437..12e9f0835 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pce_bd5f6a11078a4f0deb5d56bef8e9674f.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pce_bd5f6a11078a4f0deb5d56bef8e9674f.py @@ -459,6 +459,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def RestartDown(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the restartDown operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pceinitiatelspparameters_1c9b366144f491bf4e7b932c68a9f208.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pceinitiatelspparameters_1c9b366144f491bf4e7b932c68a9f208.py index b732bf7f9..06ebc8076 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pceinitiatelspparameters_1c9b366144f491bf4e7b932c68a9f208.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pceinitiatelspparameters_1c9b366144f491bf4e7b932c68a9f208.py @@ -965,6 +965,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def ReturnDelegation(self, *args, **kwargs): # type: (*Any, **Any) -> Union[List[str], None] """Executes the returnDelegation operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pceinitiatexroobject_4394b1635bed370ec02e722a5dab40b6.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pceinitiatexroobject_4394b1635bed370ec02e722a5dab40b6.py index f3fbfbfd5..9f700f466 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pceinitiatexroobject_4394b1635bed370ec02e722a5dab40b6.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pceinitiatexroobject_4394b1635bed370ec02e722a5dab40b6.py @@ -326,6 +326,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pcepassociationobjectslist_809d161eaa571fb4817c7358cc0e660c.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pcepassociationobjectslist_809d161eaa571fb4817c7358cc0e660c.py index 07ac0bdf8..6cc3effda 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pcepassociationobjectslist_809d161eaa571fb4817c7358cc0e660c.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pcepassociationobjectslist_809d161eaa571fb4817c7358cc0e660c.py @@ -559,6 +559,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pcepassociationobjectslist_9cf08bd9ed27af6e5f7fe48f9c58d0f9.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pcepassociationobjectslist_9cf08bd9ed27af6e5f7fe48f9c58d0f9.py index 856155b82..6bbd723d3 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pcepassociationobjectslist_9cf08bd9ed27af6e5f7fe48f9c58d0f9.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pcepassociationobjectslist_9cf08bd9ed27af6e5f7fe48f9c58d0f9.py @@ -574,6 +574,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pcepassociationobjectslisttriggerparam_6b13018b4290569a0b0887965ecab0ca.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pcepassociationobjectslisttriggerparam_6b13018b4290569a0b0887965ecab0ca.py index cedf28102..dd18a6437 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pcepassociationobjectslisttriggerparam_6b13018b4290569a0b0887965ecab0ca.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pcepassociationobjectslisttriggerparam_6b13018b4290569a0b0887965ecab0ca.py @@ -561,6 +561,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pcepbackuppces_f780e95e8b1b209ab7ad3ca8a9f3a4c6.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pcepbackuppces_f780e95e8b1b209ab7ad3ca8a9f3a4c6.py index eea617675..ec72e8ed1 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pcepbackuppces_f780e95e8b1b209ab7ad3ca8a9f3a4c6.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pcepbackuppces_f780e95e8b1b209ab7ad3ca8a9f3a4c6.py @@ -197,6 +197,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def BackupPceStart(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the backupPceStart operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pceperoobjectslisttriggerparam_7a5c524782bff6932bd99b311c55e9ad.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pceperoobjectslisttriggerparam_7a5c524782bff6932bd99b311c55e9ad.py index bb0afc2ec..090e342cf 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pceperoobjectslisttriggerparam_7a5c524782bff6932bd99b311c55e9ad.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pceperoobjectslisttriggerparam_7a5c524782bff6932bd99b311c55e9ad.py @@ -453,6 +453,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pceperosubobjectslist_86d5cc1708b448f03a004b8dddbd83d7.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pceperosubobjectslist_86d5cc1708b448f03a004b8dddbd83d7.py index a329e7291..f1bf342d7 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pceperosubobjectslist_86d5cc1708b448f03a004b8dddbd83d7.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pceperosubobjectslist_86d5cc1708b448f03a004b8dddbd83d7.py @@ -494,6 +494,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pcepirosubobjectslist_9817af6d0e89111784eda2c3b9333ff5.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pcepirosubobjectslist_9817af6d0e89111784eda2c3b9333ff5.py index a6c301ec9..322c6a6a6 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pcepirosubobjectslist_9817af6d0e89111784eda2c3b9333ff5.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pcepirosubobjectslist_9817af6d0e89111784eda2c3b9333ff5.py @@ -261,6 +261,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pcepmetricsubobjectslist_b1398d82dd25e8e98d50662ebf5ba3d1.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pcepmetricsubobjectslist_b1398d82dd25e8e98d50662ebf5ba3d1.py index 306053ae0..e9414bb7d 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pcepmetricsubobjectslist_b1398d82dd25e8e98d50662ebf5ba3d1.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pcepmetricsubobjectslist_b1398d82dd25e8e98d50662ebf5ba3d1.py @@ -209,6 +209,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, Active=None, BFlag=None, MetricType=None, MetricValue=None ): diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pcepmetricsubobjectslisttriggerparam_de2e60079005ccd984641de408d76c7e.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pcepmetricsubobjectslisttriggerparam_de2e60079005ccd984641de408d76c7e.py index 71421fa0a..1d5ce0d8f 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pcepmetricsubobjectslisttriggerparam_de2e60079005ccd984641de408d76c7e.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pcepmetricsubobjectslisttriggerparam_de2e60079005ccd984641de408d76c7e.py @@ -211,6 +211,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pcepsrv6eroobjectslist_205ff487307c7e9626812588ef2b6684.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pcepsrv6eroobjectslist_205ff487307c7e9626812588ef2b6684.py index fb418b318..2ced3180c 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pcepsrv6eroobjectslist_205ff487307c7e9626812588ef2b6684.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pcepsrv6eroobjectslist_205ff487307c7e9626812588ef2b6684.py @@ -411,6 +411,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pceptepathbindingtlvlist_a446e2f09315dac50332432f39dfd53a.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pceptepathbindingtlvlist_a446e2f09315dac50332432f39dfd53a.py index d85d99f6b..f847ffa6b 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pceptepathbindingtlvlist_a446e2f09315dac50332432f39dfd53a.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pceptepathbindingtlvlist_a446e2f09315dac50332432f39dfd53a.py @@ -338,6 +338,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pceptepathbindingtlvlist_f4c1df238c92bb045645b2a65159e09e.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pceptepathbindingtlvlist_f4c1df238c92bb045645b2a65159e09e.py index 6a4659820..6a5f1e769 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pceptepathbindingtlvlist_f4c1df238c92bb045645b2a65159e09e.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pceptepathbindingtlvlist_f4c1df238c92bb045645b2a65159e09e.py @@ -351,6 +351,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pceptepathbindingtlvlisttriggerparam_73209d05e577378a56b9722352f1235b.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pceptepathbindingtlvlisttriggerparam_73209d05e577378a56b9722352f1235b.py index c1afc9495..e72c3411c 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pceptepathbindingtlvlisttriggerparam_73209d05e577378a56b9722352f1235b.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pceptepathbindingtlvlisttriggerparam_73209d05e577378a56b9722352f1235b.py @@ -364,6 +364,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pcepxroobjectslisttriggerparam_5f7b6057618984dd647c0e901b41ccfc.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pcepxroobjectslisttriggerparam_5f7b6057618984dd647c0e901b41ccfc.py index c056e9cea..6df865ea6 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pcepxroobjectslisttriggerparam_5f7b6057618984dd647c0e901b41ccfc.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pcepxroobjectslisttriggerparam_5f7b6057618984dd647c0e901b41ccfc.py @@ -350,6 +350,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pcepxrosubobjectslist_a61cc0ded9b5e7cc900bb16a43234a56.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pcepxrosubobjectslist_a61cc0ded9b5e7cc900bb16a43234a56.py index e1bed86c6..6a874d76c 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pcepxrosubobjectslist_a61cc0ded9b5e7cc900bb16a43234a56.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pcepxrosubobjectslist_a61cc0ded9b5e7cc900bb16a43234a56.py @@ -339,6 +339,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pcetriggerparamlist_f73e78368b17b6d0af989167da955078.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pcetriggerparamlist_f73e78368b17b6d0af989167da955078.py index aac86ba98..28944d2c8 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pcetriggerparamlist_f73e78368b17b6d0af989167da955078.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pcetriggerparamlist_f73e78368b17b6d0af989167da955078.py @@ -994,6 +994,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pcexrosubobjectslist_497bc286ebfb51b8813947a23cd5817a.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pcexrosubobjectslist_497bc286ebfb51b8813947a23cd5817a.py index c0467ced2..c8e56ec5b 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pcexrosubobjectslist_497bc286ebfb51b8813947a23cd5817a.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pcexrosubobjectslist_497bc286ebfb51b8813947a23cd5817a.py @@ -326,6 +326,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pcreplylspparameters_20e35ff81e20c98310382047d3d57147.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pcreplylspparameters_20e35ff81e20c98310382047d3d57147.py index cc2240521..3779f3588 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pcreplylspparameters_20e35ff81e20c98310382047d3d57147.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pcreplylspparameters_20e35ff81e20c98310382047d3d57147.py @@ -905,6 +905,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def ReturnDelegation(self, *args, **kwargs): # type: (*Any, **Any) -> Union[List[str], None] """Executes the returnDelegation operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pcrequestmatchcriteria_cae99ca09ed6f91e6ae87cc2a32eeb6f.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pcrequestmatchcriteria_cae99ca09ed6f91e6ae87cc2a32eeb6f.py index d32c8caa2..5e929e152 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pcrequestmatchcriteria_cae99ca09ed6f91e6ae87cc2a32eeb6f.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pcrequestmatchcriteria_cae99ca09ed6f91e6ae87cc2a32eeb6f.py @@ -278,6 +278,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pimrouter_fdf354c2c4e318a7557c536f097648a7.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pimrouter_fdf354c2c4e318a7557c536f097648a7.py index 6e6fbea7a..eb810aaac 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pimrouter_fdf354c2c4e318a7557c536f097648a7.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pimrouter_fdf354c2c4e318a7557c536f097648a7.py @@ -335,6 +335,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def RestartDown(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the restartDown operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pimv4candidaterpslist_8f7559105ce2b97021af17fcfae64d10.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pimv4candidaterpslist_8f7559105ce2b97021af17fcfae64d10.py index 587722d8c..1c0f03d41 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pimv4candidaterpslist_8f7559105ce2b97021af17fcfae64d10.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pimv4candidaterpslist_8f7559105ce2b97021af17fcfae64d10.py @@ -364,6 +364,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def Start(self, *args, **kwargs): # type: (*Any, **Any) -> Union[List[str], None] """Executes the start operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pimv4interface_92603cbceaf153039f7575ed9bc4aa67.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pimv4interface_92603cbceaf153039f7575ed9bc4aa67.py index 6c952aa63..55b536bc8 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pimv4interface_92603cbceaf153039f7575ed9bc4aa67.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pimv4interface_92603cbceaf153039f7575ed9bc4aa67.py @@ -861,6 +861,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def ClearLearnedInfo(self, *args, **kwargs): # type: (*Any, **Any) -> Union[List[str], None] """Executes the clearLearnedInfo operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pimv4joinprunelist_6cf76e8d5773a1dc5c5562875733510d.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pimv4joinprunelist_6cf76e8d5773a1dc5c5562875733510d.py index 07ed4e54d..0d8dce333 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pimv4joinprunelist_6cf76e8d5773a1dc5c5562875733510d.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pimv4joinprunelist_6cf76e8d5773a1dc5c5562875733510d.py @@ -449,6 +449,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def Join(self, *args, **kwargs): # type: (*Any, **Any) -> Union[List[str], None] """Executes the join operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pimv4sourceslist_75a6674b863a284f98faeffbb0b40d9f.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pimv4sourceslist_75a6674b863a284f98faeffbb0b40d9f.py index 47f0943f3..beab587c2 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pimv4sourceslist_75a6674b863a284f98faeffbb0b40d9f.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pimv4sourceslist_75a6674b863a284f98faeffbb0b40d9f.py @@ -400,6 +400,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def Start(self, *args, **kwargs): # type: (*Any, **Any) -> Union[List[str], None] """Executes the start operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pimv6candidaterpslist_844aa043d76dc15890b467e44e8f739e.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pimv6candidaterpslist_844aa043d76dc15890b467e44e8f739e.py index 047dfe0be..114b98614 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pimv6candidaterpslist_844aa043d76dc15890b467e44e8f739e.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pimv6candidaterpslist_844aa043d76dc15890b467e44e8f739e.py @@ -364,6 +364,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def Start(self, *args, **kwargs): # type: (*Any, **Any) -> Union[List[str], None] """Executes the start operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pimv6interface_74a3aa08a315ca50732e853e3e8cdc43.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pimv6interface_74a3aa08a315ca50732e853e3e8cdc43.py index 96dfc5b7d..a64edf2d4 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pimv6interface_74a3aa08a315ca50732e853e3e8cdc43.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pimv6interface_74a3aa08a315ca50732e853e3e8cdc43.py @@ -863,6 +863,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def ClearLearnedInfo(self, *args, **kwargs): # type: (*Any, **Any) -> Union[List[str], None] """Executes the clearLearnedInfo operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pimv6joinprunelist_45b4e701e80080858668a0625c9a948b.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pimv6joinprunelist_45b4e701e80080858668a0625c9a948b.py index 3ce860610..d86cb1cc4 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pimv6joinprunelist_45b4e701e80080858668a0625c9a948b.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pimv6joinprunelist_45b4e701e80080858668a0625c9a948b.py @@ -449,6 +449,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def Join(self, *args, **kwargs): # type: (*Any, **Any) -> Union[List[str], None] """Executes the join operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pimv6sourceslist_7c181c77974667394bfee5e6920a7772.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pimv6sourceslist_7c181c77974667394bfee5e6920a7772.py index 80e073868..94f88d3f8 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pimv6sourceslist_7c181c77974667394bfee5e6920a7772.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pimv6sourceslist_7c181c77974667394bfee5e6920a7772.py @@ -400,6 +400,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def Start(self, *args, **kwargs): # type: (*Any, **Any) -> Union[List[str], None] """Executes the start operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/plspid_051d75d17e1fb1b13dc5de62dda1109d.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/plspid_051d75d17e1fb1b13dc5de62dda1109d.py index 2eb6c9eb1..7e9404167 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/plspid_051d75d17e1fb1b13dc5de62dda1109d.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/plspid_051d75d17e1fb1b13dc5de62dda1109d.py @@ -91,3 +91,24 @@ def read(self, href): - ServerError: The server has encountered an uncategorized error condition """ return self._read(href) + + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pntlvlist_f29efa99695d122f75b5efd68698cd57.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pntlvlist_f29efa99695d122f75b5efd68698cd57.py index 186e4977b..f73b1d8b8 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pntlvlist_f29efa99695d122f75b5efd68698cd57.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pntlvlist_f29efa99695d122f75b5efd68698cd57.py @@ -209,6 +209,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, Increment=None, TlvLength=None, Type=None, Value=None ): diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pppoeuserslist_403d5b77357bdd46c760bcc6e328f73b.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pppoeuserslist_403d5b77357bdd46c760bcc6e328f73b.py index c58a9b1ac..1cc4a2c1b 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pppoeuserslist_403d5b77357bdd46c760bcc6e328f73b.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pppoeuserslist_403d5b77357bdd46c760bcc6e328f73b.py @@ -1566,6 +1566,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pppoxclient_f43b198156c11196dbbd8c4dbee2af9d.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pppoxclient_f43b198156c11196dbbd8c4dbee2af9d.py index e2914012e..c512a47d9 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pppoxclient_f43b198156c11196dbbd8c4dbee2af9d.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pppoxclient_f43b198156c11196dbbd8c4dbee2af9d.py @@ -288,13 +288,13 @@ def Dhcpv6client(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.dhcpv6client_355391ba11ab3c1555c827e2e4ac3c4c.Dhcpv6client): An instance of the Dhcpv6client class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.dhcpv6client_64480d87e9c578f0a0b7d3415d792d7e.Dhcpv6client): An instance of the Dhcpv6client class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.dhcpv6client_355391ba11ab3c1555c827e2e4ac3c4c import ( + from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.dhcpv6client_64480d87e9c578f0a0b7d3415d792d7e import ( Dhcpv6client, ) @@ -623,6 +623,26 @@ def PimV6Interface(self): return self._properties.get("PimV6Interface") return PimV6Interface(self) + @property + def Ptprobeinstancesrv6(self): + """ + Returns + ------- + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.ptprobeinstancesrv6_79ffe5c7f81290d2749e262cddea5618.Ptprobeinstancesrv6): An instance of the Ptprobeinstancesrv6 class + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.ptprobeinstancesrv6_79ffe5c7f81290d2749e262cddea5618 import ( + Ptprobeinstancesrv6, + ) + + if len(self._object_properties) > 0: + if self._properties.get("Ptprobeinstancesrv6", None) is not None: + return self._properties.get("Ptprobeinstancesrv6") + return Ptprobeinstancesrv6(self) + @property def Tag(self): """ @@ -2548,6 +2568,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def CloseIpcp(self, *args, **kwargs): """Executes the closeIpcp operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pppoxserver_622ad1c6d961bb8e246b079c72242bfa.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pppoxserver_622ad1c6d961bb8e246b079c72242bfa.py index 9ef735e9b..6ed293632 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pppoxserver_622ad1c6d961bb8e246b079c72242bfa.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pppoxserver_622ad1c6d961bb8e246b079c72242bfa.py @@ -608,6 +608,26 @@ def PppoxServerSessions(self): return self._properties.get("PppoxServerSessions") return PppoxServerSessions(self)._select() + @property + def Ptprobeinstancesrv6(self): + """ + Returns + ------- + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.ptprobeinstancesrv6_79ffe5c7f81290d2749e262cddea5618.Ptprobeinstancesrv6): An instance of the Ptprobeinstancesrv6 class + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.ptprobeinstancesrv6_79ffe5c7f81290d2749e262cddea5618 import ( + Ptprobeinstancesrv6, + ) + + if len(self._object_properties) > 0: + if self._properties.get("Ptprobeinstancesrv6", None) is not None: + return self._properties.get("Ptprobeinstancesrv6") + return Ptprobeinstancesrv6(self) + @property def Vxlan(self): """ @@ -2073,6 +2093,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def RestartDown(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the restartDown operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pppoxserversessions_34f51eaa47353aae9b360c64589d7c32.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pppoxserversessions_34f51eaa47353aae9b360c64589d7c32.py index 74e4becff..43e50a18f 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pppoxserversessions_34f51eaa47353aae9b360c64589d7c32.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pppoxserversessions_34f51eaa47353aae9b360c64589d7c32.py @@ -360,6 +360,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def CloseIpcp(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the closeIpcp operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/preestablishedsrlsps_967b2455bf37443139cbc5750c81086f.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/preestablishedsrlsps_967b2455bf37443139cbc5750c81086f.py index 17e2884a3..400cc7734 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/preestablishedsrlsps_967b2455bf37443139cbc5750c81086f.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/preestablishedsrlsps_967b2455bf37443139cbc5750c81086f.py @@ -960,6 +960,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def Delegate(self, *args, **kwargs): # type: (*Any, **Any) -> Union[List[str], None] """Executes the delegate operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pseudoroutessid_623bc67162f81219eae7debb23b5fa39.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pseudoroutessid_623bc67162f81219eae7debb23b5fa39.py index 9bbb2cb27..b214c8555 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pseudoroutessid_623bc67162f81219eae7debb23b5fa39.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pseudoroutessid_623bc67162f81219eae7debb23b5fa39.py @@ -327,6 +327,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ptp_10b9c21d9c7cf77e86ec2d87b28de348.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ptp_159da219e0807ce6756d8a5214d56f70.py similarity index 96% rename from ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ptp_10b9c21d9c7cf77e86ec2d87b28de348.py rename to ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ptp_159da219e0807ce6756d8a5214d56f70.py index 9e3076c83..fc154ee57 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ptp_10b9c21d9c7cf77e86ec2d87b28de348.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ptp_159da219e0807ce6756d8a5214d56f70.py @@ -76,6 +76,7 @@ class Ptp(Base): "DelayRespDropRate": "delayRespDropRate", "DelayRespReceiptTimeout": "delayRespReceiptTimeout", "DelayRespResidenceTime": "delayRespResidenceTime", + "DelayResponse1588Timeout": "delayResponse1588Timeout", "DelayResponseDelay": "delayResponseDelay", "DelayResponseDelayInsertionRate": "delayResponseDelayInsertionRate", "DescriptiveName": "descriptiveName", @@ -84,10 +85,12 @@ class Ptp(Base): "DropSignalReqAnnounce": "dropSignalReqAnnounce", "DropSignalReqDelayResp": "dropSignalReqDelayResp", "DropSignalReqSync": "dropSignalReqSync", + "EmulateNwtt": "emulateNwtt", "EnableATOITlv": "enableATOITlv", "EnableCmlds": "enableCmlds", "EnableMultipleSubnet": "enableMultipleSubnet", "EnableNegativeTesting": "enableNegativeTesting", + "EnableSib9": "enableSib9", "Errors": "errors", "FileLocation": "fileLocation", "FolderPath": "folderPath", @@ -172,6 +175,10 @@ class Ptp(Base): "SendMulticastAnnounce": "sendMulticastAnnounce", "SessionInfo": "sessionInfo", "SessionStatus": "sessionStatus", + "SetUserDefinedUtcOffset": "setUserDefinedUtcOffset", + "Sib9DstIp": "sib9DstIp", + "Sib9DstPort": "sib9DstPort", + "Sib9SrcPort": "sib9SrcPort", "SignalInterval": "signalInterval", "SignalUnicastHandling": "signalUnicastHandling", "SignallingDropRate": "signallingDropRate", @@ -203,6 +210,7 @@ class Ptp(Base): "TimeSource": "timeSource", "TimestampOffset": "timestampOffset", "TotalTimeInaccuracy": "totalTimeInaccuracy", + "TsiOui": "tsiOui", "TxCalibration": "txCalibration", "TxTwoStepCalibration": "txTwoStepCalibration", "UpdateTime": "updateTime", @@ -825,6 +833,20 @@ def DelayRespResidenceTime(self): self, self._get_attribute(self._SDM_ATT_MAP["DelayRespResidenceTime"]) ) + @property + def DelayResponse1588Timeout(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): It is the number of (p)delay_Req messages for which a valid response is not received, above which the PTP session will go down. This option is valid for 1588 profile only. The Value should be between 1 and 255. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["DelayResponse1588Timeout"]) + ) + @property def DelayResponseDelay(self): # type: () -> 'Multivalue' @@ -930,6 +952,18 @@ def DropSignalReqSync(self): self, self._get_attribute(self._SDM_ATT_MAP["DropSignalReqSync"]) ) + @property + def EmulateNwtt(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Enable NWTT Emulation to send TSi in Sync and discard PDelay messages. This will use software timestamp + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["EmulateNwtt"])) + @property def EnableATOITlv(self): # type: () -> bool @@ -990,6 +1024,18 @@ def EnableNegativeTesting(self, value): # type: (bool) -> None self._set_attribute(self._SDM_ATT_MAP["EnableNegativeTesting"], value) + @property + def EnableSib9(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Enable Sib9 message transmission. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["EnableSib9"])) + @property def Errors(self): """ @@ -2109,6 +2155,56 @@ def SessionStatus(self): """ return self._get_attribute(self._SDM_ATT_MAP["SessionStatus"]) + @property + def SetUserDefinedUtcOffset(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): If selected, Current UTC Offset is advertised when Announce Current UTC Offset Valid is enabled. If not, the announce message is advertised with metronome provided UTC offset. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["SetUserDefinedUtcOffset"]) + ) + + @property + def Sib9DstIp(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Destination IP of SIB9 Messages. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["Sib9DstIp"])) + + @property + def Sib9DstPort(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): UDP Destination Port of SIB9 messages. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["Sib9DstPort"])) + + @property + def Sib9SrcPort(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): UDP Source Port of SIB9 messages. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["Sib9SrcPort"])) + @property def SignalInterval(self): # type: () -> 'Multivalue' @@ -2522,6 +2618,18 @@ def TotalTimeInaccuracy(self): self, self._get_attribute(self._SDM_ATT_MAP["TotalTimeInaccuracy"]) ) + @property + def TsiOui(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): This field indicates the value of the Organizational Unique Identifier (OUI) assigned to 3GPP by the IEEE, coded in binary over 3 octets. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["TsiOui"])) + @property def TxCalibration(self): # type: () -> 'Multivalue' @@ -2807,6 +2915,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def GPtpSendSignaling(self, *args, **kwargs): """Executes the gPtpSendSignaling operation on the server. @@ -3087,6 +3216,7 @@ def get_device_ids( DelayRespDropRate=None, DelayRespReceiptTimeout=None, DelayRespResidenceTime=None, + DelayResponse1588Timeout=None, DelayResponseDelay=None, DelayResponseDelayInsertionRate=None, Domain=None, @@ -3094,6 +3224,8 @@ def get_device_ids( DropSignalReqAnnounce=None, DropSignalReqDelayResp=None, DropSignalReqSync=None, + EmulateNwtt=None, + EnableSib9=None, FileLocation=None, FolderPath=None, FollowUpBadCrcRate=None, @@ -3168,6 +3300,10 @@ def get_device_ids( ScaledLastGmFreqChange=None, SendInterfaceRateTlv=None, SendMulticastAnnounce=None, + SetUserDefinedUtcOffset=None, + Sib9DstIp=None, + Sib9DstPort=None, + Sib9SrcPort=None, SignalInterval=None, SignalUnicastHandling=None, SignallingDropRate=None, @@ -3195,6 +3331,7 @@ def get_device_ids( TimeSource=None, TimestampOffset=None, TotalTimeInaccuracy=None, + TsiOui=None, TxCalibration=None, TxTwoStepCalibration=None, UpdateTime=None, @@ -3241,6 +3378,7 @@ def get_device_ids( - DelayRespDropRate (str): optional regex of delayRespDropRate - DelayRespReceiptTimeout (str): optional regex of delayRespReceiptTimeout - DelayRespResidenceTime (str): optional regex of delayRespResidenceTime + - DelayResponse1588Timeout (str): optional regex of delayResponse1588Timeout - DelayResponseDelay (str): optional regex of delayResponseDelay - DelayResponseDelayInsertionRate (str): optional regex of delayResponseDelayInsertionRate - Domain (str): optional regex of domain @@ -3248,6 +3386,8 @@ def get_device_ids( - DropSignalReqAnnounce (str): optional regex of dropSignalReqAnnounce - DropSignalReqDelayResp (str): optional regex of dropSignalReqDelayResp - DropSignalReqSync (str): optional regex of dropSignalReqSync + - EmulateNwtt (str): optional regex of emulateNwtt + - EnableSib9 (str): optional regex of enableSib9 - FileLocation (str): optional regex of fileLocation - FolderPath (str): optional regex of folderPath - FollowUpBadCrcRate (str): optional regex of followUpBadCrcRate @@ -3322,6 +3462,10 @@ def get_device_ids( - ScaledLastGmFreqChange (str): optional regex of scaledLastGmFreqChange - SendInterfaceRateTlv (str): optional regex of sendInterfaceRateTlv - SendMulticastAnnounce (str): optional regex of sendMulticastAnnounce + - SetUserDefinedUtcOffset (str): optional regex of setUserDefinedUtcOffset + - Sib9DstIp (str): optional regex of sib9DstIp + - Sib9DstPort (str): optional regex of sib9DstPort + - Sib9SrcPort (str): optional regex of sib9SrcPort - SignalInterval (str): optional regex of signalInterval - SignalUnicastHandling (str): optional regex of signalUnicastHandling - SignallingDropRate (str): optional regex of signallingDropRate @@ -3349,6 +3493,7 @@ def get_device_ids( - TimeSource (str): optional regex of timeSource - TimestampOffset (str): optional regex of timestampOffset - TotalTimeInaccuracy (str): optional regex of totalTimeInaccuracy + - TsiOui (str): optional regex of tsiOui - TxCalibration (str): optional regex of txCalibration - TxTwoStepCalibration (str): optional regex of txTwoStepCalibration - UpdateTime (str): optional regex of updateTime diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ptpathsegmentsrv6node_57584654422cd1bfce41de6bebd4e6b5.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ptpathsegmentsrv6node_57584654422cd1bfce41de6bebd4e6b5.py new file mode 100644 index 000000000..1ac51b20c --- /dev/null +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ptpathsegmentsrv6node_57584654422cd1bfce41de6bebd4e6b5.py @@ -0,0 +1,257 @@ +# MIT LICENSE +# +# Copyright 1997 - 2020 by IXIA Keysight +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), +# to deal in the Software without restriction, including without limitation +# the rights to use, copy, modify, merge, publish, distribute, sublicense, +# and/or sell copies of the Software, and to permit persons to whom the +# Software is furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +# THE SOFTWARE. +import sys +from ixnetwork_restpy.base import Base +from ixnetwork_restpy.files import Files + +if sys.version_info >= (3, 5): + from typing import List, Any, Union + + +class PtPathSegmentSrv6Node(Base): + """ + The PtPathSegmentSrv6Node class encapsulates a required ptPathSegmentSrv6Node resource which will be retrieved from the server every time the property is accessed. + """ + + __slots__ = () + _SDM_NAME = "ptPathSegmentSrv6Node" + _SDM_ATT_MAP = { + "Active": "active", + "Count": "count", + "DescriptiveName": "descriptiveName", + "FullSID": "fullSID", + "Name": "name", + "Srv6PathName": "srv6PathName", + "Srv6SIDtype": "srv6SIDtype", + "USID": "uSID", + } + _SDM_ENUM_MAP = {} + + def __init__(self, parent, list_op=False): + super(PtPathSegmentSrv6Node, self).__init__(parent, list_op) + + @property + def Active(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Activate/Deactivate Configuration. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["Active"])) + + @property + def Count(self): + # type: () -> int + """ + Returns + ------- + - number: Number of elements inside associated multiplier-scaled container object, e.g. number of devices inside a Device Group. + """ + return self._get_attribute(self._SDM_ATT_MAP["Count"]) + + @property + def DescriptiveName(self): + # type: () -> str + """ + Returns + ------- + - str: Longer, more descriptive name for element. It's not guaranteed to be unique like -name-, but may offer more context. + """ + return self._get_attribute(self._SDM_ATT_MAP["DescriptiveName"]) + + @property + def FullSID(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): User enters the full SID value. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["FullSID"])) + + @property + def Name(self): + # type: () -> str + """ + Returns + ------- + - str: Name of NGPF element, guaranteed to be unique in Scenario + """ + return self._get_attribute(self._SDM_ATT_MAP["Name"]) + + @Name.setter + def Name(self, value): + # type: (str) -> None + self._set_attribute(self._SDM_ATT_MAP["Name"], value) + + @property + def Srv6PathName(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Shows which path this segment belongs to. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["Srv6PathName"])) + + @property + def Srv6SIDtype(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Option to select SRv6 SID Type. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["Srv6SIDtype"])) + + @property + def USID(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Micro SID value + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["USID"])) + + def update(self, Name=None): + # type: (str) -> PtPathSegmentSrv6Node + """Updates ptPathSegmentSrv6Node resource on the server. + + This method has some named parameters with a type: obj (Multivalue). + The Multivalue class has documentation that details the possible values for those named parameters. + + Args + ---- + - Name (str): Name of NGPF element, guaranteed to be unique in Scenario + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + return self._update(self._map_locals(self._SDM_ATT_MAP, locals())) + + def find(self, Count=None, DescriptiveName=None, Name=None): + # type: (int, str, str) -> PtPathSegmentSrv6Node + """Finds and retrieves ptPathSegmentSrv6Node resources from the server. + + All named parameters are evaluated on the server using regex. The named parameters can be used to selectively retrieve ptPathSegmentSrv6Node resources from the server. + To retrieve an exact match ensure the parameter value starts with ^ and ends with $ + By default the find method takes no parameters and will retrieve all ptPathSegmentSrv6Node resources from the server. + + Args + ---- + - Count (number): Number of elements inside associated multiplier-scaled container object, e.g. number of devices inside a Device Group. + - DescriptiveName (str): Longer, more descriptive name for element. It's not guaranteed to be unique like -name-, but may offer more context. + - Name (str): Name of NGPF element, guaranteed to be unique in Scenario + + Returns + ------- + - self: This instance with matching ptPathSegmentSrv6Node resources retrieved from the server available through an iterator or index + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + return self._select(self._map_locals(self._SDM_ATT_MAP, locals())) + + def read(self, href): + """Retrieves a single instance of ptPathSegmentSrv6Node data from the server. + + Args + ---- + - href (str): An href to the instance to be retrieved + + Returns + ------- + - self: This instance with the ptPathSegmentSrv6Node resources from the server available through an iterator or index + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + return self._read(href) + + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + + def get_device_ids( + self, + PortNames=None, + Active=None, + FullSID=None, + Srv6PathName=None, + Srv6SIDtype=None, + USID=None, + ): + """Base class infrastructure that gets a list of ptPathSegmentSrv6Node device ids encapsulated by this object. + + Use the optional regex parameters in the method to refine the list of device ids encapsulated by this object. + + Args + ---- + - PortNames (str): optional regex of port names + - Active (str): optional regex of active + - FullSID (str): optional regex of fullSID + - Srv6PathName (str): optional regex of srv6PathName + - Srv6SIDtype (str): optional regex of srv6SIDtype + - USID (str): optional regex of uSID + + Returns + ------- + - list(int): A list of device ids that meets the regex criteria provided in the method parameters + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + return self._get_ngpf_device_ids(locals()) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ptpnegbehavelist_95420ff08c49e28cbca41e3d66ac6215.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ptpnegbehavelist_95420ff08c49e28cbca41e3d66ac6215.py index b32954686..938ba43d5 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ptpnegbehavelist_95420ff08c49e28cbca41e3d66ac6215.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ptpnegbehavelist_95420ff08c49e28cbca41e3d66ac6215.py @@ -274,6 +274,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ptprobeinstancesrv6_79ffe5c7f81290d2749e262cddea5618.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ptprobeinstancesrv6_79ffe5c7f81290d2749e262cddea5618.py new file mode 100644 index 000000000..3bf73be7f --- /dev/null +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ptprobeinstancesrv6_79ffe5c7f81290d2749e262cddea5618.py @@ -0,0 +1,859 @@ +# MIT LICENSE +# +# Copyright 1997 - 2020 by IXIA Keysight +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), +# to deal in the Software without restriction, including without limitation +# the rights to use, copy, modify, merge, publish, distribute, sublicense, +# and/or sell copies of the Software, and to permit persons to whom the +# Software is furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +# THE SOFTWARE. +import sys +from ixnetwork_restpy.base import Base +from ixnetwork_restpy.files import Files + +if sys.version_info >= (3, 5): + from typing import List, Any, Union + + +class Ptprobeinstancesrv6(Base): + """Configuration of Path Trace Probing Instance for SRv6. + The Ptprobeinstancesrv6 class encapsulates a list of ptprobeinstancesrv6 resources that are managed by the user. + A list of resources can be retrieved from the server using the Ptprobeinstancesrv6.find() method. + The list can be managed by using the Ptprobeinstancesrv6.add() and Ptprobeinstancesrv6.remove() methods. + """ + + __slots__ = () + _SDM_NAME = "ptprobeinstancesrv6" + _SDM_ATT_MAP = { + "Active": "active", + "ConnectedVia": "connectedVia", + "Count": "count", + "DescriptiveName": "descriptiveName", + "Errors": "errors", + "IfId": "ifId", + "IfLd": "ifLd", + "Multiplier": "multiplier", + "Name": "name", + "NumOfMcds": "numOfMcds", + "NumOfSegments": "numOfSegments", + "ProbeCount": "probeCount", + "ProbeRate": "probeRate", + "ProbingMode": "probingMode", + "ReducedSrh": "reducedSrh", + "SessionId": "sessionId", + "SessionStatus": "sessionStatus", + "SinkNodeAddress": "sinkNodeAddress", + "SinkNodeAsuSid": "sinkNodeAsuSid", + "SrcAddress": "srcAddress", + "SrcIntAddress": "srcIntAddress", + "StackedLayers": "stackedLayers", + "StateCounts": "stateCounts", + "Status": "status", + "Timestamp": "timestamp", + "USidBlock": "uSidBlock", + "USidBlockLength": "uSidBlockLength", + "USidLength": "uSidLength", + "UseSrcAddressflag": "useSrcAddressflag", + } + _SDM_ENUM_MAP = { + "status": [ + "configured", + "error", + "mixed", + "notStarted", + "started", + "starting", + "stopping", + ], + } + + def __init__(self, parent, list_op=False): + super(Ptprobeinstancesrv6, self).__init__(parent, list_op) + + @property + def PtPathSegmentSrv6Node(self): + """ + Returns + ------- + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.ptpathsegmentsrv6node_57584654422cd1bfce41de6bebd4e6b5.PtPathSegmentSrv6Node): An instance of the PtPathSegmentSrv6Node class + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.ptpathsegmentsrv6node_57584654422cd1bfce41de6bebd4e6b5 import ( + PtPathSegmentSrv6Node, + ) + + if len(self._object_properties) > 0: + if self._properties.get("PtPathSegmentSrv6Node", None) is not None: + return self._properties.get("PtPathSegmentSrv6Node") + return PtPathSegmentSrv6Node(self)._select() + + @property + def Active(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Activate/Deactivate Configuration + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["Active"])) + + @property + def ConnectedVia(self): + # type: () -> List[str] + """DEPRECATED + Returns + ------- + - list(str[None | /api/v1/sessions/1/ixnetwork/topology]): List of layers this layer is used to connect with to the wire. + """ + return self._get_attribute(self._SDM_ATT_MAP["ConnectedVia"]) + + @ConnectedVia.setter + def ConnectedVia(self, value): + # type: (List[str]) -> None + self._set_attribute(self._SDM_ATT_MAP["ConnectedVia"], value) + + @property + def Count(self): + # type: () -> int + """ + Returns + ------- + - number: Number of elements inside associated multiplier-scaled container object, e.g. number of devices inside a Device Group. + """ + return self._get_attribute(self._SDM_ATT_MAP["Count"]) + + @property + def DescriptiveName(self): + # type: () -> str + """ + Returns + ------- + - str: Longer, more descriptive name for element. It's not guaranteed to be unique like -name-, but may offer more context. + """ + return self._get_attribute(self._SDM_ATT_MAP["DescriptiveName"]) + + @property + def Errors(self): + """ + Returns + ------- + - list(dict(arg1:str[None | /api/v1/sessions/1/ixnetwork/],arg2:list[str])): A list of errors that have occurred + """ + return self._get_attribute(self._SDM_ATT_MAP["Errors"]) + + @property + def IfId(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Indicates the egress interface ID of the router. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["IfId"])) + + @property + def IfLd(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Indicates the load on the egress interface. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["IfLd"])) + + @property + def Multiplier(self): + # type: () -> int + """ + Returns + ------- + - number: Number of layer instances per parent instance (multiplier) + """ + return self._get_attribute(self._SDM_ATT_MAP["Multiplier"]) + + @Multiplier.setter + def Multiplier(self, value): + # type: (int) -> None + self._set_attribute(self._SDM_ATT_MAP["Multiplier"], value) + + @property + def Name(self): + # type: () -> str + """ + Returns + ------- + - str: Name of NGPF element, guaranteed to be unique in Scenario + """ + return self._get_attribute(self._SDM_ATT_MAP["Name"]) + + @Name.setter + def Name(self, value): + # type: (str) -> None + self._set_attribute(self._SDM_ATT_MAP["Name"], value) + + @property + def NumOfMcds(self): + # type: () -> int + """ + Returns + ------- + - number: Indicates the number of MCDs corresponding to the midpoint nodes. + """ + return self._get_attribute(self._SDM_ATT_MAP["NumOfMcds"]) + + @NumOfMcds.setter + def NumOfMcds(self, value): + # type: (int) -> None + self._set_attribute(self._SDM_ATT_MAP["NumOfMcds"], value) + + @property + def NumOfSegments(self): + # type: () -> int + """ + Returns + ------- + - number: Indicates the number of segments in the SRv6 path. + """ + return self._get_attribute(self._SDM_ATT_MAP["NumOfSegments"]) + + @NumOfSegments.setter + def NumOfSegments(self, value): + # type: (int) -> None + self._set_attribute(self._SDM_ATT_MAP["NumOfSegments"], value) + + @property + def ProbeCount(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Indicates the number of the probe to be sent. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["ProbeCount"])) + + @property + def ProbeRate(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Indicates the rate at which the probes has to be sent. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["ProbeRate"])) + + @property + def ProbingMode(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Options to select the way the probe packets needs to be sent. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["ProbingMode"])) + + @property + def ReducedSrh(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): If enabled, reduced SRH will be sent. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["ReducedSrh"])) + + @property + def SessionId(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): ID Used to co-relate probes of the same session.Value of zero means unset. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["SessionId"])) + + @property + def SessionStatus(self): + # type: () -> List[str] + """ + Returns + ------- + - list(str[down | notStarted | up]): Current state of protocol session: Not Started - session negotiation not started, the session is not active yet. Down - actively trying to bring up a protocol session, but negotiation is didn't successfully complete (yet). Up - session came up successfully. + """ + return self._get_attribute(self._SDM_ATT_MAP["SessionStatus"]) + + @property + def SinkNodeAddress(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Ipv6 address of the PT sink node. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["SinkNodeAddress"]) + ) + + @property + def SinkNodeAsuSid(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): If sink node's IPv6 address matches the uSID block address configuration of the path, then sink node's uSID portion will be used to create the SRH. Otherwise,full 128 bit address of the sink node will be used as a SID of SRH. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["SinkNodeAsuSid"]) + ) + + @property + def SrcAddress(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): User configured ipv6 adddress. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["SrcAddress"])) + + @property + def SrcIntAddress(self): + # type: () -> List[str] + """ + Returns + ------- + - list(str): Ipv6 address of the PT source. + """ + return self._get_attribute(self._SDM_ATT_MAP["SrcIntAddress"]) + + @property + def StackedLayers(self): + # type: () -> List[str] + """ + Returns + ------- + - list(str[None | /api/v1/sessions/1/ixnetwork/topology]): List of secondary (many to one) child layer protocols + """ + return self._get_attribute(self._SDM_ATT_MAP["StackedLayers"]) + + @StackedLayers.setter + def StackedLayers(self, value): + # type: (List[str]) -> None + self._set_attribute(self._SDM_ATT_MAP["StackedLayers"], value) + + @property + def StateCounts(self): + """ + Returns + ------- + - dict(total:number,notStarted:number,down:number,up:number): A list of values that indicates the total number of sessions, the number of sessions not started, the number of sessions down and the number of sessions that are up + """ + return self._get_attribute(self._SDM_ATT_MAP["StateCounts"]) + + @property + def Status(self): + # type: () -> str + """ + Returns + ------- + - str(configured | error | mixed | notStarted | started | starting | stopping): Running status of associated network element. Once in Started state, protocol sessions will begin to negotiate. + """ + return self._get_attribute(self._SDM_ATT_MAP["Status"]) + + @property + def Timestamp(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Options to select whether the timestamp value needs to be calculated or taken from the user configuration. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["Timestamp"])) + + @property + def USidBlock(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): If sink node's IPv6 address matches the uSID block address configuration of the path, then sink node's uSID portion will be used to create the SRH. Otherwise,full 128 bit address of the sink node will be used as a SID of SRH. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["USidBlock"])) + + @property + def USidBlockLength(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Denotes the uSID block length value in bits. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["USidBlockLength"]) + ) + + @property + def USidLength(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Denotes the uSID length value in bits. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["USidLength"])) + + @property + def UseSrcAddressflag(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): If enabled, then user can configure a different IPv6 address to use as source address. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["UseSrcAddressflag"]) + ) + + def update( + self, + ConnectedVia=None, + Multiplier=None, + Name=None, + NumOfMcds=None, + NumOfSegments=None, + StackedLayers=None, + ): + # type: (List[str], int, str, int, int, List[str]) -> Ptprobeinstancesrv6 + """Updates ptprobeinstancesrv6 resource on the server. + + This method has some named parameters with a type: obj (Multivalue). + The Multivalue class has documentation that details the possible values for those named parameters. + + Args + ---- + - ConnectedVia (list(str[None | /api/v1/sessions/1/ixnetwork/topology])): List of layers this layer is used to connect with to the wire. + - Multiplier (number): Number of layer instances per parent instance (multiplier) + - Name (str): Name of NGPF element, guaranteed to be unique in Scenario + - NumOfMcds (number): Indicates the number of MCDs corresponding to the midpoint nodes. + - NumOfSegments (number): Indicates the number of segments in the SRv6 path. + - StackedLayers (list(str[None | /api/v1/sessions/1/ixnetwork/topology])): List of secondary (many to one) child layer protocols + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + return self._update(self._map_locals(self._SDM_ATT_MAP, locals())) + + def add( + self, + ConnectedVia=None, + Multiplier=None, + Name=None, + NumOfMcds=None, + NumOfSegments=None, + StackedLayers=None, + ): + # type: (List[str], int, str, int, int, List[str]) -> Ptprobeinstancesrv6 + """Adds a new ptprobeinstancesrv6 resource on the server and adds it to the container. + + Args + ---- + - ConnectedVia (list(str[None | /api/v1/sessions/1/ixnetwork/topology])): List of layers this layer is used to connect with to the wire. + - Multiplier (number): Number of layer instances per parent instance (multiplier) + - Name (str): Name of NGPF element, guaranteed to be unique in Scenario + - NumOfMcds (number): Indicates the number of MCDs corresponding to the midpoint nodes. + - NumOfSegments (number): Indicates the number of segments in the SRv6 path. + - StackedLayers (list(str[None | /api/v1/sessions/1/ixnetwork/topology])): List of secondary (many to one) child layer protocols + + Returns + ------- + - self: This instance with all currently retrieved ptprobeinstancesrv6 resources using find and the newly added ptprobeinstancesrv6 resources available through an iterator or index + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + return self._create(self._map_locals(self._SDM_ATT_MAP, locals())) + + def remove(self): + """Deletes all the contained ptprobeinstancesrv6 resources in this instance from the server. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + self._delete() + + def find( + self, + ConnectedVia=None, + Count=None, + DescriptiveName=None, + Errors=None, + Multiplier=None, + Name=None, + NumOfMcds=None, + NumOfSegments=None, + SessionStatus=None, + SrcIntAddress=None, + StackedLayers=None, + StateCounts=None, + Status=None, + ): + """Finds and retrieves ptprobeinstancesrv6 resources from the server. + + All named parameters are evaluated on the server using regex. The named parameters can be used to selectively retrieve ptprobeinstancesrv6 resources from the server. + To retrieve an exact match ensure the parameter value starts with ^ and ends with $ + By default the find method takes no parameters and will retrieve all ptprobeinstancesrv6 resources from the server. + + Args + ---- + - ConnectedVia (list(str[None | /api/v1/sessions/1/ixnetwork/topology])): List of layers this layer is used to connect with to the wire. + - Count (number): Number of elements inside associated multiplier-scaled container object, e.g. number of devices inside a Device Group. + - DescriptiveName (str): Longer, more descriptive name for element. It's not guaranteed to be unique like -name-, but may offer more context. + - Errors (list(dict(arg1:str[None | /api/v1/sessions/1/ixnetwork/],arg2:list[str]))): A list of errors that have occurred + - Multiplier (number): Number of layer instances per parent instance (multiplier) + - Name (str): Name of NGPF element, guaranteed to be unique in Scenario + - NumOfMcds (number): Indicates the number of MCDs corresponding to the midpoint nodes. + - NumOfSegments (number): Indicates the number of segments in the SRv6 path. + - SessionStatus (list(str[down | notStarted | up])): Current state of protocol session: Not Started - session negotiation not started, the session is not active yet. Down - actively trying to bring up a protocol session, but negotiation is didn't successfully complete (yet). Up - session came up successfully. + - SrcIntAddress (list(str)): Ipv6 address of the PT source. + - StackedLayers (list(str[None | /api/v1/sessions/1/ixnetwork/topology])): List of secondary (many to one) child layer protocols + - StateCounts (dict(total:number,notStarted:number,down:number,up:number)): A list of values that indicates the total number of sessions, the number of sessions not started, the number of sessions down and the number of sessions that are up + - Status (str(configured | error | mixed | notStarted | started | starting | stopping)): Running status of associated network element. Once in Started state, protocol sessions will begin to negotiate. + + Returns + ------- + - self: This instance with matching ptprobeinstancesrv6 resources retrieved from the server available through an iterator or index + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + return self._select(self._map_locals(self._SDM_ATT_MAP, locals())) + + def read(self, href): + """Retrieves a single instance of ptprobeinstancesrv6 data from the server. + + Args + ---- + - href (str): An href to the instance to be retrieved + + Returns + ------- + - self: This instance with the ptprobeinstancesrv6 resources from the server available through an iterator or index + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + return self._read(href) + + def Abort(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the abort operation on the server. + + Abort CPF control plane (equals to demote to kUnconfigured state). + + The IxNetwork model allows for multiple method Signatures with the same name while python does not. + + abort(async_operation=bool) + --------------------------- + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + abort(SessionIndices=list, async_operation=bool) + ------------------------------------------------ + - SessionIndices (list(number)): This parameter requires an array of session numbers 1 2 3 + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + abort(SessionIndices=string, async_operation=bool) + -------------------------------------------------- + - SessionIndices (str): This parameter requires a string of session numbers 1-4;6;7-12 + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("abort", payload=payload, response_object=None) + + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + + def RestartDown(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the restartDown operation on the server. + + Stop and start interfaces and sessions that are in Down state. + + The IxNetwork model allows for multiple method Signatures with the same name while python does not. + + restartDown(async_operation=bool) + --------------------------------- + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + restartDown(SessionIndices=list, async_operation=bool) + ------------------------------------------------------ + - SessionIndices (list(number)): This parameter requires an array of session numbers 1 2 3 + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + restartDown(SessionIndices=string, async_operation=bool) + -------------------------------------------------------- + - SessionIndices (str): This parameter requires a string of session numbers 1-4;6;7-12 + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("restartDown", payload=payload, response_object=None) + + def Start(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the start operation on the server. + + Start CPF control plane (equals to promote to negotiated state). + + The IxNetwork model allows for multiple method Signatures with the same name while python does not. + + start(async_operation=bool) + --------------------------- + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + start(SessionIndices=list, async_operation=bool) + ------------------------------------------------ + - SessionIndices (list(number)): This parameter requires an array of session numbers 1 2 3 + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + start(SessionIndices=string, async_operation=bool) + -------------------------------------------------- + - SessionIndices (str): This parameter requires a string of session numbers 1-4;6;7-12 + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("start", payload=payload, response_object=None) + + def StartSrv6PathTrace(self, *args, **kwargs): + # type: (*Any, **Any) -> Union[List[str], None] + """Executes the startSrv6PathTrace operation on the server. + + Trigger to send SRv6 path tracing packets. + + startSrv6PathTrace(Arg2=list, async_operation=bool)list + ------------------------------------------------------- + - Arg2 (list(number)): List of indices corresponding to trigger data. + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + - Returns list(str): ID to associate each async action invocation + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute( + "startSrv6PathTrace", payload=payload, response_object=None + ) + + def Stop(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the stop operation on the server. + + Stop CPF control plane (equals to demote to PreValidated-DoDDone state). + + The IxNetwork model allows for multiple method Signatures with the same name while python does not. + + stop(async_operation=bool) + -------------------------- + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + stop(SessionIndices=list, async_operation=bool) + ----------------------------------------------- + - SessionIndices (list(number)): This parameter requires an array of session numbers 1 2 3 + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + stop(SessionIndices=string, async_operation=bool) + ------------------------------------------------- + - SessionIndices (str): This parameter requires a string of session numbers 1-4;6;7-12 + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("stop", payload=payload, response_object=None) + + def StopSrv6PathTrace(self, *args, **kwargs): + # type: (*Any, **Any) -> Union[List[str], None] + """Executes the stopSrv6PathTrace operation on the server. + + Trigger to stop sending SRv6 path tracing packets. + + stopSrv6PathTrace(Arg2=list, async_operation=bool)list + ------------------------------------------------------ + - Arg2 (list(number)): List of indices corresponding to trigger data. + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + - Returns list(str): ID to associate each async action invocation + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("stopSrv6PathTrace", payload=payload, response_object=None) + + def get_device_ids( + self, + PortNames=None, + Active=None, + IfId=None, + IfLd=None, + ProbeCount=None, + ProbeRate=None, + ProbingMode=None, + ReducedSrh=None, + SessionId=None, + SinkNodeAddress=None, + SinkNodeAsuSid=None, + SrcAddress=None, + Timestamp=None, + USidBlock=None, + USidBlockLength=None, + USidLength=None, + UseSrcAddressflag=None, + ): + """Base class infrastructure that gets a list of ptprobeinstancesrv6 device ids encapsulated by this object. + + Use the optional regex parameters in the method to refine the list of device ids encapsulated by this object. + + Args + ---- + - PortNames (str): optional regex of port names + - Active (str): optional regex of active + - IfId (str): optional regex of ifId + - IfLd (str): optional regex of ifLd + - ProbeCount (str): optional regex of probeCount + - ProbeRate (str): optional regex of probeRate + - ProbingMode (str): optional regex of probingMode + - ReducedSrh (str): optional regex of reducedSrh + - SessionId (str): optional regex of sessionId + - SinkNodeAddress (str): optional regex of sinkNodeAddress + - SinkNodeAsuSid (str): optional regex of sinkNodeAsuSid + - SrcAddress (str): optional regex of srcAddress + - Timestamp (str): optional regex of timestamp + - USidBlock (str): optional regex of uSidBlock + - USidBlockLength (str): optional regex of uSidBlockLength + - USidLength (str): optional regex of uSidLength + - UseSrcAddressflag (str): optional regex of useSrcAddressflag + + Returns + ------- + - list(int): A list of device ids that meets the regex criteria provided in the method parameters + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + return self._get_ngpf_device_ids(locals()) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/remoteinterfaceid_c8d71be034f0bce6f7e7fee6fc575d5a.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/remoteinterfaceid_c8d71be034f0bce6f7e7fee6fc575d5a.py index 74aebe74a..f9f888eb0 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/remoteinterfaceid_c8d71be034f0bce6f7e7fee6fc575d5a.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/remoteinterfaceid_c8d71be034f0bce6f7e7fee6fc575d5a.py @@ -91,3 +91,24 @@ def read(self, href): - ServerError: The server has encountered an uncategorized error condition """ return self._read(href) + + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/remoteipv4address_ce13915019bdc07322aaeadd4f34e428.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/remoteipv4address_ce13915019bdc07322aaeadd4f34e428.py index cce21d715..6f116d94e 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/remoteipv4address_ce13915019bdc07322aaeadd4f34e428.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/remoteipv4address_ce13915019bdc07322aaeadd4f34e428.py @@ -91,3 +91,24 @@ def read(self, href): - ServerError: The server has encountered an uncategorized error condition """ return self._read(href) + + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/remoteipv6address_4387d585717913933b818a169b61aa59.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/remoteipv6address_4387d585717913933b818a169b61aa59.py index 455bf6101..6fe15c6bb 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/remoteipv6address_4387d585717913933b818a169b61aa59.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/remoteipv6address_4387d585717913933b818a169b61aa59.py @@ -91,3 +91,24 @@ def read(self, href): - ServerError: The server has encountered an uncategorized error condition """ return self._read(href) + + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/remotenodeid_26967b9b8d67f080911a80d276776a63.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/remotenodeid_26967b9b8d67f080911a80d276776a63.py index f70bd5b6b..634337cdf 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/remotenodeid_26967b9b8d67f080911a80d276776a63.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/remotenodeid_26967b9b8d67f080911a80d276776a63.py @@ -91,3 +91,24 @@ def read(self, href): - ServerError: The server has encountered an uncategorized error condition """ return self._read(href) + + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/requestedlsps_3803e9646b728f0afe03f56c6e8b3a6b.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/requestedlsps_3803e9646b728f0afe03f56c6e8b3a6b.py index b578ff8aa..fd0dada1c 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/requestedlsps_3803e9646b728f0afe03f56c6e8b3a6b.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/requestedlsps_3803e9646b728f0afe03f56c6e8b3a6b.py @@ -1047,6 +1047,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def Delegate(self, *args, **kwargs): # type: (*Any, **Any) -> Union[List[str], None] """Executes the delegate operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/requestid_4bb823de2302ea46c48b53652c8059b5.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/requestid_4bb823de2302ea46c48b53652c8059b5.py index e482c10a7..d09a83ce8 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/requestid_4bb823de2302ea46c48b53652c8059b5.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/requestid_4bb823de2302ea46c48b53652c8059b5.py @@ -91,3 +91,24 @@ def read(self, href): - ServerError: The server has encountered an uncategorized error condition """ return self._read(href) + + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/rfc8277labelstack_c6a926d8802154f2012482423beab167.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/rfc8277labelstack_c6a926d8802154f2012482423beab167.py index 360063ed8..be8e73c7e 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/rfc8277labelstack_c6a926d8802154f2012482423beab167.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/rfc8277labelstack_c6a926d8802154f2012482423beab167.py @@ -198,6 +198,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, MplsLabelEnd=None, MplsLabelStart=None, MplsLabelStep=None ): diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/routerdata_48b2bbc3e057b769b893f4a6c10ed927.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/routerdata_48b2bbc3e057b769b893f4a6c10ed927.py index f09a5676b..ae1ff5a67 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/routerdata_48b2bbc3e057b769b893f4a6c10ed927.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/routerdata_48b2bbc3e057b769b893f4a6c10ed927.py @@ -170,6 +170,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids(self, PortNames=None, RouterId=None): """Base class infrastructure that gets a list of routerData device ids encapsulated by this object. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/rpcresponsexmlsdata_b67065e8b7cf28df452aef1e0a5d9096.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/rpcresponsexmlsdata_b67065e8b7cf28df452aef1e0a5d9096.py index 8e2ce09cc..33bab740f 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/rpcresponsexmlsdata_b67065e8b7cf28df452aef1e0a5d9096.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/rpcresponsexmlsdata_b67065e8b7cf28df452aef1e0a5d9096.py @@ -205,6 +205,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/rsvpdetoursubobjectslist_9740d38add800b02d578822ebd9149be.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/rsvpdetoursubobjectslist_9740d38add800b02d578822ebd9149be.py index 05ad355ba..2bec83403 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/rsvpdetoursubobjectslist_9740d38add800b02d578822ebd9149be.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/rsvpdetoursubobjectslist_9740d38add800b02d578822ebd9149be.py @@ -183,6 +183,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids(self, PortNames=None, AvoidNodeId=None, PlrId=None): """Base class infrastructure that gets a list of rsvpDetourSubObjectsList device ids encapsulated by this object. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/rsvperosubobjectslist_a93377fcf5a0e9cd238eac8616f8ff4c.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/rsvperosubobjectslist_a93377fcf5a0e9cd238eac8616f8ff4c.py index 6eca50a55..7b613cdca 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/rsvperosubobjectslist_a93377fcf5a0e9cd238eac8616f8ff4c.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/rsvperosubobjectslist_a93377fcf5a0e9cd238eac8616f8ff4c.py @@ -234,6 +234,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/rsvperosubobjectslist_c0ebecb067ebf96898ae4f90af81d688.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/rsvperosubobjectslist_c0ebecb067ebf96898ae4f90af81d688.py index 2ad8df8de..744ad52c4 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/rsvperosubobjectslist_c0ebecb067ebf96898ae4f90af81d688.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/rsvperosubobjectslist_c0ebecb067ebf96898ae4f90af81d688.py @@ -279,6 +279,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/rsvpingressrrosubobjectslist_a21ca5185e1490831d56bb810b32d086.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/rsvpingressrrosubobjectslist_a21ca5185e1490831d56bb810b32d086.py index c72ea20aa..5f1d21b6f 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/rsvpingressrrosubobjectslist_a21ca5185e1490831d56bb810b32d086.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/rsvpingressrrosubobjectslist_a21ca5185e1490831d56bb810b32d086.py @@ -326,6 +326,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/rsvpingressrrosubobjectslist_cae3516af342fb3a35d3ff26ac4f830e.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/rsvpingressrrosubobjectslist_cae3516af342fb3a35d3ff26ac4f830e.py index c23d806a5..6893243ac 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/rsvpingressrrosubobjectslist_cae3516af342fb3a35d3ff26ac4f830e.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/rsvpingressrrosubobjectslist_cae3516af342fb3a35d3ff26ac4f830e.py @@ -294,6 +294,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/rsvpp2mpegresslsps_a7be6d237185c970a66235441605770c.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/rsvpp2mpegresslsps_a7be6d237185c970a66235441605770c.py index 5950c4179..b72b6e25f 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/rsvpp2mpegresslsps_a7be6d237185c970a66235441605770c.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/rsvpp2mpegresslsps_a7be6d237185c970a66235441605770c.py @@ -489,6 +489,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def GraftSubLsp(self, *args, **kwargs): # type: (*Any, **Any) -> Union[List[str], None] """Executes the graftSubLsp operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/rsvpp2mpingresslsps_7b38fc09ccf52081a0ef372f9492b887.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/rsvpp2mpingresslsps_7b38fc09ccf52081a0ef372f9492b887.py index 3c870780e..aea3873a9 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/rsvpp2mpingresslsps_7b38fc09ccf52081a0ef372f9492b887.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/rsvpp2mpingresslsps_7b38fc09ccf52081a0ef372f9492b887.py @@ -1048,6 +1048,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def InitiateP2mpPathReoptimization(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the initiateP2mpPathReoptimization operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/rsvpp2mpingresssublsps_c610bddfdb08c054e463708b863af4f0.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/rsvpp2mpingresssublsps_c610bddfdb08c054e463708b863af4f0.py index d55a9dabf..1020cc4c2 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/rsvpp2mpingresssublsps_c610bddfdb08c054e463708b863af4f0.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/rsvpp2mpingresssublsps_c610bddfdb08c054e463708b863af4f0.py @@ -368,6 +368,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def ExcludeEroOrSero(self, *args, **kwargs): # type: (*Any, **Any) -> Union[List[str], None] """Executes the excludeEroOrSero operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/rsvpp2pegresslsps_9f054ab50236d49eeef8a9fbc0ba1127.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/rsvpp2pegresslsps_9f054ab50236d49eeef8a9fbc0ba1127.py index 1ed23936e..3105a4911 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/rsvpp2pegresslsps_9f054ab50236d49eeef8a9fbc0ba1127.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/rsvpp2pegresslsps_9f054ab50236d49eeef8a9fbc0ba1127.py @@ -461,6 +461,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def Start(self, *args, **kwargs): # type: (*Any, **Any) -> Union[List[str], None] """Executes the start operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/rsvpp2pingresslsps_b3cad06292c51571163e9346869405a0.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/rsvpp2pingresslsps_b3cad06292c51571163e9346869405a0.py index 20350d5e8..5313beb72 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/rsvpp2pingresslsps_b3cad06292c51571163e9346869405a0.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/rsvpp2pingresslsps_b3cad06292c51571163e9346869405a0.py @@ -1621,6 +1621,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def InitiatePathReoptimization(self, *args, **kwargs): # type: (*Any, **Any) -> Union[List[str], None] """Executes the initiatePathReoptimization operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/rsvppcepexpectedinitiatedlsps_64b47067effbb8886f7ee1d4dd6e8560.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/rsvppcepexpectedinitiatedlsps_64b47067effbb8886f7ee1d4dd6e8560.py index f91bef72f..a22e27d07 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/rsvppcepexpectedinitiatedlsps_64b47067effbb8886f7ee1d4dd6e8560.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/rsvppcepexpectedinitiatedlsps_64b47067effbb8886f7ee1d4dd6e8560.py @@ -295,6 +295,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/rsvprrosubobjectslist_77057ceebebb20e47d2ca898582fad61.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/rsvprrosubobjectslist_77057ceebebb20e47d2ca898582fad61.py index 83a0abbb3..6497faaba 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/rsvprrosubobjectslist_77057ceebebb20e47d2ca898582fad61.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/rsvprrosubobjectslist_77057ceebebb20e47d2ca898582fad61.py @@ -294,6 +294,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/rsvprrosubobjectslist_b3619f826be3c6dc7d602fee61c4c981.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/rsvprrosubobjectslist_b3619f826be3c6dc7d602fee61c4c981.py index baf884056..4fcfb1117 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/rsvprrosubobjectslist_b3619f826be3c6dc7d602fee61c4c981.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/rsvprrosubobjectslist_b3619f826be3c6dc7d602fee61c4c981.py @@ -326,6 +326,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/rsvpteif_e2b2ecdbf1fa5e15d2f6d87dd1789f1c.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/rsvpteif_e2b2ecdbf1fa5e15d2f6d87dd1789f1c.py index e3efb9ee7..dfcbd9767 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/rsvpteif_e2b2ecdbf1fa5e15d2f6d87dd1789f1c.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/rsvpteif_e2b2ecdbf1fa5e15d2f6d87dd1789f1c.py @@ -878,6 +878,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def GetLearnedInfo(self, *args, **kwargs): # type: (*Any, **Any) -> Union[List[str], None] """Executes the getLearnedInfo operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/rsvptelsps_c853570a71a8549c854868139dd47959.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/rsvptelsps_c853570a71a8549c854868139dd47959.py index 9324528a6..c72b64ca2 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/rsvptelsps_c853570a71a8549c854868139dd47959.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/rsvptelsps_c853570a71a8549c854868139dd47959.py @@ -574,6 +574,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def RestartDown(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the restartDown operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/rucarrier_9fc1ca05aa71639ef4aa1bf05267ec32.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/rucarrier_9fc1ca05aa71639ef4aa1bf05267ec32.py index 41752c262..2672882fd 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/rucarrier_9fc1ca05aa71639ef4aa1bf05267ec32.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/rucarrier_9fc1ca05aa71639ef4aa1bf05267ec32.py @@ -478,6 +478,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/rucuplane_5a30497b19e2a66b22c8822c83c1df83.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/rucuplane_5a30497b19e2a66b22c8822c83c1df83.py index 662857c95..4b8fac976 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/rucuplane_5a30497b19e2a66b22c8822c83c1df83.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/rucuplane_5a30497b19e2a66b22c8822c83c1df83.py @@ -171,6 +171,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids(self, PortNames=None, Active=None): """Base class infrastructure that gets a list of ruCUPlane device ids encapsulated by this object. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ruuplane_49d312b91abfe9fd6bdfee21a53fb842.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ruuplane_49d312b91abfe9fd6bdfee21a53fb842.py index a2db8082c..e7f1998b3 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ruuplane_49d312b91abfe9fd6bdfee21a53fb842.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ruuplane_49d312b91abfe9fd6bdfee21a53fb842.py @@ -191,6 +191,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids(self, PortNames=None, Active=None): """Base class infrastructure that gets a list of ruUPlane device ids encapsulated by this object. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/rxsakpool_22340fe5cb5d81664cab595d3e6d08ef.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/rxsakpool_22340fe5cb5d81664cab595d3e6d08ef.py index 6039d97f6..3b159fff0 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/rxsakpool_22340fe5cb5d81664cab595d3e6d08ef.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/rxsakpool_22340fe5cb5d81664cab595d3e6d08ef.py @@ -190,6 +190,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, RxSak128=None, RxSak256=None, RxSalt=None, RxSsci=None ): diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/sbfdinitiator_ef4ed37c4520e95225e35be31ea6dde4.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/sbfdinitiator_ef4ed37c4520e95225e35be31ea6dde4.py index d6acfedfb..ad606af89 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/sbfdinitiator_ef4ed37c4520e95225e35be31ea6dde4.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/sbfdinitiator_ef4ed37c4520e95225e35be31ea6dde4.py @@ -279,6 +279,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/sbfdresponder_e89a7c6cba0a1f66c71ecb217db4ccfd.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/sbfdresponder_e89a7c6cba0a1f66c71ecb217db4ccfd.py index b196b00da..c0a48562e 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/sbfdresponder_e89a7c6cba0a1f66c71ecb217db4ccfd.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/sbfdresponder_e89a7c6cba0a1f66c71ecb217db4ccfd.py @@ -207,6 +207,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def ClearSbfdResponderLearnedInfo(self, *args, **kwargs): # type: (*Any, **Any) -> Union[List[str], None] """Executes the clearSbfdResponderLearnedInfo operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/sid_8c2f535b036e46b302b17150b1058608.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/sid_8c2f535b036e46b302b17150b1058608.py index bc0d43bb1..df0f533ea 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/sid_8c2f535b036e46b302b17150b1058608.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/sid_8c2f535b036e46b302b17150b1058608.py @@ -91,3 +91,24 @@ def read(self, href): - ServerError: The server has encountered an uncategorized error condition """ return self._read(href) + + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/sidtype_579b966f4e4c3d833da37f5f97dc08ee.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/sidtype_579b966f4e4c3d833da37f5f97dc08ee.py index 8a2ca64b1..9a6aced92 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/sidtype_579b966f4e4c3d833da37f5f97dc08ee.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/sidtype_579b966f4e4c3d833da37f5f97dc08ee.py @@ -91,3 +91,24 @@ def read(self, href): - ServerError: The server has encountered an uncategorized error condition """ return self._read(href) + + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/siminterface_c5ed266ee5e10544297ff85a7ebe3c50.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/siminterface_c5ed266ee5e10544297ff85a7ebe3c50.py index 09551f36d..5f9368810 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/siminterface_c5ed266ee5e10544297ff85a7ebe3c50.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/siminterface_c5ed266ee5e10544297ff85a7ebe3c50.py @@ -320,6 +320,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def Start(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the start operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/siminterfaceethernetconfig_1d251364611e333123819f3a7098b591.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/siminterfaceethernetconfig_1d251364611e333123819f3a7098b591.py index d8d3ff6b5..e9afade23 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/siminterfaceethernetconfig_1d251364611e333123819f3a7098b591.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/siminterfaceethernetconfig_1d251364611e333123819f3a7098b591.py @@ -258,6 +258,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def Start(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the start operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/siminterfaceipv4config_e6c1aa40e073d14efc69d40d8efd0f6b.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/siminterfaceipv4config_e6c1aa40e073d14efc69d40d8efd0f6b.py index 5db25aae0..ca574752d 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/siminterfaceipv4config_e6c1aa40e073d14efc69d40d8efd0f6b.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/siminterfaceipv4config_e6c1aa40e073d14efc69d40d8efd0f6b.py @@ -253,6 +253,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def Start(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the start operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/siminterfaceipv6config_189f3bfbc365f2b105e35cd8b9d542d6.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/siminterfaceipv6config_189f3bfbc365f2b105e35cd8b9d542d6.py index 586af78ce..7e7498269 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/siminterfaceipv6config_189f3bfbc365f2b105e35cd8b9d542d6.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/siminterfaceipv6config_189f3bfbc365f2b105e35cd8b9d542d6.py @@ -253,6 +253,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def Start(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the start operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/simrouter_6b838313b6104e3f157ae2656c6afbb1.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/simrouter_6b838313b6104e3f157ae2656c6afbb1.py index 0cb7398e6..e6ce35929 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/simrouter_6b838313b6104e3f157ae2656c6afbb1.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/simrouter_6b838313b6104e3f157ae2656c6afbb1.py @@ -338,6 +338,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def Start(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the start operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/simrouterbridge_7a0805a6e8bddd5a066f100c0b0a7df2.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/simrouterbridge_7a0805a6e8bddd5a066f100c0b0a7df2.py index f3dc27227..16cc4de3c 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/simrouterbridge_7a0805a6e8bddd5a066f100c0b0a7df2.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/simrouterbridge_7a0805a6e8bddd5a066f100c0b0a7df2.py @@ -318,6 +318,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def Start(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the start operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/slaveiplist_d6039702331b26e43f5ce57099bf9120.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/slaveiplist_d6039702331b26e43f5ce57099bf9120.py index 2d119107e..6be687eec 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/slaveiplist_d6039702331b26e43f5ce57099bf9120.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/slaveiplist_d6039702331b26e43f5ce57099bf9120.py @@ -181,6 +181,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/sourceipv4address_707bf2f3cc4230a0651eaf5afdefe498.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/sourceipv4address_707bf2f3cc4230a0651eaf5afdefe498.py index 1598082e8..e7791c4e7 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/sourceipv4address_707bf2f3cc4230a0651eaf5afdefe498.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/sourceipv4address_707bf2f3cc4230a0651eaf5afdefe498.py @@ -91,3 +91,24 @@ def read(self, href): - ServerError: The server has encountered an uncategorized error condition """ return self._read(href) + + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/sourceipv6address_37f328eecbea00714a96da2c073f4428.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/sourceipv6address_37f328eecbea00714a96da2c073f4428.py index b0cf425ff..bd736bae9 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/sourceipv6address_37f328eecbea00714a96da2c073f4428.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/sourceipv6address_37f328eecbea00714a96da2c073f4428.py @@ -91,3 +91,24 @@ def read(self, href): - ServerError: The server has encountered an uncategorized error condition """ return self._read(href) + + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/spbnodetopologylist_97764ea2c3708885007bc4d842895ee4.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/spbnodetopologylist_97764ea2c3708885007bc4d842895ee4.py index f8c1a2fb0..c9626a37a 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/spbnodetopologylist_97764ea2c3708885007bc4d842895ee4.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/spbnodetopologylist_97764ea2c3708885007bc4d842895ee4.py @@ -271,6 +271,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/spbsimedgebasevidlist_166a7ab8274498ee804810aa449de276.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/spbsimedgebasevidlist_166a7ab8274498ee804810aa449de276.py index c1c1b434d..c698cc7dc 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/spbsimedgebasevidlist_166a7ab8274498ee804810aa449de276.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/spbsimedgebasevidlist_166a7ab8274498ee804810aa449de276.py @@ -256,6 +256,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/spbsimedgeisidlist_cfeb124762b8e4653da4ea2e084e78c8.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/spbsimedgeisidlist_cfeb124762b8e4653da4ea2e084e78c8.py index ad767098a..819ec8467 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/spbsimedgeisidlist_cfeb124762b8e4653da4ea2e084e78c8.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/spbsimedgeisidlist_cfeb124762b8e4653da4ea2e084e78c8.py @@ -240,6 +240,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/spbsimedgetopologylist_5e9b551439bb252c1fa3e2c6948a1432.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/spbsimedgetopologylist_5e9b551439bb252c1fa3e2c6948a1432.py index 12254253c..fc23a24ae 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/spbsimedgetopologylist_5e9b551439bb252c1fa3e2c6948a1432.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/spbsimedgetopologylist_5e9b551439bb252c1fa3e2c6948a1432.py @@ -265,6 +265,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/spbtopologylist_079e088e28e1c709b12ccf5543f3c230.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/spbtopologylist_079e088e28e1c709b12ccf5543f3c230.py index 89e02aab7..9f0d6e199 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/spbtopologylist_079e088e28e1c709b12ccf5543f3c230.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/spbtopologylist_079e088e28e1c709b12ccf5543f3c230.py @@ -368,6 +368,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/srlgvaluelist_355b617a5f46ce90d800290d21158418.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/srlgvaluelist_355b617a5f46ce90d800290d21158418.py index 941572b25..557df101e 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/srlgvaluelist_355b617a5f46ce90d800290d21158418.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/srlgvaluelist_355b617a5f46ce90d800290d21158418.py @@ -170,6 +170,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids(self, PortNames=None, SrlgValue=None): """Base class infrastructure that gets a list of srlgValueList device ids encapsulated by this object. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/srv6oam_677f5b387d62a13791d7d97f690e2b56.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/srv6oam_677f5b387d62a13791d7d97f690e2b56.py index 8e45b26aa..c9c362282 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/srv6oam_677f5b387d62a13791d7d97f690e2b56.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/srv6oam_677f5b387d62a13791d7d97f690e2b56.py @@ -672,6 +672,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def RestartDown(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the restartDown operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/srv6oamdestination_4c1ece21781b682b07f8d26d61f2b8b6.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/srv6oamdestination_4c1ece21781b682b07f8d26d61f2b8b6.py index 17fc9e7b2..5b61c6c96 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/srv6oamdestination_4c1ece21781b682b07f8d26d61f2b8b6.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/srv6oamdestination_4c1ece21781b682b07f8d26d61f2b8b6.py @@ -730,6 +730,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def ClearAllLearnedInfo(self, *args, **kwargs): # type: (*Any, **Any) -> Union[List[str], None] """Executes the clearAllLearnedInfo operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/srv6oamreversebsid_32c773aa5ec81fe48c4dde8135918746.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/srv6oamreversebsid_32c773aa5ec81fe48c4dde8135918746.py index 5c728e9fa..03d4a960c 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/srv6oamreversebsid_32c773aa5ec81fe48c4dde8135918746.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/srv6oamreversebsid_32c773aa5ec81fe48c4dde8135918746.py @@ -316,6 +316,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/srv6oamsegmentnode_4504116c9d97fb3485d94c3ced1752bc.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/srv6oamsegmentnode_4504116c9d97fb3485d94c3ced1752bc.py index ca73dd230..b08df8ca1 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/srv6oamsegmentnode_4504116c9d97fb3485d94c3ced1752bc.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/srv6oamsegmentnode_4504116c9d97fb3485d94c3ced1752bc.py @@ -234,6 +234,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/srv6oamsegmentnode_d3b3fcd80f1d1cbaba726b72e946acc7.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/srv6oamsegmentnode_d3b3fcd80f1d1cbaba726b72e946acc7.py index 13c072994..7319cece2 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/srv6oamsegmentnode_d3b3fcd80f1d1cbaba726b72e946acc7.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/srv6oamsegmentnode_d3b3fcd80f1d1cbaba726b72e946acc7.py @@ -234,6 +234,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/srv6sbfdresponder_aeecc02f1736a0513600da92f49c6d9f.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/srv6sbfdresponder_aeecc02f1736a0513600da92f49c6d9f.py index 57fa0cd47..3f8438994 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/srv6sbfdresponder_aeecc02f1736a0513600da92f49c6d9f.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/srv6sbfdresponder_aeecc02f1736a0513600da92f49c6d9f.py @@ -237,6 +237,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def ClearSbfdResponderLearnedInfo(self, *args, **kwargs): # type: (*Any, **Any) -> Union[List[str], None] """Executes the clearSbfdResponderLearnedInfo operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/startccmemulatedmpparams_62b1a2be6189ae1e1aa5f0cee8254081.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/startccmemulatedmpparams_62b1a2be6189ae1e1aa5f0cee8254081.py index 30ba94ada..d4dd66448 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/startccmemulatedmpparams_62b1a2be6189ae1e1aa5f0cee8254081.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/startccmemulatedmpparams_62b1a2be6189ae1e1aa5f0cee8254081.py @@ -75,6 +75,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def StartCcmEmulatedMp(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the startCcmEmulatedMp operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/startccmsimulatedmpparams_4c311ea185eeaa4106e3c4181a4ec347.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/startccmsimulatedmpparams_4c311ea185eeaa4106e3c4181a4ec347.py index e131438fc..1b5c49653 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/startccmsimulatedmpparams_4c311ea185eeaa4106e3c4181a4ec347.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/startccmsimulatedmpparams_4c311ea185eeaa4106e3c4181a4ec347.py @@ -75,6 +75,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def StartCcmSimulatedMp(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the startCcmSimulatedMp operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/staticlag_d16a8997708d466db9c9f007ce04724e.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/staticlag_d16a8997708d466db9c9f007ce04724e.py index f9b983ad6..d05ae0f27 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/staticlag_d16a8997708d466db9c9f007ce04724e.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/staticlag_d16a8997708d466db9c9f007ce04724e.py @@ -352,6 +352,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def RestartDown(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the restartDown operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/staticmacsec_b2bfb1c8c259661514373bf3afb4450d.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/staticmacsec_b2bfb1c8c259661514373bf3afb4450d.py index fb947ab81..12b9633af 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/staticmacsec_b2bfb1c8c259661514373bf3afb4450d.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/staticmacsec_b2bfb1c8c259661514373bf3afb4450d.py @@ -1075,6 +1075,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def RestartDown(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the restartDown operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/staticuserslist_0a954635b5a06973caa3d52037ef1fb4.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/staticuserslist_0a954635b5a06973caa3d52037ef1fb4.py index f890045dc..8c42a0e9b 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/staticuserslist_0a954635b5a06973caa3d52037ef1fb4.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/staticuserslist_0a954635b5a06973caa3d52037ef1fb4.py @@ -1596,6 +1596,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/stopccmemulatedmpparams_a24dfdb02ad9d3f95459876f02f9eff0.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/stopccmemulatedmpparams_a24dfdb02ad9d3f95459876f02f9eff0.py index 26784ddab..de21cb6f4 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/stopccmemulatedmpparams_a24dfdb02ad9d3f95459876f02f9eff0.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/stopccmemulatedmpparams_a24dfdb02ad9d3f95459876f02f9eff0.py @@ -75,6 +75,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def StopCcmEmulatedMp(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the stopCcmEmulatedMp operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/stopccmsimulatedmpparams_93b05cff27480ec5b14accd9b8a754a7.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/stopccmsimulatedmpparams_93b05cff27480ec5b14accd9b8a754a7.py index f537cabcd..316aafe49 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/stopccmsimulatedmpparams_93b05cff27480ec5b14accd9b8a754a7.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/stopccmsimulatedmpparams_93b05cff27480ec5b14accd9b8a754a7.py @@ -75,6 +75,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def StopCcmSimulatedMp(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the stopCcmSimulatedMp operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/stopslmparams_2117fd9e6d0ad885042f04f4604813e9.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/stopslmparams_2117fd9e6d0ad885042f04f4604813e9.py index 406ff6eee..f6ac3567c 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/stopslmparams_2117fd9e6d0ad885042f04f4604813e9.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/stopslmparams_2117fd9e6d0ad885042f04f4604813e9.py @@ -75,6 +75,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def StopSlm(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the stopSlm operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/streams_dcd5bdb9e0099c6354f7bed1be55d8f6.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/streams_dcd5bdb9e0099c6354f7bed1be55d8f6.py index c72f52fa7..ffcfa4985 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/streams_dcd5bdb9e0099c6354f7bed1be55d8f6.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/streams_dcd5bdb9e0099c6354f7bed1be55d8f6.py @@ -546,6 +546,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def ApplyTSpecToPort(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the applyTSpecToPort operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/subscribedstreams_b01da202c4f5221aa9094d86a288d1bd.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/subscribedstreams_b01da202c4f5221aa9094d86a288d1bd.py index 3ed5351fc..31d081d37 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/subscribedstreams_b01da202c4f5221aa9094d86a288d1bd.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/subscribedstreams_b01da202c4f5221aa9094d86a288d1bd.py @@ -177,6 +177,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def Start(self, *args, **kwargs): # type: (*Any, **Any) -> Union[List[str], None] """Executes the start operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/switchgroupslist_8730e37b1ef4012ce871082b246f9630.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/switchgroupslist_8730e37b1ef4012ce871082b246f9630.py index 828e09024..f30bbbad1 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/switchgroupslist_8730e37b1ef4012ce871082b246f9630.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/switchgroupslist_8730e37b1ef4012ce871082b246f9630.py @@ -422,6 +422,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/switchtableslist_73e39ebca0d77977f214e593d8a686a4.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/switchtableslist_73e39ebca0d77977f214e593d8a686a4.py index b7956d3dc..1bfbfacba 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/switchtableslist_73e39ebca0d77977f214e593d8a686a4.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/switchtableslist_73e39ebca0d77977f214e593d8a686a4.py @@ -561,6 +561,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/symbolicpathname_ed1c62d2f4f0680292dada315970feea.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/symbolicpathname_ed1c62d2f4f0680292dada315970feea.py index 1b3a986d3..92003d066 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/symbolicpathname_ed1c62d2f4f0680292dada315970feea.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/symbolicpathname_ed1c62d2f4f0680292dada315970feea.py @@ -91,3 +91,24 @@ def read(self, href): - ServerError: The server has encountered an uncategorized error condition """ return self._read(href) + + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/tables_3d687bbed07969785585da03f7a19e75.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/tables_3d687bbed07969785585da03f7a19e75.py index 49bf49870..f3b849180 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/tables_3d687bbed07969785585da03f7a19e75.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/tables_3d687bbed07969785585da03f7a19e75.py @@ -267,6 +267,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids(self, PortNames=None, Active=None, TableId=None, TableName=None): """Base class infrastructure that gets a list of tables device ids encapsulated by this object. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/tag_e30f24de79247381d4dfd423b2f6986d.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/tag_e30f24de79247381d4dfd423b2f6986d.py index de09bd439..8f5180f2e 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/tag_e30f24de79247381d4dfd423b2f6986d.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/tag_e30f24de79247381d4dfd423b2f6986d.py @@ -188,6 +188,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids(self, PortNames=None, Id__=None): """Base class infrastructure that gets a list of tag device ids encapsulated by this object. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/tlvprofile/container_ad14fff79850a810bf70af3c662f313a.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/tlvprofile/container_ad14fff79850a810bf70af3c662f313a.py index 637bde0fa..b7944b4f2 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/tlvprofile/container_ad14fff79850a810bf70af3c662f313a.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/tlvprofile/container_ad14fff79850a810bf70af3c662f313a.py @@ -168,3 +168,24 @@ def read(self, href): - ServerError: The server has encountered an uncategorized error condition """ return self._read(href) + + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/tlvprofile/defaulttlv_8e41257d3d01ec013783dd0fd6697862.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/tlvprofile/defaulttlv_8e41257d3d01ec013783dd0fd6697862.py index c4ef6e08b..2ab563a0d 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/tlvprofile/defaulttlv_8e41257d3d01ec013783dd0fd6697862.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/tlvprofile/defaulttlv_8e41257d3d01ec013783dd0fd6697862.py @@ -246,6 +246,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids(self, PortNames=None, EnablePerSession=None): """Base class infrastructure that gets a list of defaultTlv device ids encapsulated by this object. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/tlvprofile/field_e196f9febcf3a6c28484d9f1e36ac377.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/tlvprofile/field_e196f9febcf3a6c28484d9f1e36ac377.py index bb83a37e5..e60815841 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/tlvprofile/field_e196f9febcf3a6c28484d9f1e36ac377.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/tlvprofile/field_e196f9febcf3a6c28484d9f1e36ac377.py @@ -321,6 +321,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids(self, PortNames=None, Value=None): """Base class infrastructure that gets a list of field device ids encapsulated by this object. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/tlvprofile/length_0bd681ada144795cbd0b8c30dee1562d.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/tlvprofile/length_0bd681ada144795cbd0b8c30dee1562d.py index 3e402578e..f3ace3d7c 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/tlvprofile/length_0bd681ada144795cbd0b8c30dee1562d.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/tlvprofile/length_0bd681ada144795cbd0b8c30dee1562d.py @@ -287,6 +287,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids(self, PortNames=None, Value=None): """Base class infrastructure that gets a list of length device ids encapsulated by this object. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/tlvprofile/object_1ba6063c8cfb61359d0cafa499ed49e4.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/tlvprofile/object_1ba6063c8cfb61359d0cafa499ed49e4.py index 1c86b8298..807427187 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/tlvprofile/object_1ba6063c8cfb61359d0cafa499ed49e4.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/tlvprofile/object_1ba6063c8cfb61359d0cafa499ed49e4.py @@ -209,3 +209,24 @@ def read(self, href): - ServerError: The server has encountered an uncategorized error condition """ return self._read(href) + + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/tlvprofile/repeatablecontainer_a17d3ce6bb8123640f8dd7d1e6a6435c.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/tlvprofile/repeatablecontainer_a17d3ce6bb8123640f8dd7d1e6a6435c.py index b9e6da94e..b39a362b1 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/tlvprofile/repeatablecontainer_a17d3ce6bb8123640f8dd7d1e6a6435c.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/tlvprofile/repeatablecontainer_a17d3ce6bb8123640f8dd7d1e6a6435c.py @@ -169,6 +169,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def UpdateObjectsCount(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the updateObjectsCount operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/tlvprofile/restriction_cf6d803d11c6dbc385b70d3f8adf1e34.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/tlvprofile/restriction_cf6d803d11c6dbc385b70d3f8adf1e34.py index d47251924..39b3ab9d8 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/tlvprofile/restriction_cf6d803d11c6dbc385b70d3f8adf1e34.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/tlvprofile/restriction_cf6d803d11c6dbc385b70d3f8adf1e34.py @@ -148,3 +148,24 @@ def read(self, href): - ServerError: The server has encountered an uncategorized error condition """ return self._read(href) + + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/tlvprofile/subtlv_7c94061598b794f7b720de3bb85f6cdb.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/tlvprofile/subtlv_7c94061598b794f7b720de3bb85f6cdb.py index 9c8d42c8d..3bdc232c9 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/tlvprofile/subtlv_7c94061598b794f7b720de3bb85f6cdb.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/tlvprofile/subtlv_7c94061598b794f7b720de3bb85f6cdb.py @@ -206,6 +206,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids(self, PortNames=None, EnablePerSession=None): """Base class infrastructure that gets a list of subTlv device ids encapsulated by this object. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/tlvprofile/tlv_d2b702d35a057ccb264f716c5f342298.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/tlvprofile/tlv_d2b702d35a057ccb264f716c5f342298.py index 88844119c..7c78f6038 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/tlvprofile/tlv_d2b702d35a057ccb264f716c5f342298.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/tlvprofile/tlv_d2b702d35a057ccb264f716c5f342298.py @@ -297,6 +297,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids(self, PortNames=None, EnablePerSession=None): """Base class infrastructure that gets a list of tlv device ids encapsulated by this object. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/tlvprofile/tlvprofile_421be1db953efaf826fe146cf9700e26.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/tlvprofile/tlvprofile_421be1db953efaf826fe146cf9700e26.py index 7b8ca3e94..8e050557f 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/tlvprofile/tlvprofile_421be1db953efaf826fe146cf9700e26.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/tlvprofile/tlvprofile_421be1db953efaf826fe146cf9700e26.py @@ -129,6 +129,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def CopyTlv(self, *args, **kwargs): # type: (*Any, **Any) -> Union[str, None] """Executes the copyTlv operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/tlvprofile/type_b3f7b13bb03ac01972b75a01e4f61712.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/tlvprofile/type_b3f7b13bb03ac01972b75a01e4f61712.py index 2ba20c6bc..76836d6ed 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/tlvprofile/type_b3f7b13bb03ac01972b75a01e4f61712.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/tlvprofile/type_b3f7b13bb03ac01972b75a01e4f61712.py @@ -166,3 +166,24 @@ def read(self, href): - ServerError: The server has encountered an uncategorized error condition """ return self._read(href) + + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/tlvprofile/value_ac1d7b13584a86b9cf1c28dca3390bca.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/tlvprofile/value_ac1d7b13584a86b9cf1c28dca3390bca.py index aeffec2cf..4da60d79e 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/tlvprofile/value_ac1d7b13584a86b9cf1c28dca3390bca.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/tlvprofile/value_ac1d7b13584a86b9cf1c28dca3390bca.py @@ -131,6 +131,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def GetMVPropertyCandidatesToSharePatternWith(self, *args, **kwargs): """Executes the getMVPropertyCandidatesToSharePatternWith operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/topology_9d0fe0bb2c064aa7010adbdb6cf68958.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/topology_9d0fe0bb2c064aa7010adbdb6cf68958.py index 36f36d3f2..54fb3a930 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/topology_9d0fe0bb2c064aa7010adbdb6cf68958.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/topology_9d0fe0bb2c064aa7010adbdb6cf68958.py @@ -331,6 +331,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def AdjustPortCount(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the adjustPortCount operation on the server. @@ -354,6 +375,37 @@ def AdjustPortCount(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("adjustPortCount", payload=payload, response_object=None) + def CopyPaste(self, *args, **kwargs): + # type: (*Any, **Any) -> Union[List[str], None] + """Executes the copyPaste operation on the server. + + Copy this Topology + + The IxNetwork model allows for multiple method Signatures with the same name while python does not. + + copyPaste(async_operation=bool)list + ----------------------------------- + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + - Returns list(str[None | /api/v1/sessions/1/ixnetwork/]): The newly copied node. + + copyPaste(Arg2=enum, async_operation=bool)list + ---------------------------------------------- + - Arg2 (str(regular | unique)): Type of Paste, regular or Unique. Unique generates unique Ethernet MAC address and Ipv4 address on Paste. + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + - Returns list(str[None | /api/v1/sessions/1/ixnetwork/]): The newly copied node. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("copyPaste", payload=payload, response_object=None) + def FetchAndUpdateConfigFromCloud(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the fetchAndUpdateConfigFromCloud operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/trillmcastipv4grouplist_067fcb786745f03382b0f3242126f4a0.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/trillmcastipv4grouplist_067fcb786745f03382b0f3242126f4a0.py index dd9915afe..12fd3e143 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/trillmcastipv4grouplist_067fcb786745f03382b0f3242126f4a0.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/trillmcastipv4grouplist_067fcb786745f03382b0f3242126f4a0.py @@ -299,6 +299,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/trillmcastipv6grouplist_18b118137ec4704f682253ecb0f4797b.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/trillmcastipv6grouplist_18b118137ec4704f682253ecb0f4797b.py index d49dc6b7e..3fe20a1b8 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/trillmcastipv6grouplist_18b118137ec4704f682253ecb0f4797b.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/trillmcastipv6grouplist_18b118137ec4704f682253ecb0f4797b.py @@ -299,6 +299,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/trillmcastmacgrouplist_fef95367003707238873712058525e55.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/trillmcastmacgrouplist_fef95367003707238873712058525e55.py index a325ff604..4cd458a35 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/trillmcastmacgrouplist_fef95367003707238873712058525e55.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/trillmcastmacgrouplist_fef95367003707238873712058525e55.py @@ -299,6 +299,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/trillnodetopologylist_4077d4c2167806db82745c07dd5d7357.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/trillnodetopologylist_4077d4c2167806db82745c07dd5d7357.py index 6c3395fc3..d6d3bdb80 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/trillnodetopologylist_4077d4c2167806db82745c07dd5d7357.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/trillnodetopologylist_4077d4c2167806db82745c07dd5d7357.py @@ -219,6 +219,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, Active=None, NoOfTreesToCompute=None, TopologyId=None ): diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/trillsimulatedmcastipv4grouplist_c79d67ba115d7ed47c7c73c05670cc0d.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/trillsimulatedmcastipv4grouplist_c79d67ba115d7ed47c7c73c05670cc0d.py index 2b39eca55..42a80e669 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/trillsimulatedmcastipv4grouplist_c79d67ba115d7ed47c7c73c05670cc0d.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/trillsimulatedmcastipv4grouplist_c79d67ba115d7ed47c7c73c05670cc0d.py @@ -287,6 +287,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/trillsimulatedmcastipv6grouplist_89c8c841a0a83999d64fdbb091de6f9e.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/trillsimulatedmcastipv6grouplist_89c8c841a0a83999d64fdbb091de6f9e.py index 20dafe46a..f464a3a05 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/trillsimulatedmcastipv6grouplist_89c8c841a0a83999d64fdbb091de6f9e.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/trillsimulatedmcastipv6grouplist_89c8c841a0a83999d64fdbb091de6f9e.py @@ -287,6 +287,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/trillsimulatedmcastmacgrouplist_ddbcd1cff50daaf74cd80d85ea7655da.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/trillsimulatedmcastmacgrouplist_ddbcd1cff50daaf74cd80d85ea7655da.py index 12a340e00..8bafdfd92 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/trillsimulatedmcastmacgrouplist_ddbcd1cff50daaf74cd80d85ea7655da.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/trillsimulatedmcastmacgrouplist_ddbcd1cff50daaf74cd80d85ea7655da.py @@ -287,6 +287,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/trilltopologylist_d5329b70c837a29596a33cda2c9bc96d.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/trilltopologylist_d5329b70c837a29596a33cda2c9bc96d.py index a58986a5f..2d98b1080 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/trilltopologylist_d5329b70c837a29596a33cda2c9bc96d.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/trilltopologylist_d5329b70c837a29596a33cda2c9bc96d.py @@ -275,6 +275,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, Active=None, NoOfTreesToCompute=None, TopologyId=None ): diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/twampipv4_eb2d65f1b7241489a109cf98d171b047.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/twampipv4_eb2d65f1b7241489a109cf98d171b047.py index b54c4f2bc..442d4edd3 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/twampipv4_eb2d65f1b7241489a109cf98d171b047.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/twampipv4_eb2d65f1b7241489a109cf98d171b047.py @@ -662,6 +662,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def ClearLearnedInfo(self, *args, **kwargs): # type: (*Any, **Any) -> Union[List[str], None] """Executes the clearLearnedInfo operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/twampipv4dstlist_71a0edca2f4ac671c689f9a13c1374b6.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/twampipv4dstlist_71a0edca2f4ac671c689f9a13c1374b6.py index 80f6f606f..ec013a7fc 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/twampipv4dstlist_71a0edca2f4ac671c689f9a13c1374b6.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/twampipv4dstlist_71a0edca2f4ac671c689f9a13c1374b6.py @@ -179,6 +179,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def SendTwampRequest(self, *args, **kwargs): # type: (*Any, **Any) -> Union[List[str], None] """Executes the sendTwampRequest operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/twampipv6_72c7939993683cf2a1b8b4518a76974c.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/twampipv6_72c7939993683cf2a1b8b4518a76974c.py index 929987972..2bcc60490 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/twampipv6_72c7939993683cf2a1b8b4518a76974c.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/twampipv6_72c7939993683cf2a1b8b4518a76974c.py @@ -662,6 +662,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def ClearLearnedInfo(self, *args, **kwargs): # type: (*Any, **Any) -> Union[List[str], None] """Executes the clearLearnedInfo operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/twampipv6dstlist_42a3d2c6bdade1f2352572052b2c13ab.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/twampipv6dstlist_42a3d2c6bdade1f2352572052b2c13ab.py index 900771a4a..9a3f31a8a 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/twampipv6dstlist_42a3d2c6bdade1f2352572052b2c13ab.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/twampipv6dstlist_42a3d2c6bdade1f2352572052b2c13ab.py @@ -179,6 +179,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def SendTwampRequest(self, *args, **kwargs): # type: (*Any, **Any) -> Union[List[str], None] """Executes the sendTwampRequest operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/txchannels_a961f7f036af2edebf4e1957fed8ab53.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/txchannels_a961f7f036af2edebf4e1957fed8ab53.py index 116f471e1..470f05757 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/txchannels_a961f7f036af2edebf4e1957fed8ab53.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/txchannels_a961f7f036af2edebf4e1957fed8ab53.py @@ -194,6 +194,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/txsakpool_7ab8c0a10359fbab4d0c5bd3dab1bfb2.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/txsakpool_7ab8c0a10359fbab4d0c5bd3dab1bfb2.py index 1b52dc9ef..ac8f72586 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/txsakpool_7ab8c0a10359fbab4d0c5bd3dab1bfb2.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/txsakpool_7ab8c0a10359fbab4d0c5bd3dab1bfb2.py @@ -216,6 +216,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/upgroupinfo_a6f4a99dcdd5ccbad002b6727b9165b1.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/upgroupinfo_a6f4a99dcdd5ccbad002b6727b9165b1.py index 8ebe77fdb..2cec2749a 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/upgroupinfo_a6f4a99dcdd5ccbad002b6727b9165b1.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/upgroupinfo_a6f4a99dcdd5ccbad002b6727b9165b1.py @@ -1311,6 +1311,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def ClearAllLearnedAssignedInfo(self, *args, **kwargs): # type: (*Any, **Any) -> Union[List[str], None] """Executes the clearAllLearnedAssignedInfo operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/vlan_a3ff17a54eb8b0ce450fbc0fd0191f37.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/vlan_a3ff17a54eb8b0ce450fbc0fd0191f37.py index 97bcec3ca..0c2fd8333 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/vlan_a3ff17a54eb8b0ce450fbc0fd0191f37.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/vlan_a3ff17a54eb8b0ce450fbc0fd0191f37.py @@ -196,6 +196,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids(self, PortNames=None, Priority=None, Tpid=None, VlanId=None): """Base class infrastructure that gets a list of vlan device ids encapsulated by this object. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/vpnparameter_399bfde0d4939f8b431c339b39bb4720.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/vpnparameter_399bfde0d4939f8b431c339b39bb4720.py index 47c3a2aef..13e496787 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/vpnparameter_399bfde0d4939f8b431c339b39bb4720.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/vpnparameter_399bfde0d4939f8b431c339b39bb4720.py @@ -169,6 +169,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids(self, PortNames=None, SiteId=None): """Base class infrastructure that gets a list of vpnParameter device ids encapsulated by this object. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/vxlan_ed3df6fe7146492fc5fe0f77f53f9473.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/vxlan_ed3df6fe7146492fc5fe0f77f53f9473.py index 5a56a5469..89cd504b3 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/vxlan_ed3df6fe7146492fc5fe0f77f53f9473.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/vxlan_ed3df6fe7146492fc5fe0f77f53f9473.py @@ -697,6 +697,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def ClearAllLearnedInfo(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the clearAllLearnedInfo operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/vxlangpe_e779e9783907b2c61304fff3bae70291.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/vxlangpe_e779e9783907b2c61304fff3bae70291.py index 929396958..309c601a0 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/vxlangpe_e779e9783907b2c61304fff3bae70291.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/vxlangpe_e779e9783907b2c61304fff3bae70291.py @@ -677,6 +677,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def ClearAllLearnedInfo(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the clearAllLearnedInfo operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/vxlanipv6staticinfo_940382845c720a1a0c82b7648f383c6f.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/vxlanipv6staticinfo_940382845c720a1a0c82b7648f383c6f.py index 829bcb2ff..a1297f572 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/vxlanipv6staticinfo_940382845c720a1a0c82b7648f383c6f.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/vxlanipv6staticinfo_940382845c720a1a0c82b7648f383c6f.py @@ -234,6 +234,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/vxlanstaticinfo_6879422db4d58cf50c6662a6238ea2d4.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/vxlanstaticinfo_6879422db4d58cf50c6662a6238ea2d4.py index 10e874ee5..52a08c479 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/vxlanstaticinfo_6879422db4d58cf50c6662a6238ea2d4.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/vxlanstaticinfo_6879422db4d58cf50c6662a6238ea2d4.py @@ -236,6 +236,27 @@ def read(self, href): """ return self._read(href) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def get_device_ids( self, PortNames=None, diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/vxlanv6_c18187deccae3db44b9e9de30ad538ec.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/vxlanv6_c18187deccae3db44b9e9de30ad538ec.py index 91779b209..66fcc18b2 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/vxlanv6_c18187deccae3db44b9e9de30ad538ec.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/vxlanv6_c18187deccae3db44b9e9de30ad538ec.py @@ -610,6 +610,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def ClearAllLearnedInfo(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the clearAllLearnedInfo operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/vxlanv6gpe_c816572194cd020274b16a0978c849fa.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/vxlanv6gpe_c816572194cd020274b16a0978c849fa.py index 45ded1ce3..c0205b1c4 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/vxlanv6gpe_c816572194cd020274b16a0978c849fa.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/vxlanv6gpe_c816572194cd020274b16a0978c849fa.py @@ -610,6 +610,27 @@ def Abort(self, *args, **kwargs): payload[item[0]] = item[1] return self._execute("abort", payload=payload, response_object=None) + def AddDeleteTags(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addDeleteTags operation on the server. + + addDeleteTags(Arg2=bool, async_operation=bool) + ---------------------------------------------- + - Arg2 (bool): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addDeleteTags", payload=payload, response_object=None) + def ClearAllLearnedInfo(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the clearAllLearnedInfo operation on the server. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/traffic/trafficitem/configelement/stack/infiniBandAtomicExtendedTransportHeader_template.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/traffic/trafficitem/configelement/stack/infiniBandAtomicExtendedTransportHeader_template.py new file mode 100644 index 000000000..c2c7d9d60 --- /dev/null +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/traffic/trafficitem/configelement/stack/infiniBandAtomicExtendedTransportHeader_template.py @@ -0,0 +1,81 @@ +from ixnetwork_restpy.base import Base +from ixnetwork_restpy.files import Files + + +class InfiniBandAtomicExtendedTransportHeader(Base): + __slots__ = () + _SDM_NAME = "infiniBandAtomicExtendedTransportHeader" + _SDM_ATT_MAP = { + "HeaderVirtualAddr": "infiniBandAtomicExtendedTransportHeader.header.virtualAddr-1", + "HeaderRKey": "infiniBandAtomicExtendedTransportHeader.header.rKey-2", + "HeaderDmaLength": "infiniBandAtomicExtendedTransportHeader.header.dmaLength-3", + "HeaderSwapOrAddData": "infiniBandAtomicExtendedTransportHeader.header.swapOrAddData-4", + "HeaderCmpDt": "infiniBandAtomicExtendedTransportHeader.header.cmpDt-5", + } + + def __init__(self, parent, list_op=False): + super(InfiniBandAtomicExtendedTransportHeader, self).__init__(parent, list_op) + + @property + def HeaderVirtualAddr(self): + """ + Display Name: Virtual Address (VA) + Default Value: 0 + Value Format: decimal + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["HeaderVirtualAddr"]) + ) + + @property + def HeaderRKey(self): + """ + Display Name: R Key + Default Value: 0 + Value Format: decimal + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["HeaderRKey"])) + + @property + def HeaderDmaLength(self): + """ + Display Name: DMA Lenght + Default Value: 0 + Value Format: decimal + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["HeaderDmaLength"]) + ) + + @property + def HeaderSwapOrAddData(self): + """ + Display Name: SWAP (or ADD) DATA (SWAPDT) + Default Value: 0 + Value Format: decimal + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["HeaderSwapOrAddData"]) + ) + + @property + def HeaderCmpDt(self): + """ + Display Name: Compare Data (CmpDT) + Default Value: 0 + Value Format: decimal + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["HeaderCmpDt"])) + + def add(self): + return self._create(self._map_locals(self._SDM_ATT_MAP, locals())) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/traffic/trafficitem/configelement/stack/infiniBandBaseTransportHeader_template.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/traffic/trafficitem/configelement/stack/infiniBandBaseTransportHeader_template.py index f964bb49a..2e09b7b65 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/traffic/trafficitem/configelement/stack/infiniBandBaseTransportHeader_template.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/traffic/trafficitem/configelement/stack/infiniBandBaseTransportHeader_template.py @@ -30,7 +30,7 @@ def BaseTransportHeaderOpCodeOptions(self): Display Name: OpCode Default Value: 6 Value Format: decimal - Available enum values: Reliable Connection (RC) - SEND First, 0, Reliable Connection (RC) - SEND Middle, 1, Reliable Connection (RC) - SEND Last, 2, Reliable Connection (RC) - SEND Last with Immediate, 3, Reliable Connection (RC) - SEND Only, 4, Reliable Connection (RC) - SEND Only with Immediate, 5, Reliable Connection (RC) - RDMA WRITE First, 6, Reliable Connection (RC) - RDMA WRITE Middle, 7, Reliable Connection (RC) - RDMA WRITE Last, 8, Reliable Connection (RC) - RDMA WRITE Last with Immediate, 9, Reliable Connection (RC) - RDMA WRITE Only, 10, Reliable Connection (RC) - RDMA WRITE Only with Immediate, 11, Reliable Connection (RC) - RDMA READ Request, 12, Reliable Connection (RC) - RDMA READ response First, 13, Reliable Connection (RC) - RDMA READ response Middle, 14, Reliable Connection (RC) - RDMA READ response Last, 15, Reliable Connection (RC) - RDMA READ response Only, 16, Reliable Connection (RC) - Acknowledge, 17, Reliable Connection (RC) - ATOMIC Acknowledge, 18, Reliable Connection (RC) - CmpSwap, 19, Reliable Connection (RC) - FetchAdd, 20, Reliable Connection (RC) - Reserve, 21, Reliable Connection (RC) - SEND Last with Invalidate, 22, Reliable Connection (RC) - SEND Last Only with Invalidate, 23, Unreliable Connection (UC) - SEND First, 32, Unreliable Connection (UC) - SEND Middle, 33, Unreliable Connection (UC) - SEND Last, 34, Unreliable Connection (UC) - SEND Last with Immediate, 35, Unreliable Connection (UC) - SEND Only, 36, Unreliable Connection (UC) - SEND Only with Immediate, 37, Unreliable Connection (UC) - RDMA WRITE First, 38, Unreliable Connection (UC) - RDMA WRITE Middle, 39, Unreliable Connection (UC) - RDMA WRITE Last, 40, Unreliable Connection (UC) - RDMA WRITE Last with Immediate, 41, Unreliable Connection (UC) - RDMA WRITE Only, 42, Unreliable Connection (UC) - RDMA WRITE Only with Immediate, 43, Reliable Datagram (RD) - SEND First, 64, Reliable Datagram (RD) - SEND Middle, 65, Reliable Datagram (RD) - SEND Last, 66, Reliable Datagram (RD) - SEND Last with Immediate, 67, Reliable Datagram (RD) - SEND Only, 68, Reliable Datagram (RD) - SEND Only with Immediate, 69, Reliable Datagram (RD) - RDMA WRITE First, 70, Reliable Datagram (RD) - RDMA WRITE Middle, 71, Reliable Datagram (RD) - RDMA WRITE Last, 72, Reliable Datagram (RD) - RDMA WRITE Last with Immediate, 73, Reliable Datagram (RD) - RDMA WRITE Only, 74, Reliable Datagram (RD) - RDMA WRITE Only with Immediate, 75, Reliable Datagram (RD) - RDMA READ Request, 76, Reliable Datagram (RD) - RDMA READ response First, 77, Reliable Datagram (RD) - RDMA READ response Middle, 78, Reliable Datagram (RD) - RDMA READ response Last, 79, Reliable Datagram (RD) - RDMA READ response Only, 80, Reliable Datagram (RD) - Acknowledge, 81, Reliable Datagram (RD) - ATOMIC Acknowledge, 82, Reliable Datagram (RD) - CmpSwap, 83, Reliable Datagram (RD) - FetchAdd, 84, Reliable Datagram (RD) - RESYNC, 85, Unreliable Datagram (UD) - SEND only, 100, Unreliable Datagram (UD) - SEND only with Immediate, 101, CNP, 128 + Available enum values: Reliable Connection (RC) - SEND First, 0, Reliable Connection (RC) - SEND Middle, 1, Reliable Connection (RC) - SEND Last, 2, Reliable Connection (RC) - SEND Last with Immediate, 3, Reliable Connection (RC) - SEND Only, 4, Reliable Connection (RC) - SEND Only with Immediate, 5, Reliable Connection (RC) - RDMA WRITE First, 6, Reliable Connection (RC) - RDMA WRITE Middle, 7, Reliable Connection (RC) - RDMA WRITE Last, 8, Reliable Connection (RC) - RDMA WRITE Last with Immediate, 9, Reliable Connection (RC) - RDMA WRITE Only, 10, Reliable Connection (RC) - RDMA WRITE Only with Immediate, 11, Reliable Connection (RC) - RDMA READ Request, 12, Reliable Connection (RC) - RDMA READ response First, 13, Reliable Connection (RC) - RDMA READ response Middle, 14, Reliable Connection (RC) - RDMA READ response Last, 15, Reliable Connection (RC) - RDMA READ response Only, 16, Reliable Connection (RC) - Acknowledge, 17, Reliable Connection (RC) - ATOMIC Acknowledge, 18, Reliable Connection (RC) - CmpSwap, 19, Reliable Connection (RC) - FetchAdd, 20, Reliable Connection (RC) - Reserve, 21, Reliable Connection (RC) - SEND Last with Invalidate, 22, Reliable Connection (RC) - SEND Last Only with Invalidate, 23, Unreliable Connection (UC) - SEND First, 32, Unreliable Connection (UC) - SEND Middle, 33, Unreliable Connection (UC) - SEND Last, 34, Unreliable Connection (UC) - SEND Last with Immediate, 35, Unreliable Connection (UC) - SEND Only, 36, Unreliable Connection (UC) - SEND Only with Immediate, 37, Unreliable Connection (UC) - RDMA WRITE First, 38, Unreliable Connection (UC) - RDMA WRITE Middle, 39, Unreliable Connection (UC) - RDMA WRITE Last, 40, Unreliable Connection (UC) - RDMA WRITE Last with Immediate, 41, Unreliable Connection (UC) - RDMA WRITE Only, 42, Unreliable Connection (UC) - RDMA WRITE Only with Immediate, 43, Reliable Datagram (RD) - SEND First, 64, Reliable Datagram (RD) - SEND Middle, 65, Reliable Datagram (RD) - SEND Last, 66, Reliable Datagram (RD) - SEND Last with Immediate, 67, Reliable Datagram (RD) - SEND Only, 68, Reliable Datagram (RD) - SEND Only with Immediate, 69, Reliable Datagram (RD) - RDMA WRITE First, 70, Reliable Datagram (RD) - RDMA WRITE Middle, 71, Reliable Datagram (RD) - RDMA WRITE Last, 72, Reliable Datagram (RD) - RDMA WRITE Last with Immediate, 73, Reliable Datagram (RD) - RDMA WRITE Only, 74, Reliable Datagram (RD) - RDMA WRITE Only with Immediate, 75, Reliable Datagram (RD) - RDMA READ Request, 76, Reliable Datagram (RD) - RDMA READ response First, 77, Reliable Datagram (RD) - RDMA READ response Middle, 78, Reliable Datagram (RD) - RDMA READ response Last, 79, Reliable Datagram (RD) - RDMA READ response Only, 80, Reliable Datagram (RD) - Acknowledge, 81, Reliable Datagram (RD) - ATOMIC Acknowledge, 82, Reliable Datagram (RD) - CmpSwap, 83, Reliable Datagram (RD) - FetchAdd, 84, Reliable Datagram (RD) - RESYNC, 85, Unreliable Datagram (UD) - SEND only, 100, Unreliable Datagram (UD) - SEND only with Immediate, 101, CNP, 129 """ from ixnetwork_restpy.multivalue import Multivalue diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/traffic/trafficitem/configelement/stack/infiniBandRdExtendedTransportHeader_template.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/traffic/trafficitem/configelement/stack/infiniBandReliableDatagramExtendedTransportHeader_template.py similarity index 74% rename from ixnetwork_restpy/testplatform/sessions/ixnetwork/traffic/trafficitem/configelement/stack/infiniBandRdExtendedTransportHeader_template.py rename to ixnetwork_restpy/testplatform/sessions/ixnetwork/traffic/trafficitem/configelement/stack/infiniBandReliableDatagramExtendedTransportHeader_template.py index 82a8a7fda..4555e95f3 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/traffic/trafficitem/configelement/stack/infiniBandRdExtendedTransportHeader_template.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/traffic/trafficitem/configelement/stack/infiniBandReliableDatagramExtendedTransportHeader_template.py @@ -2,16 +2,18 @@ from ixnetwork_restpy.files import Files -class InfiniBandRdExtendedTransportHeader(Base): +class InfiniBandReliableDatagramExtendedTransportHeader(Base): __slots__ = () - _SDM_NAME = "infiniBandRdExtendedTransportHeader" + _SDM_NAME = "infiniBandReliableDatagramExtendedTransportHeader" _SDM_ATT_MAP = { - "InfiniBandRdExtendedTransportHeaderReserve": "infiniBandRdExtendedTransportHeader.infiniBandRdExtendedTransportHeader.reserve-1", - "InfiniBandRdExtendedTransportHeaderEeContext": "infiniBandRdExtendedTransportHeader.infiniBandRdExtendedTransportHeader.eeContext-2", + "InfiniBandRdExtendedTransportHeaderReserve": "infiniBandReliableDatagramExtendedTransportHeader.infiniBandRdExtendedTransportHeader.reserve-1", + "InfiniBandRdExtendedTransportHeaderEeContext": "infiniBandReliableDatagramExtendedTransportHeader.infiniBandRdExtendedTransportHeader.eeContext-2", } def __init__(self, parent, list_op=False): - super(InfiniBandRdExtendedTransportHeader, self).__init__(parent, list_op) + super(InfiniBandReliableDatagramExtendedTransportHeader, self).__init__( + parent, list_op + ) @property def InfiniBandRdExtendedTransportHeaderReserve(self): diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/traffic/trafficitem/configelement/stack/ipEspOverMACsec_template.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/traffic/trafficitem/configelement/stack/ipEspOverMacsec_template.py similarity index 98% rename from ixnetwork_restpy/testplatform/sessions/ixnetwork/traffic/trafficitem/configelement/stack/ipEspOverMACsec_template.py rename to ixnetwork_restpy/testplatform/sessions/ixnetwork/traffic/trafficitem/configelement/stack/ipEspOverMacsec_template.py index 654b3216c..010c1550d 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/traffic/trafficitem/configelement/stack/ipEspOverMACsec_template.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/traffic/trafficitem/configelement/stack/ipEspOverMacsec_template.py @@ -2,9 +2,9 @@ from ixnetwork_restpy.files import Files -class IpEspOverMACsec(Base): +class IpEspOverMacsec(Base): __slots__ = () - _SDM_NAME = "ipEspOverMACsec" + _SDM_NAME = "ipEspOverMacsec" _SDM_ATT_MAP = { "HeaderSpi": "ipEspOverMACsec.header.spi-1", "HeaderSn": "ipEspOverMACsec.header.sn-2", @@ -19,7 +19,7 @@ class IpEspOverMACsec(Base): } def __init__(self, parent, list_op=False): - super(IpEspOverMACsec, self).__init__(parent, list_op) + super(IpEspOverMacsec, self).__init__(parent, list_op) @property def HeaderSpi(self): diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/traffic/trafficitem/configelement/stack/roe_template.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/traffic/trafficitem/configelement/stack/roe_template.py new file mode 100644 index 000000000..aef51567b --- /dev/null +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/traffic/trafficitem/configelement/stack/roe_template.py @@ -0,0 +1,80 @@ +from ixnetwork_restpy.base import Base +from ixnetwork_restpy.files import Files + + +class Roe(Base): + __slots__ = () + _SDM_NAME = "roe" + _SDM_ATT_MAP = { + "Subtype": "roe.header.subtype-1", + "FlowID": "roe.header.flowID-2", + "Length": "roe.header.length-3", + "OrderInfoSeqNumber": "roe.header.orderInfo.seqNumber-4", + "OrderInfoTimeStamp": "roe.header.orderInfo.timeStamp-5", + } + + def __init__(self, parent, list_op=False): + super(Roe, self).__init__(parent, list_op) + + @property + def Subtype(self): + """ + Display Name: Subtype + Default Value: 0 + Value Format: decimal + Available enum values: RoE control subtype, 0, Reserved1, 1, RoE structure-agnostic data subtype, 2, RoE structure-aware CPRI data subtype, 3, RoE Slow C and M CPRI subtype, 4, Reserved2, 5, RoE native time domain data subtype, 16, RoE native frequency domain data subtype, 17, RoE native PRACH data subtype, 18, Reserved3, 19, Mapped subTypes, 128, Reserved4, 192, Experimental, 252 + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["Subtype"])) + + @property + def FlowID(self): + """ + Display Name: FlowID + Default Value: 0x0000 + Value Format: hex + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["FlowID"])) + + @property + def Length(self): + """ + Display Name: Length + Default Value: 0x0000 + Value Format: decimal + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["Length"])) + + @property + def OrderInfoSeqNumber(self): + """ + Display Name: Sequence Number + Default Value: 0 + Value Format: hex + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["OrderInfoSeqNumber"]) + ) + + @property + def OrderInfoTimeStamp(self): + """ + Display Name: Timestamp + Default Value: 0 + Value Format: decimal + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["OrderInfoTimeStamp"]) + ) + + def add(self): + return self._create(self._map_locals(self._SDM_ATT_MAP, locals())) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/traffic/trafficitem/configelement/stack/stack.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/traffic/trafficitem/configelement/stack/stack.py index 3d62bf250..4fd02d92e 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/traffic/trafficitem/configelement/stack/stack.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/traffic/trafficitem/configelement/stack/stack.py @@ -4435,18 +4435,18 @@ def InfiniBandBaseTransportHeader(self): return InfiniBandBaseTransportHeader(self) @property - def InfiniBandRdExtendedTransportHeader(self): + def InfiniBandReliableDatagramExtendedTransportHeader(self): """ valid only with Batch Add Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.traffic.trafficitem.configelement.stack.infiniBandRdExtendedTransportHeader_template.InfiniBandRdExtendedTransportHeader): An instance of the InfiniBandRdExtendedTransportHeader traffic stack + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.traffic.trafficitem.configelement.stack.infiniBandReliableDatagramExtendedTransportHeader_template.InfiniBandReliableDatagramExtendedTransportHeader): An instance of the InfiniBandReliableDatagramExtendedTransportHeader traffic stack """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.traffic.trafficitem.configelement.stack.infiniBandRdExtendedTransportHeader_template import ( - InfiniBandRdExtendedTransportHeader, + from ixnetwork_restpy.testplatform.sessions.ixnetwork.traffic.trafficitem.configelement.stack.infiniBandReliableDatagramExtendedTransportHeader_template import ( + InfiniBandReliableDatagramExtendedTransportHeader, ) - return InfiniBandRdExtendedTransportHeader(self) + return InfiniBandReliableDatagramExtendedTransportHeader(self) @property def InfiniBandRdmaExtendedTransportHeader(self): @@ -4462,6 +4462,20 @@ def InfiniBandRdmaExtendedTransportHeader(self): return InfiniBandRdmaExtendedTransportHeader(self) + @property + def InfiniBandAtomicExtendedTransportHeader(self): + """ + valid only with Batch Add + Returns + ------- + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.traffic.trafficitem.configelement.stack.infiniBandAtomicExtendedTransportHeader_template.InfiniBandAtomicExtendedTransportHeader): An instance of the InfiniBandAtomicExtendedTransportHeader traffic stack + """ + from ixnetwork_restpy.testplatform.sessions.ixnetwork.traffic.trafficitem.configelement.stack.infiniBandAtomicExtendedTransportHeader_template import ( + InfiniBandAtomicExtendedTransportHeader, + ) + + return InfiniBandAtomicExtendedTransportHeader(self) + @property def InfiniBandAckExtendedTransportHeader(self): """ @@ -5947,18 +5961,18 @@ def IpAuthenticationHeader(self): return IpAuthenticationHeader(self) @property - def IpEspOverMACsec(self): + def IpEspOverMacsec(self): """ valid only with Batch Add Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.traffic.trafficitem.configelement.stack.ipEspOverMACsec_template.IpEspOverMACsec): An instance of the IpEspOverMACsec traffic stack + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.traffic.trafficitem.configelement.stack.ipEspOverMacsec_template.IpEspOverMacsec): An instance of the IpEspOverMacsec traffic stack """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.traffic.trafficitem.configelement.stack.ipEspOverMACsec_template import ( - IpEspOverMACsec, + from ixnetwork_restpy.testplatform.sessions.ixnetwork.traffic.trafficitem.configelement.stack.ipEspOverMacsec_template import ( + IpEspOverMacsec, ) - return IpEspOverMACsec(self) + return IpEspOverMacsec(self) @property def NFapiP7P19sHeader(self): @@ -6730,6 +6744,20 @@ def Ntp(self): return Ntp(self) + @property + def Roe(self): + """ + valid only with Batch Add + Returns + ------- + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.traffic.trafficitem.configelement.stack.roe_template.Roe): An instance of the Roe traffic stack + """ + from ixnetwork_restpy.testplatform.sessions.ixnetwork.traffic.trafficitem.configelement.stack.roe_template import ( + Roe, + ) + + return Roe(self) + @property def Custom(self): """ diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/l1config/aresoneeighthundredgiglanosfpc/__init__.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/l1config/aresoneeighthundredgiglanosfpc/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/l1config/aresoneeighthundredgiglanosfpc/aresoneeighthundredgiglanosfpc.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/l1config/aresoneeighthundredgiglanosfpc/aresoneeighthundredgiglanosfpc.py new file mode 100644 index 000000000..a566e2758 --- /dev/null +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/l1config/aresoneeighthundredgiglanosfpc/aresoneeighthundredgiglanosfpc.py @@ -0,0 +1,704 @@ +# MIT LICENSE +# +# Copyright 1997 - 2020 by IXIA Keysight +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), +# to deal in the Software without restriction, including without limitation +# the rights to use, copy, modify, merge, publish, distribute, sublicense, +# and/or sell copies of the Software, and to permit persons to whom the +# Software is furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +# THE SOFTWARE. +import sys +from ixnetwork_restpy.base import Base +from ixnetwork_restpy.files import Files + +if sys.version_info >= (3, 5): + from typing import List, Any, Union + + +class AresOneEightHundredGigLanOsfpC(Base): + """ + The AresOneEightHundredGigLanOsfpC class encapsulates a required aresOneEightHundredGigLanOsfpC resource which will be retrieved from the server every time the property is accessed. + """ + + __slots__ = () + _SDM_NAME = "aresOneEightHundredGigLanOsfpC" + _SDM_ATT_MAP = { + "AutoInstrumentation": "autoInstrumentation", + "AvailableSpeeds": "availableSpeeds", + "BadBlocksNumber": "badBlocksNumber", + "CanModifySpeed": "canModifySpeed", + "CanSetMultipleSpeeds": "canSetMultipleSpeeds", + "EnableAutoNegotiation": "enableAutoNegotiation", + "EnablePPM": "enablePPM", + "EnabledFlowControl": "enabledFlowControl", + "FlowControlDirectedAddress": "flowControlDirectedAddress", + "ForceKp4Fec": "forceKp4Fec", + "ForceRsFecInt": "forceRsFecInt", + "GoodBlocksNumber": "goodBlocksNumber", + "IeeeL1Defaults": "ieeeL1Defaults", + "LaserOn": "laserOn", + "LinkTraining": "linkTraining", + "LoopContinuously": "loopContinuously", + "LoopCountNumber": "loopCountNumber", + "Loopback": "loopback", + "LoopbackMode": "loopbackMode", + "Ppm": "ppm", + "RequestRsFecInt": "requestRsFecInt", + "SelectedSpeeds": "selectedSpeeds", + "SendSetsMode": "sendSetsMode", + "Speed": "speed", + "StartErrorInsertion": "startErrorInsertion", + "TxIgnoreRxLinkFaults": "txIgnoreRxLinkFaults", + "TypeAOrderedSets": "typeAOrderedSets", + "TypeBOrderedSets": "typeBOrderedSets", + "UseANResults": "useANResults", + } + _SDM_ENUM_MAP = { + "autoInstrumentation": ["endOfFrame", "floating"], + "loopbackMode": ["none", "internalLoopback"], + "sendSetsMode": ["alternate", "typeAOnly", "typeBOnly"], + "speed": ["speed100g", "speed200g", "speed400g", "speed800g"], + "typeAOrderedSets": ["localFault", "remoteFault"], + "typeBOrderedSets": ["localFault", "remoteFault"], + } + + def __init__(self, parent, list_op=False): + super(AresOneEightHundredGigLanOsfpC, self).__init__(parent, list_op) + + @property + def Fcoe(self): + """ + Returns + ------- + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.l1config.aresoneeighthundredgiglanosfpc.fcoe.fcoe.Fcoe): An instance of the Fcoe class + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + from ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.l1config.aresoneeighthundredgiglanosfpc.fcoe.fcoe import ( + Fcoe, + ) + + if len(self._object_properties) > 0: + if self._properties.get("Fcoe", None) is not None: + return self._properties.get("Fcoe") + return Fcoe(self)._select() + + @property + def TxLane(self): + """ + Returns + ------- + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.l1config.aresoneeighthundredgiglanosfpc.txlane.txlane.TxLane): An instance of the TxLane class + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + from ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.l1config.aresoneeighthundredgiglanosfpc.txlane.txlane import ( + TxLane, + ) + + if len(self._object_properties) > 0: + if self._properties.get("TxLane", None) is not None: + return self._properties.get("TxLane") + return TxLane(self)._select() + + @property + def AutoInstrumentation(self): + # type: () -> str + """ + Returns + ------- + - str(endOfFrame | floating): The auto instrumentation mode. + """ + return self._get_attribute(self._SDM_ATT_MAP["AutoInstrumentation"]) + + @AutoInstrumentation.setter + def AutoInstrumentation(self, value): + # type: (str) -> None + self._set_attribute(self._SDM_ATT_MAP["AutoInstrumentation"], value) + + @property + def AvailableSpeeds(self): + # type: () -> List[str] + """ + Returns + ------- + - list(str[speed100g | speed200g | speed400g | speed800g]): Which speeds are available for the current media and AN settings. + """ + return self._get_attribute(self._SDM_ATT_MAP["AvailableSpeeds"]) + + @property + def BadBlocksNumber(self): + # type: () -> int + """ + Returns + ------- + - number: + """ + return self._get_attribute(self._SDM_ATT_MAP["BadBlocksNumber"]) + + @BadBlocksNumber.setter + def BadBlocksNumber(self, value): + # type: (int) -> None + self._set_attribute(self._SDM_ATT_MAP["BadBlocksNumber"], value) + + @property + def CanModifySpeed(self): + # type: () -> bool + """ + Returns + ------- + - bool: Returns true/false depending upon if the port can change speed for the current media and AN settings. + """ + return self._get_attribute(self._SDM_ATT_MAP["CanModifySpeed"]) + + @property + def CanSetMultipleSpeeds(self): + # type: () -> bool + """ + Returns + ------- + - bool: Can this port selectmultiple speeds for the current media and AN settings. + """ + return self._get_attribute(self._SDM_ATT_MAP["CanSetMultipleSpeeds"]) + + @property + def EnableAutoNegotiation(self): + # type: () -> bool + """ + Returns + ------- + - bool: + """ + return self._get_attribute(self._SDM_ATT_MAP["EnableAutoNegotiation"]) + + @EnableAutoNegotiation.setter + def EnableAutoNegotiation(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP["EnableAutoNegotiation"], value) + + @property + def EnablePPM(self): + # type: () -> bool + """DEPRECATED + Returns + ------- + - bool: If true, enables the portsppm. + """ + return self._get_attribute(self._SDM_ATT_MAP["EnablePPM"]) + + @EnablePPM.setter + def EnablePPM(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP["EnablePPM"], value) + + @property + def EnabledFlowControl(self): + # type: () -> bool + """ + Returns + ------- + - bool: If true, enables the port's MAC flow control mechanisms to listen for a directed address pause message. + """ + return self._get_attribute(self._SDM_ATT_MAP["EnabledFlowControl"]) + + @EnabledFlowControl.setter + def EnabledFlowControl(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP["EnabledFlowControl"], value) + + @property + def FlowControlDirectedAddress(self): + # type: () -> str + """ + Returns + ------- + - str: The 48-bit MAC address that the port listens on for a directed pause. + """ + return self._get_attribute(self._SDM_ATT_MAP["FlowControlDirectedAddress"]) + + @FlowControlDirectedAddress.setter + def FlowControlDirectedAddress(self, value): + # type: (str) -> None + self._set_attribute(self._SDM_ATT_MAP["FlowControlDirectedAddress"], value) + + @property + def ForceKp4Fec(self): + # type: () -> bool + """ + Returns + ------- + - bool: + """ + return self._get_attribute(self._SDM_ATT_MAP["ForceKp4Fec"]) + + @ForceKp4Fec.setter + def ForceKp4Fec(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP["ForceKp4Fec"], value) + + @property + def ForceRsFecInt(self): + # type: () -> bool + """ + Returns + ------- + - bool: + """ + return self._get_attribute(self._SDM_ATT_MAP["ForceRsFecInt"]) + + @ForceRsFecInt.setter + def ForceRsFecInt(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP["ForceRsFecInt"], value) + + @property + def GoodBlocksNumber(self): + # type: () -> int + """ + Returns + ------- + - number: + """ + return self._get_attribute(self._SDM_ATT_MAP["GoodBlocksNumber"]) + + @GoodBlocksNumber.setter + def GoodBlocksNumber(self, value): + # type: (int) -> None + self._set_attribute(self._SDM_ATT_MAP["GoodBlocksNumber"], value) + + @property + def IeeeL1Defaults(self): + # type: () -> bool + """ + Returns + ------- + - bool: + """ + return self._get_attribute(self._SDM_ATT_MAP["IeeeL1Defaults"]) + + @IeeeL1Defaults.setter + def IeeeL1Defaults(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP["IeeeL1Defaults"], value) + + @property + def LaserOn(self): + # type: () -> bool + """ + Returns + ------- + - bool: + """ + return self._get_attribute(self._SDM_ATT_MAP["LaserOn"]) + + @LaserOn.setter + def LaserOn(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP["LaserOn"], value) + + @property + def LinkTraining(self): + # type: () -> bool + """ + Returns + ------- + - bool: + """ + return self._get_attribute(self._SDM_ATT_MAP["LinkTraining"]) + + @LinkTraining.setter + def LinkTraining(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP["LinkTraining"], value) + + @property + def LoopContinuously(self): + # type: () -> bool + """ + Returns + ------- + - bool: + """ + return self._get_attribute(self._SDM_ATT_MAP["LoopContinuously"]) + + @LoopContinuously.setter + def LoopContinuously(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP["LoopContinuously"], value) + + @property + def LoopCountNumber(self): + # type: () -> int + """ + Returns + ------- + - number: + """ + return self._get_attribute(self._SDM_ATT_MAP["LoopCountNumber"]) + + @LoopCountNumber.setter + def LoopCountNumber(self, value): + # type: (int) -> None + self._set_attribute(self._SDM_ATT_MAP["LoopCountNumber"], value) + + @property + def Loopback(self): + # type: () -> bool + """ + Returns + ------- + - bool: If enabled, the port is set to internally loopback from transmit to receive. + """ + return self._get_attribute(self._SDM_ATT_MAP["Loopback"]) + + @Loopback.setter + def Loopback(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP["Loopback"], value) + + @property + def LoopbackMode(self): + # type: () -> str + """ + Returns + ------- + - str(none | internalLoopback): + """ + return self._get_attribute(self._SDM_ATT_MAP["LoopbackMode"]) + + @LoopbackMode.setter + def LoopbackMode(self, value): + # type: (str) -> None + self._set_attribute(self._SDM_ATT_MAP["LoopbackMode"], value) + + @property + def Ppm(self): + # type: () -> int + """DEPRECATED + Returns + ------- + - number: Indicates the value that needs to be adjusted for the line transmit frequency. + """ + return self._get_attribute(self._SDM_ATT_MAP["Ppm"]) + + @Ppm.setter + def Ppm(self, value): + # type: (int) -> None + self._set_attribute(self._SDM_ATT_MAP["Ppm"], value) + + @property + def RequestRsFecInt(self): + # type: () -> bool + """ + Returns + ------- + - bool: + """ + return self._get_attribute(self._SDM_ATT_MAP["RequestRsFecInt"]) + + @RequestRsFecInt.setter + def RequestRsFecInt(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP["RequestRsFecInt"], value) + + @property + def SelectedSpeeds(self): + # type: () -> List[str] + """ + Returns + ------- + - list(str[speed100g | speed200g | speed400g | speed800g]): Which speeds are selected for the current media and AN settings. + """ + return self._get_attribute(self._SDM_ATT_MAP["SelectedSpeeds"]) + + @SelectedSpeeds.setter + def SelectedSpeeds(self, value): + # type: (List[str]) -> None + self._set_attribute(self._SDM_ATT_MAP["SelectedSpeeds"], value) + + @property + def SendSetsMode(self): + # type: () -> str + """ + Returns + ------- + - str(alternate | typeAOnly | typeBOnly): + """ + return self._get_attribute(self._SDM_ATT_MAP["SendSetsMode"]) + + @SendSetsMode.setter + def SendSetsMode(self, value): + # type: (str) -> None + self._set_attribute(self._SDM_ATT_MAP["SendSetsMode"], value) + + @property + def Speed(self): + # type: () -> str + """ + Returns + ------- + - str(speed100g | speed200g | speed400g | speed800g): + """ + return self._get_attribute(self._SDM_ATT_MAP["Speed"]) + + @Speed.setter + def Speed(self, value): + # type: (str) -> None + self._set_attribute(self._SDM_ATT_MAP["Speed"], value) + + @property + def StartErrorInsertion(self): + # type: () -> bool + """ + Returns + ------- + - bool: + """ + return self._get_attribute(self._SDM_ATT_MAP["StartErrorInsertion"]) + + @StartErrorInsertion.setter + def StartErrorInsertion(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP["StartErrorInsertion"], value) + + @property + def TxIgnoreRxLinkFaults(self): + # type: () -> bool + """ + Returns + ------- + - bool: If enabled, will allow transmission of packets even if the receive link is down. + """ + return self._get_attribute(self._SDM_ATT_MAP["TxIgnoreRxLinkFaults"]) + + @TxIgnoreRxLinkFaults.setter + def TxIgnoreRxLinkFaults(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP["TxIgnoreRxLinkFaults"], value) + + @property + def TypeAOrderedSets(self): + # type: () -> str + """ + Returns + ------- + - str(localFault | remoteFault): + """ + return self._get_attribute(self._SDM_ATT_MAP["TypeAOrderedSets"]) + + @TypeAOrderedSets.setter + def TypeAOrderedSets(self, value): + # type: (str) -> None + self._set_attribute(self._SDM_ATT_MAP["TypeAOrderedSets"], value) + + @property + def TypeBOrderedSets(self): + # type: () -> str + """ + Returns + ------- + - str(localFault | remoteFault): + """ + return self._get_attribute(self._SDM_ATT_MAP["TypeBOrderedSets"]) + + @TypeBOrderedSets.setter + def TypeBOrderedSets(self, value): + # type: (str) -> None + self._set_attribute(self._SDM_ATT_MAP["TypeBOrderedSets"], value) + + @property + def UseANResults(self): + # type: () -> bool + """ + Returns + ------- + - bool: + """ + return self._get_attribute(self._SDM_ATT_MAP["UseANResults"]) + + @UseANResults.setter + def UseANResults(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP["UseANResults"], value) + + def update( + self, + AutoInstrumentation=None, + BadBlocksNumber=None, + EnableAutoNegotiation=None, + EnablePPM=None, + EnabledFlowControl=None, + FlowControlDirectedAddress=None, + ForceKp4Fec=None, + ForceRsFecInt=None, + GoodBlocksNumber=None, + IeeeL1Defaults=None, + LaserOn=None, + LinkTraining=None, + LoopContinuously=None, + LoopCountNumber=None, + Loopback=None, + LoopbackMode=None, + Ppm=None, + RequestRsFecInt=None, + SelectedSpeeds=None, + SendSetsMode=None, + Speed=None, + StartErrorInsertion=None, + TxIgnoreRxLinkFaults=None, + TypeAOrderedSets=None, + TypeBOrderedSets=None, + UseANResults=None, + ): + # type: (str, int, bool, bool, bool, str, bool, bool, int, bool, bool, bool, bool, int, bool, str, int, bool, List[str], str, str, bool, bool, str, str, bool) -> AresOneEightHundredGigLanOsfpC + """Updates aresOneEightHundredGigLanOsfpC resource on the server. + + Args + ---- + - AutoInstrumentation (str(endOfFrame | floating)): The auto instrumentation mode. + - BadBlocksNumber (number): + - EnableAutoNegotiation (bool): + - EnablePPM (bool): If true, enables the portsppm. + - EnabledFlowControl (bool): If true, enables the port's MAC flow control mechanisms to listen for a directed address pause message. + - FlowControlDirectedAddress (str): The 48-bit MAC address that the port listens on for a directed pause. + - ForceKp4Fec (bool): + - ForceRsFecInt (bool): + - GoodBlocksNumber (number): + - IeeeL1Defaults (bool): + - LaserOn (bool): + - LinkTraining (bool): + - LoopContinuously (bool): + - LoopCountNumber (number): + - Loopback (bool): If enabled, the port is set to internally loopback from transmit to receive. + - LoopbackMode (str(none | internalLoopback)): + - Ppm (number): Indicates the value that needs to be adjusted for the line transmit frequency. + - RequestRsFecInt (bool): + - SelectedSpeeds (list(str[speed100g | speed200g | speed400g | speed800g])): Which speeds are selected for the current media and AN settings. + - SendSetsMode (str(alternate | typeAOnly | typeBOnly)): + - Speed (str(speed100g | speed200g | speed400g | speed800g)): + - StartErrorInsertion (bool): + - TxIgnoreRxLinkFaults (bool): If enabled, will allow transmission of packets even if the receive link is down. + - TypeAOrderedSets (str(localFault | remoteFault)): + - TypeBOrderedSets (str(localFault | remoteFault)): + - UseANResults (bool): + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + return self._update(self._map_locals(self._SDM_ATT_MAP, locals())) + + def find( + self, + AutoInstrumentation=None, + AvailableSpeeds=None, + BadBlocksNumber=None, + CanModifySpeed=None, + CanSetMultipleSpeeds=None, + EnableAutoNegotiation=None, + EnablePPM=None, + EnabledFlowControl=None, + FlowControlDirectedAddress=None, + ForceKp4Fec=None, + ForceRsFecInt=None, + GoodBlocksNumber=None, + IeeeL1Defaults=None, + LaserOn=None, + LinkTraining=None, + LoopContinuously=None, + LoopCountNumber=None, + Loopback=None, + LoopbackMode=None, + Ppm=None, + RequestRsFecInt=None, + SelectedSpeeds=None, + SendSetsMode=None, + Speed=None, + StartErrorInsertion=None, + TxIgnoreRxLinkFaults=None, + TypeAOrderedSets=None, + TypeBOrderedSets=None, + UseANResults=None, + ): + # type: (str, List[str], int, bool, bool, bool, bool, bool, str, bool, bool, int, bool, bool, bool, bool, int, bool, str, int, bool, List[str], str, str, bool, bool, str, str, bool) -> AresOneEightHundredGigLanOsfpC + """Finds and retrieves aresOneEightHundredGigLanOsfpC resources from the server. + + All named parameters are evaluated on the server using regex. The named parameters can be used to selectively retrieve aresOneEightHundredGigLanOsfpC resources from the server. + To retrieve an exact match ensure the parameter value starts with ^ and ends with $ + By default the find method takes no parameters and will retrieve all aresOneEightHundredGigLanOsfpC resources from the server. + + Args + ---- + - AutoInstrumentation (str(endOfFrame | floating)): The auto instrumentation mode. + - AvailableSpeeds (list(str[speed100g | speed200g | speed400g | speed800g])): Which speeds are available for the current media and AN settings. + - BadBlocksNumber (number): + - CanModifySpeed (bool): Returns true/false depending upon if the port can change speed for the current media and AN settings. + - CanSetMultipleSpeeds (bool): Can this port selectmultiple speeds for the current media and AN settings. + - EnableAutoNegotiation (bool): + - EnablePPM (bool): If true, enables the portsppm. + - EnabledFlowControl (bool): If true, enables the port's MAC flow control mechanisms to listen for a directed address pause message. + - FlowControlDirectedAddress (str): The 48-bit MAC address that the port listens on for a directed pause. + - ForceKp4Fec (bool): + - ForceRsFecInt (bool): + - GoodBlocksNumber (number): + - IeeeL1Defaults (bool): + - LaserOn (bool): + - LinkTraining (bool): + - LoopContinuously (bool): + - LoopCountNumber (number): + - Loopback (bool): If enabled, the port is set to internally loopback from transmit to receive. + - LoopbackMode (str(none | internalLoopback)): + - Ppm (number): Indicates the value that needs to be adjusted for the line transmit frequency. + - RequestRsFecInt (bool): + - SelectedSpeeds (list(str[speed100g | speed200g | speed400g | speed800g])): Which speeds are selected for the current media and AN settings. + - SendSetsMode (str(alternate | typeAOnly | typeBOnly)): + - Speed (str(speed100g | speed200g | speed400g | speed800g)): + - StartErrorInsertion (bool): + - TxIgnoreRxLinkFaults (bool): If enabled, will allow transmission of packets even if the receive link is down. + - TypeAOrderedSets (str(localFault | remoteFault)): + - TypeBOrderedSets (str(localFault | remoteFault)): + - UseANResults (bool): + + Returns + ------- + - self: This instance with matching aresOneEightHundredGigLanOsfpC resources retrieved from the server available through an iterator or index + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + return self._select(self._map_locals(self._SDM_ATT_MAP, locals())) + + def read(self, href): + """Retrieves a single instance of aresOneEightHundredGigLanOsfpC data from the server. + + Args + ---- + - href (str): An href to the instance to be retrieved + + Returns + ------- + - self: This instance with the aresOneEightHundredGigLanOsfpC resources from the server available through an iterator or index + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + return self._read(href) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/l1config/aresoneeighthundredgiglanosfpc/fcoe/__init__.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/l1config/aresoneeighthundredgiglanosfpc/fcoe/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/l1config/aresoneeighthundredgiglanosfpc/fcoe/fcoe.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/l1config/aresoneeighthundredgiglanosfpc/fcoe/fcoe.py new file mode 100644 index 000000000..297c75b71 --- /dev/null +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/l1config/aresoneeighthundredgiglanosfpc/fcoe/fcoe.py @@ -0,0 +1,270 @@ +# MIT LICENSE +# +# Copyright 1997 - 2020 by IXIA Keysight +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), +# to deal in the Software without restriction, including without limitation +# the rights to use, copy, modify, merge, publish, distribute, sublicense, +# and/or sell copies of the Software, and to permit persons to whom the +# Software is furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +# THE SOFTWARE. +import sys +from ixnetwork_restpy.base import Base +from ixnetwork_restpy.files import Files + +if sys.version_info >= (3, 5): + from typing import List, Any, Union + + +class Fcoe(Base): + """ + The Fcoe class encapsulates a required fcoe resource which will be retrieved from the server every time the property is accessed. + """ + + __slots__ = () + _SDM_NAME = "fcoe" + _SDM_ATT_MAP = { + "EnablePFCPauseDelay": "enablePFCPauseDelay", + "FlowControlType": "flowControlType", + "PfcPauseDelay": "pfcPauseDelay", + "PfcPriorityGroups": "pfcPriorityGroups", + "PfcQueueGroupSize": "pfcQueueGroupSize", + "PfcQueueGroups": "pfcQueueGroups", + "PriorityGroupSize": "priorityGroupSize", + "SupportDataCenterMode": "supportDataCenterMode", + } + _SDM_ENUM_MAP = { + "flowControlType": ["ieee802.1Qbb", "ieee802.3x"], + "pfcQueueGroupSize": [ + "pfcQueueGroupSize-1", + "pfcQueueGroupSize-4", + "pfcQueueGroupSize-8", + ], + "priorityGroupSize": [ + "priorityGroupSize-1", + "priorityGroupSize-4", + "priorityGroupSize-8", + ], + } + + def __init__(self, parent, list_op=False): + super(Fcoe, self).__init__(parent, list_op) + + @property + def EnablePFCPauseDelay(self): + # type: () -> bool + """ + Returns + ------- + - bool: If true, PFC pause delay is enabled. + """ + return self._get_attribute(self._SDM_ATT_MAP["EnablePFCPauseDelay"]) + + @EnablePFCPauseDelay.setter + def EnablePFCPauseDelay(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP["EnablePFCPauseDelay"], value) + + @property + def FlowControlType(self): + # type: () -> str + """ + Returns + ------- + - str(ieee802.1Qbb | ieee802.3x): The type of flow control to be selected. + """ + return self._get_attribute(self._SDM_ATT_MAP["FlowControlType"]) + + @FlowControlType.setter + def FlowControlType(self, value): + # type: (str) -> None + self._set_attribute(self._SDM_ATT_MAP["FlowControlType"], value) + + @property + def PfcPauseDelay(self): + # type: () -> int + """ + Returns + ------- + - number: If selected, enables to increase the number of frames that is sent when a pause frame is received. + """ + return self._get_attribute(self._SDM_ATT_MAP["PfcPauseDelay"]) + + @PfcPauseDelay.setter + def PfcPauseDelay(self, value): + # type: (int) -> None + self._set_attribute(self._SDM_ATT_MAP["PfcPauseDelay"], value) + + @property + def PfcPriorityGroups(self): + # type: () -> List[str] + """DEPRECATED + Returns + ------- + - list(str): When you select 802.1Qbb as the flowControlType, you can use the PFC/Priority settings to map each of the eight PFC priorities to one of the two/four/eight Priority Groups (or to None). The PFCs are numbered 0-7. + """ + return self._get_attribute(self._SDM_ATT_MAP["PfcPriorityGroups"]) + + @PfcPriorityGroups.setter + def PfcPriorityGroups(self, value): + # type: (List[str]) -> None + self._set_attribute(self._SDM_ATT_MAP["PfcPriorityGroups"], value) + + @property + def PfcQueueGroupSize(self): + # type: () -> str + """ + Returns + ------- + - str(pfcQueueGroupSize-1 | pfcQueueGroupSize-4 | pfcQueueGroupSize-8): Max PFC queue group size + """ + return self._get_attribute(self._SDM_ATT_MAP["PfcQueueGroupSize"]) + + @PfcQueueGroupSize.setter + def PfcQueueGroupSize(self, value): + # type: (str) -> None + self._set_attribute(self._SDM_ATT_MAP["PfcQueueGroupSize"], value) + + @property + def PfcQueueGroups(self): + # type: () -> List[str] + """ + Returns + ------- + - list(str): When you select 802.1Qbb as the flowControlType, you can use the Priority/PFC Queue settings to map each of the eight PFC priorities to one of the two/four/eight PFC Queue Groups (or to None). + """ + return self._get_attribute(self._SDM_ATT_MAP["PfcQueueGroups"]) + + @PfcQueueGroups.setter + def PfcQueueGroups(self, value): + # type: (List[str]) -> None + self._set_attribute(self._SDM_ATT_MAP["PfcQueueGroups"], value) + + @property + def PriorityGroupSize(self): + # type: () -> str + """DEPRECATED + Returns + ------- + - str(priorityGroupSize-1 | priorityGroupSize-4 | priorityGroupSize-8): The maximum size of a Priority Group. + """ + return self._get_attribute(self._SDM_ATT_MAP["PriorityGroupSize"]) + + @PriorityGroupSize.setter + def PriorityGroupSize(self, value): + # type: (str) -> None + self._set_attribute(self._SDM_ATT_MAP["PriorityGroupSize"], value) + + @property + def SupportDataCenterMode(self): + # type: () -> bool + """ + Returns + ------- + - bool: If true, this mode automatically sets Transmit Mode to Interleaved Streams. + """ + return self._get_attribute(self._SDM_ATT_MAP["SupportDataCenterMode"]) + + @SupportDataCenterMode.setter + def SupportDataCenterMode(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP["SupportDataCenterMode"], value) + + def update( + self, + EnablePFCPauseDelay=None, + FlowControlType=None, + PfcPauseDelay=None, + PfcPriorityGroups=None, + PfcQueueGroupSize=None, + PfcQueueGroups=None, + PriorityGroupSize=None, + SupportDataCenterMode=None, + ): + # type: (bool, str, int, List[str], str, List[str], str, bool) -> Fcoe + """Updates fcoe resource on the server. + + Args + ---- + - EnablePFCPauseDelay (bool): If true, PFC pause delay is enabled. + - FlowControlType (str(ieee802.1Qbb | ieee802.3x)): The type of flow control to be selected. + - PfcPauseDelay (number): If selected, enables to increase the number of frames that is sent when a pause frame is received. + - PfcPriorityGroups (list(str)): When you select 802.1Qbb as the flowControlType, you can use the PFC/Priority settings to map each of the eight PFC priorities to one of the two/four/eight Priority Groups (or to None). The PFCs are numbered 0-7. + - PfcQueueGroupSize (str(pfcQueueGroupSize-1 | pfcQueueGroupSize-4 | pfcQueueGroupSize-8)): Max PFC queue group size + - PfcQueueGroups (list(str)): When you select 802.1Qbb as the flowControlType, you can use the Priority/PFC Queue settings to map each of the eight PFC priorities to one of the two/four/eight PFC Queue Groups (or to None). + - PriorityGroupSize (str(priorityGroupSize-1 | priorityGroupSize-4 | priorityGroupSize-8)): The maximum size of a Priority Group. + - SupportDataCenterMode (bool): If true, this mode automatically sets Transmit Mode to Interleaved Streams. + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + return self._update(self._map_locals(self._SDM_ATT_MAP, locals())) + + def find( + self, + EnablePFCPauseDelay=None, + FlowControlType=None, + PfcPauseDelay=None, + PfcPriorityGroups=None, + PfcQueueGroupSize=None, + PfcQueueGroups=None, + PriorityGroupSize=None, + SupportDataCenterMode=None, + ): + # type: (bool, str, int, List[str], str, List[str], str, bool) -> Fcoe + """Finds and retrieves fcoe resources from the server. + + All named parameters are evaluated on the server using regex. The named parameters can be used to selectively retrieve fcoe resources from the server. + To retrieve an exact match ensure the parameter value starts with ^ and ends with $ + By default the find method takes no parameters and will retrieve all fcoe resources from the server. + + Args + ---- + - EnablePFCPauseDelay (bool): If true, PFC pause delay is enabled. + - FlowControlType (str(ieee802.1Qbb | ieee802.3x)): The type of flow control to be selected. + - PfcPauseDelay (number): If selected, enables to increase the number of frames that is sent when a pause frame is received. + - PfcPriorityGroups (list(str)): When you select 802.1Qbb as the flowControlType, you can use the PFC/Priority settings to map each of the eight PFC priorities to one of the two/four/eight Priority Groups (or to None). The PFCs are numbered 0-7. + - PfcQueueGroupSize (str(pfcQueueGroupSize-1 | pfcQueueGroupSize-4 | pfcQueueGroupSize-8)): Max PFC queue group size + - PfcQueueGroups (list(str)): When you select 802.1Qbb as the flowControlType, you can use the Priority/PFC Queue settings to map each of the eight PFC priorities to one of the two/four/eight PFC Queue Groups (or to None). + - PriorityGroupSize (str(priorityGroupSize-1 | priorityGroupSize-4 | priorityGroupSize-8)): The maximum size of a Priority Group. + - SupportDataCenterMode (bool): If true, this mode automatically sets Transmit Mode to Interleaved Streams. + + Returns + ------- + - self: This instance with matching fcoe resources retrieved from the server available through an iterator or index + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + return self._select(self._map_locals(self._SDM_ATT_MAP, locals())) + + def read(self, href): + """Retrieves a single instance of fcoe data from the server. + + Args + ---- + - href (str): An href to the instance to be retrieved + + Returns + ------- + - self: This instance with the fcoe resources from the server available through an iterator or index + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + return self._read(href) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/l1config/aresoneeighthundredgiglanosfpc/txlane/__init__.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/l1config/aresoneeighthundredgiglanosfpc/txlane/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/l1config/aresoneeighthundredgiglanosfpc/txlane/txlane.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/l1config/aresoneeighthundredgiglanosfpc/txlane/txlane.py new file mode 100644 index 000000000..bf9c6ccd6 --- /dev/null +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/l1config/aresoneeighthundredgiglanosfpc/txlane/txlane.py @@ -0,0 +1,265 @@ +# MIT LICENSE +# +# Copyright 1997 - 2020 by IXIA Keysight +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), +# to deal in the Software without restriction, including without limitation +# the rights to use, copy, modify, merge, publish, distribute, sublicense, +# and/or sell copies of the Software, and to permit persons to whom the +# Software is furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +# THE SOFTWARE. +import sys +from ixnetwork_restpy.base import Base +from ixnetwork_restpy.files import Files + +if sys.version_info >= (3, 5): + from typing import List, Any, Union + + +class TxLane(Base): + """ + The TxLane class encapsulates a required txLane resource which will be retrieved from the server every time the property is accessed. + """ + + __slots__ = () + _SDM_NAME = "txLane" + _SDM_ATT_MAP = { + "IsSkewSynchronized": "isSkewSynchronized", + "LaneMappingType": "laneMappingType", + "MaxSkewVal": "maxSkewVal", + "MinSkewVal": "minSkewVal", + "NoOfLanes": "noOfLanes", + "PcsLane": "pcsLane", + "PhysicalLanes": "physicalLanes", + "Resolution": "resolution", + "SkewValues": "skewValues", + "SynchronizedSkewVal": "synchronizedSkewVal", + } + _SDM_ENUM_MAP = { + "laneMappingType": ["default", "increment", "decrement", "custom", "random"], + } + + def __init__(self, parent, list_op=False): + super(TxLane, self).__init__(parent, list_op) + + @property + def IsSkewSynchronized(self): + # type: () -> bool + """ + Returns + ------- + - bool: If true, skew value will apply for all the lanes. + """ + return self._get_attribute(self._SDM_ATT_MAP["IsSkewSynchronized"]) + + @IsSkewSynchronized.setter + def IsSkewSynchronized(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP["IsSkewSynchronized"], value) + + @property + def LaneMappingType(self): + # type: () -> str + """ + Returns + ------- + - str(default | increment | decrement | custom | random): Lane Mapping + """ + return self._get_attribute(self._SDM_ATT_MAP["LaneMappingType"]) + + @LaneMappingType.setter + def LaneMappingType(self, value): + # type: (str) -> None + self._set_attribute(self._SDM_ATT_MAP["LaneMappingType"], value) + + @property + def MaxSkewVal(self): + # type: () -> int + """ + Returns + ------- + - number: + """ + return self._get_attribute(self._SDM_ATT_MAP["MaxSkewVal"]) + + @property + def MinSkewVal(self): + # type: () -> int + """ + Returns + ------- + - number: + """ + return self._get_attribute(self._SDM_ATT_MAP["MinSkewVal"]) + + @property + def NoOfLanes(self): + # type: () -> int + """ + Returns + ------- + - number: Number of lanes + """ + return self._get_attribute(self._SDM_ATT_MAP["NoOfLanes"]) + + @property + def PcsLane(self): + # type: () -> List[int] + """ + Returns + ------- + - list(number): Pcs Lane + """ + return self._get_attribute(self._SDM_ATT_MAP["PcsLane"]) + + @PcsLane.setter + def PcsLane(self, value): + # type: (List[int]) -> None + self._set_attribute(self._SDM_ATT_MAP["PcsLane"], value) + + @property + def PhysicalLanes(self): + # type: () -> List[str] + """ + Returns + ------- + - list(str): + """ + return self._get_attribute(self._SDM_ATT_MAP["PhysicalLanes"]) + + @property + def Resolution(self): + # type: () -> int + """ + Returns + ------- + - number: + """ + return self._get_attribute(self._SDM_ATT_MAP["Resolution"]) + + @property + def SkewValues(self): + # type: () -> List[int] + """ + Returns + ------- + - list(number): Skew Values + """ + return self._get_attribute(self._SDM_ATT_MAP["SkewValues"]) + + @SkewValues.setter + def SkewValues(self, value): + # type: (List[int]) -> None + self._set_attribute(self._SDM_ATT_MAP["SkewValues"], value) + + @property + def SynchronizedSkewVal(self): + # type: () -> int + """ + Returns + ------- + - number: Synchronized Skew Values + """ + return self._get_attribute(self._SDM_ATT_MAP["SynchronizedSkewVal"]) + + @SynchronizedSkewVal.setter + def SynchronizedSkewVal(self, value): + # type: (int) -> None + self._set_attribute(self._SDM_ATT_MAP["SynchronizedSkewVal"], value) + + def update( + self, + IsSkewSynchronized=None, + LaneMappingType=None, + PcsLane=None, + SkewValues=None, + SynchronizedSkewVal=None, + ): + # type: (bool, str, List[int], List[int], int) -> TxLane + """Updates txLane resource on the server. + + Args + ---- + - IsSkewSynchronized (bool): If true, skew value will apply for all the lanes. + - LaneMappingType (str(default | increment | decrement | custom | random)): Lane Mapping + - PcsLane (list(number)): Pcs Lane + - SkewValues (list(number)): Skew Values + - SynchronizedSkewVal (number): Synchronized Skew Values + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + return self._update(self._map_locals(self._SDM_ATT_MAP, locals())) + + def find( + self, + IsSkewSynchronized=None, + LaneMappingType=None, + MaxSkewVal=None, + MinSkewVal=None, + NoOfLanes=None, + PcsLane=None, + PhysicalLanes=None, + Resolution=None, + SkewValues=None, + SynchronizedSkewVal=None, + ): + # type: (bool, str, int, int, int, List[int], List[str], int, List[int], int) -> TxLane + """Finds and retrieves txLane resources from the server. + + All named parameters are evaluated on the server using regex. The named parameters can be used to selectively retrieve txLane resources from the server. + To retrieve an exact match ensure the parameter value starts with ^ and ends with $ + By default the find method takes no parameters and will retrieve all txLane resources from the server. + + Args + ---- + - IsSkewSynchronized (bool): If true, skew value will apply for all the lanes. + - LaneMappingType (str(default | increment | decrement | custom | random)): Lane Mapping + - MaxSkewVal (number): + - MinSkewVal (number): + - NoOfLanes (number): Number of lanes + - PcsLane (list(number)): Pcs Lane + - PhysicalLanes (list(str)): + - Resolution (number): + - SkewValues (list(number)): Skew Values + - SynchronizedSkewVal (number): Synchronized Skew Values + + Returns + ------- + - self: This instance with matching txLane resources retrieved from the server available through an iterator or index + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + return self._select(self._map_locals(self._SDM_ATT_MAP, locals())) + + def read(self, href): + """Retrieves a single instance of txLane data from the server. + + Args + ---- + - href (str): An href to the instance to be retrieved + + Returns + ------- + - self: This instance with the txLane resources from the server available through an iterator or index + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + return self._read(href) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/l1config/aresoneeighthundredgiglanqddc/aresoneeighthundredgiglanqddc.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/l1config/aresoneeighthundredgiglanqddc/aresoneeighthundredgiglanqddc.py index acaf98c3f..5cf69865c 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/l1config/aresoneeighthundredgiglanqddc/aresoneeighthundredgiglanqddc.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/l1config/aresoneeighthundredgiglanqddc/aresoneeighthundredgiglanqddc.py @@ -44,7 +44,10 @@ class AresOneEightHundredGigLanQddC(Base): "EnablePPM": "enablePPM", "EnabledFlowControl": "enabledFlowControl", "FlowControlDirectedAddress": "flowControlDirectedAddress", + "ForceKp4Fec": "forceKp4Fec", + "ForceRsFecInt": "forceRsFecInt", "GoodBlocksNumber": "goodBlocksNumber", + "IeeeL1Defaults": "ieeeL1Defaults", "LaserOn": "laserOn", "LinkTraining": "linkTraining", "LoopContinuously": "loopContinuously", @@ -52,6 +55,7 @@ class AresOneEightHundredGigLanQddC(Base): "Loopback": "loopback", "LoopbackMode": "loopbackMode", "Ppm": "ppm", + "RequestRsFecInt": "requestRsFecInt", "SelectedSpeeds": "selectedSpeeds", "SendSetsMode": "sendSetsMode", "Speed": "speed", @@ -59,6 +63,7 @@ class AresOneEightHundredGigLanQddC(Base): "TxIgnoreRxLinkFaults": "txIgnoreRxLinkFaults", "TypeAOrderedSets": "typeAOrderedSets", "TypeBOrderedSets": "typeBOrderedSets", + "UseANResults": "useANResults", } _SDM_ENUM_MAP = { "autoInstrumentation": ["endOfFrame", "floating"], @@ -190,7 +195,7 @@ def EnableAutoNegotiation(self, value): @property def EnablePPM(self): # type: () -> bool - """ + """DEPRECATED Returns ------- - bool: If true, enables the portsppm. @@ -232,6 +237,36 @@ def FlowControlDirectedAddress(self, value): # type: (str) -> None self._set_attribute(self._SDM_ATT_MAP["FlowControlDirectedAddress"], value) + @property + def ForceKp4Fec(self): + # type: () -> bool + """ + Returns + ------- + - bool: + """ + return self._get_attribute(self._SDM_ATT_MAP["ForceKp4Fec"]) + + @ForceKp4Fec.setter + def ForceKp4Fec(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP["ForceKp4Fec"], value) + + @property + def ForceRsFecInt(self): + # type: () -> bool + """ + Returns + ------- + - bool: + """ + return self._get_attribute(self._SDM_ATT_MAP["ForceRsFecInt"]) + + @ForceRsFecInt.setter + def ForceRsFecInt(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP["ForceRsFecInt"], value) + @property def GoodBlocksNumber(self): # type: () -> int @@ -247,6 +282,21 @@ def GoodBlocksNumber(self, value): # type: (int) -> None self._set_attribute(self._SDM_ATT_MAP["GoodBlocksNumber"], value) + @property + def IeeeL1Defaults(self): + # type: () -> bool + """ + Returns + ------- + - bool: + """ + return self._get_attribute(self._SDM_ATT_MAP["IeeeL1Defaults"]) + + @IeeeL1Defaults.setter + def IeeeL1Defaults(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP["IeeeL1Defaults"], value) + @property def LaserOn(self): # type: () -> bool @@ -340,7 +390,7 @@ def LoopbackMode(self, value): @property def Ppm(self): # type: () -> int - """ + """DEPRECATED Returns ------- - number: Indicates the value that needs to be adjusted for the line transmit frequency. @@ -352,6 +402,21 @@ def Ppm(self, value): # type: (int) -> None self._set_attribute(self._SDM_ATT_MAP["Ppm"], value) + @property + def RequestRsFecInt(self): + # type: () -> bool + """ + Returns + ------- + - bool: + """ + return self._get_attribute(self._SDM_ATT_MAP["RequestRsFecInt"]) + + @RequestRsFecInt.setter + def RequestRsFecInt(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP["RequestRsFecInt"], value) + @property def SelectedSpeeds(self): # type: () -> List[str] @@ -457,6 +522,21 @@ def TypeBOrderedSets(self, value): # type: (str) -> None self._set_attribute(self._SDM_ATT_MAP["TypeBOrderedSets"], value) + @property + def UseANResults(self): + # type: () -> bool + """ + Returns + ------- + - bool: + """ + return self._get_attribute(self._SDM_ATT_MAP["UseANResults"]) + + @UseANResults.setter + def UseANResults(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP["UseANResults"], value) + def update( self, AutoInstrumentation=None, @@ -465,7 +545,10 @@ def update( EnablePPM=None, EnabledFlowControl=None, FlowControlDirectedAddress=None, + ForceKp4Fec=None, + ForceRsFecInt=None, GoodBlocksNumber=None, + IeeeL1Defaults=None, LaserOn=None, LinkTraining=None, LoopContinuously=None, @@ -473,6 +556,7 @@ def update( Loopback=None, LoopbackMode=None, Ppm=None, + RequestRsFecInt=None, SelectedSpeeds=None, SendSetsMode=None, Speed=None, @@ -480,8 +564,9 @@ def update( TxIgnoreRxLinkFaults=None, TypeAOrderedSets=None, TypeBOrderedSets=None, + UseANResults=None, ): - # type: (str, int, bool, bool, bool, str, int, bool, bool, bool, int, bool, str, int, List[str], str, str, bool, bool, str, str) -> AresOneEightHundredGigLanQddC + # type: (str, int, bool, bool, bool, str, bool, bool, int, bool, bool, bool, bool, int, bool, str, int, bool, List[str], str, str, bool, bool, str, str, bool) -> AresOneEightHundredGigLanQddC """Updates aresOneEightHundredGigLanQddC resource on the server. Args @@ -492,7 +577,10 @@ def update( - EnablePPM (bool): If true, enables the portsppm. - EnabledFlowControl (bool): If true, enables the port's MAC flow control mechanisms to listen for a directed address pause message. - FlowControlDirectedAddress (str): The 48-bit MAC address that the port listens on for a directed pause. + - ForceKp4Fec (bool): + - ForceRsFecInt (bool): - GoodBlocksNumber (number): + - IeeeL1Defaults (bool): - LaserOn (bool): - LinkTraining (bool): - LoopContinuously (bool): @@ -500,6 +588,7 @@ def update( - Loopback (bool): If enabled, the port is set to internally loopback from transmit to receive. - LoopbackMode (str(none | internalLoopback)): - Ppm (number): Indicates the value that needs to be adjusted for the line transmit frequency. + - RequestRsFecInt (bool): - SelectedSpeeds (list(str[speed100g | speed200g | speed400g | speed800g])): Which speeds are selected for the current media and AN settings. - SendSetsMode (str(alternate | typeAOnly | typeBOnly)): - Speed (str(speed100g | speed200g | speed400g | speed800g)): @@ -507,6 +596,7 @@ def update( - TxIgnoreRxLinkFaults (bool): If enabled, will allow transmission of packets even if the receive link is down. - TypeAOrderedSets (str(localFault | remoteFault)): - TypeBOrderedSets (str(localFault | remoteFault)): + - UseANResults (bool): Raises ------ @@ -525,7 +615,10 @@ def find( EnablePPM=None, EnabledFlowControl=None, FlowControlDirectedAddress=None, + ForceKp4Fec=None, + ForceRsFecInt=None, GoodBlocksNumber=None, + IeeeL1Defaults=None, LaserOn=None, LinkTraining=None, LoopContinuously=None, @@ -533,6 +626,7 @@ def find( Loopback=None, LoopbackMode=None, Ppm=None, + RequestRsFecInt=None, SelectedSpeeds=None, SendSetsMode=None, Speed=None, @@ -540,8 +634,9 @@ def find( TxIgnoreRxLinkFaults=None, TypeAOrderedSets=None, TypeBOrderedSets=None, + UseANResults=None, ): - # type: (str, List[str], int, bool, bool, bool, bool, bool, str, int, bool, bool, bool, int, bool, str, int, List[str], str, str, bool, bool, str, str) -> AresOneEightHundredGigLanQddC + # type: (str, List[str], int, bool, bool, bool, bool, bool, str, bool, bool, int, bool, bool, bool, bool, int, bool, str, int, bool, List[str], str, str, bool, bool, str, str, bool) -> AresOneEightHundredGigLanQddC """Finds and retrieves aresOneEightHundredGigLanQddC resources from the server. All named parameters are evaluated on the server using regex. The named parameters can be used to selectively retrieve aresOneEightHundredGigLanQddC resources from the server. @@ -559,7 +654,10 @@ def find( - EnablePPM (bool): If true, enables the portsppm. - EnabledFlowControl (bool): If true, enables the port's MAC flow control mechanisms to listen for a directed address pause message. - FlowControlDirectedAddress (str): The 48-bit MAC address that the port listens on for a directed pause. + - ForceKp4Fec (bool): + - ForceRsFecInt (bool): - GoodBlocksNumber (number): + - IeeeL1Defaults (bool): - LaserOn (bool): - LinkTraining (bool): - LoopContinuously (bool): @@ -567,6 +665,7 @@ def find( - Loopback (bool): If enabled, the port is set to internally loopback from transmit to receive. - LoopbackMode (str(none | internalLoopback)): - Ppm (number): Indicates the value that needs to be adjusted for the line transmit frequency. + - RequestRsFecInt (bool): - SelectedSpeeds (list(str[speed100g | speed200g | speed400g | speed800g])): Which speeds are selected for the current media and AN settings. - SendSetsMode (str(alternate | typeAOnly | typeBOnly)): - Speed (str(speed100g | speed200g | speed400g | speed800g)): @@ -574,6 +673,7 @@ def find( - TxIgnoreRxLinkFaults (bool): If enabled, will allow transmission of packets even if the receive link is down. - TypeAOrderedSets (str(localFault | remoteFault)): - TypeBOrderedSets (str(localFault | remoteFault)): + - UseANResults (bool): Returns ------- diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/l1config/aresonefourhundredgiglan/aresonefourhundredgiglan.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/l1config/aresonefourhundredgiglan/aresonefourhundredgiglan.py index 7ff36e169..d2550108a 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/l1config/aresonefourhundredgiglan/aresonefourhundredgiglan.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/l1config/aresonefourhundredgiglan/aresonefourhundredgiglan.py @@ -235,7 +235,7 @@ def EnableAutoNegotiation(self, value): @property def EnablePPM(self): # type: () -> bool - """ + """DEPRECATED Returns ------- - bool: If true, enables the portsppm. @@ -500,7 +500,7 @@ def LoopbackMode(self, value): @property def Ppm(self): # type: () -> int - """ + """DEPRECATED Returns ------- - number: Indicates the value that needs to be adjusted for the line transmit frequency. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/l1config/aresonem/__init__.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/l1config/aresonem/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/l1config/aresonem/aresonem.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/l1config/aresonem/aresonem.py new file mode 100644 index 000000000..bfd1541e0 --- /dev/null +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/l1config/aresonem/aresonem.py @@ -0,0 +1,893 @@ +# MIT LICENSE +# +# Copyright 1997 - 2020 by IXIA Keysight +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), +# to deal in the Software without restriction, including without limitation +# the rights to use, copy, modify, merge, publish, distribute, sublicense, +# and/or sell copies of the Software, and to permit persons to whom the +# Software is furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +# THE SOFTWARE. +import sys +from ixnetwork_restpy.base import Base +from ixnetwork_restpy.files import Files + +if sys.version_info >= (3, 5): + from typing import List, Any, Union + + +class AresOneM(Base): + """ + The AresOneM class encapsulates a required aresOneM resource which will be retrieved from the server every time the property is accessed. + """ + + __slots__ = () + _SDM_NAME = "aresOneM" + _SDM_ATT_MAP = { + "AutoInstrumentation": "autoInstrumentation", + "AvailableSpeeds": "availableSpeeds", + "BadBlocksNumber": "badBlocksNumber", + "CanModifySpeed": "canModifySpeed", + "CanSetMultipleSpeeds": "canSetMultipleSpeeds", + "EnableAutoNegotiation": "enableAutoNegotiation", + "EnablePPM": "enablePPM", + "EnableRsFec": "enableRsFec", + "EnableRsFecStats": "enableRsFecStats", + "EnabledFlowControl": "enabledFlowControl", + "FirecodeAdvertise": "firecodeAdvertise", + "FirecodeForceOff": "firecodeForceOff", + "FirecodeForceOn": "firecodeForceOn", + "FirecodeRequest": "firecodeRequest", + "FlowControlDirectedAddress": "flowControlDirectedAddress", + "ForceDisableFEC": "forceDisableFEC", + "ForceKp4Fec": "forceKp4Fec", + "ForceRsFecInt": "forceRsFecInt", + "GoodBlocksNumber": "goodBlocksNumber", + "IeeeL1Defaults": "ieeeL1Defaults", + "LaserOn": "laserOn", + "LinkTraining": "linkTraining", + "LoopContinuously": "loopContinuously", + "LoopCountNumber": "loopCountNumber", + "Loopback": "loopback", + "LoopbackMode": "loopbackMode", + "Ppm": "ppm", + "RequestRsFecInt": "requestRsFecInt", + "RsFecAdvertise": "rsFecAdvertise", + "RsFecForceOn": "rsFecForceOn", + "RsFecRequest": "rsFecRequest", + "SelectedSpeeds": "selectedSpeeds", + "SendSetsMode": "sendSetsMode", + "Speed": "speed", + "StartErrorInsertion": "startErrorInsertion", + "TxIgnoreRxLinkFaults": "txIgnoreRxLinkFaults", + "TypeAOrderedSets": "typeAOrderedSets", + "TypeBOrderedSets": "typeBOrderedSets", + "UseANResults": "useANResults", + } + _SDM_ENUM_MAP = { + "autoInstrumentation": ["endOfFrame", "floating"], + "loopbackMode": ["none", "internalLoopback"], + "sendSetsMode": ["alternate", "typeAOnly", "typeBOnly"], + "speed": [ + "speed100g", + "speed10g", + "speed200g", + "speed25g", + "speed400g", + "speed40g", + "speed50g", + "speed800g", + ], + "typeAOrderedSets": ["localFault", "remoteFault"], + "typeBOrderedSets": ["localFault", "remoteFault"], + } + + def __init__(self, parent, list_op=False): + super(AresOneM, self).__init__(parent, list_op) + + @property + def Fcoe(self): + """ + Returns + ------- + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.l1config.aresonem.fcoe.fcoe.Fcoe): An instance of the Fcoe class + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + from ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.l1config.aresonem.fcoe.fcoe import ( + Fcoe, + ) + + if len(self._object_properties) > 0: + if self._properties.get("Fcoe", None) is not None: + return self._properties.get("Fcoe") + return Fcoe(self)._select() + + @property + def AutoInstrumentation(self): + # type: () -> str + """ + Returns + ------- + - str(endOfFrame | floating): The auto instrumentation mode. + """ + return self._get_attribute(self._SDM_ATT_MAP["AutoInstrumentation"]) + + @AutoInstrumentation.setter + def AutoInstrumentation(self, value): + # type: (str) -> None + self._set_attribute(self._SDM_ATT_MAP["AutoInstrumentation"], value) + + @property + def AvailableSpeeds(self): + # type: () -> List[str] + """ + Returns + ------- + - list(str[speed100g | speed25g | speed50g | speed200g | speed400g | speed10g | speed40g | speed800g]): Which speeds are available for the current media and AN settings. + """ + return self._get_attribute(self._SDM_ATT_MAP["AvailableSpeeds"]) + + @property + def BadBlocksNumber(self): + # type: () -> int + """ + Returns + ------- + - number: + """ + return self._get_attribute(self._SDM_ATT_MAP["BadBlocksNumber"]) + + @BadBlocksNumber.setter + def BadBlocksNumber(self, value): + # type: (int) -> None + self._set_attribute(self._SDM_ATT_MAP["BadBlocksNumber"], value) + + @property + def CanModifySpeed(self): + # type: () -> bool + """ + Returns + ------- + - bool: Returns true/false depending upon if the port can change speed for the current media and AN settings. + """ + return self._get_attribute(self._SDM_ATT_MAP["CanModifySpeed"]) + + @property + def CanSetMultipleSpeeds(self): + # type: () -> bool + """ + Returns + ------- + - bool: Can this port selectmultiple speeds for the current media and AN settings. + """ + return self._get_attribute(self._SDM_ATT_MAP["CanSetMultipleSpeeds"]) + + @property + def EnableAutoNegotiation(self): + # type: () -> bool + """ + Returns + ------- + - bool: + """ + return self._get_attribute(self._SDM_ATT_MAP["EnableAutoNegotiation"]) + + @EnableAutoNegotiation.setter + def EnableAutoNegotiation(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP["EnableAutoNegotiation"], value) + + @property + def EnablePPM(self): + # type: () -> bool + """DEPRECATED + Returns + ------- + - bool: If true, enables the portsppm. + """ + return self._get_attribute(self._SDM_ATT_MAP["EnablePPM"]) + + @EnablePPM.setter + def EnablePPM(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP["EnablePPM"], value) + + @property + def EnableRsFec(self): + # type: () -> bool + """ + Returns + ------- + - bool: + """ + return self._get_attribute(self._SDM_ATT_MAP["EnableRsFec"]) + + @EnableRsFec.setter + def EnableRsFec(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP["EnableRsFec"], value) + + @property + def EnableRsFecStats(self): + # type: () -> bool + """ + Returns + ------- + - bool: + """ + return self._get_attribute(self._SDM_ATT_MAP["EnableRsFecStats"]) + + @EnableRsFecStats.setter + def EnableRsFecStats(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP["EnableRsFecStats"], value) + + @property + def EnabledFlowControl(self): + # type: () -> bool + """ + Returns + ------- + - bool: If true, enables the port's MAC flow control mechanisms to listen for a directed address pause message. + """ + return self._get_attribute(self._SDM_ATT_MAP["EnabledFlowControl"]) + + @EnabledFlowControl.setter + def EnabledFlowControl(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP["EnabledFlowControl"], value) + + @property + def FirecodeAdvertise(self): + # type: () -> bool + """ + Returns + ------- + - bool: + """ + return self._get_attribute(self._SDM_ATT_MAP["FirecodeAdvertise"]) + + @FirecodeAdvertise.setter + def FirecodeAdvertise(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP["FirecodeAdvertise"], value) + + @property + def FirecodeForceOff(self): + # type: () -> bool + """DEPRECATED + Returns + ------- + - bool: + """ + return self._get_attribute(self._SDM_ATT_MAP["FirecodeForceOff"]) + + @FirecodeForceOff.setter + def FirecodeForceOff(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP["FirecodeForceOff"], value) + + @property + def FirecodeForceOn(self): + # type: () -> bool + """ + Returns + ------- + - bool: + """ + return self._get_attribute(self._SDM_ATT_MAP["FirecodeForceOn"]) + + @FirecodeForceOn.setter + def FirecodeForceOn(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP["FirecodeForceOn"], value) + + @property + def FirecodeRequest(self): + # type: () -> bool + """ + Returns + ------- + - bool: + """ + return self._get_attribute(self._SDM_ATT_MAP["FirecodeRequest"]) + + @FirecodeRequest.setter + def FirecodeRequest(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP["FirecodeRequest"], value) + + @property + def FlowControlDirectedAddress(self): + # type: () -> str + """ + Returns + ------- + - str: The 48-bit MAC address that the port listens on for a directed pause. + """ + return self._get_attribute(self._SDM_ATT_MAP["FlowControlDirectedAddress"]) + + @FlowControlDirectedAddress.setter + def FlowControlDirectedAddress(self, value): + # type: (str) -> None + self._set_attribute(self._SDM_ATT_MAP["FlowControlDirectedAddress"], value) + + @property + def ForceDisableFEC(self): + # type: () -> bool + """ + Returns + ------- + - bool: + """ + return self._get_attribute(self._SDM_ATT_MAP["ForceDisableFEC"]) + + @ForceDisableFEC.setter + def ForceDisableFEC(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP["ForceDisableFEC"], value) + + @property + def ForceKp4Fec(self): + # type: () -> bool + """ + Returns + ------- + - bool: + """ + return self._get_attribute(self._SDM_ATT_MAP["ForceKp4Fec"]) + + @ForceKp4Fec.setter + def ForceKp4Fec(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP["ForceKp4Fec"], value) + + @property + def ForceRsFecInt(self): + # type: () -> bool + """ + Returns + ------- + - bool: + """ + return self._get_attribute(self._SDM_ATT_MAP["ForceRsFecInt"]) + + @ForceRsFecInt.setter + def ForceRsFecInt(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP["ForceRsFecInt"], value) + + @property + def GoodBlocksNumber(self): + # type: () -> int + """ + Returns + ------- + - number: + """ + return self._get_attribute(self._SDM_ATT_MAP["GoodBlocksNumber"]) + + @GoodBlocksNumber.setter + def GoodBlocksNumber(self, value): + # type: (int) -> None + self._set_attribute(self._SDM_ATT_MAP["GoodBlocksNumber"], value) + + @property + def IeeeL1Defaults(self): + # type: () -> bool + """ + Returns + ------- + - bool: + """ + return self._get_attribute(self._SDM_ATT_MAP["IeeeL1Defaults"]) + + @IeeeL1Defaults.setter + def IeeeL1Defaults(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP["IeeeL1Defaults"], value) + + @property + def LaserOn(self): + # type: () -> bool + """ + Returns + ------- + - bool: + """ + return self._get_attribute(self._SDM_ATT_MAP["LaserOn"]) + + @LaserOn.setter + def LaserOn(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP["LaserOn"], value) + + @property + def LinkTraining(self): + # type: () -> bool + """ + Returns + ------- + - bool: + """ + return self._get_attribute(self._SDM_ATT_MAP["LinkTraining"]) + + @LinkTraining.setter + def LinkTraining(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP["LinkTraining"], value) + + @property + def LoopContinuously(self): + # type: () -> bool + """ + Returns + ------- + - bool: + """ + return self._get_attribute(self._SDM_ATT_MAP["LoopContinuously"]) + + @LoopContinuously.setter + def LoopContinuously(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP["LoopContinuously"], value) + + @property + def LoopCountNumber(self): + # type: () -> int + """ + Returns + ------- + - number: + """ + return self._get_attribute(self._SDM_ATT_MAP["LoopCountNumber"]) + + @LoopCountNumber.setter + def LoopCountNumber(self, value): + # type: (int) -> None + self._set_attribute(self._SDM_ATT_MAP["LoopCountNumber"], value) + + @property + def Loopback(self): + # type: () -> bool + """ + Returns + ------- + - bool: If enabled, the port is set to internally loopback from transmit to receive. + """ + return self._get_attribute(self._SDM_ATT_MAP["Loopback"]) + + @Loopback.setter + def Loopback(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP["Loopback"], value) + + @property + def LoopbackMode(self): + # type: () -> str + """ + Returns + ------- + - str(none | internalLoopback): + """ + return self._get_attribute(self._SDM_ATT_MAP["LoopbackMode"]) + + @LoopbackMode.setter + def LoopbackMode(self, value): + # type: (str) -> None + self._set_attribute(self._SDM_ATT_MAP["LoopbackMode"], value) + + @property + def Ppm(self): + # type: () -> int + """DEPRECATED + Returns + ------- + - number: Indicates the value that needs to be adjusted for the line transmit frequency. + """ + return self._get_attribute(self._SDM_ATT_MAP["Ppm"]) + + @Ppm.setter + def Ppm(self, value): + # type: (int) -> None + self._set_attribute(self._SDM_ATT_MAP["Ppm"], value) + + @property + def RequestRsFecInt(self): + # type: () -> bool + """ + Returns + ------- + - bool: + """ + return self._get_attribute(self._SDM_ATT_MAP["RequestRsFecInt"]) + + @RequestRsFecInt.setter + def RequestRsFecInt(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP["RequestRsFecInt"], value) + + @property + def RsFecAdvertise(self): + # type: () -> bool + """ + Returns + ------- + - bool: + """ + return self._get_attribute(self._SDM_ATT_MAP["RsFecAdvertise"]) + + @RsFecAdvertise.setter + def RsFecAdvertise(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP["RsFecAdvertise"], value) + + @property + def RsFecForceOn(self): + # type: () -> bool + """ + Returns + ------- + - bool: + """ + return self._get_attribute(self._SDM_ATT_MAP["RsFecForceOn"]) + + @RsFecForceOn.setter + def RsFecForceOn(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP["RsFecForceOn"], value) + + @property + def RsFecRequest(self): + # type: () -> bool + """ + Returns + ------- + - bool: + """ + return self._get_attribute(self._SDM_ATT_MAP["RsFecRequest"]) + + @RsFecRequest.setter + def RsFecRequest(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP["RsFecRequest"], value) + + @property + def SelectedSpeeds(self): + # type: () -> List[str] + """ + Returns + ------- + - list(str[speed100g | speed25g | speed50g | speed200g | speed400g | speed10g | speed40g | speed800g]): Which speeds are selected for the current media and AN settings. + """ + return self._get_attribute(self._SDM_ATT_MAP["SelectedSpeeds"]) + + @SelectedSpeeds.setter + def SelectedSpeeds(self, value): + # type: (List[str]) -> None + self._set_attribute(self._SDM_ATT_MAP["SelectedSpeeds"], value) + + @property + def SendSetsMode(self): + # type: () -> str + """ + Returns + ------- + - str(alternate | typeAOnly | typeBOnly): + """ + return self._get_attribute(self._SDM_ATT_MAP["SendSetsMode"]) + + @SendSetsMode.setter + def SendSetsMode(self, value): + # type: (str) -> None + self._set_attribute(self._SDM_ATT_MAP["SendSetsMode"], value) + + @property + def Speed(self): + # type: () -> str + """ + Returns + ------- + - str(speed100g | speed10g | speed200g | speed25g | speed400g | speed40g | speed50g | speed800g): + """ + return self._get_attribute(self._SDM_ATT_MAP["Speed"]) + + @Speed.setter + def Speed(self, value): + # type: (str) -> None + self._set_attribute(self._SDM_ATT_MAP["Speed"], value) + + @property + def StartErrorInsertion(self): + # type: () -> bool + """ + Returns + ------- + - bool: + """ + return self._get_attribute(self._SDM_ATT_MAP["StartErrorInsertion"]) + + @StartErrorInsertion.setter + def StartErrorInsertion(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP["StartErrorInsertion"], value) + + @property + def TxIgnoreRxLinkFaults(self): + # type: () -> bool + """ + Returns + ------- + - bool: If enabled, will allow transmission of packets even if the receive link is down. + """ + return self._get_attribute(self._SDM_ATT_MAP["TxIgnoreRxLinkFaults"]) + + @TxIgnoreRxLinkFaults.setter + def TxIgnoreRxLinkFaults(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP["TxIgnoreRxLinkFaults"], value) + + @property + def TypeAOrderedSets(self): + # type: () -> str + """ + Returns + ------- + - str(localFault | remoteFault): + """ + return self._get_attribute(self._SDM_ATT_MAP["TypeAOrderedSets"]) + + @TypeAOrderedSets.setter + def TypeAOrderedSets(self, value): + # type: (str) -> None + self._set_attribute(self._SDM_ATT_MAP["TypeAOrderedSets"], value) + + @property + def TypeBOrderedSets(self): + # type: () -> str + """ + Returns + ------- + - str(localFault | remoteFault): + """ + return self._get_attribute(self._SDM_ATT_MAP["TypeBOrderedSets"]) + + @TypeBOrderedSets.setter + def TypeBOrderedSets(self, value): + # type: (str) -> None + self._set_attribute(self._SDM_ATT_MAP["TypeBOrderedSets"], value) + + @property + def UseANResults(self): + # type: () -> bool + """ + Returns + ------- + - bool: + """ + return self._get_attribute(self._SDM_ATT_MAP["UseANResults"]) + + @UseANResults.setter + def UseANResults(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP["UseANResults"], value) + + def update( + self, + AutoInstrumentation=None, + BadBlocksNumber=None, + EnableAutoNegotiation=None, + EnablePPM=None, + EnableRsFec=None, + EnableRsFecStats=None, + EnabledFlowControl=None, + FirecodeAdvertise=None, + FirecodeForceOff=None, + FirecodeForceOn=None, + FirecodeRequest=None, + FlowControlDirectedAddress=None, + ForceDisableFEC=None, + ForceKp4Fec=None, + ForceRsFecInt=None, + GoodBlocksNumber=None, + IeeeL1Defaults=None, + LaserOn=None, + LinkTraining=None, + LoopContinuously=None, + LoopCountNumber=None, + Loopback=None, + LoopbackMode=None, + Ppm=None, + RequestRsFecInt=None, + RsFecAdvertise=None, + RsFecForceOn=None, + RsFecRequest=None, + SelectedSpeeds=None, + SendSetsMode=None, + Speed=None, + StartErrorInsertion=None, + TxIgnoreRxLinkFaults=None, + TypeAOrderedSets=None, + TypeBOrderedSets=None, + UseANResults=None, + ): + # type: (str, int, bool, bool, bool, bool, bool, bool, bool, bool, bool, str, bool, bool, bool, int, bool, bool, bool, bool, int, bool, str, int, bool, bool, bool, bool, List[str], str, str, bool, bool, str, str, bool) -> AresOneM + """Updates aresOneM resource on the server. + + Args + ---- + - AutoInstrumentation (str(endOfFrame | floating)): The auto instrumentation mode. + - BadBlocksNumber (number): + - EnableAutoNegotiation (bool): + - EnablePPM (bool): If true, enables the portsppm. + - EnableRsFec (bool): + - EnableRsFecStats (bool): + - EnabledFlowControl (bool): If true, enables the port's MAC flow control mechanisms to listen for a directed address pause message. + - FirecodeAdvertise (bool): + - FirecodeForceOff (bool): + - FirecodeForceOn (bool): + - FirecodeRequest (bool): + - FlowControlDirectedAddress (str): The 48-bit MAC address that the port listens on for a directed pause. + - ForceDisableFEC (bool): + - ForceKp4Fec (bool): + - ForceRsFecInt (bool): + - GoodBlocksNumber (number): + - IeeeL1Defaults (bool): + - LaserOn (bool): + - LinkTraining (bool): + - LoopContinuously (bool): + - LoopCountNumber (number): + - Loopback (bool): If enabled, the port is set to internally loopback from transmit to receive. + - LoopbackMode (str(none | internalLoopback)): + - Ppm (number): Indicates the value that needs to be adjusted for the line transmit frequency. + - RequestRsFecInt (bool): + - RsFecAdvertise (bool): + - RsFecForceOn (bool): + - RsFecRequest (bool): + - SelectedSpeeds (list(str[speed100g | speed25g | speed50g | speed200g | speed400g | speed10g | speed40g | speed800g])): Which speeds are selected for the current media and AN settings. + - SendSetsMode (str(alternate | typeAOnly | typeBOnly)): + - Speed (str(speed100g | speed10g | speed200g | speed25g | speed400g | speed40g | speed50g | speed800g)): + - StartErrorInsertion (bool): + - TxIgnoreRxLinkFaults (bool): If enabled, will allow transmission of packets even if the receive link is down. + - TypeAOrderedSets (str(localFault | remoteFault)): + - TypeBOrderedSets (str(localFault | remoteFault)): + - UseANResults (bool): + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + return self._update(self._map_locals(self._SDM_ATT_MAP, locals())) + + def find( + self, + AutoInstrumentation=None, + AvailableSpeeds=None, + BadBlocksNumber=None, + CanModifySpeed=None, + CanSetMultipleSpeeds=None, + EnableAutoNegotiation=None, + EnablePPM=None, + EnableRsFec=None, + EnableRsFecStats=None, + EnabledFlowControl=None, + FirecodeAdvertise=None, + FirecodeForceOff=None, + FirecodeForceOn=None, + FirecodeRequest=None, + FlowControlDirectedAddress=None, + ForceDisableFEC=None, + ForceKp4Fec=None, + ForceRsFecInt=None, + GoodBlocksNumber=None, + IeeeL1Defaults=None, + LaserOn=None, + LinkTraining=None, + LoopContinuously=None, + LoopCountNumber=None, + Loopback=None, + LoopbackMode=None, + Ppm=None, + RequestRsFecInt=None, + RsFecAdvertise=None, + RsFecForceOn=None, + RsFecRequest=None, + SelectedSpeeds=None, + SendSetsMode=None, + Speed=None, + StartErrorInsertion=None, + TxIgnoreRxLinkFaults=None, + TypeAOrderedSets=None, + TypeBOrderedSets=None, + UseANResults=None, + ): + # type: (str, List[str], int, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, str, bool, bool, bool, int, bool, bool, bool, bool, int, bool, str, int, bool, bool, bool, bool, List[str], str, str, bool, bool, str, str, bool) -> AresOneM + """Finds and retrieves aresOneM resources from the server. + + All named parameters are evaluated on the server using regex. The named parameters can be used to selectively retrieve aresOneM resources from the server. + To retrieve an exact match ensure the parameter value starts with ^ and ends with $ + By default the find method takes no parameters and will retrieve all aresOneM resources from the server. + + Args + ---- + - AutoInstrumentation (str(endOfFrame | floating)): The auto instrumentation mode. + - AvailableSpeeds (list(str[speed100g | speed25g | speed50g | speed200g | speed400g | speed10g | speed40g | speed800g])): Which speeds are available for the current media and AN settings. + - BadBlocksNumber (number): + - CanModifySpeed (bool): Returns true/false depending upon if the port can change speed for the current media and AN settings. + - CanSetMultipleSpeeds (bool): Can this port selectmultiple speeds for the current media and AN settings. + - EnableAutoNegotiation (bool): + - EnablePPM (bool): If true, enables the portsppm. + - EnableRsFec (bool): + - EnableRsFecStats (bool): + - EnabledFlowControl (bool): If true, enables the port's MAC flow control mechanisms to listen for a directed address pause message. + - FirecodeAdvertise (bool): + - FirecodeForceOff (bool): + - FirecodeForceOn (bool): + - FirecodeRequest (bool): + - FlowControlDirectedAddress (str): The 48-bit MAC address that the port listens on for a directed pause. + - ForceDisableFEC (bool): + - ForceKp4Fec (bool): + - ForceRsFecInt (bool): + - GoodBlocksNumber (number): + - IeeeL1Defaults (bool): + - LaserOn (bool): + - LinkTraining (bool): + - LoopContinuously (bool): + - LoopCountNumber (number): + - Loopback (bool): If enabled, the port is set to internally loopback from transmit to receive. + - LoopbackMode (str(none | internalLoopback)): + - Ppm (number): Indicates the value that needs to be adjusted for the line transmit frequency. + - RequestRsFecInt (bool): + - RsFecAdvertise (bool): + - RsFecForceOn (bool): + - RsFecRequest (bool): + - SelectedSpeeds (list(str[speed100g | speed25g | speed50g | speed200g | speed400g | speed10g | speed40g | speed800g])): Which speeds are selected for the current media and AN settings. + - SendSetsMode (str(alternate | typeAOnly | typeBOnly)): + - Speed (str(speed100g | speed10g | speed200g | speed25g | speed400g | speed40g | speed50g | speed800g)): + - StartErrorInsertion (bool): + - TxIgnoreRxLinkFaults (bool): If enabled, will allow transmission of packets even if the receive link is down. + - TypeAOrderedSets (str(localFault | remoteFault)): + - TypeBOrderedSets (str(localFault | remoteFault)): + - UseANResults (bool): + + Returns + ------- + - self: This instance with matching aresOneM resources retrieved from the server available through an iterator or index + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + return self._select(self._map_locals(self._SDM_ATT_MAP, locals())) + + def read(self, href): + """Retrieves a single instance of aresOneM data from the server. + + Args + ---- + - href (str): An href to the instance to be retrieved + + Returns + ------- + - self: This instance with the aresOneM resources from the server available through an iterator or index + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + return self._read(href) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/l1config/aresonem/fcoe/__init__.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/l1config/aresonem/fcoe/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/l1config/aresonem/fcoe/fcoe.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/l1config/aresonem/fcoe/fcoe.py new file mode 100644 index 000000000..297c75b71 --- /dev/null +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/l1config/aresonem/fcoe/fcoe.py @@ -0,0 +1,270 @@ +# MIT LICENSE +# +# Copyright 1997 - 2020 by IXIA Keysight +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), +# to deal in the Software without restriction, including without limitation +# the rights to use, copy, modify, merge, publish, distribute, sublicense, +# and/or sell copies of the Software, and to permit persons to whom the +# Software is furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +# THE SOFTWARE. +import sys +from ixnetwork_restpy.base import Base +from ixnetwork_restpy.files import Files + +if sys.version_info >= (3, 5): + from typing import List, Any, Union + + +class Fcoe(Base): + """ + The Fcoe class encapsulates a required fcoe resource which will be retrieved from the server every time the property is accessed. + """ + + __slots__ = () + _SDM_NAME = "fcoe" + _SDM_ATT_MAP = { + "EnablePFCPauseDelay": "enablePFCPauseDelay", + "FlowControlType": "flowControlType", + "PfcPauseDelay": "pfcPauseDelay", + "PfcPriorityGroups": "pfcPriorityGroups", + "PfcQueueGroupSize": "pfcQueueGroupSize", + "PfcQueueGroups": "pfcQueueGroups", + "PriorityGroupSize": "priorityGroupSize", + "SupportDataCenterMode": "supportDataCenterMode", + } + _SDM_ENUM_MAP = { + "flowControlType": ["ieee802.1Qbb", "ieee802.3x"], + "pfcQueueGroupSize": [ + "pfcQueueGroupSize-1", + "pfcQueueGroupSize-4", + "pfcQueueGroupSize-8", + ], + "priorityGroupSize": [ + "priorityGroupSize-1", + "priorityGroupSize-4", + "priorityGroupSize-8", + ], + } + + def __init__(self, parent, list_op=False): + super(Fcoe, self).__init__(parent, list_op) + + @property + def EnablePFCPauseDelay(self): + # type: () -> bool + """ + Returns + ------- + - bool: If true, PFC pause delay is enabled. + """ + return self._get_attribute(self._SDM_ATT_MAP["EnablePFCPauseDelay"]) + + @EnablePFCPauseDelay.setter + def EnablePFCPauseDelay(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP["EnablePFCPauseDelay"], value) + + @property + def FlowControlType(self): + # type: () -> str + """ + Returns + ------- + - str(ieee802.1Qbb | ieee802.3x): The type of flow control to be selected. + """ + return self._get_attribute(self._SDM_ATT_MAP["FlowControlType"]) + + @FlowControlType.setter + def FlowControlType(self, value): + # type: (str) -> None + self._set_attribute(self._SDM_ATT_MAP["FlowControlType"], value) + + @property + def PfcPauseDelay(self): + # type: () -> int + """ + Returns + ------- + - number: If selected, enables to increase the number of frames that is sent when a pause frame is received. + """ + return self._get_attribute(self._SDM_ATT_MAP["PfcPauseDelay"]) + + @PfcPauseDelay.setter + def PfcPauseDelay(self, value): + # type: (int) -> None + self._set_attribute(self._SDM_ATT_MAP["PfcPauseDelay"], value) + + @property + def PfcPriorityGroups(self): + # type: () -> List[str] + """DEPRECATED + Returns + ------- + - list(str): When you select 802.1Qbb as the flowControlType, you can use the PFC/Priority settings to map each of the eight PFC priorities to one of the two/four/eight Priority Groups (or to None). The PFCs are numbered 0-7. + """ + return self._get_attribute(self._SDM_ATT_MAP["PfcPriorityGroups"]) + + @PfcPriorityGroups.setter + def PfcPriorityGroups(self, value): + # type: (List[str]) -> None + self._set_attribute(self._SDM_ATT_MAP["PfcPriorityGroups"], value) + + @property + def PfcQueueGroupSize(self): + # type: () -> str + """ + Returns + ------- + - str(pfcQueueGroupSize-1 | pfcQueueGroupSize-4 | pfcQueueGroupSize-8): Max PFC queue group size + """ + return self._get_attribute(self._SDM_ATT_MAP["PfcQueueGroupSize"]) + + @PfcQueueGroupSize.setter + def PfcQueueGroupSize(self, value): + # type: (str) -> None + self._set_attribute(self._SDM_ATT_MAP["PfcQueueGroupSize"], value) + + @property + def PfcQueueGroups(self): + # type: () -> List[str] + """ + Returns + ------- + - list(str): When you select 802.1Qbb as the flowControlType, you can use the Priority/PFC Queue settings to map each of the eight PFC priorities to one of the two/four/eight PFC Queue Groups (or to None). + """ + return self._get_attribute(self._SDM_ATT_MAP["PfcQueueGroups"]) + + @PfcQueueGroups.setter + def PfcQueueGroups(self, value): + # type: (List[str]) -> None + self._set_attribute(self._SDM_ATT_MAP["PfcQueueGroups"], value) + + @property + def PriorityGroupSize(self): + # type: () -> str + """DEPRECATED + Returns + ------- + - str(priorityGroupSize-1 | priorityGroupSize-4 | priorityGroupSize-8): The maximum size of a Priority Group. + """ + return self._get_attribute(self._SDM_ATT_MAP["PriorityGroupSize"]) + + @PriorityGroupSize.setter + def PriorityGroupSize(self, value): + # type: (str) -> None + self._set_attribute(self._SDM_ATT_MAP["PriorityGroupSize"], value) + + @property + def SupportDataCenterMode(self): + # type: () -> bool + """ + Returns + ------- + - bool: If true, this mode automatically sets Transmit Mode to Interleaved Streams. + """ + return self._get_attribute(self._SDM_ATT_MAP["SupportDataCenterMode"]) + + @SupportDataCenterMode.setter + def SupportDataCenterMode(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP["SupportDataCenterMode"], value) + + def update( + self, + EnablePFCPauseDelay=None, + FlowControlType=None, + PfcPauseDelay=None, + PfcPriorityGroups=None, + PfcQueueGroupSize=None, + PfcQueueGroups=None, + PriorityGroupSize=None, + SupportDataCenterMode=None, + ): + # type: (bool, str, int, List[str], str, List[str], str, bool) -> Fcoe + """Updates fcoe resource on the server. + + Args + ---- + - EnablePFCPauseDelay (bool): If true, PFC pause delay is enabled. + - FlowControlType (str(ieee802.1Qbb | ieee802.3x)): The type of flow control to be selected. + - PfcPauseDelay (number): If selected, enables to increase the number of frames that is sent when a pause frame is received. + - PfcPriorityGroups (list(str)): When you select 802.1Qbb as the flowControlType, you can use the PFC/Priority settings to map each of the eight PFC priorities to one of the two/four/eight Priority Groups (or to None). The PFCs are numbered 0-7. + - PfcQueueGroupSize (str(pfcQueueGroupSize-1 | pfcQueueGroupSize-4 | pfcQueueGroupSize-8)): Max PFC queue group size + - PfcQueueGroups (list(str)): When you select 802.1Qbb as the flowControlType, you can use the Priority/PFC Queue settings to map each of the eight PFC priorities to one of the two/four/eight PFC Queue Groups (or to None). + - PriorityGroupSize (str(priorityGroupSize-1 | priorityGroupSize-4 | priorityGroupSize-8)): The maximum size of a Priority Group. + - SupportDataCenterMode (bool): If true, this mode automatically sets Transmit Mode to Interleaved Streams. + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + return self._update(self._map_locals(self._SDM_ATT_MAP, locals())) + + def find( + self, + EnablePFCPauseDelay=None, + FlowControlType=None, + PfcPauseDelay=None, + PfcPriorityGroups=None, + PfcQueueGroupSize=None, + PfcQueueGroups=None, + PriorityGroupSize=None, + SupportDataCenterMode=None, + ): + # type: (bool, str, int, List[str], str, List[str], str, bool) -> Fcoe + """Finds and retrieves fcoe resources from the server. + + All named parameters are evaluated on the server using regex. The named parameters can be used to selectively retrieve fcoe resources from the server. + To retrieve an exact match ensure the parameter value starts with ^ and ends with $ + By default the find method takes no parameters and will retrieve all fcoe resources from the server. + + Args + ---- + - EnablePFCPauseDelay (bool): If true, PFC pause delay is enabled. + - FlowControlType (str(ieee802.1Qbb | ieee802.3x)): The type of flow control to be selected. + - PfcPauseDelay (number): If selected, enables to increase the number of frames that is sent when a pause frame is received. + - PfcPriorityGroups (list(str)): When you select 802.1Qbb as the flowControlType, you can use the PFC/Priority settings to map each of the eight PFC priorities to one of the two/four/eight Priority Groups (or to None). The PFCs are numbered 0-7. + - PfcQueueGroupSize (str(pfcQueueGroupSize-1 | pfcQueueGroupSize-4 | pfcQueueGroupSize-8)): Max PFC queue group size + - PfcQueueGroups (list(str)): When you select 802.1Qbb as the flowControlType, you can use the Priority/PFC Queue settings to map each of the eight PFC priorities to one of the two/four/eight PFC Queue Groups (or to None). + - PriorityGroupSize (str(priorityGroupSize-1 | priorityGroupSize-4 | priorityGroupSize-8)): The maximum size of a Priority Group. + - SupportDataCenterMode (bool): If true, this mode automatically sets Transmit Mode to Interleaved Streams. + + Returns + ------- + - self: This instance with matching fcoe resources retrieved from the server available through an iterator or index + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + return self._select(self._map_locals(self._SDM_ATT_MAP, locals())) + + def read(self, href): + """Retrieves a single instance of fcoe data from the server. + + Args + ---- + - href (str): An href to the instance to be retrieved + + Returns + ------- + - self: This instance with the fcoe resources from the server available through an iterator or index + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + return self._read(href) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/l1config/atlasfourhundredgiglan/atlasfourhundredgiglan.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/l1config/atlasfourhundredgiglan/atlasfourhundredgiglan.py index 32a7912a2..0eaef9e3f 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/l1config/atlasfourhundredgiglan/atlasfourhundredgiglan.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/l1config/atlasfourhundredgiglan/atlasfourhundredgiglan.py @@ -168,7 +168,7 @@ def EnableAutoNegotiation(self, value): @property def EnablePPM(self): # type: () -> bool - """ + """DEPRECATED Returns ------- - bool: If true, enables the portsppm. @@ -433,7 +433,7 @@ def LoopbackMode(self, value): @property def Ppm(self): # type: () -> int - """ + """DEPRECATED Returns ------- - number: Indicates the value that needs to be adjusted for the line transmit frequency. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/l1config/atm/atm.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/l1config/atm/atm.py index cae972473..6673d4f72 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/l1config/atm/atm.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/l1config/atm/atm.py @@ -188,7 +188,7 @@ def DataScrambling(self, value): @property def EnablePPM(self): # type: () -> bool - """ + """DEPRECATED Returns ------- - bool: If true, enables the portsppm. @@ -263,7 +263,7 @@ def PatternMatching(self, value): @property def Ppm(self): # type: () -> int - """ + """DEPRECATED Returns ------- - number: Indicates the value that needs to be adjusted for the line transmit frequency. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/l1config/ethernet/ethernet.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/l1config/ethernet/ethernet.py index 3625bf7fa..9770f47da 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/l1config/ethernet/ethernet.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/l1config/ethernet/ethernet.py @@ -195,7 +195,7 @@ def CanSetMultipleSpeeds(self): @property def EnablePPM(self): # type: () -> bool - """ + """DEPRECATED Returns ------- - bool: If true, enables the portsppm. @@ -315,7 +315,7 @@ def NegotiatePrimarySecondary(self, value): @property def Ppm(self): # type: () -> int - """ + """DEPRECATED Returns ------- - number: Indicates the value that needs to be adjusted for the line transmit frequency. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/l1config/ethernetimpairment/ethernetimpairment.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/l1config/ethernetimpairment/ethernetimpairment.py index 6d0402eb6..26bb42d18 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/l1config/ethernetimpairment/ethernetimpairment.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/l1config/ethernetimpairment/ethernetimpairment.py @@ -80,7 +80,7 @@ def CanSetMultipleSpeeds(self): @property def EnablePPM(self): # type: () -> bool - """ + """DEPRECATED Returns ------- - bool: If true, enables the portsppm. @@ -95,7 +95,7 @@ def EnablePPM(self, value): @property def Ppm(self): # type: () -> int - """ + """DEPRECATED Returns ------- - number: Indicates the value that needs to be adjusted for the line transmit frequency. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/l1config/ethernetvm/ethernetvm.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/l1config/ethernetvm/ethernetvm.py index d364f4803..32d4a833b 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/l1config/ethernetvm/ethernetvm.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/l1config/ethernetvm/ethernetvm.py @@ -127,7 +127,7 @@ def CanSetMultipleSpeeds(self): @property def EnablePPM(self): # type: () -> bool - """ + """DEPRECATED Returns ------- - bool: If true, enables the portsppm. @@ -167,7 +167,7 @@ def Mtu(self, value): @property def Ppm(self): # type: () -> int - """ + """DEPRECATED Returns ------- - number: Indicates the value that needs to be adjusted for the line transmit frequency. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/l1config/fc/fc.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/l1config/fc/fc.py index 36c4784f8..93c25cd32 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/l1config/fc/fc.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/l1config/fc/fc.py @@ -131,7 +131,7 @@ def EnableEmissionLoweringProtocol(self, value): @property def EnablePPM(self): # type: () -> bool - """ + """DEPRECATED Returns ------- - bool: If true, enables the portsppm. @@ -236,7 +236,7 @@ def NoRRDYAfter(self, value): @property def Ppm(self): # type: () -> int - """ + """DEPRECATED Returns ------- - number: Indicates the value that needs to be adjusted for the line transmit frequency. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/l1config/fortygiglan/fortygiglan.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/l1config/fortygiglan/fortygiglan.py index e6571ab47..0d1978335 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/l1config/fortygiglan/fortygiglan.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/l1config/fortygiglan/fortygiglan.py @@ -160,7 +160,7 @@ def EnableLASIMonitoring(self, value): @property def EnablePPM(self): # type: () -> bool - """ + """DEPRECATED Returns ------- - bool: If true, enables the portsppm. @@ -220,7 +220,7 @@ def Loopback(self, value): @property def Ppm(self): # type: () -> int - """ + """DEPRECATED Returns ------- - number: Indicates the value that needs to be adjusted for the line transmit frequency. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/l1config/hundredgiglan/hundredgiglan.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/l1config/hundredgiglan/hundredgiglan.py index 015891b0b..cfc374b02 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/l1config/hundredgiglan/hundredgiglan.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/l1config/hundredgiglan/hundredgiglan.py @@ -144,7 +144,7 @@ def CanSetMultipleSpeeds(self): @property def EnablePPM(self): # type: () -> bool - """ + """DEPRECATED Returns ------- - bool: If true, enables the portsppm. @@ -204,7 +204,7 @@ def Loopback(self, value): @property def Ppm(self): # type: () -> int - """ + """DEPRECATED Returns ------- - number: Indicates the value that needs to be adjusted for the line transmit frequency. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/l1config/krakenfourhundredgiglan/krakenfourhundredgiglan.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/l1config/krakenfourhundredgiglan/krakenfourhundredgiglan.py index fa4072b4d..c76a1ce7b 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/l1config/krakenfourhundredgiglan/krakenfourhundredgiglan.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/l1config/krakenfourhundredgiglan/krakenfourhundredgiglan.py @@ -177,7 +177,7 @@ def EnableAutoNegotiation(self): @property def EnablePPM(self): # type: () -> bool - """ + """DEPRECATED Returns ------- - bool: If true, enables the portsppm. @@ -437,7 +437,7 @@ def LoopbackMode(self, value): @property def Ppm(self): # type: () -> int - """ + """DEPRECATED Returns ------- - number: Indicates the value that needs to be adjusted for the line transmit frequency. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/l1config/l1config.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/l1config/l1config.py index 983afd756..cad123428 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/l1config/l1config.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/l1config/l1config.py @@ -41,6 +41,7 @@ class L1Config(Base): "currentType": [ "ethernet", "ethernetvm", + "novusmini", "ethernetFcoe", "atm", "pos", @@ -73,6 +74,12 @@ class L1Config(Base): "ravenEightHundredGigLanFcoe", "aresOneEightHundredGigLanQddC", "aresOneEightHundredGigLanQddCFcoe", + "rangerHundredGigLan", + "rangerHundredGigLanFcoe", + "aresOneEightHundredGigLanOsfpC", + "aresOneEightHundredGigLanOsfpCFcoe", + "aresOneM", + "aresOneMFcoe", ], } @@ -99,6 +106,26 @@ def OAM(self): return self._properties.get("OAM") return OAM(self)._select() + @property + def AresOneEightHundredGigLanOsfpC(self): + """ + Returns + ------- + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.l1config.aresoneeighthundredgiglanosfpc.aresoneeighthundredgiglanosfpc.AresOneEightHundredGigLanOsfpC): An instance of the AresOneEightHundredGigLanOsfpC class + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + from ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.l1config.aresoneeighthundredgiglanosfpc.aresoneeighthundredgiglanosfpc import ( + AresOneEightHundredGigLanOsfpC, + ) + + if len(self._object_properties) > 0: + if self._properties.get("AresOneEightHundredGigLanOsfpC", None) is not None: + return self._properties.get("AresOneEightHundredGigLanOsfpC") + return AresOneEightHundredGigLanOsfpC(self)._select() + @property def AresOneEightHundredGigLanQddC(self): """ @@ -139,6 +166,26 @@ def AresOneFourHundredGigLan(self): return self._properties.get("AresOneFourHundredGigLan") return AresOneFourHundredGigLan(self)._select() + @property + def AresOneM(self): + """ + Returns + ------- + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.l1config.aresonem.aresonem.AresOneM): An instance of the AresOneM class + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + from ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.l1config.aresonem.aresonem import ( + AresOneM, + ) + + if len(self._object_properties) > 0: + if self._properties.get("AresOneM", None) is not None: + return self._properties.get("AresOneM") + return AresOneM(self)._select() + @property def AtlasFourHundredGigLan(self): """DEPRECATED @@ -399,6 +446,26 @@ def NovusHundredGigLan(self): return self._properties.get("NovusHundredGigLan") return NovusHundredGigLan(self)._select() + @property + def NovusMini(self): + """ + Returns + ------- + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.l1config.novusmini.novusmini.NovusMini): An instance of the NovusMini class + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + from ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.l1config.novusmini.novusmini import ( + NovusMini, + ) + + if len(self._object_properties) > 0: + if self._properties.get("NovusMini", None) is not None: + return self._properties.get("NovusMini") + return NovusMini(self)._select() + @property def NovusTenGigLan(self): """ @@ -479,6 +546,26 @@ def Qbv(self): return self._properties.get("Qbv") return Qbv(self)._select() + @property + def RangerHundredGigLan(self): + """ + Returns + ------- + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.l1config.rangerhundredgiglan.rangerhundredgiglan.RangerHundredGigLan): An instance of the RangerHundredGigLan class + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + from ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.l1config.rangerhundredgiglan.rangerhundredgiglan import ( + RangerHundredGigLan, + ) + + if len(self._object_properties) > 0: + if self._properties.get("RangerHundredGigLan", None) is not None: + return self._properties.get("RangerHundredGigLan") + return RangerHundredGigLan(self)._select() + @property def RavenEightHundredGigLan(self): """ @@ -625,7 +712,7 @@ def CurrentType(self): """ Returns ------- - - str(ethernet | ethernetvm | ethernetFcoe | atm | pos | tenGigLan | tenGigLanFcoe | fortyGigLan | fortyGigLanFcoe | tenGigWan | tenGigWanFcoe | hundredGigLan | hundredGigLanFcoe | tenFortyHundredGigLan | tenFortyHundredGigLanFcoe | fc | ethernetImpairment | novusHundredGigLan | novusHundredGigLanFcoe | novusTenGigLan | novusTenGigLanFcoe | krakenFourHundredGigLan | krakenFourHundredGigLanFcoe | aresOneFourHundredGigLan | aresOneFourHundredGigLanFcoe | uhdOneHundredGigLan | novus5GTenTwentyFiveGigLan | novus5GTenTwentyFiveGigLanFcoe | starFourHundredGigLan | starFourHundredGigLanFcoe | ravenEightHundredGigLan | ravenEightHundredGigLanFcoe | aresOneEightHundredGigLanQddC | aresOneEightHundredGigLanQddCFcoe): Indicates the types of ports for configuration to choose from. + - str(ethernet | ethernetvm | novusmini | ethernetFcoe | atm | pos | tenGigLan | tenGigLanFcoe | fortyGigLan | fortyGigLanFcoe | tenGigWan | tenGigWanFcoe | hundredGigLan | hundredGigLanFcoe | tenFortyHundredGigLan | tenFortyHundredGigLanFcoe | fc | ethernetImpairment | novusHundredGigLan | novusHundredGigLanFcoe | novusTenGigLan | novusTenGigLanFcoe | krakenFourHundredGigLan | krakenFourHundredGigLanFcoe | aresOneFourHundredGigLan | aresOneFourHundredGigLanFcoe | uhdOneHundredGigLan | novus5GTenTwentyFiveGigLan | novus5GTenTwentyFiveGigLanFcoe | starFourHundredGigLan | starFourHundredGigLanFcoe | ravenEightHundredGigLan | ravenEightHundredGigLanFcoe | aresOneEightHundredGigLanQddC | aresOneEightHundredGigLanQddCFcoe | rangerHundredGigLan | rangerHundredGigLanFcoe | aresOneEightHundredGigLanOsfpC | aresOneEightHundredGigLanOsfpCFcoe | aresOneM | aresOneMFcoe): Indicates the types of ports for configuration to choose from. """ return self._get_attribute(self._SDM_ATT_MAP["CurrentType"]) @@ -640,7 +727,7 @@ def update(self, CurrentType=None): Args ---- - - CurrentType (str(ethernet | ethernetvm | ethernetFcoe | atm | pos | tenGigLan | tenGigLanFcoe | fortyGigLan | fortyGigLanFcoe | tenGigWan | tenGigWanFcoe | hundredGigLan | hundredGigLanFcoe | tenFortyHundredGigLan | tenFortyHundredGigLanFcoe | fc | ethernetImpairment | novusHundredGigLan | novusHundredGigLanFcoe | novusTenGigLan | novusTenGigLanFcoe | krakenFourHundredGigLan | krakenFourHundredGigLanFcoe | aresOneFourHundredGigLan | aresOneFourHundredGigLanFcoe | uhdOneHundredGigLan | novus5GTenTwentyFiveGigLan | novus5GTenTwentyFiveGigLanFcoe | starFourHundredGigLan | starFourHundredGigLanFcoe | ravenEightHundredGigLan | ravenEightHundredGigLanFcoe | aresOneEightHundredGigLanQddC | aresOneEightHundredGigLanQddCFcoe)): Indicates the types of ports for configuration to choose from. + - CurrentType (str(ethernet | ethernetvm | novusmini | ethernetFcoe | atm | pos | tenGigLan | tenGigLanFcoe | fortyGigLan | fortyGigLanFcoe | tenGigWan | tenGigWanFcoe | hundredGigLan | hundredGigLanFcoe | tenFortyHundredGigLan | tenFortyHundredGigLanFcoe | fc | ethernetImpairment | novusHundredGigLan | novusHundredGigLanFcoe | novusTenGigLan | novusTenGigLanFcoe | krakenFourHundredGigLan | krakenFourHundredGigLanFcoe | aresOneFourHundredGigLan | aresOneFourHundredGigLanFcoe | uhdOneHundredGigLan | novus5GTenTwentyFiveGigLan | novus5GTenTwentyFiveGigLanFcoe | starFourHundredGigLan | starFourHundredGigLanFcoe | ravenEightHundredGigLan | ravenEightHundredGigLanFcoe | aresOneEightHundredGigLanQddC | aresOneEightHundredGigLanQddCFcoe | rangerHundredGigLan | rangerHundredGigLanFcoe | aresOneEightHundredGigLanOsfpC | aresOneEightHundredGigLanOsfpCFcoe | aresOneM | aresOneMFcoe)): Indicates the types of ports for configuration to choose from. Raises ------ @@ -658,7 +745,7 @@ def find(self, CurrentType=None): Args ---- - - CurrentType (str(ethernet | ethernetvm | ethernetFcoe | atm | pos | tenGigLan | tenGigLanFcoe | fortyGigLan | fortyGigLanFcoe | tenGigWan | tenGigWanFcoe | hundredGigLan | hundredGigLanFcoe | tenFortyHundredGigLan | tenFortyHundredGigLanFcoe | fc | ethernetImpairment | novusHundredGigLan | novusHundredGigLanFcoe | novusTenGigLan | novusTenGigLanFcoe | krakenFourHundredGigLan | krakenFourHundredGigLanFcoe | aresOneFourHundredGigLan | aresOneFourHundredGigLanFcoe | uhdOneHundredGigLan | novus5GTenTwentyFiveGigLan | novus5GTenTwentyFiveGigLanFcoe | starFourHundredGigLan | starFourHundredGigLanFcoe | ravenEightHundredGigLan | ravenEightHundredGigLanFcoe | aresOneEightHundredGigLanQddC | aresOneEightHundredGigLanQddCFcoe)): Indicates the types of ports for configuration to choose from. + - CurrentType (str(ethernet | ethernetvm | novusmini | ethernetFcoe | atm | pos | tenGigLan | tenGigLanFcoe | fortyGigLan | fortyGigLanFcoe | tenGigWan | tenGigWanFcoe | hundredGigLan | hundredGigLanFcoe | tenFortyHundredGigLan | tenFortyHundredGigLanFcoe | fc | ethernetImpairment | novusHundredGigLan | novusHundredGigLanFcoe | novusTenGigLan | novusTenGigLanFcoe | krakenFourHundredGigLan | krakenFourHundredGigLanFcoe | aresOneFourHundredGigLan | aresOneFourHundredGigLanFcoe | uhdOneHundredGigLan | novus5GTenTwentyFiveGigLan | novus5GTenTwentyFiveGigLanFcoe | starFourHundredGigLan | starFourHundredGigLanFcoe | ravenEightHundredGigLan | ravenEightHundredGigLanFcoe | aresOneEightHundredGigLanQddC | aresOneEightHundredGigLanQddCFcoe | rangerHundredGigLan | rangerHundredGigLanFcoe | aresOneEightHundredGigLanOsfpC | aresOneEightHundredGigLanOsfpCFcoe | aresOneM | aresOneMFcoe)): Indicates the types of ports for configuration to choose from. Returns ------- diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/l1config/novus5gtentwentyfivegiglan/novus5gtentwentyfivegiglan.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/l1config/novus5gtentwentyfivegiglan/novus5gtentwentyfivegiglan.py index 2e6495845..9aaf5d468 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/l1config/novus5gtentwentyfivegiglan/novus5gtentwentyfivegiglan.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/l1config/novus5gtentwentyfivegiglan/novus5gtentwentyfivegiglan.py @@ -182,7 +182,7 @@ def EnableAutoNegotiation(self, value): @property def EnablePPM(self): # type: () -> bool - """ + """DEPRECATED Returns ------- - bool: If true, enables the portsppm. @@ -447,7 +447,7 @@ def LoopbackMode(self, value): @property def Ppm(self): # type: () -> int - """ + """DEPRECATED Returns ------- - number: Indicates the value that needs to be adjusted for the line transmit frequency. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/l1config/novushundredgiglan/novushundredgiglan.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/l1config/novushundredgiglan/novushundredgiglan.py index 5f2396a03..a4a70d3ea 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/l1config/novushundredgiglan/novushundredgiglan.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/l1config/novushundredgiglan/novushundredgiglan.py @@ -202,7 +202,7 @@ def EnableAutoNegotiation(self, value): @property def EnablePPM(self): # type: () -> bool - """ + """DEPRECATED Returns ------- - bool: If true, enables the portsppm. @@ -467,7 +467,7 @@ def LoopbackMode(self, value): @property def Ppm(self): # type: () -> int - """ + """DEPRECATED Returns ------- - number: Indicates the value that needs to be adjusted for the line transmit frequency. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/l1config/novusmini/__init__.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/l1config/novusmini/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/l1config/novusmini/novusmini.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/l1config/novusmini/novusmini.py new file mode 100644 index 000000000..37ea39b9c --- /dev/null +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/l1config/novusmini/novusmini.py @@ -0,0 +1,229 @@ +# MIT LICENSE +# +# Copyright 1997 - 2020 by IXIA Keysight +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), +# to deal in the Software without restriction, including without limitation +# the rights to use, copy, modify, merge, publish, distribute, sublicense, +# and/or sell copies of the Software, and to permit persons to whom the +# Software is furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +# THE SOFTWARE. +import sys +from ixnetwork_restpy.base import Base +from ixnetwork_restpy.files import Files + +if sys.version_info >= (3, 5): + from typing import List, Any, Union + + +class NovusMini(Base): + """ + The NovusMini class encapsulates a required novusMini resource which will be retrieved from the server every time the property is accessed. + """ + + __slots__ = () + _SDM_NAME = "novusMini" + _SDM_ATT_MAP = { + "AutoInstrumentation": "autoInstrumentation", + "AvailableSpeeds": "availableSpeeds", + "CanModifySpeed": "canModifySpeed", + "CanSetMultipleSpeeds": "canSetMultipleSpeeds", + "Loopback": "loopback", + "Mtu": "mtu", + "SelectedSpeeds": "selectedSpeeds", + "Speed": "speed", + } + _SDM_ENUM_MAP = { + "autoInstrumentation": ["endOfFrame", "floating"], + "speed": ["speed1000", "speed100fd"], + } + + def __init__(self, parent, list_op=False): + super(NovusMini, self).__init__(parent, list_op) + + @property + def AutoInstrumentation(self): + # type: () -> str + """ + Returns + ------- + - str(endOfFrame | floating): The auto instrumentation mode. + """ + return self._get_attribute(self._SDM_ATT_MAP["AutoInstrumentation"]) + + @AutoInstrumentation.setter + def AutoInstrumentation(self, value): + # type: (str) -> None + self._set_attribute(self._SDM_ATT_MAP["AutoInstrumentation"], value) + + @property + def AvailableSpeeds(self): + # type: () -> List[str] + """ + Returns + ------- + - list(str[speed100fd | speed1000]): Which speeds are available for the current media and AN settings. + """ + return self._get_attribute(self._SDM_ATT_MAP["AvailableSpeeds"]) + + @property + def CanModifySpeed(self): + # type: () -> bool + """ + Returns + ------- + - bool: Returns true/false depending upon if the port can change speed for the current media and AN settings. + """ + return self._get_attribute(self._SDM_ATT_MAP["CanModifySpeed"]) + + @property + def CanSetMultipleSpeeds(self): + # type: () -> bool + """ + Returns + ------- + - bool: Can this port selectmultiple speeds for the current media and AN settings. + """ + return self._get_attribute(self._SDM_ATT_MAP["CanSetMultipleSpeeds"]) + + @property + def Loopback(self): + # type: () -> bool + """ + Returns + ------- + - bool: If enabled, the port is set to internally loopback from transmit to receive. + """ + return self._get_attribute(self._SDM_ATT_MAP["Loopback"]) + + @property + def Mtu(self): + # type: () -> int + """ + Returns + ------- + - number: + """ + return self._get_attribute(self._SDM_ATT_MAP["Mtu"]) + + @Mtu.setter + def Mtu(self, value): + # type: (int) -> None + self._set_attribute(self._SDM_ATT_MAP["Mtu"], value) + + @property + def SelectedSpeeds(self): + # type: () -> List[str] + """ + Returns + ------- + - list(str[speed100fd | speed1000]): Which speeds are selected for the current media and AN settings. + """ + return self._get_attribute(self._SDM_ATT_MAP["SelectedSpeeds"]) + + @SelectedSpeeds.setter + def SelectedSpeeds(self, value): + # type: (List[str]) -> None + self._set_attribute(self._SDM_ATT_MAP["SelectedSpeeds"], value) + + @property + def Speed(self): + # type: () -> str + """ + Returns + ------- + - str(speed1000 | speed100fd): Select one of the enums to set the speed of the port. + """ + return self._get_attribute(self._SDM_ATT_MAP["Speed"]) + + @Speed.setter + def Speed(self, value): + # type: (str) -> None + self._set_attribute(self._SDM_ATT_MAP["Speed"], value) + + def update( + self, AutoInstrumentation=None, Mtu=None, SelectedSpeeds=None, Speed=None + ): + # type: (str, int, List[str], str) -> NovusMini + """Updates novusMini resource on the server. + + Args + ---- + - AutoInstrumentation (str(endOfFrame | floating)): The auto instrumentation mode. + - Mtu (number): + - SelectedSpeeds (list(str[speed100fd | speed1000])): Which speeds are selected for the current media and AN settings. + - Speed (str(speed1000 | speed100fd)): Select one of the enums to set the speed of the port. + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + return self._update(self._map_locals(self._SDM_ATT_MAP, locals())) + + def find( + self, + AutoInstrumentation=None, + AvailableSpeeds=None, + CanModifySpeed=None, + CanSetMultipleSpeeds=None, + Loopback=None, + Mtu=None, + SelectedSpeeds=None, + Speed=None, + ): + # type: (str, List[str], bool, bool, bool, int, List[str], str) -> NovusMini + """Finds and retrieves novusMini resources from the server. + + All named parameters are evaluated on the server using regex. The named parameters can be used to selectively retrieve novusMini resources from the server. + To retrieve an exact match ensure the parameter value starts with ^ and ends with $ + By default the find method takes no parameters and will retrieve all novusMini resources from the server. + + Args + ---- + - AutoInstrumentation (str(endOfFrame | floating)): The auto instrumentation mode. + - AvailableSpeeds (list(str[speed100fd | speed1000])): Which speeds are available for the current media and AN settings. + - CanModifySpeed (bool): Returns true/false depending upon if the port can change speed for the current media and AN settings. + - CanSetMultipleSpeeds (bool): Can this port selectmultiple speeds for the current media and AN settings. + - Loopback (bool): If enabled, the port is set to internally loopback from transmit to receive. + - Mtu (number): + - SelectedSpeeds (list(str[speed100fd | speed1000])): Which speeds are selected for the current media and AN settings. + - Speed (str(speed1000 | speed100fd)): Select one of the enums to set the speed of the port. + + Returns + ------- + - self: This instance with matching novusMini resources retrieved from the server available through an iterator or index + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + return self._select(self._map_locals(self._SDM_ATT_MAP, locals())) + + def read(self, href): + """Retrieves a single instance of novusMini data from the server. + + Args + ---- + - href (str): An href to the instance to be retrieved + + Returns + ------- + - self: This instance with the novusMini resources from the server available through an iterator or index + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + return self._read(href) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/l1config/novustengiglan/novustengiglan.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/l1config/novustengiglan/novustengiglan.py index 47fc3f810..c78b00df6 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/l1config/novustengiglan/novustengiglan.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/l1config/novustengiglan/novustengiglan.py @@ -37,9 +37,11 @@ class NovusTenGigLan(Base): _SDM_ATT_MAP = { "AutoInstrumentation": "autoInstrumentation", "AutoNegotiate": "autoNegotiate", + "AutoNegotiatePauseAdvertisement": "autoNegotiatePauseAdvertisement", "AvailableSpeeds": "availableSpeeds", "CanModifySpeed": "canModifySpeed", "CanSetMultipleSpeeds": "canSetMultipleSpeeds", + "EnableIntrinsicLatencyAdjustment": "enableIntrinsicLatencyAdjustment", "EnablePPM": "enablePPM", "EnabledFlowControl": "enabledFlowControl", "FlowControlDirectedAddress": "flowControlDirectedAddress", @@ -51,18 +53,28 @@ class NovusTenGigLan(Base): "NegotiatePrimarySecondary": "negotiatePrimarySecondary", "Ppm": "ppm", "PrimarySecondaryMode": "primarySecondaryMode", + "RxExtraIntrinsicLatency": "rxExtraIntrinsicLatency", "SelectedSpeeds": "selectedSpeeds", "Speed": "speed", "SpeedAuto": "speedAuto", + "TxExtraIntrinsicLatency": "txExtraIntrinsicLatency", "TxIgnoreRxLinkFaults": "txIgnoreRxLinkFaults", } _SDM_ENUM_MAP = { "autoInstrumentation": ["endOfFrame", "floating"], + "autoNegotiatePauseAdvertisement": ["none", "both", "asymmetric", "fullDuplex"], "loopbackMode": ["none", "lineLoopback", "internalLoopback"], "masterSlaveMode": ["master", "slave"], "media": ["copper", "fiber", "sgmii"], "primarySecondaryMode": ["primary", "secondary"], - "speed": ["speed1000", "speed100fd", "speed10g", "speed2.5g", "speed5g"], + "speed": [ + "speed1000", + "speed100fd", + "speed10fd", + "speed10g", + "speed2.5g", + "speed5g", + ], } def __init__(self, parent, list_op=False): @@ -138,13 +150,28 @@ def AutoNegotiate(self, value): # type: (bool) -> None self._set_attribute(self._SDM_ATT_MAP["AutoNegotiate"], value) + @property + def AutoNegotiatePauseAdvertisement(self): + # type: () -> str + """ + Returns + ------- + - str(none | both | asymmetric | fullDuplex): Auto Negotiate Pause Advertisement. + """ + return self._get_attribute(self._SDM_ATT_MAP["AutoNegotiatePauseAdvertisement"]) + + @AutoNegotiatePauseAdvertisement.setter + def AutoNegotiatePauseAdvertisement(self, value): + # type: (str) -> None + self._set_attribute(self._SDM_ATT_MAP["AutoNegotiatePauseAdvertisement"], value) + @property def AvailableSpeeds(self): # type: () -> List[str] """ Returns ------- - - list(str[speed100fd | speed1000 | speed2.5g | speed5g | speed10g]): Which speeds are available for the current media and AN settings. + - list(str[speed10fd | speed100fd | speed1000 | speed2.5g | speed5g | speed10g]): Which speeds are available for the current media and AN settings. """ return self._get_attribute(self._SDM_ATT_MAP["AvailableSpeeds"]) @@ -169,11 +196,30 @@ def CanSetMultipleSpeeds(self): return self._get_attribute(self._SDM_ATT_MAP["CanSetMultipleSpeeds"]) @property - def EnablePPM(self): + def EnableIntrinsicLatencyAdjustment(self): # type: () -> bool """ Returns ------- + - bool: If true, enables intrinsic latency adjustmnet on the port. + """ + return self._get_attribute( + self._SDM_ATT_MAP["EnableIntrinsicLatencyAdjustment"] + ) + + @EnableIntrinsicLatencyAdjustment.setter + def EnableIntrinsicLatencyAdjustment(self, value): + # type: (bool) -> None + self._set_attribute( + self._SDM_ATT_MAP["EnableIntrinsicLatencyAdjustment"], value + ) + + @property + def EnablePPM(self): + # type: () -> bool + """DEPRECATED + Returns + ------- - bool: If true, enables the portsppm. """ return self._get_attribute(self._SDM_ATT_MAP["EnablePPM"]) @@ -306,7 +352,7 @@ def NegotiatePrimarySecondary(self, value): @property def Ppm(self): # type: () -> int - """ + """DEPRECATED Returns ------- - number: Indicates the value that needs to be adjusted for the line transmit frequency. @@ -333,13 +379,28 @@ def PrimarySecondaryMode(self, value): # type: (str) -> None self._set_attribute(self._SDM_ATT_MAP["PrimarySecondaryMode"], value) + @property + def RxExtraIntrinsicLatency(self): + # type: () -> int + """ + Returns + ------- + - number: Rx Extra Intrinsic Latency value in nano seconds. + """ + return self._get_attribute(self._SDM_ATT_MAP["RxExtraIntrinsicLatency"]) + + @RxExtraIntrinsicLatency.setter + def RxExtraIntrinsicLatency(self, value): + # type: (int) -> None + self._set_attribute(self._SDM_ATT_MAP["RxExtraIntrinsicLatency"], value) + @property def SelectedSpeeds(self): # type: () -> List[str] """ Returns ------- - - list(str[speed100fd | speed1000 | speed2.5g | speed5g | speed10g]): Which speeds are selected for the current media and AN settings. + - list(str[speed10fd | speed100fd | speed1000 | speed2.5g | speed5g | speed10g]): Which speeds are selected for the current media and AN settings. """ return self._get_attribute(self._SDM_ATT_MAP["SelectedSpeeds"]) @@ -354,7 +415,7 @@ def Speed(self): """ Returns ------- - - str(speed1000 | speed100fd | speed10g | speed2.5g | speed5g): NOT DEFINED + - str(speed1000 | speed100fd | speed10fd | speed10g | speed2.5g | speed5g): NOT DEFINED """ return self._get_attribute(self._SDM_ATT_MAP["Speed"]) @@ -369,7 +430,7 @@ def SpeedAuto(self): """ Returns ------- - - list(str[speed1000 | speed100fd | speed10g | speed2.5g | speed5g]): + - list(str[speed1000 | speed100fd | speed10fd | speed10g | speed2.5g | speed5g]): """ return self._get_attribute(self._SDM_ATT_MAP["SpeedAuto"]) @@ -378,6 +439,21 @@ def SpeedAuto(self, value): # type: (List[str]) -> None self._set_attribute(self._SDM_ATT_MAP["SpeedAuto"], value) + @property + def TxExtraIntrinsicLatency(self): + # type: () -> int + """ + Returns + ------- + - number: Tx Extra Intrinsic Latency value in nano seconds. + """ + return self._get_attribute(self._SDM_ATT_MAP["TxExtraIntrinsicLatency"]) + + @TxExtraIntrinsicLatency.setter + def TxExtraIntrinsicLatency(self, value): + # type: (int) -> None + self._set_attribute(self._SDM_ATT_MAP["TxExtraIntrinsicLatency"], value) + @property def TxIgnoreRxLinkFaults(self): # type: () -> bool @@ -397,6 +473,8 @@ def update( self, AutoInstrumentation=None, AutoNegotiate=None, + AutoNegotiatePauseAdvertisement=None, + EnableIntrinsicLatencyAdjustment=None, EnablePPM=None, EnabledFlowControl=None, FlowControlDirectedAddress=None, @@ -408,18 +486,22 @@ def update( NegotiatePrimarySecondary=None, Ppm=None, PrimarySecondaryMode=None, + RxExtraIntrinsicLatency=None, SelectedSpeeds=None, Speed=None, SpeedAuto=None, + TxExtraIntrinsicLatency=None, TxIgnoreRxLinkFaults=None, ): - # type: (str, bool, bool, bool, str, bool, str, str, str, bool, bool, int, str, List[str], str, List[str], bool) -> NovusTenGigLan + # type: (str, bool, str, bool, bool, bool, str, bool, str, str, str, bool, bool, int, str, int, List[str], str, List[str], int, bool) -> NovusTenGigLan """Updates novusTenGigLan resource on the server. Args ---- - AutoInstrumentation (str(endOfFrame | floating)): The auto instrumentation mode. - AutoNegotiate (bool): If enabled, allows autonegotiation between ports for speed. + - AutoNegotiatePauseAdvertisement (str(none | both | asymmetric | fullDuplex)): Auto Negotiate Pause Advertisement. + - EnableIntrinsicLatencyAdjustment (bool): If true, enables intrinsic latency adjustmnet on the port. - EnablePPM (bool): If true, enables the portsppm. - EnabledFlowControl (bool): If true, enables the port's MAC flow control mechanisms to listen for a directed address pause message. - FlowControlDirectedAddress (str): The 48-bit MAC address that the port listens on for a directed pause. @@ -431,9 +513,11 @@ def update( - NegotiatePrimarySecondary (bool): - Ppm (number): Indicates the value that needs to be adjusted for the line transmit frequency. - PrimarySecondaryMode (str(primary | secondary)): - - SelectedSpeeds (list(str[speed100fd | speed1000 | speed2.5g | speed5g | speed10g])): Which speeds are selected for the current media and AN settings. - - Speed (str(speed1000 | speed100fd | speed10g | speed2.5g | speed5g)): NOT DEFINED - - SpeedAuto (list(str[speed1000 | speed100fd | speed10g | speed2.5g | speed5g])): + - RxExtraIntrinsicLatency (number): Rx Extra Intrinsic Latency value in nano seconds. + - SelectedSpeeds (list(str[speed10fd | speed100fd | speed1000 | speed2.5g | speed5g | speed10g])): Which speeds are selected for the current media and AN settings. + - Speed (str(speed1000 | speed100fd | speed10fd | speed10g | speed2.5g | speed5g)): NOT DEFINED + - SpeedAuto (list(str[speed1000 | speed100fd | speed10fd | speed10g | speed2.5g | speed5g])): + - TxExtraIntrinsicLatency (number): Tx Extra Intrinsic Latency value in nano seconds. - TxIgnoreRxLinkFaults (bool): If enabled, will allow transmission of packets even if the receive link is down. Raises @@ -446,9 +530,11 @@ def find( self, AutoInstrumentation=None, AutoNegotiate=None, + AutoNegotiatePauseAdvertisement=None, AvailableSpeeds=None, CanModifySpeed=None, CanSetMultipleSpeeds=None, + EnableIntrinsicLatencyAdjustment=None, EnablePPM=None, EnabledFlowControl=None, FlowControlDirectedAddress=None, @@ -460,12 +546,14 @@ def find( NegotiatePrimarySecondary=None, Ppm=None, PrimarySecondaryMode=None, + RxExtraIntrinsicLatency=None, SelectedSpeeds=None, Speed=None, SpeedAuto=None, + TxExtraIntrinsicLatency=None, TxIgnoreRxLinkFaults=None, ): - # type: (str, bool, List[str], bool, bool, bool, bool, str, bool, str, str, str, bool, bool, int, str, List[str], str, List[str], bool) -> NovusTenGigLan + # type: (str, bool, str, List[str], bool, bool, bool, bool, bool, str, bool, str, str, str, bool, bool, int, str, int, List[str], str, List[str], int, bool) -> NovusTenGigLan """Finds and retrieves novusTenGigLan resources from the server. All named parameters are evaluated on the server using regex. The named parameters can be used to selectively retrieve novusTenGigLan resources from the server. @@ -476,9 +564,11 @@ def find( ---- - AutoInstrumentation (str(endOfFrame | floating)): The auto instrumentation mode. - AutoNegotiate (bool): If enabled, allows autonegotiation between ports for speed. - - AvailableSpeeds (list(str[speed100fd | speed1000 | speed2.5g | speed5g | speed10g])): Which speeds are available for the current media and AN settings. + - AutoNegotiatePauseAdvertisement (str(none | both | asymmetric | fullDuplex)): Auto Negotiate Pause Advertisement. + - AvailableSpeeds (list(str[speed10fd | speed100fd | speed1000 | speed2.5g | speed5g | speed10g])): Which speeds are available for the current media and AN settings. - CanModifySpeed (bool): Returns true/false depending upon if the port can change speed for the current media and AN settings. - CanSetMultipleSpeeds (bool): Can this port selectmultiple speeds for the current media and AN settings. + - EnableIntrinsicLatencyAdjustment (bool): If true, enables intrinsic latency adjustmnet on the port. - EnablePPM (bool): If true, enables the portsppm. - EnabledFlowControl (bool): If true, enables the port's MAC flow control mechanisms to listen for a directed address pause message. - FlowControlDirectedAddress (str): The 48-bit MAC address that the port listens on for a directed pause. @@ -490,9 +580,11 @@ def find( - NegotiatePrimarySecondary (bool): - Ppm (number): Indicates the value that needs to be adjusted for the line transmit frequency. - PrimarySecondaryMode (str(primary | secondary)): - - SelectedSpeeds (list(str[speed100fd | speed1000 | speed2.5g | speed5g | speed10g])): Which speeds are selected for the current media and AN settings. - - Speed (str(speed1000 | speed100fd | speed10g | speed2.5g | speed5g)): NOT DEFINED - - SpeedAuto (list(str[speed1000 | speed100fd | speed10g | speed2.5g | speed5g])): + - RxExtraIntrinsicLatency (number): Rx Extra Intrinsic Latency value in nano seconds. + - SelectedSpeeds (list(str[speed10fd | speed100fd | speed1000 | speed2.5g | speed5g | speed10g])): Which speeds are selected for the current media and AN settings. + - Speed (str(speed1000 | speed100fd | speed10fd | speed10g | speed2.5g | speed5g)): NOT DEFINED + - SpeedAuto (list(str[speed1000 | speed100fd | speed10fd | speed10g | speed2.5g | speed5g])): + - TxExtraIntrinsicLatency (number): Tx Extra Intrinsic Latency value in nano seconds. - TxIgnoreRxLinkFaults (bool): If enabled, will allow transmission of packets even if the receive link is down. Returns diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/l1config/pos/pos.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/l1config/pos/pos.py index 2693622e0..f653ecf60 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/l1config/pos/pos.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/l1config/pos/pos.py @@ -204,7 +204,7 @@ def DataScrambling(self, value): @property def EnablePPM(self): # type: () -> bool - """ + """DEPRECATED Returns ------- - bool: If true, enables the portsppm. @@ -264,7 +264,7 @@ def PayloadType(self, value): @property def Ppm(self): # type: () -> int - """ + """DEPRECATED Returns ------- - number: Indicates the value that needs to be adjusted for the line transmit frequency. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/l1config/rangerhundredgiglan/__init__.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/l1config/rangerhundredgiglan/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/l1config/rangerhundredgiglan/fcoe/__init__.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/l1config/rangerhundredgiglan/fcoe/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/l1config/rangerhundredgiglan/fcoe/fcoe.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/l1config/rangerhundredgiglan/fcoe/fcoe.py new file mode 100644 index 000000000..297c75b71 --- /dev/null +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/l1config/rangerhundredgiglan/fcoe/fcoe.py @@ -0,0 +1,270 @@ +# MIT LICENSE +# +# Copyright 1997 - 2020 by IXIA Keysight +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), +# to deal in the Software without restriction, including without limitation +# the rights to use, copy, modify, merge, publish, distribute, sublicense, +# and/or sell copies of the Software, and to permit persons to whom the +# Software is furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +# THE SOFTWARE. +import sys +from ixnetwork_restpy.base import Base +from ixnetwork_restpy.files import Files + +if sys.version_info >= (3, 5): + from typing import List, Any, Union + + +class Fcoe(Base): + """ + The Fcoe class encapsulates a required fcoe resource which will be retrieved from the server every time the property is accessed. + """ + + __slots__ = () + _SDM_NAME = "fcoe" + _SDM_ATT_MAP = { + "EnablePFCPauseDelay": "enablePFCPauseDelay", + "FlowControlType": "flowControlType", + "PfcPauseDelay": "pfcPauseDelay", + "PfcPriorityGroups": "pfcPriorityGroups", + "PfcQueueGroupSize": "pfcQueueGroupSize", + "PfcQueueGroups": "pfcQueueGroups", + "PriorityGroupSize": "priorityGroupSize", + "SupportDataCenterMode": "supportDataCenterMode", + } + _SDM_ENUM_MAP = { + "flowControlType": ["ieee802.1Qbb", "ieee802.3x"], + "pfcQueueGroupSize": [ + "pfcQueueGroupSize-1", + "pfcQueueGroupSize-4", + "pfcQueueGroupSize-8", + ], + "priorityGroupSize": [ + "priorityGroupSize-1", + "priorityGroupSize-4", + "priorityGroupSize-8", + ], + } + + def __init__(self, parent, list_op=False): + super(Fcoe, self).__init__(parent, list_op) + + @property + def EnablePFCPauseDelay(self): + # type: () -> bool + """ + Returns + ------- + - bool: If true, PFC pause delay is enabled. + """ + return self._get_attribute(self._SDM_ATT_MAP["EnablePFCPauseDelay"]) + + @EnablePFCPauseDelay.setter + def EnablePFCPauseDelay(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP["EnablePFCPauseDelay"], value) + + @property + def FlowControlType(self): + # type: () -> str + """ + Returns + ------- + - str(ieee802.1Qbb | ieee802.3x): The type of flow control to be selected. + """ + return self._get_attribute(self._SDM_ATT_MAP["FlowControlType"]) + + @FlowControlType.setter + def FlowControlType(self, value): + # type: (str) -> None + self._set_attribute(self._SDM_ATT_MAP["FlowControlType"], value) + + @property + def PfcPauseDelay(self): + # type: () -> int + """ + Returns + ------- + - number: If selected, enables to increase the number of frames that is sent when a pause frame is received. + """ + return self._get_attribute(self._SDM_ATT_MAP["PfcPauseDelay"]) + + @PfcPauseDelay.setter + def PfcPauseDelay(self, value): + # type: (int) -> None + self._set_attribute(self._SDM_ATT_MAP["PfcPauseDelay"], value) + + @property + def PfcPriorityGroups(self): + # type: () -> List[str] + """DEPRECATED + Returns + ------- + - list(str): When you select 802.1Qbb as the flowControlType, you can use the PFC/Priority settings to map each of the eight PFC priorities to one of the two/four/eight Priority Groups (or to None). The PFCs are numbered 0-7. + """ + return self._get_attribute(self._SDM_ATT_MAP["PfcPriorityGroups"]) + + @PfcPriorityGroups.setter + def PfcPriorityGroups(self, value): + # type: (List[str]) -> None + self._set_attribute(self._SDM_ATT_MAP["PfcPriorityGroups"], value) + + @property + def PfcQueueGroupSize(self): + # type: () -> str + """ + Returns + ------- + - str(pfcQueueGroupSize-1 | pfcQueueGroupSize-4 | pfcQueueGroupSize-8): Max PFC queue group size + """ + return self._get_attribute(self._SDM_ATT_MAP["PfcQueueGroupSize"]) + + @PfcQueueGroupSize.setter + def PfcQueueGroupSize(self, value): + # type: (str) -> None + self._set_attribute(self._SDM_ATT_MAP["PfcQueueGroupSize"], value) + + @property + def PfcQueueGroups(self): + # type: () -> List[str] + """ + Returns + ------- + - list(str): When you select 802.1Qbb as the flowControlType, you can use the Priority/PFC Queue settings to map each of the eight PFC priorities to one of the two/four/eight PFC Queue Groups (or to None). + """ + return self._get_attribute(self._SDM_ATT_MAP["PfcQueueGroups"]) + + @PfcQueueGroups.setter + def PfcQueueGroups(self, value): + # type: (List[str]) -> None + self._set_attribute(self._SDM_ATT_MAP["PfcQueueGroups"], value) + + @property + def PriorityGroupSize(self): + # type: () -> str + """DEPRECATED + Returns + ------- + - str(priorityGroupSize-1 | priorityGroupSize-4 | priorityGroupSize-8): The maximum size of a Priority Group. + """ + return self._get_attribute(self._SDM_ATT_MAP["PriorityGroupSize"]) + + @PriorityGroupSize.setter + def PriorityGroupSize(self, value): + # type: (str) -> None + self._set_attribute(self._SDM_ATT_MAP["PriorityGroupSize"], value) + + @property + def SupportDataCenterMode(self): + # type: () -> bool + """ + Returns + ------- + - bool: If true, this mode automatically sets Transmit Mode to Interleaved Streams. + """ + return self._get_attribute(self._SDM_ATT_MAP["SupportDataCenterMode"]) + + @SupportDataCenterMode.setter + def SupportDataCenterMode(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP["SupportDataCenterMode"], value) + + def update( + self, + EnablePFCPauseDelay=None, + FlowControlType=None, + PfcPauseDelay=None, + PfcPriorityGroups=None, + PfcQueueGroupSize=None, + PfcQueueGroups=None, + PriorityGroupSize=None, + SupportDataCenterMode=None, + ): + # type: (bool, str, int, List[str], str, List[str], str, bool) -> Fcoe + """Updates fcoe resource on the server. + + Args + ---- + - EnablePFCPauseDelay (bool): If true, PFC pause delay is enabled. + - FlowControlType (str(ieee802.1Qbb | ieee802.3x)): The type of flow control to be selected. + - PfcPauseDelay (number): If selected, enables to increase the number of frames that is sent when a pause frame is received. + - PfcPriorityGroups (list(str)): When you select 802.1Qbb as the flowControlType, you can use the PFC/Priority settings to map each of the eight PFC priorities to one of the two/four/eight Priority Groups (or to None). The PFCs are numbered 0-7. + - PfcQueueGroupSize (str(pfcQueueGroupSize-1 | pfcQueueGroupSize-4 | pfcQueueGroupSize-8)): Max PFC queue group size + - PfcQueueGroups (list(str)): When you select 802.1Qbb as the flowControlType, you can use the Priority/PFC Queue settings to map each of the eight PFC priorities to one of the two/four/eight PFC Queue Groups (or to None). + - PriorityGroupSize (str(priorityGroupSize-1 | priorityGroupSize-4 | priorityGroupSize-8)): The maximum size of a Priority Group. + - SupportDataCenterMode (bool): If true, this mode automatically sets Transmit Mode to Interleaved Streams. + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + return self._update(self._map_locals(self._SDM_ATT_MAP, locals())) + + def find( + self, + EnablePFCPauseDelay=None, + FlowControlType=None, + PfcPauseDelay=None, + PfcPriorityGroups=None, + PfcQueueGroupSize=None, + PfcQueueGroups=None, + PriorityGroupSize=None, + SupportDataCenterMode=None, + ): + # type: (bool, str, int, List[str], str, List[str], str, bool) -> Fcoe + """Finds and retrieves fcoe resources from the server. + + All named parameters are evaluated on the server using regex. The named parameters can be used to selectively retrieve fcoe resources from the server. + To retrieve an exact match ensure the parameter value starts with ^ and ends with $ + By default the find method takes no parameters and will retrieve all fcoe resources from the server. + + Args + ---- + - EnablePFCPauseDelay (bool): If true, PFC pause delay is enabled. + - FlowControlType (str(ieee802.1Qbb | ieee802.3x)): The type of flow control to be selected. + - PfcPauseDelay (number): If selected, enables to increase the number of frames that is sent when a pause frame is received. + - PfcPriorityGroups (list(str)): When you select 802.1Qbb as the flowControlType, you can use the PFC/Priority settings to map each of the eight PFC priorities to one of the two/four/eight Priority Groups (or to None). The PFCs are numbered 0-7. + - PfcQueueGroupSize (str(pfcQueueGroupSize-1 | pfcQueueGroupSize-4 | pfcQueueGroupSize-8)): Max PFC queue group size + - PfcQueueGroups (list(str)): When you select 802.1Qbb as the flowControlType, you can use the Priority/PFC Queue settings to map each of the eight PFC priorities to one of the two/four/eight PFC Queue Groups (or to None). + - PriorityGroupSize (str(priorityGroupSize-1 | priorityGroupSize-4 | priorityGroupSize-8)): The maximum size of a Priority Group. + - SupportDataCenterMode (bool): If true, this mode automatically sets Transmit Mode to Interleaved Streams. + + Returns + ------- + - self: This instance with matching fcoe resources retrieved from the server available through an iterator or index + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + return self._select(self._map_locals(self._SDM_ATT_MAP, locals())) + + def read(self, href): + """Retrieves a single instance of fcoe data from the server. + + Args + ---- + - href (str): An href to the instance to be retrieved + + Returns + ------- + - self: This instance with the fcoe resources from the server available through an iterator or index + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + return self._read(href) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/l1config/rangerhundredgiglan/rangerhundredgiglan.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/l1config/rangerhundredgiglan/rangerhundredgiglan.py new file mode 100644 index 000000000..455237ec5 --- /dev/null +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/l1config/rangerhundredgiglan/rangerhundredgiglan.py @@ -0,0 +1,817 @@ +# MIT LICENSE +# +# Copyright 1997 - 2020 by IXIA Keysight +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), +# to deal in the Software without restriction, including without limitation +# the rights to use, copy, modify, merge, publish, distribute, sublicense, +# and/or sell copies of the Software, and to permit persons to whom the +# Software is furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +# THE SOFTWARE. +import sys +from ixnetwork_restpy.base import Base +from ixnetwork_restpy.files import Files + +if sys.version_info >= (3, 5): + from typing import List, Any, Union + + +class RangerHundredGigLan(Base): + """ + The RangerHundredGigLan class encapsulates a required rangerHundredGigLan resource which will be retrieved from the server every time the property is accessed. + """ + + __slots__ = () + _SDM_NAME = "rangerHundredGigLan" + _SDM_ATT_MAP = { + "AutoInstrumentation": "autoInstrumentation", + "AvailableSpeeds": "availableSpeeds", + "BadBlocksNumber": "badBlocksNumber", + "CanModifySpeed": "canModifySpeed", + "CanSetMultipleSpeeds": "canSetMultipleSpeeds", + "EnableAutoNegotiation": "enableAutoNegotiation", + "EnablePPM": "enablePPM", + "EnableRsFec": "enableRsFec", + "EnableRsFecStats": "enableRsFecStats", + "EnabledFlowControl": "enabledFlowControl", + "FirecodeAdvertise": "firecodeAdvertise", + "FirecodeForceOff": "firecodeForceOff", + "FirecodeForceOn": "firecodeForceOn", + "FirecodeRequest": "firecodeRequest", + "FlowControlDirectedAddress": "flowControlDirectedAddress", + "ForceDisableFEC": "forceDisableFEC", + "GoodBlocksNumber": "goodBlocksNumber", + "IeeeL1Defaults": "ieeeL1Defaults", + "LaserOn": "laserOn", + "LinkTraining": "linkTraining", + "LoopContinuously": "loopContinuously", + "LoopCountNumber": "loopCountNumber", + "Loopback": "loopback", + "LoopbackMode": "loopbackMode", + "Ppm": "ppm", + "RsFecAdvertise": "rsFecAdvertise", + "RsFecForceOn": "rsFecForceOn", + "RsFecRequest": "rsFecRequest", + "SelectedSpeeds": "selectedSpeeds", + "SendSetsMode": "sendSetsMode", + "Speed": "speed", + "StartErrorInsertion": "startErrorInsertion", + "TxIgnoreRxLinkFaults": "txIgnoreRxLinkFaults", + "TypeAOrderedSets": "typeAOrderedSets", + "TypeBOrderedSets": "typeBOrderedSets", + "UseANResults": "useANResults", + } + _SDM_ENUM_MAP = { + "autoInstrumentation": ["endOfFrame", "floating"], + "loopbackMode": ["none", "lineLoopback", "internalLoopback"], + "sendSetsMode": ["alternate", "typeAOnly", "typeBOnly"], + "speed": ["speed100g", "speed10g", "speed25g", "speed40g", "speed50g"], + "typeAOrderedSets": ["localFault", "remoteFault"], + "typeBOrderedSets": ["localFault", "remoteFault"], + } + + def __init__(self, parent, list_op=False): + super(RangerHundredGigLan, self).__init__(parent, list_op) + + @property + def Fcoe(self): + """ + Returns + ------- + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.l1config.rangerhundredgiglan.fcoe.fcoe.Fcoe): An instance of the Fcoe class + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + from ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.l1config.rangerhundredgiglan.fcoe.fcoe import ( + Fcoe, + ) + + if len(self._object_properties) > 0: + if self._properties.get("Fcoe", None) is not None: + return self._properties.get("Fcoe") + return Fcoe(self)._select() + + @property + def AutoInstrumentation(self): + # type: () -> str + """ + Returns + ------- + - str(endOfFrame | floating): The auto instrumentation mode. + """ + return self._get_attribute(self._SDM_ATT_MAP["AutoInstrumentation"]) + + @AutoInstrumentation.setter + def AutoInstrumentation(self, value): + # type: (str) -> None + self._set_attribute(self._SDM_ATT_MAP["AutoInstrumentation"], value) + + @property + def AvailableSpeeds(self): + # type: () -> List[str] + """ + Returns + ------- + - list(str[speed100g | speed25g | speed50g | speed10g | speed40g]): Which speeds are available for the current media and AN settings. + """ + return self._get_attribute(self._SDM_ATT_MAP["AvailableSpeeds"]) + + @property + def BadBlocksNumber(self): + # type: () -> int + """ + Returns + ------- + - number: + """ + return self._get_attribute(self._SDM_ATT_MAP["BadBlocksNumber"]) + + @BadBlocksNumber.setter + def BadBlocksNumber(self, value): + # type: (int) -> None + self._set_attribute(self._SDM_ATT_MAP["BadBlocksNumber"], value) + + @property + def CanModifySpeed(self): + # type: () -> bool + """ + Returns + ------- + - bool: Returns true/false depending upon if the port can change speed for the current media and AN settings. + """ + return self._get_attribute(self._SDM_ATT_MAP["CanModifySpeed"]) + + @property + def CanSetMultipleSpeeds(self): + # type: () -> bool + """ + Returns + ------- + - bool: Can this port selectmultiple speeds for the current media and AN settings. + """ + return self._get_attribute(self._SDM_ATT_MAP["CanSetMultipleSpeeds"]) + + @property + def EnableAutoNegotiation(self): + # type: () -> bool + """ + Returns + ------- + - bool: + """ + return self._get_attribute(self._SDM_ATT_MAP["EnableAutoNegotiation"]) + + @EnableAutoNegotiation.setter + def EnableAutoNegotiation(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP["EnableAutoNegotiation"], value) + + @property + def EnablePPM(self): + # type: () -> bool + """DEPRECATED + Returns + ------- + - bool: If true, enables the portsppm. + """ + return self._get_attribute(self._SDM_ATT_MAP["EnablePPM"]) + + @EnablePPM.setter + def EnablePPM(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP["EnablePPM"], value) + + @property + def EnableRsFec(self): + # type: () -> bool + """ + Returns + ------- + - bool: + """ + return self._get_attribute(self._SDM_ATT_MAP["EnableRsFec"]) + + @EnableRsFec.setter + def EnableRsFec(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP["EnableRsFec"], value) + + @property + def EnableRsFecStats(self): + # type: () -> bool + """ + Returns + ------- + - bool: + """ + return self._get_attribute(self._SDM_ATT_MAP["EnableRsFecStats"]) + + @EnableRsFecStats.setter + def EnableRsFecStats(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP["EnableRsFecStats"], value) + + @property + def EnabledFlowControl(self): + # type: () -> bool + """ + Returns + ------- + - bool: If true, enables the port's MAC flow control mechanisms to listen for a directed address pause message. + """ + return self._get_attribute(self._SDM_ATT_MAP["EnabledFlowControl"]) + + @EnabledFlowControl.setter + def EnabledFlowControl(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP["EnabledFlowControl"], value) + + @property + def FirecodeAdvertise(self): + # type: () -> bool + """ + Returns + ------- + - bool: + """ + return self._get_attribute(self._SDM_ATT_MAP["FirecodeAdvertise"]) + + @FirecodeAdvertise.setter + def FirecodeAdvertise(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP["FirecodeAdvertise"], value) + + @property + def FirecodeForceOff(self): + # type: () -> bool + """DEPRECATED + Returns + ------- + - bool: + """ + return self._get_attribute(self._SDM_ATT_MAP["FirecodeForceOff"]) + + @FirecodeForceOff.setter + def FirecodeForceOff(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP["FirecodeForceOff"], value) + + @property + def FirecodeForceOn(self): + # type: () -> bool + """ + Returns + ------- + - bool: + """ + return self._get_attribute(self._SDM_ATT_MAP["FirecodeForceOn"]) + + @FirecodeForceOn.setter + def FirecodeForceOn(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP["FirecodeForceOn"], value) + + @property + def FirecodeRequest(self): + # type: () -> bool + """ + Returns + ------- + - bool: + """ + return self._get_attribute(self._SDM_ATT_MAP["FirecodeRequest"]) + + @FirecodeRequest.setter + def FirecodeRequest(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP["FirecodeRequest"], value) + + @property + def FlowControlDirectedAddress(self): + # type: () -> str + """ + Returns + ------- + - str: The 48-bit MAC address that the port listens on for a directed pause. + """ + return self._get_attribute(self._SDM_ATT_MAP["FlowControlDirectedAddress"]) + + @FlowControlDirectedAddress.setter + def FlowControlDirectedAddress(self, value): + # type: (str) -> None + self._set_attribute(self._SDM_ATT_MAP["FlowControlDirectedAddress"], value) + + @property + def ForceDisableFEC(self): + # type: () -> bool + """ + Returns + ------- + - bool: + """ + return self._get_attribute(self._SDM_ATT_MAP["ForceDisableFEC"]) + + @ForceDisableFEC.setter + def ForceDisableFEC(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP["ForceDisableFEC"], value) + + @property + def GoodBlocksNumber(self): + # type: () -> int + """ + Returns + ------- + - number: + """ + return self._get_attribute(self._SDM_ATT_MAP["GoodBlocksNumber"]) + + @GoodBlocksNumber.setter + def GoodBlocksNumber(self, value): + # type: (int) -> None + self._set_attribute(self._SDM_ATT_MAP["GoodBlocksNumber"], value) + + @property + def IeeeL1Defaults(self): + # type: () -> bool + """ + Returns + ------- + - bool: + """ + return self._get_attribute(self._SDM_ATT_MAP["IeeeL1Defaults"]) + + @IeeeL1Defaults.setter + def IeeeL1Defaults(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP["IeeeL1Defaults"], value) + + @property + def LaserOn(self): + # type: () -> bool + """ + Returns + ------- + - bool: + """ + return self._get_attribute(self._SDM_ATT_MAP["LaserOn"]) + + @LaserOn.setter + def LaserOn(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP["LaserOn"], value) + + @property + def LinkTraining(self): + # type: () -> bool + """ + Returns + ------- + - bool: + """ + return self._get_attribute(self._SDM_ATT_MAP["LinkTraining"]) + + @property + def LoopContinuously(self): + # type: () -> bool + """ + Returns + ------- + - bool: + """ + return self._get_attribute(self._SDM_ATT_MAP["LoopContinuously"]) + + @LoopContinuously.setter + def LoopContinuously(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP["LoopContinuously"], value) + + @property + def LoopCountNumber(self): + # type: () -> int + """ + Returns + ------- + - number: + """ + return self._get_attribute(self._SDM_ATT_MAP["LoopCountNumber"]) + + @LoopCountNumber.setter + def LoopCountNumber(self, value): + # type: (int) -> None + self._set_attribute(self._SDM_ATT_MAP["LoopCountNumber"], value) + + @property + def Loopback(self): + # type: () -> bool + """ + Returns + ------- + - bool: If enabled, the port is set to internally loopback from transmit to receive. + """ + return self._get_attribute(self._SDM_ATT_MAP["Loopback"]) + + @Loopback.setter + def Loopback(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP["Loopback"], value) + + @property + def LoopbackMode(self): + # type: () -> str + """ + Returns + ------- + - str(none | lineLoopback | internalLoopback): + """ + return self._get_attribute(self._SDM_ATT_MAP["LoopbackMode"]) + + @LoopbackMode.setter + def LoopbackMode(self, value): + # type: (str) -> None + self._set_attribute(self._SDM_ATT_MAP["LoopbackMode"], value) + + @property + def Ppm(self): + # type: () -> int + """DEPRECATED + Returns + ------- + - number: Indicates the value that needs to be adjusted for the line transmit frequency. + """ + return self._get_attribute(self._SDM_ATT_MAP["Ppm"]) + + @Ppm.setter + def Ppm(self, value): + # type: (int) -> None + self._set_attribute(self._SDM_ATT_MAP["Ppm"], value) + + @property + def RsFecAdvertise(self): + # type: () -> bool + """ + Returns + ------- + - bool: + """ + return self._get_attribute(self._SDM_ATT_MAP["RsFecAdvertise"]) + + @RsFecAdvertise.setter + def RsFecAdvertise(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP["RsFecAdvertise"], value) + + @property + def RsFecForceOn(self): + # type: () -> bool + """ + Returns + ------- + - bool: + """ + return self._get_attribute(self._SDM_ATT_MAP["RsFecForceOn"]) + + @RsFecForceOn.setter + def RsFecForceOn(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP["RsFecForceOn"], value) + + @property + def RsFecRequest(self): + # type: () -> bool + """ + Returns + ------- + - bool: + """ + return self._get_attribute(self._SDM_ATT_MAP["RsFecRequest"]) + + @RsFecRequest.setter + def RsFecRequest(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP["RsFecRequest"], value) + + @property + def SelectedSpeeds(self): + # type: () -> List[str] + """ + Returns + ------- + - list(str[speed100g | speed25g | speed50g | speed10g | speed40g]): Which speeds are selected for the current media and AN settings. + """ + return self._get_attribute(self._SDM_ATT_MAP["SelectedSpeeds"]) + + @SelectedSpeeds.setter + def SelectedSpeeds(self, value): + # type: (List[str]) -> None + self._set_attribute(self._SDM_ATT_MAP["SelectedSpeeds"], value) + + @property + def SendSetsMode(self): + # type: () -> str + """ + Returns + ------- + - str(alternate | typeAOnly | typeBOnly): + """ + return self._get_attribute(self._SDM_ATT_MAP["SendSetsMode"]) + + @SendSetsMode.setter + def SendSetsMode(self, value): + # type: (str) -> None + self._set_attribute(self._SDM_ATT_MAP["SendSetsMode"], value) + + @property + def Speed(self): + # type: () -> str + """ + Returns + ------- + - str(speed100g | speed10g | speed25g | speed40g | speed50g): + """ + return self._get_attribute(self._SDM_ATT_MAP["Speed"]) + + @Speed.setter + def Speed(self, value): + # type: (str) -> None + self._set_attribute(self._SDM_ATT_MAP["Speed"], value) + + @property + def StartErrorInsertion(self): + # type: () -> bool + """ + Returns + ------- + - bool: + """ + return self._get_attribute(self._SDM_ATT_MAP["StartErrorInsertion"]) + + @StartErrorInsertion.setter + def StartErrorInsertion(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP["StartErrorInsertion"], value) + + @property + def TxIgnoreRxLinkFaults(self): + # type: () -> bool + """ + Returns + ------- + - bool: If enabled, will allow transmission of packets even if the receive link is down. + """ + return self._get_attribute(self._SDM_ATT_MAP["TxIgnoreRxLinkFaults"]) + + @TxIgnoreRxLinkFaults.setter + def TxIgnoreRxLinkFaults(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP["TxIgnoreRxLinkFaults"], value) + + @property + def TypeAOrderedSets(self): + # type: () -> str + """ + Returns + ------- + - str(localFault | remoteFault): + """ + return self._get_attribute(self._SDM_ATT_MAP["TypeAOrderedSets"]) + + @TypeAOrderedSets.setter + def TypeAOrderedSets(self, value): + # type: (str) -> None + self._set_attribute(self._SDM_ATT_MAP["TypeAOrderedSets"], value) + + @property + def TypeBOrderedSets(self): + # type: () -> str + """ + Returns + ------- + - str(localFault | remoteFault): + """ + return self._get_attribute(self._SDM_ATT_MAP["TypeBOrderedSets"]) + + @TypeBOrderedSets.setter + def TypeBOrderedSets(self, value): + # type: (str) -> None + self._set_attribute(self._SDM_ATT_MAP["TypeBOrderedSets"], value) + + @property + def UseANResults(self): + # type: () -> bool + """ + Returns + ------- + - bool: + """ + return self._get_attribute(self._SDM_ATT_MAP["UseANResults"]) + + @UseANResults.setter + def UseANResults(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP["UseANResults"], value) + + def update( + self, + AutoInstrumentation=None, + BadBlocksNumber=None, + EnableAutoNegotiation=None, + EnablePPM=None, + EnableRsFec=None, + EnableRsFecStats=None, + EnabledFlowControl=None, + FirecodeAdvertise=None, + FirecodeForceOff=None, + FirecodeForceOn=None, + FirecodeRequest=None, + FlowControlDirectedAddress=None, + ForceDisableFEC=None, + GoodBlocksNumber=None, + IeeeL1Defaults=None, + LaserOn=None, + LoopContinuously=None, + LoopCountNumber=None, + Loopback=None, + LoopbackMode=None, + Ppm=None, + RsFecAdvertise=None, + RsFecForceOn=None, + RsFecRequest=None, + SelectedSpeeds=None, + SendSetsMode=None, + Speed=None, + StartErrorInsertion=None, + TxIgnoreRxLinkFaults=None, + TypeAOrderedSets=None, + TypeBOrderedSets=None, + UseANResults=None, + ): + # type: (str, int, bool, bool, bool, bool, bool, bool, bool, bool, bool, str, bool, int, bool, bool, bool, int, bool, str, int, bool, bool, bool, List[str], str, str, bool, bool, str, str, bool) -> RangerHundredGigLan + """Updates rangerHundredGigLan resource on the server. + + Args + ---- + - AutoInstrumentation (str(endOfFrame | floating)): The auto instrumentation mode. + - BadBlocksNumber (number): + - EnableAutoNegotiation (bool): + - EnablePPM (bool): If true, enables the portsppm. + - EnableRsFec (bool): + - EnableRsFecStats (bool): + - EnabledFlowControl (bool): If true, enables the port's MAC flow control mechanisms to listen for a directed address pause message. + - FirecodeAdvertise (bool): + - FirecodeForceOff (bool): + - FirecodeForceOn (bool): + - FirecodeRequest (bool): + - FlowControlDirectedAddress (str): The 48-bit MAC address that the port listens on for a directed pause. + - ForceDisableFEC (bool): + - GoodBlocksNumber (number): + - IeeeL1Defaults (bool): + - LaserOn (bool): + - LoopContinuously (bool): + - LoopCountNumber (number): + - Loopback (bool): If enabled, the port is set to internally loopback from transmit to receive. + - LoopbackMode (str(none | lineLoopback | internalLoopback)): + - Ppm (number): Indicates the value that needs to be adjusted for the line transmit frequency. + - RsFecAdvertise (bool): + - RsFecForceOn (bool): + - RsFecRequest (bool): + - SelectedSpeeds (list(str[speed100g | speed25g | speed50g | speed10g | speed40g])): Which speeds are selected for the current media and AN settings. + - SendSetsMode (str(alternate | typeAOnly | typeBOnly)): + - Speed (str(speed100g | speed10g | speed25g | speed40g | speed50g)): + - StartErrorInsertion (bool): + - TxIgnoreRxLinkFaults (bool): If enabled, will allow transmission of packets even if the receive link is down. + - TypeAOrderedSets (str(localFault | remoteFault)): + - TypeBOrderedSets (str(localFault | remoteFault)): + - UseANResults (bool): + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + return self._update(self._map_locals(self._SDM_ATT_MAP, locals())) + + def find( + self, + AutoInstrumentation=None, + AvailableSpeeds=None, + BadBlocksNumber=None, + CanModifySpeed=None, + CanSetMultipleSpeeds=None, + EnableAutoNegotiation=None, + EnablePPM=None, + EnableRsFec=None, + EnableRsFecStats=None, + EnabledFlowControl=None, + FirecodeAdvertise=None, + FirecodeForceOff=None, + FirecodeForceOn=None, + FirecodeRequest=None, + FlowControlDirectedAddress=None, + ForceDisableFEC=None, + GoodBlocksNumber=None, + IeeeL1Defaults=None, + LaserOn=None, + LinkTraining=None, + LoopContinuously=None, + LoopCountNumber=None, + Loopback=None, + LoopbackMode=None, + Ppm=None, + RsFecAdvertise=None, + RsFecForceOn=None, + RsFecRequest=None, + SelectedSpeeds=None, + SendSetsMode=None, + Speed=None, + StartErrorInsertion=None, + TxIgnoreRxLinkFaults=None, + TypeAOrderedSets=None, + TypeBOrderedSets=None, + UseANResults=None, + ): + # type: (str, List[str], int, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, str, bool, int, bool, bool, bool, bool, int, bool, str, int, bool, bool, bool, List[str], str, str, bool, bool, str, str, bool) -> RangerHundredGigLan + """Finds and retrieves rangerHundredGigLan resources from the server. + + All named parameters are evaluated on the server using regex. The named parameters can be used to selectively retrieve rangerHundredGigLan resources from the server. + To retrieve an exact match ensure the parameter value starts with ^ and ends with $ + By default the find method takes no parameters and will retrieve all rangerHundredGigLan resources from the server. + + Args + ---- + - AutoInstrumentation (str(endOfFrame | floating)): The auto instrumentation mode. + - AvailableSpeeds (list(str[speed100g | speed25g | speed50g | speed10g | speed40g])): Which speeds are available for the current media and AN settings. + - BadBlocksNumber (number): + - CanModifySpeed (bool): Returns true/false depending upon if the port can change speed for the current media and AN settings. + - CanSetMultipleSpeeds (bool): Can this port selectmultiple speeds for the current media and AN settings. + - EnableAutoNegotiation (bool): + - EnablePPM (bool): If true, enables the portsppm. + - EnableRsFec (bool): + - EnableRsFecStats (bool): + - EnabledFlowControl (bool): If true, enables the port's MAC flow control mechanisms to listen for a directed address pause message. + - FirecodeAdvertise (bool): + - FirecodeForceOff (bool): + - FirecodeForceOn (bool): + - FirecodeRequest (bool): + - FlowControlDirectedAddress (str): The 48-bit MAC address that the port listens on for a directed pause. + - ForceDisableFEC (bool): + - GoodBlocksNumber (number): + - IeeeL1Defaults (bool): + - LaserOn (bool): + - LinkTraining (bool): + - LoopContinuously (bool): + - LoopCountNumber (number): + - Loopback (bool): If enabled, the port is set to internally loopback from transmit to receive. + - LoopbackMode (str(none | lineLoopback | internalLoopback)): + - Ppm (number): Indicates the value that needs to be adjusted for the line transmit frequency. + - RsFecAdvertise (bool): + - RsFecForceOn (bool): + - RsFecRequest (bool): + - SelectedSpeeds (list(str[speed100g | speed25g | speed50g | speed10g | speed40g])): Which speeds are selected for the current media and AN settings. + - SendSetsMode (str(alternate | typeAOnly | typeBOnly)): + - Speed (str(speed100g | speed10g | speed25g | speed40g | speed50g)): + - StartErrorInsertion (bool): + - TxIgnoreRxLinkFaults (bool): If enabled, will allow transmission of packets even if the receive link is down. + - TypeAOrderedSets (str(localFault | remoteFault)): + - TypeBOrderedSets (str(localFault | remoteFault)): + - UseANResults (bool): + + Returns + ------- + - self: This instance with matching rangerHundredGigLan resources retrieved from the server available through an iterator or index + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + return self._select(self._map_locals(self._SDM_ATT_MAP, locals())) + + def read(self, href): + """Retrieves a single instance of rangerHundredGigLan data from the server. + + Args + ---- + - href (str): An href to the instance to be retrieved + + Returns + ------- + - self: This instance with the rangerHundredGigLan resources from the server available through an iterator or index + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + return self._read(href) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/l1config/raveneighthundredgiglan/raveneighthundredgiglan.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/l1config/raveneighthundredgiglan/raveneighthundredgiglan.py index aaec1db6b..e0a2818a5 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/l1config/raveneighthundredgiglan/raveneighthundredgiglan.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/l1config/raveneighthundredgiglan/raveneighthundredgiglan.py @@ -173,7 +173,7 @@ def CanSetMultipleSpeeds(self): @property def EnablePPM(self): # type: () -> bool - """ + """DEPRECATED Returns ------- - bool: If true, enables the portsppm. @@ -308,7 +308,7 @@ def LoopbackMode(self, value): @property def Ppm(self): # type: () -> int - """ + """DEPRECATED Returns ------- - number: Indicates the value that needs to be adjusted for the line transmit frequency. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/l1config/starfourhundredgiglan/starfourhundredgiglan.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/l1config/starfourhundredgiglan/starfourhundredgiglan.py index 5d1f1eac7..44ae617d9 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/l1config/starfourhundredgiglan/starfourhundredgiglan.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/l1config/starfourhundredgiglan/starfourhundredgiglan.py @@ -233,7 +233,7 @@ def EnableAutoNegotiation(self, value): @property def EnablePPM(self): # type: () -> bool - """ + """DEPRECATED Returns ------- - bool: If true, enables the portsppm. @@ -503,7 +503,7 @@ def LoopbackMode(self, value): @property def Ppm(self): # type: () -> int - """ + """DEPRECATED Returns ------- - number: Indicates the value that needs to be adjusted for the line transmit frequency. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/l1config/tenfortyhundredgiglan/tenfortyhundredgiglan.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/l1config/tenfortyhundredgiglan/tenfortyhundredgiglan.py index 7f698ebdf..f1ae7210d 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/l1config/tenfortyhundredgiglan/tenfortyhundredgiglan.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/l1config/tenfortyhundredgiglan/tenfortyhundredgiglan.py @@ -193,7 +193,7 @@ def EnableAutoNegotiation(self, value): @property def EnablePPM(self): # type: () -> bool - """ + """DEPRECATED Returns ------- - bool: If true, enables the portsppm. @@ -388,7 +388,7 @@ def LoopbackMode(self, value): @property def Ppm(self): # type: () -> int - """ + """DEPRECATED Returns ------- - number: Indicates the value that needs to be adjusted for the line transmit frequency. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/l1config/tengiglan/tengiglan.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/l1config/tengiglan/tengiglan.py index 0232c5a0b..9b4078724 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/l1config/tengiglan/tengiglan.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/l1config/tengiglan/tengiglan.py @@ -199,7 +199,7 @@ def EnableLASIMonitoring(self, value): @property def EnablePPM(self): # type: () -> bool - """ + """DEPRECATED Returns ------- - bool: If true, enables the portsppm. @@ -274,7 +274,7 @@ def LoopbackMode(self, value): @property def Ppm(self): # type: () -> int - """ + """DEPRECATED Returns ------- - number: Indicates the value that needs to be adjusted for the line transmit frequency. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/l1config/tengigwan/tengigwan.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/l1config/tengigwan/tengigwan.py index a45ac3df2..9b07e2d3c 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/l1config/tengigwan/tengigwan.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/l1config/tengigwan/tengigwan.py @@ -179,7 +179,7 @@ def CanSetMultipleSpeeds(self): @property def EnablePPM(self): # type: () -> bool - """ + """DEPRECATED Returns ------- - bool: If true, enables the portsppm. @@ -269,7 +269,7 @@ def Loopback(self, value): @property def Ppm(self): # type: () -> int - """ + """DEPRECATED Returns ------- - number: Indicates the value that needs to be adjusted for the line transmit frequency. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/l1config/uhdonehundredgiglan/uhdonehundredgiglan.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/l1config/uhdonehundredgiglan/uhdonehundredgiglan.py index 73df4a4e2..4eff7da55 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/l1config/uhdonehundredgiglan/uhdonehundredgiglan.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/l1config/uhdonehundredgiglan/uhdonehundredgiglan.py @@ -128,7 +128,7 @@ def EnableAutoNegotiation(self, value): @property def EnablePPM(self): # type: () -> bool - """ + """DEPRECATED Returns ------- - bool: If true, enables the portsppm. @@ -288,7 +288,7 @@ def Mtu(self, value): @property def Ppm(self): # type: () -> int - """ + """DEPRECATED Returns ------- - number: Indicates the value that needs to be adjusted for the line transmit frequency. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/tapsettings/tapsettings.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/tapsettings/tapsettings.py index a1927426a..8102963dc 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/tapsettings/tapsettings.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/tapsettings/tapsettings.py @@ -61,6 +61,46 @@ def Parameter(self): return self._properties.get("Parameter") return Parameter(self) + @property + def TransceiverDom(self): + """ + Returns + ------- + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.tapsettings.transceiverdom.transceiverdom.TransceiverDom): An instance of the TransceiverDom class + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + from ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.tapsettings.transceiverdom.transceiverdom import ( + TransceiverDom, + ) + + if len(self._object_properties) > 0: + if self._properties.get("TransceiverDom", None) is not None: + return self._properties.get("TransceiverDom") + return TransceiverDom(self)._select() + + @property + def TransceiverOptions(self): + """ + Returns + ------- + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.tapsettings.transceiveroptions.transceiveroptions.TransceiverOptions): An instance of the TransceiverOptions class + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + from ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.tapsettings.transceiveroptions.transceiveroptions import ( + TransceiverOptions, + ) + + if len(self._object_properties) > 0: + if self._properties.get("TransceiverOptions", None) is not None: + return self._properties.get("TransceiverOptions") + return TransceiverOptions(self)._select() + def add(self): """Adds a new tapSettings resource on the json, only valid with batch add utility diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/tapsettings/transceiverdom/__init__.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/tapsettings/transceiverdom/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/tapsettings/transceiverdom/transceiverdom.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/tapsettings/transceiverdom/transceiverdom.py new file mode 100644 index 000000000..b1d58b0da --- /dev/null +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/tapsettings/transceiverdom/transceiverdom.py @@ -0,0 +1,538 @@ +# MIT LICENSE +# +# Copyright 1997 - 2020 by IXIA Keysight +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), +# to deal in the Software without restriction, including without limitation +# the rights to use, copy, modify, merge, publish, distribute, sublicense, +# and/or sell copies of the Software, and to permit persons to whom the +# Software is furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +# THE SOFTWARE. +import sys +from ixnetwork_restpy.base import Base +from ixnetwork_restpy.files import Files + +if sys.version_info >= (3, 5): + from typing import List, Any, Union + + +class TransceiverDom(Base): + """ + The TransceiverDom class encapsulates a required transceiverDom resource which will be retrieved from the server every time the property is accessed. + """ + + __slots__ = () + _SDM_NAME = "transceiverDom" + _SDM_ATT_MAP = { + "CableLength": "cableLength", + "DateCode": "dateCode", + "FirmwareRevision": "firmwareRevision", + "HardwareRevision": "hardwareRevision", + "IdentifierType": "identifierType", + "Manufacturer": "manufacturer", + "MediaConnector": "mediaConnector", + "MediaTech": "mediaTech", + "MediaType": "mediaType", + "MfgRevision": "mfgRevision", + "Model": "model", + "ModuleSupplyVoltageHighAlarm": "moduleSupplyVoltageHighAlarm", + "ModuleSupplyVoltageHighWarn": "moduleSupplyVoltageHighWarn", + "ModuleSupplyVoltageLowAlarm": "moduleSupplyVoltageLowAlarm", + "ModuleSupplyVoltageLowWarn": "moduleSupplyVoltageLowWarn", + "ModuleTemperatureHighAlarm": "moduleTemperatureHighAlarm", + "ModuleTemperatureHighWarn": "moduleTemperatureHighWarn", + "ModuleTemperatureLowAlarm": "moduleTemperatureLowAlarm", + "ModuleTemperatureLowWarn": "moduleTemperatureLowWarn", + "Msa": "msa", + "ReportedMaxPower": "reportedMaxPower", + "ReportedPowerClass": "reportedPowerClass", + "RxOpticalPowerHighAlarm": "rxOpticalPowerHighAlarm", + "RxOpticalPowerHighWarn": "rxOpticalPowerHighWarn", + "RxOpticalPowerLowAlarm": "rxOpticalPowerLowAlarm", + "RxOpticalPowerLowWarn": "rxOpticalPowerLowWarn", + "SerialNumber": "serialNumber", + "TxBiasCurrentHighAlarm": "txBiasCurrentHighAlarm", + "TxBiasCurrentHighWarn": "txBiasCurrentHighWarn", + "TxBiasCurrentLowAlarm": "txBiasCurrentLowAlarm", + "TxBiasCurrentLowWarn": "txBiasCurrentLowWarn", + "TxOpticalPowerHighAlarm": "txOpticalPowerHighAlarm", + "TxOpticalPowerHighWarn": "txOpticalPowerHighWarn", + "TxOpticalPowerLowAlarm": "txOpticalPowerLowAlarm", + "TxOpticalPowerLowWarn": "txOpticalPowerLowWarn", + } + _SDM_ENUM_MAP = {} + + def __init__(self, parent, list_op=False): + super(TransceiverDom, self).__init__(parent, list_op) + + @property + def CableLength(self): + # type: () -> str + """ + Returns + ------- + - str: Transceiver cable length. + """ + return self._get_attribute(self._SDM_ATT_MAP["CableLength"]) + + @property + def DateCode(self): + # type: () -> str + """ + Returns + ------- + - str: Transceiver date code in YYMMDDLL format. + """ + return self._get_attribute(self._SDM_ATT_MAP["DateCode"]) + + @property + def FirmwareRevision(self): + # type: () -> str + """ + Returns + ------- + - str: Transceiver firmware revision. + """ + return self._get_attribute(self._SDM_ATT_MAP["FirmwareRevision"]) + + @property + def HardwareRevision(self): + # type: () -> str + """ + Returns + ------- + - str: Transceiver hardware revision. + """ + return self._get_attribute(self._SDM_ATT_MAP["HardwareRevision"]) + + @property + def IdentifierType(self): + # type: () -> str + """ + Returns + ------- + - str: Transceiver identifier type. + """ + return self._get_attribute(self._SDM_ATT_MAP["IdentifierType"]) + + @property + def Manufacturer(self): + # type: () -> str + """ + Returns + ------- + - str: Transceiver manufacturer. + """ + return self._get_attribute(self._SDM_ATT_MAP["Manufacturer"]) + + @property + def MediaConnector(self): + # type: () -> str + """ + Returns + ------- + - str: Transceiver media connector type. + """ + return self._get_attribute(self._SDM_ATT_MAP["MediaConnector"]) + + @property + def MediaTech(self): + # type: () -> str + """ + Returns + ------- + - str: Transceiver media tech. + """ + return self._get_attribute(self._SDM_ATT_MAP["MediaTech"]) + + @property + def MediaType(self): + # type: () -> str + """ + Returns + ------- + - str: Transceiver media type. + """ + return self._get_attribute(self._SDM_ATT_MAP["MediaType"]) + + @property + def MfgRevision(self): + # type: () -> str + """ + Returns + ------- + - str: Transceiver mfg. revision. + """ + return self._get_attribute(self._SDM_ATT_MAP["MfgRevision"]) + + @property + def Model(self): + # type: () -> str + """ + Returns + ------- + - str: Transceiver model number. + """ + return self._get_attribute(self._SDM_ATT_MAP["Model"]) + + @property + def ModuleSupplyVoltageHighAlarm(self): + # type: () -> str + """ + Returns + ------- + - str: Transceiver module supply voltage high alarm. + """ + return self._get_attribute(self._SDM_ATT_MAP["ModuleSupplyVoltageHighAlarm"]) + + @property + def ModuleSupplyVoltageHighWarn(self): + # type: () -> str + """ + Returns + ------- + - str: Transceiver module supply voltage high warning. + """ + return self._get_attribute(self._SDM_ATT_MAP["ModuleSupplyVoltageHighWarn"]) + + @property + def ModuleSupplyVoltageLowAlarm(self): + # type: () -> str + """ + Returns + ------- + - str: Transceiver module supply voltage low alarm. + """ + return self._get_attribute(self._SDM_ATT_MAP["ModuleSupplyVoltageLowAlarm"]) + + @property + def ModuleSupplyVoltageLowWarn(self): + # type: () -> str + """ + Returns + ------- + - str: Transceiver module supply voltage low warning. + """ + return self._get_attribute(self._SDM_ATT_MAP["ModuleSupplyVoltageLowWarn"]) + + @property + def ModuleTemperatureHighAlarm(self): + # type: () -> str + """ + Returns + ------- + - str: Transceiver module temperature high alarm. + """ + return self._get_attribute(self._SDM_ATT_MAP["ModuleTemperatureHighAlarm"]) + + @property + def ModuleTemperatureHighWarn(self): + # type: () -> str + """ + Returns + ------- + - str: Transceiver module temperature high warning. + """ + return self._get_attribute(self._SDM_ATT_MAP["ModuleTemperatureHighWarn"]) + + @property + def ModuleTemperatureLowAlarm(self): + # type: () -> str + """ + Returns + ------- + - str: Transceiver module temperature low alarm. + """ + return self._get_attribute(self._SDM_ATT_MAP["ModuleTemperatureLowAlarm"]) + + @property + def ModuleTemperatureLowWarn(self): + # type: () -> str + """ + Returns + ------- + - str: Transceiver module temperature low warning. + """ + return self._get_attribute(self._SDM_ATT_MAP["ModuleTemperatureLowWarn"]) + + @property + def Msa(self): + # type: () -> str + """ + Returns + ------- + - str: MSA. + """ + return self._get_attribute(self._SDM_ATT_MAP["Msa"]) + + @property + def ReportedMaxPower(self): + # type: () -> str + """ + Returns + ------- + - str: Transceiver reported max power. + """ + return self._get_attribute(self._SDM_ATT_MAP["ReportedMaxPower"]) + + @property + def ReportedPowerClass(self): + # type: () -> str + """ + Returns + ------- + - str: Transceiver reported power class. + """ + return self._get_attribute(self._SDM_ATT_MAP["ReportedPowerClass"]) + + @property + def RxOpticalPowerHighAlarm(self): + # type: () -> str + """ + Returns + ------- + - str: Rx optical power high alarm. + """ + return self._get_attribute(self._SDM_ATT_MAP["RxOpticalPowerHighAlarm"]) + + @property + def RxOpticalPowerHighWarn(self): + # type: () -> str + """ + Returns + ------- + - str: Rx optical power high warning. + """ + return self._get_attribute(self._SDM_ATT_MAP["RxOpticalPowerHighWarn"]) + + @property + def RxOpticalPowerLowAlarm(self): + # type: () -> str + """ + Returns + ------- + - str: Rx optical power low alarm. + """ + return self._get_attribute(self._SDM_ATT_MAP["RxOpticalPowerLowAlarm"]) + + @property + def RxOpticalPowerLowWarn(self): + # type: () -> str + """ + Returns + ------- + - str: Rx optical power low warning. + """ + return self._get_attribute(self._SDM_ATT_MAP["RxOpticalPowerLowWarn"]) + + @property + def SerialNumber(self): + # type: () -> str + """ + Returns + ------- + - str: Transceiver serial number. + """ + return self._get_attribute(self._SDM_ATT_MAP["SerialNumber"]) + + @property + def TxBiasCurrentHighAlarm(self): + # type: () -> str + """ + Returns + ------- + - str: Tx bias current high alarm. + """ + return self._get_attribute(self._SDM_ATT_MAP["TxBiasCurrentHighAlarm"]) + + @property + def TxBiasCurrentHighWarn(self): + # type: () -> str + """ + Returns + ------- + - str: Tx bias current high warning. + """ + return self._get_attribute(self._SDM_ATT_MAP["TxBiasCurrentHighWarn"]) + + @property + def TxBiasCurrentLowAlarm(self): + # type: () -> str + """ + Returns + ------- + - str: Tx bias current low alarm. + """ + return self._get_attribute(self._SDM_ATT_MAP["TxBiasCurrentLowAlarm"]) + + @property + def TxBiasCurrentLowWarn(self): + # type: () -> str + """ + Returns + ------- + - str: Tx bias current low warning. + """ + return self._get_attribute(self._SDM_ATT_MAP["TxBiasCurrentLowWarn"]) + + @property + def TxOpticalPowerHighAlarm(self): + # type: () -> str + """ + Returns + ------- + - str: Tx optical power high alarm. + """ + return self._get_attribute(self._SDM_ATT_MAP["TxOpticalPowerHighAlarm"]) + + @property + def TxOpticalPowerHighWarn(self): + # type: () -> str + """ + Returns + ------- + - str: Tx optical power high warning. + """ + return self._get_attribute(self._SDM_ATT_MAP["TxOpticalPowerHighWarn"]) + + @property + def TxOpticalPowerLowAlarm(self): + # type: () -> str + """ + Returns + ------- + - str: Tx optical power low alarm. + """ + return self._get_attribute(self._SDM_ATT_MAP["TxOpticalPowerLowAlarm"]) + + @property + def TxOpticalPowerLowWarn(self): + # type: () -> str + """ + Returns + ------- + - str: Tx optical power low warning. + """ + return self._get_attribute(self._SDM_ATT_MAP["TxOpticalPowerLowWarn"]) + + def find( + self, + CableLength=None, + DateCode=None, + FirmwareRevision=None, + HardwareRevision=None, + IdentifierType=None, + Manufacturer=None, + MediaConnector=None, + MediaTech=None, + MediaType=None, + MfgRevision=None, + Model=None, + ModuleSupplyVoltageHighAlarm=None, + ModuleSupplyVoltageHighWarn=None, + ModuleSupplyVoltageLowAlarm=None, + ModuleSupplyVoltageLowWarn=None, + ModuleTemperatureHighAlarm=None, + ModuleTemperatureHighWarn=None, + ModuleTemperatureLowAlarm=None, + ModuleTemperatureLowWarn=None, + Msa=None, + ReportedMaxPower=None, + ReportedPowerClass=None, + RxOpticalPowerHighAlarm=None, + RxOpticalPowerHighWarn=None, + RxOpticalPowerLowAlarm=None, + RxOpticalPowerLowWarn=None, + SerialNumber=None, + TxBiasCurrentHighAlarm=None, + TxBiasCurrentHighWarn=None, + TxBiasCurrentLowAlarm=None, + TxBiasCurrentLowWarn=None, + TxOpticalPowerHighAlarm=None, + TxOpticalPowerHighWarn=None, + TxOpticalPowerLowAlarm=None, + TxOpticalPowerLowWarn=None, + ): + # type: (str, str, str, str, str, str, str, str, str, str, str, str, str, str, str, str, str, str, str, str, str, str, str, str, str, str, str, str, str, str, str, str, str, str, str) -> TransceiverDom + """Finds and retrieves transceiverDom resources from the server. + + All named parameters are evaluated on the server using regex. The named parameters can be used to selectively retrieve transceiverDom resources from the server. + To retrieve an exact match ensure the parameter value starts with ^ and ends with $ + By default the find method takes no parameters and will retrieve all transceiverDom resources from the server. + + Args + ---- + - CableLength (str): Transceiver cable length. + - DateCode (str): Transceiver date code in YYMMDDLL format. + - FirmwareRevision (str): Transceiver firmware revision. + - HardwareRevision (str): Transceiver hardware revision. + - IdentifierType (str): Transceiver identifier type. + - Manufacturer (str): Transceiver manufacturer. + - MediaConnector (str): Transceiver media connector type. + - MediaTech (str): Transceiver media tech. + - MediaType (str): Transceiver media type. + - MfgRevision (str): Transceiver mfg. revision. + - Model (str): Transceiver model number. + - ModuleSupplyVoltageHighAlarm (str): Transceiver module supply voltage high alarm. + - ModuleSupplyVoltageHighWarn (str): Transceiver module supply voltage high warning. + - ModuleSupplyVoltageLowAlarm (str): Transceiver module supply voltage low alarm. + - ModuleSupplyVoltageLowWarn (str): Transceiver module supply voltage low warning. + - ModuleTemperatureHighAlarm (str): Transceiver module temperature high alarm. + - ModuleTemperatureHighWarn (str): Transceiver module temperature high warning. + - ModuleTemperatureLowAlarm (str): Transceiver module temperature low alarm. + - ModuleTemperatureLowWarn (str): Transceiver module temperature low warning. + - Msa (str): MSA. + - ReportedMaxPower (str): Transceiver reported max power. + - ReportedPowerClass (str): Transceiver reported power class. + - RxOpticalPowerHighAlarm (str): Rx optical power high alarm. + - RxOpticalPowerHighWarn (str): Rx optical power high warning. + - RxOpticalPowerLowAlarm (str): Rx optical power low alarm. + - RxOpticalPowerLowWarn (str): Rx optical power low warning. + - SerialNumber (str): Transceiver serial number. + - TxBiasCurrentHighAlarm (str): Tx bias current high alarm. + - TxBiasCurrentHighWarn (str): Tx bias current high warning. + - TxBiasCurrentLowAlarm (str): Tx bias current low alarm. + - TxBiasCurrentLowWarn (str): Tx bias current low warning. + - TxOpticalPowerHighAlarm (str): Tx optical power high alarm. + - TxOpticalPowerHighWarn (str): Tx optical power high warning. + - TxOpticalPowerLowAlarm (str): Tx optical power low alarm. + - TxOpticalPowerLowWarn (str): Tx optical power low warning. + + Returns + ------- + - self: This instance with matching transceiverDom resources retrieved from the server available through an iterator or index + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + return self._select(self._map_locals(self._SDM_ATT_MAP, locals())) + + def read(self, href): + """Retrieves a single instance of transceiverDom data from the server. + + Args + ---- + - href (str): An href to the instance to be retrieved + + Returns + ------- + - self: This instance with the transceiverDom resources from the server available through an iterator or index + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + return self._read(href) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/tapsettings/transceiveroptions/__init__.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/tapsettings/transceiveroptions/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/tapsettings/transceiveroptions/appselmatch/__init__.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/tapsettings/transceiveroptions/appselmatch/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/tapsettings/transceiveroptions/appselmatch/appselmatch.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/tapsettings/transceiveroptions/appselmatch/appselmatch.py new file mode 100644 index 000000000..cd60845de --- /dev/null +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/tapsettings/transceiveroptions/appselmatch/appselmatch.py @@ -0,0 +1,227 @@ +# MIT LICENSE +# +# Copyright 1997 - 2020 by IXIA Keysight +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), +# to deal in the Software without restriction, including without limitation +# the rights to use, copy, modify, merge, publish, distribute, sublicense, +# and/or sell copies of the Software, and to permit persons to whom the +# Software is furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +# THE SOFTWARE. +import sys +from ixnetwork_restpy.base import Base +from ixnetwork_restpy.files import Files + +if sys.version_info >= (3, 5): + from typing import List, Any, Union + + +class AppselMatch(Base): + """ + The AppselMatch class encapsulates a list of appselMatch resources that are managed by the system. + A list of resources can be retrieved from the server using the AppselMatch.find() method. + """ + + __slots__ = () + _SDM_NAME = "appselMatch" + _SDM_ATT_MAP = { + "AppSel": "appSel", + "Link": "link", + "ModuleHostElectricalIfName": "moduleHostElectricalIfName", + "ModuleHostLaneCount": "moduleHostLaneCount", + "ModuleHostLaneGroup": "moduleHostLaneGroup", + "Note": "note", + "PortFanouts": "portFanouts", + "PortLaneCount": "portLaneCount", + "PortMode": "portMode", + "PortModulation": "portModulation", + } + _SDM_ENUM_MAP = {} + + def __init__(self, parent, list_op=False): + super(AppselMatch, self).__init__(parent, list_op) + + @property + def AppSel(self): + # type: () -> str + """ + Returns + ------- + - str: App Sel Id. + """ + return self._get_attribute(self._SDM_ATT_MAP["AppSel"]) + + @property + def Link(self): + # type: () -> str + """ + Returns + ------- + - str: Link: Y- yes, N- No or M- maybe for this match. + """ + return self._get_attribute(self._SDM_ATT_MAP["Link"]) + + @property + def ModuleHostElectricalIfName(self): + # type: () -> str + """ + Returns + ------- + - str: The module specified industry standard host electrical interface string. + """ + return self._get_attribute(self._SDM_ATT_MAP["ModuleHostElectricalIfName"]) + + @property + def ModuleHostLaneCount(self): + # type: () -> str + """ + Returns + ------- + - str: The module specified host lane count for this appsel. + """ + return self._get_attribute(self._SDM_ATT_MAP["ModuleHostLaneCount"]) + + @property + def ModuleHostLaneGroup(self): + # type: () -> str + """ + Returns + ------- + - str: The number of fanouts/lane groups supported by the module host side for this appsel. + """ + return self._get_attribute(self._SDM_ATT_MAP["ModuleHostLaneGroup"]) + + @property + def Note(self): + # type: () -> str + """ + Returns + ------- + - str: A string describing if this AppSel is a good match for the RG speed mode. + """ + return self._get_attribute(self._SDM_ATT_MAP["Note"]) + + @property + def PortFanouts(self): + # type: () -> str + """ + Returns + ------- + - str: Number of fanouts available for the current port speed mode. + """ + return self._get_attribute(self._SDM_ATT_MAP["PortFanouts"]) + + @property + def PortLaneCount(self): + # type: () -> str + """ + Returns + ------- + - str: The total number of lanes on host port. + """ + return self._get_attribute(self._SDM_ATT_MAP["PortLaneCount"]) + + @property + def PortMode(self): + # type: () -> str + """ + Returns + ------- + - str: Port speed mode for which automatic appsel match this entry is. + """ + return self._get_attribute(self._SDM_ATT_MAP["PortMode"]) + + @property + def PortModulation(self): + # type: () -> str + """ + Returns + ------- + - str: String indicating the modulation of speed mode(PAM4, NRZ). + """ + return self._get_attribute(self._SDM_ATT_MAP["PortModulation"]) + + def add(self): + """Adds a new appselMatch resource on the json, only valid with batch add utility + + Returns + ------- + - self: This instance with all currently retrieved appselMatch resources using find and the newly added appselMatch resources available through an iterator or index + + Raises + ------ + - Exception: if this function is not being used with config assistance + """ + return self._add_xpath(self._map_locals(self._SDM_ATT_MAP, locals())) + + def find( + self, + AppSel=None, + Link=None, + ModuleHostElectricalIfName=None, + ModuleHostLaneCount=None, + ModuleHostLaneGroup=None, + Note=None, + PortFanouts=None, + PortLaneCount=None, + PortMode=None, + PortModulation=None, + ): + # type: (str, str, str, str, str, str, str, str, str, str) -> AppselMatch + """Finds and retrieves appselMatch resources from the server. + + All named parameters are evaluated on the server using regex. The named parameters can be used to selectively retrieve appselMatch resources from the server. + To retrieve an exact match ensure the parameter value starts with ^ and ends with $ + By default the find method takes no parameters and will retrieve all appselMatch resources from the server. + + Args + ---- + - AppSel (str): App Sel Id. + - Link (str): Link: Y- yes, N- No or M- maybe for this match. + - ModuleHostElectricalIfName (str): The module specified industry standard host electrical interface string. + - ModuleHostLaneCount (str): The module specified host lane count for this appsel. + - ModuleHostLaneGroup (str): The number of fanouts/lane groups supported by the module host side for this appsel. + - Note (str): A string describing if this AppSel is a good match for the RG speed mode. + - PortFanouts (str): Number of fanouts available for the current port speed mode. + - PortLaneCount (str): The total number of lanes on host port. + - PortMode (str): Port speed mode for which automatic appsel match this entry is. + - PortModulation (str): String indicating the modulation of speed mode(PAM4, NRZ). + + Returns + ------- + - self: This instance with matching appselMatch resources retrieved from the server available through an iterator or index + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + return self._select(self._map_locals(self._SDM_ATT_MAP, locals())) + + def read(self, href): + """Retrieves a single instance of appselMatch data from the server. + + Args + ---- + - href (str): An href to the instance to be retrieved + + Returns + ------- + - self: This instance with the appselMatch resources from the server available through an iterator or index + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + return self._read(href) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/tapsettings/transceiveroptions/availableapplications/__init__.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/tapsettings/transceiveroptions/availableapplications/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/tapsettings/transceiveroptions/availableapplications/availableapplications.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/tapsettings/transceiveroptions/availableapplications/availableapplications.py new file mode 100644 index 000000000..d3c154ab2 --- /dev/null +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/tapsettings/transceiveroptions/availableapplications/availableapplications.py @@ -0,0 +1,253 @@ +# MIT LICENSE +# +# Copyright 1997 - 2020 by IXIA Keysight +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), +# to deal in the Software without restriction, including without limitation +# the rights to use, copy, modify, merge, publish, distribute, sublicense, +# and/or sell copies of the Software, and to permit persons to whom the +# Software is furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +# THE SOFTWARE. +import sys +from ixnetwork_restpy.base import Base +from ixnetwork_restpy.files import Files + +if sys.version_info >= (3, 5): + from typing import List, Any, Union + + +class AvailableApplications(Base): + """ + The AvailableApplications class encapsulates a list of availableApplications resources that are managed by the system. + A list of resources can be retrieved from the server using the AvailableApplications.find() method. + """ + + __slots__ = () + _SDM_NAME = "availableApplications" + _SDM_ATT_MAP = { + "AppSel": "appSel", + "HostElectricalIfID": "hostElectricalIfID", + "HostElectricalIfName": "hostElectricalIfName", + "HostLaneCount": "hostLaneCount", + "HostLaneGroup": "hostLaneGroup", + "HostLaneSpeed": "hostLaneSpeed", + "HostModulation": "hostModulation", + "MediaIfID": "mediaIfID", + "MediaIfName": "mediaIfName", + "MediaLaneCount": "mediaLaneCount", + "MediaLaneGroup": "mediaLaneGroup", + "MediaLaneSpeed": "mediaLaneSpeed", + } + _SDM_ENUM_MAP = {} + + def __init__(self, parent, list_op=False): + super(AvailableApplications, self).__init__(parent, list_op) + + @property + def AppSel(self): + # type: () -> str + """ + Returns + ------- + - str: Appsel Id. + """ + return self._get_attribute(self._SDM_ATT_MAP["AppSel"]) + + @property + def HostElectricalIfID(self): + # type: () -> str + """ + Returns + ------- + - str: The industry standard electrical interface id in hex. + """ + return self._get_attribute(self._SDM_ATT_MAP["HostElectricalIfID"]) + + @property + def HostElectricalIfName(self): + # type: () -> str + """ + Returns + ------- + - str: The industry standard host electrical interface string. + """ + return self._get_attribute(self._SDM_ATT_MAP["HostElectricalIfName"]) + + @property + def HostLaneCount(self): + # type: () -> str + """ + Returns + ------- + - str: The module specified host lane count for this appsel. + """ + return self._get_attribute(self._SDM_ATT_MAP["HostLaneCount"]) + + @property + def HostLaneGroup(self): + # type: () -> str + """ + Returns + ------- + - str: The group of lanes in a data path. + """ + return self._get_attribute(self._SDM_ATT_MAP["HostLaneGroup"]) + + @property + def HostLaneSpeed(self): + # type: () -> str + """ + Returns + ------- + - str: The per lane speed as defined for the industry standard interface(G bit/s). + """ + return self._get_attribute(self._SDM_ATT_MAP["HostLaneSpeed"]) + + @property + def HostModulation(self): + # type: () -> str + """ + Returns + ------- + - str: The string indicating the modulation(PAM4/NRZ). + """ + return self._get_attribute(self._SDM_ATT_MAP["HostModulation"]) + + @property + def MediaIfID(self): + # type: () -> str + """ + Returns + ------- + - str: The industry standard media interface id in hex. + """ + return self._get_attribute(self._SDM_ATT_MAP["MediaIfID"]) + + @property + def MediaIfName(self): + # type: () -> str + """ + Returns + ------- + - str: The industry standard media interface name. + """ + return self._get_attribute(self._SDM_ATT_MAP["MediaIfName"]) + + @property + def MediaLaneCount(self): + # type: () -> str + """ + Returns + ------- + - str: The module specified media lane count for this appsel. + """ + return self._get_attribute(self._SDM_ATT_MAP["MediaLaneCount"]) + + @property + def MediaLaneGroup(self): + # type: () -> str + """ + Returns + ------- + - str: The group of lanes in a data path. + """ + return self._get_attribute(self._SDM_ATT_MAP["MediaLaneGroup"]) + + @property + def MediaLaneSpeed(self): + # type: () -> str + """ + Returns + ------- + - str: The per lane speed as defined for the industry standard interface(G bit/s). + """ + return self._get_attribute(self._SDM_ATT_MAP["MediaLaneSpeed"]) + + def add(self): + """Adds a new availableApplications resource on the json, only valid with batch add utility + + Returns + ------- + - self: This instance with all currently retrieved availableApplications resources using find and the newly added availableApplications resources available through an iterator or index + + Raises + ------ + - Exception: if this function is not being used with config assistance + """ + return self._add_xpath(self._map_locals(self._SDM_ATT_MAP, locals())) + + def find( + self, + AppSel=None, + HostElectricalIfID=None, + HostElectricalIfName=None, + HostLaneCount=None, + HostLaneGroup=None, + HostLaneSpeed=None, + HostModulation=None, + MediaIfID=None, + MediaIfName=None, + MediaLaneCount=None, + MediaLaneGroup=None, + MediaLaneSpeed=None, + ): + # type: (str, str, str, str, str, str, str, str, str, str, str, str) -> AvailableApplications + """Finds and retrieves availableApplications resources from the server. + + All named parameters are evaluated on the server using regex. The named parameters can be used to selectively retrieve availableApplications resources from the server. + To retrieve an exact match ensure the parameter value starts with ^ and ends with $ + By default the find method takes no parameters and will retrieve all availableApplications resources from the server. + + Args + ---- + - AppSel (str): Appsel Id. + - HostElectricalIfID (str): The industry standard electrical interface id in hex. + - HostElectricalIfName (str): The industry standard host electrical interface string. + - HostLaneCount (str): The module specified host lane count for this appsel. + - HostLaneGroup (str): The group of lanes in a data path. + - HostLaneSpeed (str): The per lane speed as defined for the industry standard interface(G bit/s). + - HostModulation (str): The string indicating the modulation(PAM4/NRZ). + - MediaIfID (str): The industry standard media interface id in hex. + - MediaIfName (str): The industry standard media interface name. + - MediaLaneCount (str): The module specified media lane count for this appsel. + - MediaLaneGroup (str): The group of lanes in a data path. + - MediaLaneSpeed (str): The per lane speed as defined for the industry standard interface(G bit/s). + + Returns + ------- + - self: This instance with matching availableApplications resources retrieved from the server available through an iterator or index + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + return self._select(self._map_locals(self._SDM_ATT_MAP, locals())) + + def read(self, href): + """Retrieves a single instance of availableApplications data from the server. + + Args + ---- + - href (str): An href to the instance to be retrieved + + Returns + ------- + - self: This instance with the availableApplications resources from the server available through an iterator or index + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + return self._read(href) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/tapsettings/transceiveroptions/transceiveroptions.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/tapsettings/transceiveroptions/transceiveroptions.py new file mode 100644 index 000000000..9cfa7d10a --- /dev/null +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/tapsettings/transceiveroptions/transceiveroptions.py @@ -0,0 +1,292 @@ +# MIT LICENSE +# +# Copyright 1997 - 2020 by IXIA Keysight +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), +# to deal in the Software without restriction, including without limitation +# the rights to use, copy, modify, merge, publish, distribute, sublicense, +# and/or sell copies of the Software, and to permit persons to whom the +# Software is furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +# THE SOFTWARE. +import sys +from ixnetwork_restpy.base import Base +from ixnetwork_restpy.files import Files + +if sys.version_info >= (3, 5): + from typing import List, Any, Union + + +class TransceiverOptions(Base): + """ + The TransceiverOptions class encapsulates a required transceiverOptions resource which will be retrieved from the server every time the property is accessed. + """ + + __slots__ = () + _SDM_NAME = "transceiverOptions" + _SDM_ATT_MAP = { + "ConfigStatus": "configStatus", + "Connector": "connector", + "CurrentAppSel": "currentAppSel", + "FormFactor": "formFactor", + "HostSpeed": "hostSpeed", + "MediaTech": "mediaTech", + "MediaType": "mediaType", + "ModuleMedia": "moduleMedia", + "ReqAppSel": "reqAppSel", + "TransceiverVendor": "transceiverVendor", + } + _SDM_ENUM_MAP = { + "reqAppSel": [ + "moduleDefault", + "auto", + "appSel1", + "appSel2", + "appSel3", + "appSel4", + "appSel5", + "appSel6", + "appSel7", + "appSel8", + "appSel9", + "appSel10", + "appSel11", + "appSel12", + "appSel13", + "appSel14", + "appSel15", + ], + } + + def __init__(self, parent, list_op=False): + super(TransceiverOptions, self).__init__(parent, list_op) + + @property + def AppselMatch(self): + """ + Returns + ------- + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.tapsettings.transceiveroptions.appselmatch.appselmatch.AppselMatch): An instance of the AppselMatch class + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + from ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.tapsettings.transceiveroptions.appselmatch.appselmatch import ( + AppselMatch, + ) + + if len(self._object_properties) > 0: + if self._properties.get("AppselMatch", None) is not None: + return self._properties.get("AppselMatch") + return AppselMatch(self) + + @property + def AvailableApplications(self): + """ + Returns + ------- + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.tapsettings.transceiveroptions.availableapplications.availableapplications.AvailableApplications): An instance of the AvailableApplications class + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + from ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.tapsettings.transceiveroptions.availableapplications.availableapplications import ( + AvailableApplications, + ) + + if len(self._object_properties) > 0: + if self._properties.get("AvailableApplications", None) is not None: + return self._properties.get("AvailableApplications") + return AvailableApplications(self) + + @property + def ConfigStatus(self): + # type: () -> str + """ + Returns + ------- + - str: Config Status. + """ + return self._get_attribute(self._SDM_ATT_MAP["ConfigStatus"]) + + @property + def Connector(self): + # type: () -> str + """ + Returns + ------- + - str: Connector. + """ + return self._get_attribute(self._SDM_ATT_MAP["Connector"]) + + @property + def CurrentAppSel(self): + # type: () -> str + """ + Returns + ------- + - str: Current AppSel value. + """ + return self._get_attribute(self._SDM_ATT_MAP["CurrentAppSel"]) + + @property + def FormFactor(self): + # type: () -> str + """ + Returns + ------- + - str: Transceiver Form Factor. + """ + return self._get_attribute(self._SDM_ATT_MAP["FormFactor"]) + + @property + def HostSpeed(self): + # type: () -> str + """ + Returns + ------- + - str: Host Speed. + """ + return self._get_attribute(self._SDM_ATT_MAP["HostSpeed"]) + + @property + def MediaTech(self): + # type: () -> str + """ + Returns + ------- + - str: Transceiver Media Tech. + """ + return self._get_attribute(self._SDM_ATT_MAP["MediaTech"]) + + @property + def MediaType(self): + # type: () -> str + """ + Returns + ------- + - str: Transceiver Media Type. + """ + return self._get_attribute(self._SDM_ATT_MAP["MediaType"]) + + @property + def ModuleMedia(self): + # type: () -> str + """ + Returns + ------- + - str: Module Media. + """ + return self._get_attribute(self._SDM_ATT_MAP["ModuleMedia"]) + + @property + def ReqAppSel(self): + # type: () -> str + """ + Returns + ------- + - str(moduleDefault | auto | appSel1 | appSel2 | appSel3 | appSel4 | appSel5 | appSel6 | appSel7 | appSel8 | appSel9 | appSel10 | appSel11 | appSel12 | appSel13 | appSel14 | appSel15): The appsel to be applied on transceiver. + """ + return self._get_attribute(self._SDM_ATT_MAP["ReqAppSel"]) + + @ReqAppSel.setter + def ReqAppSel(self, value): + # type: (str) -> None + self._set_attribute(self._SDM_ATT_MAP["ReqAppSel"], value) + + @property + def TransceiverVendor(self): + # type: () -> str + """ + Returns + ------- + - str: Transceiver Vendor Name. + """ + return self._get_attribute(self._SDM_ATT_MAP["TransceiverVendor"]) + + def update(self, ReqAppSel=None): + # type: (str) -> TransceiverOptions + """Updates transceiverOptions resource on the server. + + Args + ---- + - ReqAppSel (str(moduleDefault | auto | appSel1 | appSel2 | appSel3 | appSel4 | appSel5 | appSel6 | appSel7 | appSel8 | appSel9 | appSel10 | appSel11 | appSel12 | appSel13 | appSel14 | appSel15)): The appsel to be applied on transceiver. + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + return self._update(self._map_locals(self._SDM_ATT_MAP, locals())) + + def find( + self, + ConfigStatus=None, + Connector=None, + CurrentAppSel=None, + FormFactor=None, + HostSpeed=None, + MediaTech=None, + MediaType=None, + ModuleMedia=None, + ReqAppSel=None, + TransceiverVendor=None, + ): + # type: (str, str, str, str, str, str, str, str, str, str) -> TransceiverOptions + """Finds and retrieves transceiverOptions resources from the server. + + All named parameters are evaluated on the server using regex. The named parameters can be used to selectively retrieve transceiverOptions resources from the server. + To retrieve an exact match ensure the parameter value starts with ^ and ends with $ + By default the find method takes no parameters and will retrieve all transceiverOptions resources from the server. + + Args + ---- + - ConfigStatus (str): Config Status. + - Connector (str): Connector. + - CurrentAppSel (str): Current AppSel value. + - FormFactor (str): Transceiver Form Factor. + - HostSpeed (str): Host Speed. + - MediaTech (str): Transceiver Media Tech. + - MediaType (str): Transceiver Media Type. + - ModuleMedia (str): Module Media. + - ReqAppSel (str(moduleDefault | auto | appSel1 | appSel2 | appSel3 | appSel4 | appSel5 | appSel6 | appSel7 | appSel8 | appSel9 | appSel10 | appSel11 | appSel12 | appSel13 | appSel14 | appSel15)): The appsel to be applied on transceiver. + - TransceiverVendor (str): Transceiver Vendor Name. + + Returns + ------- + - self: This instance with matching transceiverOptions resources retrieved from the server available through an iterator or index + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + return self._select(self._map_locals(self._SDM_ATT_MAP, locals())) + + def read(self, href): + """Retrieves a single instance of transceiverOptions data from the server. + + Args + ---- + - href (str): An href to the instance to be retrieved + + Returns + ------- + - self: This instance with the transceiverOptions resources from the server available through an iterator or index + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + return self._read(href) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/vport.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/vport.py index d4c3fcd27..4709ba415 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/vport.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/vport.py @@ -47,6 +47,7 @@ class Vport(Base): "ConnectionState": "connectionState", "ConnectionStatus": "connectionStatus", "ConnectionStatusDisplayName": "connectionStatusDisplayName", + "DelayCompensation": "delayCompensation", "DpdkPerformanceAcceleration": "dpdkPerformanceAcceleration", "InternalId": "internalId", "IsAvailable": "isAvailable", @@ -120,6 +121,7 @@ class Vport(Base): "type": [ "ethernet", "ethernetvm", + "novusmini", "ethernetFcoe", "atm", "pos", @@ -152,6 +154,12 @@ class Vport(Base): "ravenEightHundredGigLanFcoe", "aresOneEightHundredGigLanQddC", "aresOneEightHundredGigLanQddCFcoe", + "rangerHundredGigLan", + "rangerHundredGigLanFcoe", + "aresOneEightHundredGigLanOsfpC", + "aresOneEightHundredGigLanOsfpCFcoe", + "aresOneM", + "aresOneMFcoe", ], } @@ -443,6 +451,21 @@ def ConnectionStatusDisplayName(self): """ return self._get_attribute(self._SDM_ATT_MAP["ConnectionStatusDisplayName"]) + @property + def DelayCompensation(self): + # type: () -> str + """ + Returns + ------- + - str: Delay compensation value for transceiver and cable length in nano seconds(ns). + """ + return self._get_attribute(self._SDM_ATT_MAP["DelayCompensation"]) + + @DelayCompensation.setter + def DelayCompensation(self, value): + # type: (str) -> None + self._set_attribute(self._SDM_ATT_MAP["DelayCompensation"], value) + @property def DpdkPerformanceAcceleration(self): # type: () -> str @@ -771,7 +794,7 @@ def Type(self): """ Returns ------- - - str(ethernet | ethernetvm | ethernetFcoe | atm | pos | tenGigLan | tenGigLanFcoe | fortyGigLan | fortyGigLanFcoe | tenGigWan | tenGigWanFcoe | hundredGigLan | hundredGigLanFcoe | tenFortyHundredGigLan | tenFortyHundredGigLanFcoe | fc | ethernetImpairment | novusHundredGigLan | novusHundredGigLanFcoe | novusTenGigLan | novusTenGigLanFcoe | krakenFourHundredGigLan | krakenFourHundredGigLanFcoe | aresOneFourHundredGigLan | aresOneFourHundredGigLanFcoe | uhdOneHundredGigLan | novus5GTenTwentyFiveGigLan | novus5GTenTwentyFiveGigLanFcoe | starFourHundredGigLan | starFourHundredGigLanFcoe | ravenEightHundredGigLan | ravenEightHundredGigLanFcoe | aresOneEightHundredGigLanQddC | aresOneEightHundredGigLanQddCFcoe): The type of port selection. + - str(ethernet | ethernetvm | novusmini | ethernetFcoe | atm | pos | tenGigLan | tenGigLanFcoe | fortyGigLan | fortyGigLanFcoe | tenGigWan | tenGigWanFcoe | hundredGigLan | hundredGigLanFcoe | tenFortyHundredGigLan | tenFortyHundredGigLanFcoe | fc | ethernetImpairment | novusHundredGigLan | novusHundredGigLanFcoe | novusTenGigLan | novusTenGigLanFcoe | krakenFourHundredGigLan | krakenFourHundredGigLanFcoe | aresOneFourHundredGigLan | aresOneFourHundredGigLanFcoe | uhdOneHundredGigLan | novus5GTenTwentyFiveGigLan | novus5GTenTwentyFiveGigLanFcoe | starFourHundredGigLan | starFourHundredGigLanFcoe | ravenEightHundredGigLan | ravenEightHundredGigLanFcoe | aresOneEightHundredGigLanQddC | aresOneEightHundredGigLanQddCFcoe | rangerHundredGigLan | rangerHundredGigLanFcoe | aresOneEightHundredGigLanOsfpC | aresOneEightHundredGigLanOsfpCFcoe | aresOneM | aresOneMFcoe): The type of port selection. """ return self._get_attribute(self._SDM_ATT_MAP["Type"]) @@ -808,6 +831,7 @@ def ValidTxModes(self): def update( self, ConnectedTo=None, + DelayCompensation=None, IsPullOnly=None, Location=None, Name=None, @@ -821,12 +845,13 @@ def update( Type=None, UseGlobalSettings=None, ): - # type: (str, bool, str, str, str, bool, str, str, bool, str, str, str, bool) -> Vport + # type: (str, str, bool, str, str, str, bool, str, str, bool, str, str, str, bool) -> Vport """Updates vport resource on the server. Args ---- - ConnectedTo (str(None | /api/v1/sessions/1/ixnetwork/availableHardware/chassis/card/port)): The physical port to which the unassigned port is assigned. + - DelayCompensation (str): Delay compensation value for transceiver and cable length in nano seconds(ns). - IsPullOnly (bool): (This action only affects assigned ports.) This action will temporarily set the port as an Unassigned Port. This function is used to pull the configuration set by a Tcl script or an IxExplorer port file into the IxNetwork configuration. - Location (str): The current format is {chassisIp}/{frontPanelPort}.{fanoutPort} or {chassisIp};{cardId};{portId} for legacy systems. - Name (str): The description of the port: (1) For an assigned port, the format is: (Port type) (card no.): (port no.) - (chassis name or IP). (2) For an (unassigned) port configuration, the format is: (Port type) Port 00x. @@ -837,7 +862,7 @@ def update( - TransmitIgnoreLinkStatus (bool): If true, the port ingores the link status when transmitting data. - TxGapControlMode (str(fixedMode | averageMode)): This object controls the Gap Control mode of the port. - TxMode (str(sequential | interleaved | sequentialCoarse | interleavedCoarse | packetImpairment)): The transmit mode. - - Type (str(ethernet | ethernetvm | ethernetFcoe | atm | pos | tenGigLan | tenGigLanFcoe | fortyGigLan | fortyGigLanFcoe | tenGigWan | tenGigWanFcoe | hundredGigLan | hundredGigLanFcoe | tenFortyHundredGigLan | tenFortyHundredGigLanFcoe | fc | ethernetImpairment | novusHundredGigLan | novusHundredGigLanFcoe | novusTenGigLan | novusTenGigLanFcoe | krakenFourHundredGigLan | krakenFourHundredGigLanFcoe | aresOneFourHundredGigLan | aresOneFourHundredGigLanFcoe | uhdOneHundredGigLan | novus5GTenTwentyFiveGigLan | novus5GTenTwentyFiveGigLanFcoe | starFourHundredGigLan | starFourHundredGigLanFcoe | ravenEightHundredGigLan | ravenEightHundredGigLanFcoe | aresOneEightHundredGigLanQddC | aresOneEightHundredGigLanQddCFcoe)): The type of port selection. + - Type (str(ethernet | ethernetvm | novusmini | ethernetFcoe | atm | pos | tenGigLan | tenGigLanFcoe | fortyGigLan | fortyGigLanFcoe | tenGigWan | tenGigWanFcoe | hundredGigLan | hundredGigLanFcoe | tenFortyHundredGigLan | tenFortyHundredGigLanFcoe | fc | ethernetImpairment | novusHundredGigLan | novusHundredGigLanFcoe | novusTenGigLan | novusTenGigLanFcoe | krakenFourHundredGigLan | krakenFourHundredGigLanFcoe | aresOneFourHundredGigLan | aresOneFourHundredGigLanFcoe | uhdOneHundredGigLan | novus5GTenTwentyFiveGigLan | novus5GTenTwentyFiveGigLanFcoe | starFourHundredGigLan | starFourHundredGigLanFcoe | ravenEightHundredGigLan | ravenEightHundredGigLanFcoe | aresOneEightHundredGigLanQddC | aresOneEightHundredGigLanQddCFcoe | rangerHundredGigLan | rangerHundredGigLanFcoe | aresOneEightHundredGigLanOsfpC | aresOneEightHundredGigLanOsfpCFcoe | aresOneM | aresOneMFcoe)): The type of port selection. - UseGlobalSettings (bool): Enables/Disables use of global settings instead of local settings on port Raises @@ -849,6 +874,7 @@ def update( def add( self, ConnectedTo=None, + DelayCompensation=None, IsPullOnly=None, Location=None, Name=None, @@ -862,12 +888,13 @@ def add( Type=None, UseGlobalSettings=None, ): - # type: (str, bool, str, str, str, bool, str, str, bool, str, str, str, bool) -> Vport + # type: (str, str, bool, str, str, str, bool, str, str, bool, str, str, str, bool) -> Vport """Adds a new vport resource on the server and adds it to the container. Args ---- - ConnectedTo (str(None | /api/v1/sessions/1/ixnetwork/availableHardware/chassis/card/port)): The physical port to which the unassigned port is assigned. + - DelayCompensation (str): Delay compensation value for transceiver and cable length in nano seconds(ns). - IsPullOnly (bool): (This action only affects assigned ports.) This action will temporarily set the port as an Unassigned Port. This function is used to pull the configuration set by a Tcl script or an IxExplorer port file into the IxNetwork configuration. - Location (str): The current format is {chassisIp}/{frontPanelPort}.{fanoutPort} or {chassisIp};{cardId};{portId} for legacy systems. - Name (str): The description of the port: (1) For an assigned port, the format is: (Port type) (card no.): (port no.) - (chassis name or IP). (2) For an (unassigned) port configuration, the format is: (Port type) Port 00x. @@ -878,7 +905,7 @@ def add( - TransmitIgnoreLinkStatus (bool): If true, the port ingores the link status when transmitting data. - TxGapControlMode (str(fixedMode | averageMode)): This object controls the Gap Control mode of the port. - TxMode (str(sequential | interleaved | sequentialCoarse | interleavedCoarse | packetImpairment)): The transmit mode. - - Type (str(ethernet | ethernetvm | ethernetFcoe | atm | pos | tenGigLan | tenGigLanFcoe | fortyGigLan | fortyGigLanFcoe | tenGigWan | tenGigWanFcoe | hundredGigLan | hundredGigLanFcoe | tenFortyHundredGigLan | tenFortyHundredGigLanFcoe | fc | ethernetImpairment | novusHundredGigLan | novusHundredGigLanFcoe | novusTenGigLan | novusTenGigLanFcoe | krakenFourHundredGigLan | krakenFourHundredGigLanFcoe | aresOneFourHundredGigLan | aresOneFourHundredGigLanFcoe | uhdOneHundredGigLan | novus5GTenTwentyFiveGigLan | novus5GTenTwentyFiveGigLanFcoe | starFourHundredGigLan | starFourHundredGigLanFcoe | ravenEightHundredGigLan | ravenEightHundredGigLanFcoe | aresOneEightHundredGigLanQddC | aresOneEightHundredGigLanQddCFcoe)): The type of port selection. + - Type (str(ethernet | ethernetvm | novusmini | ethernetFcoe | atm | pos | tenGigLan | tenGigLanFcoe | fortyGigLan | fortyGigLanFcoe | tenGigWan | tenGigWanFcoe | hundredGigLan | hundredGigLanFcoe | tenFortyHundredGigLan | tenFortyHundredGigLanFcoe | fc | ethernetImpairment | novusHundredGigLan | novusHundredGigLanFcoe | novusTenGigLan | novusTenGigLanFcoe | krakenFourHundredGigLan | krakenFourHundredGigLanFcoe | aresOneFourHundredGigLan | aresOneFourHundredGigLanFcoe | uhdOneHundredGigLan | novus5GTenTwentyFiveGigLan | novus5GTenTwentyFiveGigLanFcoe | starFourHundredGigLan | starFourHundredGigLanFcoe | ravenEightHundredGigLan | ravenEightHundredGigLanFcoe | aresOneEightHundredGigLanQddC | aresOneEightHundredGigLanQddCFcoe | rangerHundredGigLan | rangerHundredGigLanFcoe | aresOneEightHundredGigLanOsfpC | aresOneEightHundredGigLanOsfpCFcoe | aresOneM | aresOneMFcoe)): The type of port selection. - UseGlobalSettings (bool): Enables/Disables use of global settings instead of local settings on port Returns @@ -913,6 +940,7 @@ def find( ConnectionState=None, ConnectionStatus=None, ConnectionStatusDisplayName=None, + DelayCompensation=None, DpdkPerformanceAcceleration=None, InternalId=None, IsAvailable=None, @@ -944,7 +972,7 @@ def find( UseGlobalSettings=None, ValidTxModes=None, ): - # type: (int, str, str, str, str, str, str, str, str, str, str, int, bool, bool, bool, bool, bool, bool, str, str, str, str, str, str, bool, str, str, str, str, str, str, bool, str, str, bool, str, str, str, bool, List[str]) -> Vport + # type: (int, str, str, str, str, str, str, str, str, str, str, str, int, bool, bool, bool, bool, bool, bool, str, str, str, str, str, str, bool, str, str, str, str, str, str, bool, str, str, bool, str, str, str, bool, List[str]) -> Vport """Finds and retrieves vport resources from the server. All named parameters are evaluated on the server using regex. The named parameters can be used to selectively retrieve vport resources from the server. @@ -963,6 +991,7 @@ def find( - ConnectionState (str(assignedInUseByOther | assignedUnconnected | connectedLinkDown | connectedLinkUp | connecting | unassigned)): Consolidated state of the vport. This combines the connection state with link state. - ConnectionStatus (str): A string describing the status of the hardware connected to this vport - ConnectionStatusDisplayName (str): + - DelayCompensation (str): Delay compensation value for transceiver and cable length in nano seconds(ns). - DpdkPerformanceAcceleration (str): - InternalId (number): For internal use. - IsAvailable (bool): If true, this virtual port is available for assigning to a physical port. @@ -990,7 +1019,7 @@ def find( - TransmitIgnoreLinkStatus (bool): If true, the port ingores the link status when transmitting data. - TxGapControlMode (str(fixedMode | averageMode)): This object controls the Gap Control mode of the port. - TxMode (str(sequential | interleaved | sequentialCoarse | interleavedCoarse | packetImpairment)): The transmit mode. - - Type (str(ethernet | ethernetvm | ethernetFcoe | atm | pos | tenGigLan | tenGigLanFcoe | fortyGigLan | fortyGigLanFcoe | tenGigWan | tenGigWanFcoe | hundredGigLan | hundredGigLanFcoe | tenFortyHundredGigLan | tenFortyHundredGigLanFcoe | fc | ethernetImpairment | novusHundredGigLan | novusHundredGigLanFcoe | novusTenGigLan | novusTenGigLanFcoe | krakenFourHundredGigLan | krakenFourHundredGigLanFcoe | aresOneFourHundredGigLan | aresOneFourHundredGigLanFcoe | uhdOneHundredGigLan | novus5GTenTwentyFiveGigLan | novus5GTenTwentyFiveGigLanFcoe | starFourHundredGigLan | starFourHundredGigLanFcoe | ravenEightHundredGigLan | ravenEightHundredGigLanFcoe | aresOneEightHundredGigLanQddC | aresOneEightHundredGigLanQddCFcoe)): The type of port selection. + - Type (str(ethernet | ethernetvm | novusmini | ethernetFcoe | atm | pos | tenGigLan | tenGigLanFcoe | fortyGigLan | fortyGigLanFcoe | tenGigWan | tenGigWanFcoe | hundredGigLan | hundredGigLanFcoe | tenFortyHundredGigLan | tenFortyHundredGigLanFcoe | fc | ethernetImpairment | novusHundredGigLan | novusHundredGigLanFcoe | novusTenGigLan | novusTenGigLanFcoe | krakenFourHundredGigLan | krakenFourHundredGigLanFcoe | aresOneFourHundredGigLan | aresOneFourHundredGigLanFcoe | uhdOneHundredGigLan | novus5GTenTwentyFiveGigLan | novus5GTenTwentyFiveGigLanFcoe | starFourHundredGigLan | starFourHundredGigLanFcoe | ravenEightHundredGigLan | ravenEightHundredGigLanFcoe | aresOneEightHundredGigLanQddC | aresOneEightHundredGigLanQddCFcoe | rangerHundredGigLan | rangerHundredGigLanFcoe | aresOneEightHundredGigLanOsfpC | aresOneEightHundredGigLanOsfpCFcoe | aresOneM | aresOneMFcoe)): The type of port selection. - UseGlobalSettings (bool): Enables/Disables use of global settings instead of local settings on port - ValidTxModes (list(str[interleaved | interleavedCoarse | packetImpairment | sequential | sequentialCoarse])): @@ -1200,6 +1229,28 @@ def ClearPortTransmitDuration(self, *args, **kwargs): "clearPortTransmitDuration", payload=payload, response_object=None ) + def ClearRpfLog(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the clearRpfLog operation on the server. + + Clears RPF logs for a list of ports. + + clearRpfLog(async_operation=bool) + --------------------------------- + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("clearRpfLog", payload=payload, response_object=None) + def ConnectPort(self, *args, **kwargs): # type: (*Any, **Any) -> None """Executes the connectPort operation on the server. @@ -2201,3 +2252,26 @@ def UpdateGclEntry(self, *args, **kwargs): for item in kwargs.items(): payload[item[0]] = item[1] return self._execute("updateGclEntry", payload=payload, response_object=None) + + def WriteRpfLogToFile(self, *args, **kwargs): + # type: (*Any, **Any) -> Union[str, None] + """Executes the writeRpfLogToFile operation on the server. + + Write RPF log to file for a port + + writeRpfLogToFile(async_operation=bool)string + --------------------------------------------- + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + - Returns str: No return value. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("writeRpfLogToFile", payload=payload, response_object=None) diff --git a/uhd_restpy/connection.py b/uhd_restpy/connection.py index c2efd0375..b01893968 100644 --- a/uhd_restpy/connection.py +++ b/uhd_restpy/connection.py @@ -444,6 +444,7 @@ def _process_response_status_code(self, url, headers, response, async_status=Fal 0 : url.find("/", url.find("/sessions/") + len("/sessions/")) ] url = preamble + "/ixnetwork/globals/appErrors/error" + self._print_request("GET", url) error_response = self._session.request( "GET", url, @@ -470,6 +471,7 @@ def _process_response_status_code(self, url, headers, response, async_status=Fal pass # raise the appropriate error message = "\n".join(errors) + logging.getLogger(__name__).debug(message) if response.status_code == 400: raise BadRequestError(message, response.status_code) elif response.status_code == 401: diff --git a/version.txt b/version.txt index 516530316..d7f1518a6 100644 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -1.1.11 \ No newline at end of file +1.1.12 \ No newline at end of file