aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/snat/snat.api
AgeCommit message (Expand)AuthorFilesLines
2017-03-08SNAT: user_session_dump is_ip4 and vat unformating addedMartin1-0/+2
2017-03-07CGN: Deterministic NAT (VPP-623)Matus Fabian1-0/+91
2017-03-07Add setting of tenant VRF id for SNAT addresses (VPP-641)Juraj Sloboda1-0/+4
2017-03-06SNAT: session dump last heard type fixMartin1-1/+1
2017-03-02SNAT: user's dump and session dump of a certain snat user.magalik1-0/+66
2017-02-15SNAT: add static mappings with unresolved external interface address to snat_...Matus Fabian1-0/+2
2017-02-03SNAT: Port allocation per protocolMatus Fabian1-0/+4
2017-01-25SNAT: static mappings for dhcp addressed interfaces (VPP-590)Matus Fabian1-0/+3
2017-01-14SNAT: IPFIX logging (VPP-445)Matus Fabian1-0/+24
2017-01-13SNAT: add API and test for NAT pool address from interfaceMatus Fabian1-7/+44
2017-01-01Move java,lua api and remaining plugins to src/Damjan Marion1-0/+283
hlight .sd { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Doc */ .highlight .s2 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Double */ .highlight .se { color: #0044dd; background-color: #fff0f0 } /* Literal.String.Escape */ .highlight .sh { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Heredoc */ .highlight .si { color: #3333bb; background-color: #fff0f0 } /* Literal.String.Interpol */ .highlight .sx { color: #22bb22; background-color: #f0fff0 } /* Literal.String.Other */ .highlight .sr { color: #008800; background-color: #fff0ff } /* Literal.String.Regex */ .highlight .s1 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Single */ .highlight .ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */ .highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */ .highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */ .highlight .vc { color: #336699 } /* Name.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */ }
#!/usr/bin/env python

import unittest

from framework import VppTestCase, VppTestRunner


class TestFIB(VppTestCase):
    """ FIB Test Case """

    @classmethod
    def setUpClass(cls):
        super(TestFIB, cls).setUpClass()

    @classmethod
    def tearDownClass(cls):
        super(TestFIB, cls).tearDownClass()

    def test_fib(self):
        """ FIB Unit Tests """
        error = self.vapi.cli("test fib")

        if error:
            self.logger.critical(error)
        self.assertNotIn("Failed", error)

if __name__ == '__main__':
    unittest.main(testRunner=VppTestRunner)