RestAPI and automated deployment Support

Hello

We are currently migrating a CSR 1000v to AWS customer but have problems to automate the deployment. I've found a few contradictory documents who first asserted that the RestAPI was not available on the CSR1000v FRIEND but felt that he was in fact checking FRIEND once it has been initialized and running. I wasn't however able to use the restapi without first logging in and create a user since CSR is started and initially using a key and user ec2. I expect to help answering the following questions:

- A user can be specified before initiating CSR 1000v for the first time, so that the RestAPI are accessible to first start without connection manually create this ssh user and if so, how?

-J' saw that there were documents with an example on how reach HA using the EEM to make a change of route. One of the documents said he was using a machine virtual linux helper to run these route changes, the other document made it seem as if the EEM applet actually did change of route schedule without access to a virtual machine for assistance. Are there tools available on CSR in TCL form or any other aws which would allow CSR to send messages SNS to aws api or other API call natively without the use of a virtual machine in linux support?  

-CSR 1000v for openstack document shows the ability to offer some changes to running configuration before the first start using the

FVO - env.xml and or iosxe_config.txt. If all properties can be specified to be applied to the running-config to startup the instance of CSR and how it specifies these properties?

Thanks for any help in this matter. We found the CSR to satisfy our needs, just to adapt to CSR in our deployment strategies.

Some very good questions and answers should certainly be added to our future guides and documents. In the meantime, I'll try to help out with as much detail here as I can... It is in fact a way to pre-configure the CSR on AWS when first starting. AWS includes a feature called "UserData", which is a text field that can be supplied in an instance during the deployment. Machines virtual Linux can use this blob of text to allow a user to execute a script during the first boot, or in the case of CSR, allow us to use it to inject the IOS CLI commands when you first start. The UserData field can be specified using the AWS, provision of tools, including the portal, API, CLI, CloudFormation, etc.  The only real trick to this, is adding at the beginning of each line CLI with a numeric index.  Here is an example of a block of text, you could provide as UserData for the boot of CSR with a name of user and password configured pre:

iOS-config-0001 = username privilege 15 password test123 test123

If you need to add other commands, you can just increase the number of "ios-config-xxxx" at the beginning of each line.  AWS has a size of 16 KB for the string UserData, so be aware of this limitation.

You could also go further and use CloudFormation to provision the CSR as well as any additional infrastructure, and the UserData field can be supplies in this scenario as well. I've attached a file to this message, which contains an example of a CloudFormation model.  You'll notice it includes the same piece of UserData to start the name of user and password for access to the API, and it also opens the default API port in the AWS security group.

OK to the next question...

For high availability functionality, we need is no longer the use of a helper VM.  The script that initiates the call to API AWS has been integrated in the CSR itself, so the EEM can call directly.  The following link will guide you in the correct steps for EEM using without the assistance of VM:

http://www.Cisco.com/c/en/us/TD/docs/solutions/Hybrid_Cloud/Intercloud/CSR/AWS/CSRAWS/CSRAWS_4.html

I hope this helps get you started with a few new options of commissioning. :)

Tags: Cisco Services

Similar Questions

  • AVT Marlin not recognized by measurement and Automation Explorer

    Hi all

    I use an AVT Marlin F046B on Windows 7 and sometimes this camera is not recognized by Machin Vision: measurement and Automation 5.0 (MAX), no IEEE 1394 devices is displayed.

    This problem appears randomly. When the camera is not recognized by MAX, if I use the driver of the TRA for IEEE1394 card, the camera is recognized by AVT SmartView and when I installed the driver of return of Microsoft for IEEE1394 card, the camera is not always recognized by MAX.

    Could there be a problem of compatibility somewhere?

    Thanks in advance,

    Hello gege91,

    It is a driver problem Windows 7. Please see the following link for more details:

    http://www.alliedvisiontec.com/EMEA/support/knowledge-base.html?tx_nawavtknowledgebase_piList [uid] = 1...

    Oliver

  • The measurement and Automation Explorer is completely empty. No idea why?

    Hello

    When I open Measurement & Automation Explorer, there is nothing in the main boxes, boxes are completely empty. The top toolbar with file/Edit/tools is there, but all that is empty.

    I had good success with the SCXI-1000 chassis in a few years when I did further research at another University. At my new University, it gave me access to an SCXI-1000 chassis with an SCXI-1600 module to connect to the computer via USB. I reinstalled windows on an old computer to 64-bit, had the hand of the entire system, the Measurment and Autiomation Explorer open as expected, then was that NEITHER ceased support for the SCXI-1600 on a Win 7 Pro 64-bit modules. So, I've divided the hard drive into two partitions, installed Win 7 Pro 32 bit and reinstalled NOR then installed the updates for a few hours.

    When I try to turn on measurement and Automation Explorer, there is nothing in the window. What can I do to get the various boxes? I went to tools > reset Configuration data.

    Nicholas,

    I recently saw a similar problem on another post. This person has received the exact same blank screen because Windows Firewall has blocked MAX (nimax.exe). Try turning off your firewall temporarily and then see if MAX runs. If so, you will need to add an exception in your firewall settings. If this isn't the case, you could have operated in a corrupted installation and the need to do a repair.

    Ryan

  • 6602 not detected measurement and Automation Explorer or Windows 7 Device Manager

    I have a PCI-6602, in a PC that is running windows 7 Home premium and it appearing not not in the Device Manager and as a result measurement and Automation Explorer.  What is strange, is that I don't see either the PCIe-6535.

    Hey M,

    Unfortunately if the windows Device Manager is unable to see the devices on multiple computers, it certainly points to the cards being broken.  I recommend you head over to http://www.ni.com/support/ and create a Service request to begin the process of repair for these devices.

  • How to paste some data from numbers to some placeholders in the Pages using AppleScript and Automator?

    Hello AppleScript and Automator Pros!

    Unique ID Elements Quantity Unit of measure Sum, $ Color Dark?
    1 Pencil 1 Agenda 90.50 P Yes
    2 Pen 150 Agenda 300.23 THERE NO.
    3 Pillow 2 Agenda 400.01 B NO.
    4 Toy 114 Agenda 500.30 R Yes
    5 Repair service N/A N/A 1.00 N/A NO.
    6 Phone 98 Agenda 1986.10 W NO.

    P = purple

    Y = yellow

    B = black

    R = red

    W = white

    It was an example of Document numbers


    Now the example of Document Pages

    [PH for Unique ID] - Ben got: [PH for element], [PH for quantity] [PH for unit of measure], [dark or not PH] [PH for color] for [PH for sum before the comma] $ [PH cents] c.

    When Ben had [PH for quantity] [dark or not PH] [PH for Color] [PH for item tiny first character and changeable if necessary end], he became happy

    Example 1: Allows you to take data from line with Unique ID 1 and that's what it takes to go:

    1 - Ben got: pencil, 1 point, violet dark 50 ° c for $ 90.

    When Ben had 1 Purple Pencil dark, he became happy

    Example 2: Now data row with Unique ID 3 and it is what to get:

    3 - Ben got: Pillow, 2 pieces, blue for $ 400 01b

    When Ben had 2 blue pillows he became happy

    Example 3: Now the data used to row with Unique ID 5 and this is what it takes to get:

    5 - Ben got: repair service, 1 service, for 1$ 00 c complete

    When Ben had 1 repair service complete, he became happy

    Here, I have to change given n/d of the table in numbers and replace quantity with 1 PH, PH for unit of measure with service (no point as in the previous examples) and the PH for color with plenty of example.

  • The Java platform and Java deployment should be updated but there is no other version, always careful to update, but it is not possible

    Platform Java 7u9 and Java plug-ins Deployment Kit are yellow and asked to be updated.
    The problem is that there is no other version I've already installed.
    Even if I try to install this latest version once again I get the message that I already have the latest version.
    The same problem was with Flashplayer where I installed the latest version, but Firefox has asked three days update the plugin.
    The last is now ok, but the Platform Java and Java Deployment Kit is hopeless.
    Why he request an update if there is none?
    What should or can I do? I always be careful and patch my pc if necesserry.
    All my friends who work with Firefox have the same problem.
    Can someone tell me what is happening here?
    Greetings, Mimi321

    See the Platform Java > Java SE 7U10 or Java 6U38 (download the JRE)

  • is the XBR-65X850A a model 2013 or 2014 and it will support netflix 4 k?

    I was wondering if the XBR-65X850A is a model 2013 or 2014 and it will support netflix 4 k?

    Hi kevinrocksman!

  • I just replaced my MB Pro with a MB Air. Air has less memory and will not support a full restore of files and the saved data. How to do a partial restore

    I just replaced my MB Pro with a MB Air. Air has less memory and will not support a full restore of files and the saved data. How to do a partial restore

    Do you still have the MBP? If so you can manually copy and paste the files you need.

    If you do not have the pro more, you need to buy a USB key and plug it into the MBA... use it as a target. Once you have a system file of the previous laptop again, you have to manually choose what to copy across.

  • Hi, I recently bought an iPhone 5s. Now, according to the sources, the new "5se" would probably replace the ' 5s ' in the near future. I'm afraid that I won't get it more updated and after sales support for my 5 seconds (if any problem is found). Is this

    Hi, I recently bought an iPhone 5s. Now, according to the sources, the new "5se" would probably replace the ' 5s ' in the near future. I'm afraid that I won't get it more updated and after sales support for my 5 seconds (if any problem is found). Is this possible? Apple will provide an upgrade for free or minimum package 5se 5 seconds it's users?

    The terms of the terms of USE on this forum we cannot speculate on what Apple may or may not do. That being said, there is no priority for what you ask. There is no way of knowing how long your device will be able to continue to upgrade to new versions of iOS. As long as he is able to run the new versions of iOS, it is fully supported. This is the level of iOS, not the hardware that is important here.

    See you soon,.

    GB

  • measurement and automation

    I'm just starting using the measurement and Automation Explorer.   Half an hour ago, I performed a calibration of temperature to get familiar with the process.  It seemed to work.

    I tried calibrate again.  It says my current calibration is 31/12/1903 - Question 1) why is this?

    I pressed the button , then came the name of my Stallion, then

    I left the characteristics of calibration because it was one of the screen: 1000 samples at a frequency of 1000 hz, then I pressed

    I received the following message is displayed:

    Error 50103 the DAQ Assistant.  -Question 2) what is this error code for

    Question 3) where can I find a list of error code numbers and their meaning?

    Thank you

    jdsnyder

    OK, now the problem is finally solved!  I re - adjust the device.

    At work the first time, he then had to be reset.

    Thank you

    Jon SNyder

  • Measurement and Automation Explorer

    Hello

    I use the controller measurement and automation. It has detected my usb USB-HS-GPIB interface, up to now, no problem.

    I have a device connected Keithley, I want to detect, but there is no scan button for devices when I go into my USB interface. He's just "open test VISA Panel' and 'Save' buttons. Any idea what the reason could be?

    It does not show the unit. Screenshot is attached.

    Kind regards

    Guy

    I had problems with the old version of MAX do not recognize USB devices correctly. OR recommend the latest version of MAX to solve the problem. I would not recommend the old version 2.7 or 2.8 and MAX that comes with them. I had to install the DAQmx 9.0 x to get the last MAXIMUM to solve the problem. It has been incorrectly grateful as USB devices or instruments. When I've updated DAQmx and MAX I then could finally remove the list of bad devices.

  • You want to know the NI-VISA order in measurement and Automation Explorer

    Hello

    I use measure and Explorer of automation to connect my equipment through LAN and it works well.

    But this device does not detect my code VBA with Ni-VISA. I want to know how the software (measurement and Automation Explorer) generates the connection and reading the message of compression inside the unit.

    It's my code. I check the read back value if it is "100 connection accepted."
    ----
    Public Function VNAconnection() As Boolean
    = stat viOpenDefaultRM (defaultRM)
    msDly (1000)
    Stat = viOpen (defaultRM, ' TCPIP0::10.85.148.60::5000:OCKET ", VI_NULL, 20000, NETWORK" ')
    msDly (1000)
    = stat viSetAttribute (RÉÉS, VI_ATTR_TMO_VALUE, 15000)
    msDly (1000)
    Feedbk = Space (80)
    status ("Waiting for connection VNA")
    = stat viBufRead (NETWORK feedbk, Len (feedbk), Actual_Length)
    If InStr (left (feedbk, Actual_Length), "accepted") = 0 Then

    MsgBox "error has occurred. Ethernet connection not accepted! »
    NETWORK viClose

    viClose defaultRM

    VNAconnection = False

    Exit Function

    End If
    End Function

    Thank you

    Michelle,

    I found I need to add viWritebuff to * IDN, equipment, then he will answer a message accepted.

    Thank you

    Xin

  • Measurement and automation - cannot initialize camera

    I am developing software to interact with GigE Vision cameras and having a visible Dalsa Genie HD camera I've used during development. I also have been using software OR measurement and automation to verify my software does what it is supposed to.

    Well everthing worked fine and nothing has changed except for a three-day weekend, but now I get a "IMAQ 0xBFF6902C error - unable to connect to the camera' when using the software OR measurement and automation. When I lauch the softwar I click 'Devices and Interfaces'-> "NOR-IMAQdx devices" and my camera picture appears in the list, but when I click on the camera to connect I get the error.

    I tried to connect to another camera with the exact same configuration (hardware and software), but everything works as it should.

    Any ideas? I tried a lot of things

    Thanks in advance.

    Troubleshooting of the GigE Vision cameras

    Also if you use multiple cameras are the names different to one another?

  • HI PLZ I WANT TO HELP THE UPGRADE TO SSD ODNT WILL I KNOW IF MY BOARD OF DIRECTORS AND THE CPU SUPPORTS

    HI PLZ I WANT TO HELP THE UPGRADE TO SSD ODNT WILL I KNOW IF MY BOARD OF DIRECTORS AND THE CPU SUPPORTS

    MODEL

    Compaq Presario CQ42-372TU computer laptop

    http://h20566.www2.HP.com/portal/site/hpsc/template.page/public/KB/docDisplay/?javax.portlet.begCac=...

    PLZ ANY BODY HELP ME

    You can upgrade to an SSD.

    The simplest method is to use an SSD as the Corsair Force 3 and don't forget that you buy the kit of migration.

    The migration kit comes with cloning software and a usb to SATA power cable that connects again SSD.

    It is recommended that you purchase and SSD that is approximately 256 GB in quality if you can find one that is affordable.

    SSD with migration in a kit options search I did.

  • Measurement and automation cannot find the pxi-6070e in the Groove 3

    I just moved my PXI-1002, containing a PXI-6070e in the Groove 3, to a new computer. The new computer is Vista. I installed the drivers of NOR and measurement and automation (via NIDAQ880f2). After connecting the chassis and turn on the computer, M & A sees the chassis but says the range containing the 6070E is empty. The link and the power lights are lit (green) on the 6070E. Any help would be appreciated.

    These suggestions have worked. Thank you.

Maybe you are looking for

  • Update BIOS on Satellite C850 v6.10

    Windows 7 64-bit platform. TEMPRO highlighted a V6.10 bios update.(currently in V1.6) When I try to install the update, I get a message: Flash process will end!Current platform have secure boot function, it must ensure the NV storagelocation by inter

  • Upgrade to Win8.1

    I upgraded from win8 to win8.1 on my HP Pavilion model 15-e011nr. I can't restart and download on the desktop. The notebook PC goes in a cycle of auto repair, then gives the choice to reboot or try the advanced options. I tried to use F8 or delete to

  • Videos and games sometimes stop, must minimize to resume

    Recently (maybe a week) videos I watch online and I play some games began to do something weird every 7-8 minutes. They simply stop (although the sound still works) and I have to minimize button windows for them to resume. I cleaned all the virus fro

  • BlackBerry smartphone how to set up internet and e-mail?

    Hello! I recently bought a BB 8300 BES (I guess) and West no way to configure it! All I can do is to activate email business (which I did not), and theres no option of browser or via e-mail (I can not add email accounts)! Is it possible to change to

  • Lost tiles

    After Microsoft had completed one of their updates during the night, I found the tiles for Word, Outlook and Excel had disappeared. I can't find a way to get back them. Any help is appreciated?