Cisco Nexus 1000V REST API Plug-in Configuration Guide, Release 4.2(1)SV2(2.1)
Configuring the REST API Plug-in
Downloads: This chapterpdf (PDF - 1.11MB) The complete bookPDF (PDF - 2.02MB) | The complete bookePub (ePub - 159.0KB) | Feedback

Configuring the REST API Plug-in

Configuring the REST API Plug-in

This chapter contains the following sections:

Configuring the REST API Plug-in

You can configure the REST API plug-in and dynamically load content.

SUMMARY STEPS

    1.    switch (config)# plugin unload plugin_name

    2.    switch (config)# plugin load location

    3.    switch (config)# show plugin status


DETAILED STEPS
      Command or Action Purpose
    Step 1 switch (config)# plugin unload plugin_name
     

    Unloads the REST API plug-in completely from the system.

    Note   

    When you unload the default REST API plug-in, the only way to reinstall the REST API plug-in is from the Cisco website and then load it on the Cisco Nexus 1000V switch.

     
    Step 2 switch (config)# plugin load location
     

    Loads the REST API plug-in.

    Note   

    When the VSM is an HA pair, ensure the REST API plug-in image is available on both the supervisors. Copying the file to bootflash://sup-standby/ also copies the file to the standby VSM.

     
    Step 3 switch (config)# show plugin status
     

    Displays the status of all the plug-ins installed in the system.

     

    This example shows how to unload and load the REST API plug-in:

    switch(config)# plugin unload rest
    switch(config)#  plugin load bootflash:///rest_sup1sf.gbin
    

    This example shows how to display the status of the installed plug-in:

    switch(config) # show plugin status 
    Plugin-name                Version            Status
    -------------------------  -----------------  -----------------
    Rest Plugin                1.0(1)             Loaded